* Re: 2.5.67-ac1 IDE trouble
2003-04-09 19:58 2.5.67-ac1 IDE trouble Dominik Brodowski
@ 2003-04-09 19:14 ` Alan Cox
2003-04-09 20:14 ` Maciej Soltysiak
1 sibling, 0 replies; 4+ messages in thread
From: Alan Cox @ 2003-04-09 19:14 UTC (permalink / raw)
To: Dominik Brodowski; +Cc: Linux Kernel Mailing List
On Mer, 2003-04-09 at 20:58, Dominik Brodowski wrote:
> Hi Alan,
>
> In recent 2.5. kernels I see a few messages like this during heavy I/O load:
Its an IRQ handling bug but not yet one I fully understand
^ permalink raw reply [flat|nested] 4+ messages in thread
* 2.5.67-ac1 IDE trouble
@ 2003-04-09 19:58 Dominik Brodowski
2003-04-09 19:14 ` Alan Cox
2003-04-09 20:14 ` Maciej Soltysiak
0 siblings, 2 replies; 4+ messages in thread
From: Dominik Brodowski @ 2003-04-09 19:58 UTC (permalink / raw)
To: alan; +Cc: linux-kernel
Hi Alan,
In recent 2.5. kernels I see a few messages like this during heavy I/O load:
hda: dma_timer_expiry: dma status == 0x24
hda: DMA interrupt recovery
hda: lost interrupt
hda: dma_timer_expiry: dma status == 0x24
hda: DMA interrupt recovery
hda: lost interrupt
hda: drive_cmd: status=0x51 { DriveReady SeekComplete Error }
hda: drive_cmd: error=0x04 { DriveStatusError }
hda: drive_cmd: status=0x51 { DriveReady SeekComplete Error }
hda: drive_cmd: error=0x04 { DriveStatusError }
hda: dma_timer_expiry: dma status == 0x24
hda: DMA interrupt recovery
hda: lost interrupt
hda: dma_timer_expiry: dma status == 0x24
hda: DMA interrupt recovery
hda: lost interrupt
Doubt it's a hardware issue - fairly new HD, s.m.a.r.t tells of no problems,
earlier kernels (esp. 2.5.54-bkX) work fine.
CONFIG_PREEMPT is on, btw.
Some more info:
Linux version 2.5.67-ac1 (linux@mondschein) (gcc version 3.2) #2 Tue Apr 8 23:35:23 CEST 2003
...
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
ICH4: IDE controller at PCI slot 00:1f.1
ICH4: chipset revision 1
ICH4: not 100% native mode: will probe irqs later
ide0: BM-DMA at 0xf000-0xf007, BIOS settings: hda:DMA, hdb:pio
ide1: BM-DMA at 0xf008-0xf00f, BIOS settings: hdc:DMA, hdd:DMA
hda: IC35L080AVVA07-0, ATA DISK drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
hdc: HL-DT-STDVD-ROM GDR8161B, ATAPI CD/DVD-ROM drive
hdd: HL-DT-ST GCE-8480B, ATAPI CD/DVD-ROM drive
ide1 at 0x170-0x177,0x376 on irq 15
hda: host protected area => 1
hda: 160836480 sectors (82348 MB) w/1863KiB Cache, CHS=159560/16/63, UDMA(100)
hda: [PTBL] [10011/255/63] hda1 hda2 hda3 hda4 < hda5 hda6 hda7 hda8 hda9 >
---
00:00.0 Host bridge: Intel Corp. 82845 845 (Brookdale) Chipset Host Bridge (rev 11)
00:01.0 PCI bridge: Intel Corp. 82845 845 (Brookdale) Chipset AGP Bridge (rev 11)
00:1d.0 USB Controller: Intel Corp. 82801DB USB (Hub #1) (rev 01)
00:1d.1 USB Controller: Intel Corp. 82801DB USB (Hub #2) (rev 01)
00:1d.2 USB Controller: Intel Corp. 82801DB USB (Hub #3) (rev 01)
00:1d.7 USB Controller: Intel Corp. 82801DB USB EHCI Controller (rev 01)
00:1e.0 PCI bridge: Intel Corp. 82801BA/CA/DB PCI Bridge (rev 81)
00:1f.0 ISA bridge: Intel Corp. 82801DB ISA Bridge (LPC) (rev 01)
00:1f.1 IDE interface: Intel Corp. 82801DB ICH4 IDE (rev 01)
00:1f.3 SMBus: Intel Corp. 82801DB SMBus (rev 01)
01:00.0 VGA compatible controller: ATI Technologies Inc Radeon R200 QL [Radeon 8500 LE]
02:03.0 Multimedia audio controller: C-Media Electronics Inc CM8738 (rev 10)
02:0a.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)
Dominik
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: 2.5.67-ac1 IDE trouble
2003-04-09 19:58 2.5.67-ac1 IDE trouble Dominik Brodowski
2003-04-09 19:14 ` Alan Cox
@ 2003-04-09 20:14 ` Maciej Soltysiak
2003-04-10 2:29 ` Andre Hedrick
1 sibling, 1 reply; 4+ messages in thread
From: Maciej Soltysiak @ 2003-04-09 20:14 UTC (permalink / raw)
To: Dominik Brodowski; +Cc: alan, linux-kernel
> Hi Alan,
>
> In recent 2.5. kernels I see a few messages like this during heavy I/O load:
I have been getting similar too on non -ac kernels.
Apr 9 18:59:05 pysiak kernel: hdb: dma_timer_expiry: dma status == 0x64
Apr 9 18:59:05 pysiak kernel: hdb: lost interrupt
Apr 9 18:59:05 pysiak kernel: hdb: dma_intr: bad DMA status (dma_stat=70)
Apr 9 18:59:05 pysiak kernel: hdb: dma_intr: status=0x50 { DriveReady SeekComplete }
Some more info:
Linux version 2.5.67 (root@pysiak) (gcc version 3.2.3 20030331 (Debian prerelease)) #4 Tue Apr 8 14:22:49 CEST 2003
Linux Plug and Play Support v0.96 (c) Adam Belay
PnPBIOS: Scanning system for PnP BIOS support...
PnPBIOS: Found PnP BIOS installation structure at 0xc00fbc10
PnPBIOS: PnP BIOS version 1.0, entry 0xf0000:0xbc40, dseg 0xf0000
PnPBIOS: 18 nodes reported by PnP BIOS; 18 recorded by driver
block request queues:
128 requests per read queue
128 requests per write queue
8 requests per batch
enter congestion at 15
exit congestion at 17
PCI: Probing PCI hardware (bus 00)
Transparent bridge - Intel Corp. 82801BA/CA/DB PCI Br
PCI: Using IRQ router PIIX [8086/2440] at 00:1f.0
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
ICH2: IDE controller at PCI slot 00:1f.1
ICH2: chipset revision 18
ICH2: not 100% native mode: will probe irqs later
ide0: BM-DMA at 0xf000-0xf007, BIOS settings: hda:DMA, hdb:DMA
ide1: BM-DMA at 0xf008-0xf00f, BIOS settings: hdc:DMA, hdd:pio
hda: IC35L020AVER07-0, ATA DISK drive
hdb: WDC WD200BB-00CLB0, ATA DISK drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
hdc: CD-950E/TKU, ATAPI CD/DVD-ROM drive
ide1 at 0x170-0x177,0x376 on irq 15
hda: host protected area => 1
hda: 40188960 sectors (20577 MB) w/1916KiB Cache, CHS=39870/16/63, UDMA(100)
hda: hda1 hda2 hda3
hdb: host protected area => 1
hdb: 39102336 sectors (20020 MB) w/2048KiB Cache, CHS=38792/16/63, UDMA(100)
hdb: hdb1
hdc: ATAPI 50X CD-ROM drive, 128kB Cache, UDMA(33)
Uniform CD-ROM driver Revision: 3.12
00:00.0 Host bridge: Intel Corp. 82845 845 (Brookdale) Chipset Host Bridge (rev 03)
00:01.0 PCI bridge: Intel Corp. 82845 845 (Brookdale) Chipset AGP Bridge (rev 03)
00:1e.0 PCI bridge: Intel Corp. 82801BA/CA/DB PCI Bridge (rev 12)
00:1f.0 ISA bridge: Intel Corp. 82801BA ISA Bridge (LPC) (rev 12)
00:1f.1 IDE interface: Intel Corp. 82801BA IDE U100 (rev 12)
00:1f.2 USB Controller: Intel Corp. 82801BA/BAM USB (Hub #1) (rev 12)
00:1f.3 SMBus: Intel Corp. 82801BA/BAM SMBus (rev 12)
00:1f.4 USB Controller: Intel Corp. 82801BA/BAM USB (Hub #2) (rev 12)
00:1f.5 Multimedia audio controller: Intel Corp. 82801BA/BAM AC'97 Audio (rev 12)
01:00.0 VGA compatible controller: nVidia Corporation NV11 [GeForce2 MX/MX 400] (rev b2)
02:02.0 Ethernet controller: 3Com Corporation 3c905C-TX/TX-M [Tornado] (rev 74)
02:03.0 Ethernet controller: 3Com Corporation 3c905C-TX/TX-M [Tornado] (rev 74)
Regards,
Maciej
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: 2.5.67-ac1 IDE trouble
2003-04-09 20:14 ` Maciej Soltysiak
@ 2003-04-10 2:29 ` Andre Hedrick
0 siblings, 0 replies; 4+ messages in thread
From: Andre Hedrick @ 2003-04-10 2:29 UTC (permalink / raw)
To: Maciej Soltysiak; +Cc: Dominik Brodowski, alan, linux-kernel
Change this to where dma_timer_expiry returns WAIT_CMD;
Let the CPU process the interrupt, and not generate the race!
The simple fix was to remove the execution of the handler and return to
back to the timer waiting.
Cheers,
On Wed, 9 Apr 2003, Maciej Soltysiak wrote:
> > Hi Alan,
> >
> > In recent 2.5. kernels I see a few messages like this during heavy I/O load:
> I have been getting similar too on non -ac kernels.
>
> Apr 9 18:59:05 pysiak kernel: hdb: dma_timer_expiry: dma status == 0x64
> Apr 9 18:59:05 pysiak kernel: hdb: lost interrupt
> Apr 9 18:59:05 pysiak kernel: hdb: dma_intr: bad DMA status (dma_stat=70)
> Apr 9 18:59:05 pysiak kernel: hdb: dma_intr: status=0x50 { DriveReady SeekComplete }
>
> Some more info:
>
> Linux version 2.5.67 (root@pysiak) (gcc version 3.2.3 20030331 (Debian prerelease)) #4 Tue Apr 8 14:22:49 CEST 2003
> Linux Plug and Play Support v0.96 (c) Adam Belay
> PnPBIOS: Scanning system for PnP BIOS support...
> PnPBIOS: Found PnP BIOS installation structure at 0xc00fbc10
> PnPBIOS: PnP BIOS version 1.0, entry 0xf0000:0xbc40, dseg 0xf0000
> PnPBIOS: 18 nodes reported by PnP BIOS; 18 recorded by driver
> block request queues:
> 128 requests per read queue
> 128 requests per write queue
> 8 requests per batch
> enter congestion at 15
> exit congestion at 17
> PCI: Probing PCI hardware (bus 00)
> Transparent bridge - Intel Corp. 82801BA/CA/DB PCI Br
> PCI: Using IRQ router PIIX [8086/2440] at 00:1f.0
> Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
> ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
> ICH2: IDE controller at PCI slot 00:1f.1
> ICH2: chipset revision 18
> ICH2: not 100% native mode: will probe irqs later
> ide0: BM-DMA at 0xf000-0xf007, BIOS settings: hda:DMA, hdb:DMA
> ide1: BM-DMA at 0xf008-0xf00f, BIOS settings: hdc:DMA, hdd:pio
> hda: IC35L020AVER07-0, ATA DISK drive
> hdb: WDC WD200BB-00CLB0, ATA DISK drive
> ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
> hdc: CD-950E/TKU, ATAPI CD/DVD-ROM drive
> ide1 at 0x170-0x177,0x376 on irq 15
> hda: host protected area => 1
> hda: 40188960 sectors (20577 MB) w/1916KiB Cache, CHS=39870/16/63, UDMA(100)
> hda: hda1 hda2 hda3
> hdb: host protected area => 1
> hdb: 39102336 sectors (20020 MB) w/2048KiB Cache, CHS=38792/16/63, UDMA(100)
> hdb: hdb1
> hdc: ATAPI 50X CD-ROM drive, 128kB Cache, UDMA(33)
> Uniform CD-ROM driver Revision: 3.12
>
> 00:00.0 Host bridge: Intel Corp. 82845 845 (Brookdale) Chipset Host Bridge (rev 03)
> 00:01.0 PCI bridge: Intel Corp. 82845 845 (Brookdale) Chipset AGP Bridge (rev 03)
> 00:1e.0 PCI bridge: Intel Corp. 82801BA/CA/DB PCI Bridge (rev 12)
> 00:1f.0 ISA bridge: Intel Corp. 82801BA ISA Bridge (LPC) (rev 12)
> 00:1f.1 IDE interface: Intel Corp. 82801BA IDE U100 (rev 12)
> 00:1f.2 USB Controller: Intel Corp. 82801BA/BAM USB (Hub #1) (rev 12)
> 00:1f.3 SMBus: Intel Corp. 82801BA/BAM SMBus (rev 12)
> 00:1f.4 USB Controller: Intel Corp. 82801BA/BAM USB (Hub #2) (rev 12)
> 00:1f.5 Multimedia audio controller: Intel Corp. 82801BA/BAM AC'97 Audio (rev 12)
> 01:00.0 VGA compatible controller: nVidia Corporation NV11 [GeForce2 MX/MX 400] (rev b2)
> 02:02.0 Ethernet controller: 3Com Corporation 3c905C-TX/TX-M [Tornado] (rev 74)
> 02:03.0 Ethernet controller: 3Com Corporation 3c905C-TX/TX-M [Tornado] (rev 74)
>
> Regards,
> Maciej
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/
>
Andre Hedrick
LAD Storage Consulting Group
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2003-04-10 2:19 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-04-09 19:58 2.5.67-ac1 IDE trouble Dominik Brodowski
2003-04-09 19:14 ` Alan Cox
2003-04-09 20:14 ` Maciej Soltysiak
2003-04-10 2:29 ` Andre Hedrick
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.