Most recent kernel where this bug did not occur: occured since I bought the computer, with 2.6.15.x Distribution: Gentoo Linux Hardware Environment: VIA EPIA-5000 board, promise tx2 ide controller, 2 IDE disks Software Environment: Nothing special, plain kernel with apache and some other daemons Problem Description: I am using two IDE harddrives on a promise tx2 ide controller which is in a pci slot on a VIA EPIA-5000 board. Both drives run with full DMA, but after approx 2-3 days, I get an error and DMA is disabled. The dmesg error: --------------------- hde: status timeout: status=0x80 { Busy } ide: failed opcode was: unknown hde: DMA disabled hdf: DMA disabled PDC202XX: Primary channel reset. hde: drive not ready for command ide2: reset: master: ECC circuitry error --------------------- Steps to reproduce: Wait some 2-3 days :( After rebooting, all is back to normal until the error occurs again. Some additional information as requested in http://kernel.org/pub/linux/docs/ lkml/reporting-bugs.html: # cat /proc/version Linux version 2.6.17.6 (root@dojo) (gcc version 3.4.6 (Gentoo 3.4.6-r1, ssp- 3.4.5-1.0, pie-8.7.9)) #1 PREEMPT Sat Aug 5 20:58:14 Local time zone must be set--see z # cat /proc/cpuinfo processor : 0 vendor_id : CentaurHauls cpu family : 6 model : 7 model name : VIA Samuel 2 stepping : 3 cpu MHz : 533.419 cache size : 64 KB fdiv_bug : no hlt_bug : no f00f_bug : no coma_bug : no fpu : yes fpu_exception : yes cpuid level : 1 wp : yes flags : fpu de tsc msr cx8 mtrr pge mmx 3dnow up bogomips : 1068.21 # cat /proc/modules (no modules loaded) # cat /proc/ioports 0000-001f : dma1 0020-0021 : pic1 0040-0043 : timer0 0050-0053 : timer1 0060-006f : keyboard 0080-008f : dma page reg 00a0-00a1 : pic2 00c0-00df : dma2 00f0-00ff : fpu 03c0-03df : vga+ 03c0-03df : cyblafb 03f8-03ff : serial 2100-21ff : cyblafb 4000-4003 : PM1a_EVT_BLK 4008-400b : PM_TMR 4010-4015 : ACPI CPU throttle 4020-4023 : GPE0_BLK 40f0-40f1 : PM1a_CNT_BLK 5000-5007 : vt596_smbus c000-c00f : 0000:00:11.1 c400-c41f : 0000:00:11.2 c400-c41f : uhci_hcd c800-c81f : 0000:00:11.3 c800-c81f : uhci_hcd cc00-ccff : 0000:00:11.5 cc00-ccff : VIA686A d000-d003 : 0000:00:11.5 d000-d003 : VIA686A d400-d403 : 0000:00:11.5 d400-d403 : VIA686A d800-d8ff : 0000:00:12.0 d800-d8ff : via-rhine dc00-dc07 : 0000:00:14.0 dc00-dc07 : ide2 e000-e003 : 0000:00:14.0 e002-e002 : ide2 e400-e407 : 0000:00:14.0 e800-e803 : 0000:00:14.0 ec00-ec0f : 0000:00:14.0 ec00-ec07 : ide2 ec08-ec0f : ide3 # cat /proc/iomem 00000000-0009ffff : System RAM 000a0000-000bffff : Video RAM area 000c0000-000cbfff : Video ROM 000cc000-000d5fff : Adapter ROM 000d6000-000d87ff : Adapter ROM 000f0000-000fffff : System ROM 00100000-0f7effff : System RAM 00100000-0045c85e : Kernel code 0045c85f-0054ffbf : Kernel data 0f7f0000-0f7f2fff : ACPI Non-volatile Storage 0f7f3000-0f7fffff : ACPI Tables 10000000-100fffff : PCI Bus #01 10000000-1000ffff : 0000:01:00.0 10100000-10103fff : 0000:00:14.0 d0000000-dfffffff : 0000:00:00.0 e0000000-e2ffffff : PCI Bus #01 e1000000-e17fffff : 0000:01:00.0 e1800000-e1ffffff : 0000:01:00.0 e1800000-e1ffffff : cyblafb e2000000-e201ffff : 0000:01:00.0 e2000000-e201ffff : cyblafb e4000000-e4003fff : 0000:00:14.0 e4004000-e40040ff : 0000:00:12.0 e4004000-e40040ff : via-rhine ffff0000-ffffffff : reserved # lspci -vvv 00:00.0 Host bridge: VIA Technologies, Inc. VT8601 [Apollo ProMedia] (rev 05) Subsystem: VIA Technologies, Inc. Unknown device 6010 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+ Latency: 8 Region 0: Memory at d0000000 (32-bit, prefetchable) [size=256M] Capabilities: [a0] AGP version 2.0 Status: RQ=8 Iso- ArqSz=0 Cal=0 SBA+ ITACoh- GART64- HTrans- 64bit- FW- AGP3- Rate=x1,x2,x4 Command: RQ=1 ArqSz=0 Cal=0 SBA- AGP- GART64- 64bit- FW- Rate=<none> 00:01.0 PCI bridge: VIA Technologies, Inc. VT8601 [Apollo ProMedia AGP] (prog- if 00 [Normal decode]) 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+ Latency: 0 Bus: primary=00, secondary=01, subordinate=01, sec-latency=0 I/O behind bridge: 0000f000-00000fff Memory behind bridge: e0000000-e2ffffff Prefetchable memory behind bridge: 10000000-100fffff Secondary status: 66MHz- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- <SERR- <PERR- BridgeCtl: Parity- SERR- NoISA+ VGA+ MAbort- >Reset- FastB2B- Capabilities: [80] Power Management version 2 Flags: PMEClk- DSI- D1+ D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-) Status: D0 PME-Enable- DSel=0 DScale=0 PME- 00:11.0 ISA bridge: VIA Technologies, Inc. VT8231 [PCI-to-ISA Bridge] (rev 10) Subsystem: VIA Technologies, Inc. Unknown device 6010 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- Latency: 0 Capabilities: [c0] Power Management version 2 Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-) Status: D0 PME-Enable- DSel=0 DScale=0 PME- 00:11.1 IDE interface: VIA Technologies, Inc. VT82C586A/B/VT82C686/A/B/VT823x/A/ C PIPC Bus Master IDE (rev 06) (prog-if 8a [Master SecP PriP]) Subsystem: VIA Technologies, Inc. Unknown device 6010 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- Latency: 32 Region 4: I/O ports at c000 [size=16] Capabilities: [c0] Power Management version 2 Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-) Status: D0 PME-Enable- DSel=0 DScale=0 PME- 00:11.2 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 1e) (prog-if 00 [UHCI]) Subsystem: VIA Technologies, Inc. (Wrong ID) USB Controller 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- Latency: 32, Cache Line Size 08 Interrupt: pin D routed to IRQ 12 Region 4: I/O ports at c400 [size=32] Capabilities: [80] Power Management version 2 Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-) Status: D0 PME-Enable- DSel=0 DScale=0 PME- 00:11.3 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 1e) (prog-if 00 [UHCI]) Subsystem: VIA Technologies, Inc. (Wrong ID) USB Controller 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- Latency: 32, Cache Line Size 08 Interrupt: pin D routed to IRQ 12 Region 4: I/O ports at c800 [size=32] Capabilities: [80] Power Management version 2 Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-) Status: D0 PME-Enable- DSel=0 DScale=0 PME- 00:11.4 Bridge: VIA Technologies, Inc. VT8235 ACPI (rev 10) Subsystem: VIA Technologies, Inc. Unknown device 6010 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- Capabilities: [68] Power Management version 2 Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-) Status: D0 PME-Enable- DSel=0 DScale=0 PME- 00:11.5 Multimedia audio controller: VIA Technologies, Inc. VT82C686 AC97 Audio Controller (rev 40) Subsystem: VIA Technologies, Inc. Unknown device 6010 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- Interrupt: pin C routed to IRQ 10 Region 0: I/O ports at cc00 [size=256] Region 1: I/O ports at d000 [size=4] Region 2: I/O ports at d400 [size=4] Capabilities: [c0] Power Management version 2 Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-) Status: D0 PME-Enable- DSel=0 DScale=0 PME- 00:12.0 Ethernet controller: VIA Technologies, Inc. VT6102 [Rhine-II] (rev 51) Subsystem: VIA Technologies, Inc. VT6102 [Rhine II] Embeded Ethernet Controller on VT8235 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- Latency: 32 (750ns min, 2000ns max), Cache Line Size 08 Interrupt: pin A routed to IRQ 11 Region 0: I/O ports at d800 [size=256] Region 1: Memory at e4004000 (32-bit, non-prefetchable) [size=256] Capabilities: [40] Power Management version 2 Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA PME(D0+,D1+,D2+,D3hot+,D3cold+) Status: D0 PME-Enable- DSel=0 DScale=0 PME- 00:14.0 Mass storage controller: Promise Technology, Inc. PDC20268 (Ultra100 TX2) (rev 01) (prog-if 85) Subsystem: Promise Technology, Inc. Ultra100TX2 Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- Status: Cap+ 66MHz+ UDF- FastB2B- ParErr- DEVSEL=slow >TAbort- <TAbort- <MAbort- >SERR- <PERR- Latency: 32 (1000ns min, 4500ns max), Cache Line Size 08 Interrupt: pin A routed to IRQ 15 Region 0: I/O ports at dc00 [size=8] Region 1: I/O ports at e000 [size=4] Region 2: I/O ports at e400 [size=8] Region 3: I/O ports at e800 [size=4] Region 4: I/O ports at ec00 [size=16] Region 5: Memory at e4000000 (32-bit, non-prefetchable) [size=16K] Expansion ROM at 10100000 [size=16K] Capabilities: [60] Power Management version 1 Flags: PMEClk- DSI- D1+ D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-) Status: D0 PME-Enable- DSel=0 DScale=0 PME- 01:00.0 VGA compatible controller: Trident Microsystems CyberBlade/i1 (rev 6a) (prog-if 00 [VGA]) Subsystem: Trident Microsystems CyberBlade/i1 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- Latency: 32 Interrupt: pin A routed to IRQ 11 Region 0: Memory at e1800000 (32-bit, non-prefetchable) [size=8M] Region 1: Memory at e2000000 (32-bit, non-prefetchable) [size=128K] Region 2: Memory at e1000000 (32-bit, non-prefetchable) [size=8M] [virtual] Expansion ROM at 10000000 [disabled] [size=64K] Capabilities: [80] AGP version 2.0 Status: RQ=33 Iso- ArqSz=0 Cal=0 SBA+ ITACoh- GART64- HTrans- 64bit- FW- AGP3- Rate=x1,x2,x4 Command: RQ=1 ArqSz=0 Cal=0 SBA- AGP- GART64- 64bit- FW- Rate=<none> Capabilities: [90] Power Management version 1 Flags: PMEClk- DSI+ D1+ D2+ AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-) Status: D0 PME-Enable- DSel=0 DScale=0 PME- # cat /proc/scsi/scsi Attached devices: (none) Disks after error: # cat /proc/dma 4: cascade # cat /proc/diskstats 7 0 loop0 0 0 0 0 0 0 0 0 0 0 0 7 1 loop1 0 0 0 0 0 0 0 0 0 0 0 7 2 loop2 0 0 0 0 0 0 0 0 0 0 0 7 3 loop3 0 0 0 0 0 0 0 0 0 0 0 7 4 loop4 0 0 0 0 0 0 0 0 0 0 0 7 5 loop5 0 0 0 0 0 0 0 0 0 0 0 7 6 loop6 0 0 0 0 0 0 0 0 0 0 0 7 7 loop7 0 0 0 0 0 0 0 0 0 0 0 33 0 hde 259884 13609 15516595 8222912 138122 905592 8350536 1857428 0 1445444 10080344 33 1 hde1 95 190 0 0 33 2 hde2 188 195 35 280 33 3 hde3 9832 153450 32766 262128 33 4 hde4 263378 15362752 1011016 8088128 33 64 hdf 1680 84 13566 1342516 3247 362335 2924656 1000128 0 89708 2342644 33 65 hdf1 1763 13558 365582 2924656 Disks before error: # cat /proc/dma 4: cascade # cat /proc/diskstats 7 0 loop0 0 0 0 0 0 0 0 0 0 0 0 7 1 loop1 0 0 0 0 0 0 0 0 0 0 0 7 2 loop2 0 0 0 0 0 0 0 0 0 0 0 7 3 loop3 0 0 0 0 0 0 0 0 0 0 0 7 4 loop4 0 0 0 0 0 0 0 0 0 0 0 7 5 loop5 0 0 0 0 0 0 0 0 0 0 0 7 6 loop6 0 0 0 0 0 0 0 0 0 0 0 7 7 loop7 0 0 0 0 0 0 0 0 0 0 0 33 0 hde 3809 340 99099 1949524 417 4634 40408 27736 0 24212 1977260 33 1 hde1 95 190 0 0 33 2 hde2 188 195 0 0 33 3 hde3 1190 43154 4854 38832 33 4 hde4 2675 55552 197 1576 33 64 hdf 1513 80 12198 1331876 4 1 40 12 0 10092 1331888 33 65 hdf1 1592 12190 5 40
Could you please retry with 2.6.20-rc1? It contains a lot of fixes for Promise IDE.
Please reopen this bug if it's still present with kernel 2.6.20.