VIA silent disk corruption - patch
In article <[email protected]>,
Review
Quoted 4 lines · Peter Horton
(quoted diff) +4
-0+ * VIA VT8363 host bridge has broken feature 'PCI Master Read + * Caching'. It caches more than is good for it, sometimes + * serving the bus master with stale data. Some BIOSes enable + * it by default, so we disable it.
Another data point:
I have an ASUS A7V motherboard with via vt82c686a and Promise pdc20265 IDE controllers. I noticed disk data corruption when I enabled DMA. The corrupted data was 4K bytes long on 4K byte boundaries and occurred about once for every couple of gigabytes copied via cpio.
I saw this corruption when the disks were connected to the pdc20265 as well as to the 686a.
I also noticed that turning off read caching eliminated the corruption.
However, if I enable the BIOS parameter "I/O Recovery Time", I can still enable read caching without seeing any data corruption.
The lastest BIOS revision (1005C) enables "I/O Recovery Time" by default where the previous revision I had (1004D) did not.
-Dale
Signature · 6 lines
Dale Farnsworth [email protected] - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] Please read the FAQ at http://www.tux.org/lkml/
Quoted 5 lines · Dale Farnsworth
However, if I enable the BIOS parameter "I/O Recovery Time", I can still enable read caching without seeing any data corruption.
The lastest BIOS revision (1005C) enables "I/O Recovery Time" by default where the previous revision I had (1004D) did not.
Interesting stuff.
Asus, Germany released 1005D today. It's available from ftp://ftp.asuscom.de/pub/ASUSCOM/BIOS/Socket_A/VIA_Chipset/Apollo_KT133/A7V/1005D.zip
No comments about what they changed and/or fixed.
-Udo.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
Please read the FAQ at http://www.tux.org/lkml/
Quoted 17 lines · Dale Farnsworth
In article <[email protected]>,
Review
Quoted 4 lines · Peter Horton
(quoted diff) +4
-0+ * VIA VT8363 host bridge has broken feature 'PCI Master Read + * Caching'. It caches more than is good for it, sometimes + * serving the bus master with stale data. Some BIOSes enable + * it by default, so we disable it.Another data point:
I have an ASUS A7V motherboard with via vt82c686a and Promise pdc20265 IDE controllers. I noticed disk data corruption when I enabled DMA. The corrupted data was 4K bytes long on 4K byte boundaries and occurred about once for every couple of gigabytes copied via cpio.
I saw this corruption when the disks were connected to the pdc20265 as well as to the 686a.
Quoted 7 lines
I also noticed that turning off read caching eliminated the corruption.
However, if I enable the BIOS parameter "I/O Recovery Time", I can still enable read caching without seeing any data corruption.
The lastest BIOS revision (1005C) enables "I/O Recovery Time" by default where the previous revision I had (1004D) did not.
I still get corruption with "I/O Recovery Time" enabled :-(
I don't get corruption with the BIOS "normal" settings (1004D).
I might update my BIOS to the latest BIOS in case it changes any other settings.
P.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
Please read the FAQ at http://www.tux.org/lkml/
Quoted 7 lines · Udo A. Steinberg
Quoted 5 lines · Dale Farnsworth
However, if I enable the BIOS parameter "I/O Recovery Time", I can still enable read caching without seeing any data corruption.
The lastest BIOS revision (1005C) enables "I/O Recovery Time" by default where the previous revision I had (1004D) did not.
Quoted 7 lines
Interesting stuff.
Asus, Germany released 1005D today. It's available from ftp://ftp.asuscom.de/pub/ASUSCOM/BIOS/Socket_A/VIA_Chipset/Apollo_KT133/A7V/1005D.zip
No comments about what they changed and/or fixed.
Good news here, looks like the new BIOS fixes it (1005D). I've run a heavy test for at least 10 hours without a single blip. The BIOS is set for "optimal". Hoorah!
Here's the North bridge diff for anyone who can't get a BIOS update :-)
P.
new.pci renamed from bad.pci +4 -4
@@ -1,7 +1,7 @@ 00:00.0 Host bridge: VIA Technologies, Inc.: Unknown device 0305 (rev 02) Subsystem: Asustek Computer, Inc.: Unknown device 8033 Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- - Status: Cap+ 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort+ >SERR- <PERR+ + Status: Cap+ 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort+ >SERR- <PERR- Latency: 0 set Region 0: Memory at e4000000 (32-bit, prefetchable) [size=64M] Capabilities: [a0] AGP version 2.0
@@ -10,13 +10,13 @@ Capabilities: [c0] Power Management version 2 Flags: PMEClk- AuxPwr- DSI- D1- D2- PME- Status: D0 PME-Enable- DSel=0 DScale=0 PME- -00: 06 11 05 03 06 00 10 a2 02 00 00 06 00 00 00 00 +00: 06 11 05 03 06 00 10 22 02 00 00 06 00 00 00 00 10: 08 00 00 e4 00 00 00 00 00 00 00 00 00 00 00 00 20: 00 00 00 00 00 00 00 00 00 00 00 00 43 10 33 80 30: 00 00 00 00 a0 00 00 00 00 00 00 00 00 00 00 00 40: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 -50: 17 a4 6b b4 4f 81 08 08 80 00 04 08 08 08 08 08 -60: 03 ff 00 a0 52 e5 e5 00 44 7c 86 0f 08 3f 00 00 +50: 17 a4 6b b4 07 28 08 08 80 00 04 08 08 08 08 08 +60: 03 ff 55 a0 52 e5 e5 00 44 7c 86 0f 08 3f 00 00 70: de 80 cc 0c 0e a1 d2 00 01 b4 11 02 00 00 00 00 80: 0f 40 00 00 c0 00 00 00 02 00 00 00 00 00 00 00 90: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
Please read the FAQ at http://www.tux.org/lkml/