2.1.131:hdparm -w1 for UDMA on via

Abhay Kanhere (abhay@ece.nwu.edu)
Wed, 9 Dec 1998 11:11:17 -0600 (CST)


Hello,
I was content after enabling UDMA on
my Quantum Bigfoot 8G,disk. (hdparm -T 10.26MB/s). So,
I decided to take the next plunge:
hdparm -W1. enabling the EIDE write cache.

And machine froze; hard. No log entries anywhere.
Pure hardware freeze. I am using 2.1.131 kernel. I
had tried -W1 on 2.1.127 kernel, it had not frozen
but had disabled it after some time -- i don't remember
the message in log file... :-(

I am running K6-2/333 with VIA experimental
support enabled, dma enabled by default (it works).

The motherboard is Azza PT-5VML, a via apollo mvp3
board with 512MB cache and 100Mhz FSB. It has VIA Apollo 82C586 chip.

Normal UDMA mode works ok. It gets enabled on boot.

Is this write cache on EIDE a known problem ?
Is this specific setup buggy ?
BTW I have an AWARD BIOS
[Don't have more idea about it
- I will know BIOS version only at next boot ...:-)].

dmesg/hdparm/proc-pci data follows.

regards,
Abhay

[1] ----[dmesg]
...
VP_IDE: IDE controller on PCI bus 00 dev 39
VP_IDE: not 100% native mode: will probe irqs later
ide0: BM-DMA at 0xe000-0xe007, BIOS settings: hda:DMA, hdb:DMA
ide0: VIA Bus-Master (U)DMA Timing Config Success
ide1: BM-DMA at 0xe008-0xe00f, BIOS settings: hdc:DMA, hdd:DMA
ide1: VIA Bus-Master (U)DMA Timing Config Success
hda: QUANTUM Bigfoot TX8.0AT, ATA DISK drive
hdb: IDE/ATAPI CD-ROM 36X, ATAPI CDROM drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
hda: QUANTUM Bigfoot TX8.0AT, 7665MB w/69kB Cache, CHS=977/255/63, UDMA
hdb: ATAPI 16X CDROM drive, 128kB Cache
Uniform CDROM driver Revision: 2.50
...

[2]------ hdparm data:
rutam:/usr/home/abhay # hdparm -I /dev/hda

/dev/hda:
--------model =

Model=, FwRev=A04.0R00, SerialNo=31873582
Config={ HardSect NotMFM HdSw>15uSec Fixed DTR>10Mbs }
RawCHS=15574/16/63, TrkSize=32256, SectSize=512, ECCbytes=4
BuffType=3(DualPortCache), BuffSize=69kB, MaxMultSect=16, MultSect=16
DblWordIO=no, maxPIO=2(fast), DMA=yes, maxDMA=2(fast)
CurCHS=15574/16/63, CurSects=15698592, LBA=yes, LBAsects=15698592
tDMA={min:120,rec:120}, DMA modes: sword0 sword1 sword2 mword0 mword1 mword2
IORDY=on/off, tPIO={min:120,w/IORDY:120}, PIO modes: mode3 mode4
UDMA modes: mode0 mode1 *mode2

[3]------PCI devices found:
Bus 0, device 0, function 0:
Host bridge: VIA Technologies VT 82C597 Apollo VP3 (rev 4).
Medium devsel. Fast back-to-back capable. Master Capable. Latency=16.
Prefetchable 32 bit memory at 0xe0000000 [0xe0000008].
Bus 0, device 1, function 0:
PCI bridge: VIA Technologies Unknown device (rev 0).
Vendor id=1106. Device id=8598.
Medium devsel. Master Capable. No bursts. Min Gnt=12.
Bus 0, device 7, function 0:
ISA bridge: VIA Technologies VT 82C586 Apollo ISA (rev 65).
Medium devsel. Master Capable. No bursts.
Bus 0, device 7, function 1:
IDE interface: VIA Technologies VT 82C586 Apollo IDE (rev 6).
Medium devsel. Fast back-to-back capable. Master Capable. Latency=64.
I/O at 0xe000 [0xe001].
Bus 0, device 7, function 2:
USB Controller: VIA Technologies VT 82C586 Apollo USB (rev 2).
Medium devsel. IRQ a. Master Capable. Latency=64.
I/O at 0xe400 [0xe401].
Bus 0, device 7, function 3:
Host bridge: VIA Technologies VT 82C586B Apollo ACPI (rev 16).
Medium devsel. Fast back-to-back capable.
Bus 1, device 0, function 0:
VGA compatible controller: Trident Image 975 (rev 243).
Medium devsel. Fast back-to-back capable. IRQ b. Master Capable. Latency=64.
Non-prefetchable 32 bit memory at 0xe5400000 [0xe5400000].
Non-prefetchable 32 bit memory at 0xe5800000 [0xe5800000].
Non-prefetchable 32 bit memory at 0xe5000000 [0xe5000000].
------------

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/