voluntary-preempt-2.6.9-rc2-mm1-S1
I am having what appears to be IDE DMA problems with 2.6.9-rc2-mm1-S1. 2.6.9-rc2-mm1 does not show this problem and runs fine. Before this I was happily using 2.6.8-rc3-O5.
I tried booting with acpi=off but was unable to enter my user name at the login prompt, it just hung with no response to sysreq. I also tried turning off irq threading for that irq but it made no difference.
There is one drive on the secondary channel of this Promise TX133. This is what appears in the log after a minute or two of using the drive.
hdg: dma_timer_expiry: dma status == 0x24
PDC202XX: Secondary channel reset.
hdg: DMA interrupt recovery
hdg: lost interrupt
hdg: dma_timer_expiry: dma status == 0x24
PDC202XX: Secondary channel reset.
hdg: DMA interrupt recovery
hdg: lost interrupt
hdg: dma_timer_expiry: dma status == 0x24
PDC202XX: Secondary channel reset.
[..many repeats..]
It sometimes recovers but it immediately happens again. This leaves apps touching that drive stuck in an un-killable D state and eventually I have to reboot.
Linux video capture interface: v1.00
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
PDC20269: IDE controller at PCI slot 0000:00:0d.0
ACPI: PCI interrupt 0000:00:0d.0[A] -> GSI 16 (level, low) -> IRQ 16
PDC20269: chipset revision 2
PDC20269: 100% native mode on irq 16
ide2: BM-DMA at 0xa000-0xa007, BIOS settings: hde:pio, hdf:pio
ide3: BM-DMA at 0xa008-0xa00f, BIOS settings: hdg:pio, hdh:piohdg: MAXTOR 6L080J4, ATA DISK drive
requesting new irq thread for IRQ16...
ide3 at 0xa800-0xa807,0xa402 on irq 16VP_IDE: IDE controller at PCI slot 0000:00:0f.1
ACPI: PCI interrupt 0000:00:0f.1[A] -> GSI 20 (level, low) -> IRQ 20VP_IDE: chipset revision 6VP_IDE: not 100% native mode: will probe irqs laterVP_IDE: VIA vt8237 (rev 00) IDE UDMA133 controller on pci0000:00:0f.1
ide0: BM-DMA at 0x7400-0x7407, BIOS settings: hda:pio, hdb:pio
ide1: BM-DMA at 0x7408-0x740f, BIOS settings: hdc:DMA, hdd:piohdc: HL-DT-ST DVDRAM GSA-4082B, ATAPI CD/DVD-ROM drive requesting new irq thread for IRQ15...
ide1 at 0x170-0x177,0x376 on irq 15
hdg: max request size: 128KiB
IRQ#16 thread started up.
hdg: 156355584 sectors (80054 MB) w/1819KiB Cache, CHS=65535/16/63, UDMA(133)
hdg: hdg1
IRQ#15 thread started up.
hdc: ATAPI 63X DVD-ROM DVD-R-RAM CD-R/RW drive, 2048kB Cache, UDMA(33) Uniform CD-ROM driver Revision: 3.20
ACPI: PCI interrupt 0000:00:0c.0[A] -> GSI 19 (level, low) -> IRQ 19
Regards,
Shane
Quoted 8 lines · Shane Shrybman
I am having what appears to be IDE DMA problems with 2.6.9-rc2-mm1-S1. 2.6.9-rc2-mm1 does not show this problem and runs fine. Before this I was happily using 2.6.8-rc3-O5.
I tried booting with acpi=off but was unable to enter my user name at the login prompt, it just hung with no response to sysreq. I also tried turning off irq threading for that irq but it made no difference.
does undoing (patch -R) the attached patch fix this IDE problem?
Ingo
drivers/ide/ide-io.c renamed from drivers/ide/ide-io.c.orig +6 -1
@@ -114,6 +114,9 @@ static int __ide_end_request(ide_drive_tint ret =1 ;BUG_ON (!(rq->flags &REQ_STARTED )); +spin_unlock (&ide_lock); +if (drive->unmask) +local_irq_enable ();/* * if failfast is set on a request, override number of sectors and
@@ -135,6 +138,7 @@ static int __ide_end_request(ide_drive_t }if (!end_that_request_first (rq, uptodate, nr_sectors)) { +spin_lock_irq (&ide_lock);add_disk_randomness (rq->rq_disk);if (blk_rq_tagged (rq))
@@ -144,7 +148,8 @@ static int __ide_end_request(ide_drive_tHWGROUP (drive)->rq =NULL ;end_that_request_last (rq); ret =0 ; - } + }else +spin_lock_irq (&ide_lock);return ret; }
Quoted 6 lines · Ingo Molnar
Quoted 4 lines · Shane Shrybman
I am having what appears to be IDE DMA problems with 2.6.9-rc2-mm1-S1. 2.6.9-rc2-mm1 does not show this problem and runs fine. Before this I was happily using 2.6.8-rc3-O5.
Quoted 7 lines
Quoted 4 lines
I tried booting with acpi=off but was unable to enter my user name at the login prompt, it just hung with no response to sysreq. I also tried turning off irq threading for that irq but it made no difference.
does undoing (patch -R) the attached patch fix this IDE problem?
Yes, backing out that patch seems to have fixed that problem. Thanks.
Quoted 1 line
Ingo
Regards,
Shane
Quoted 6 lines · Ingo Molnar
Quoted 4 lines · Shane Shrybman
I am having what appears to be IDE DMA problems with 2.6.9-rc2-mm1-S1. 2.6.9-rc2-mm1 does not show this problem and runs fine. Before this I was happily using 2.6.8-rc3-O5.
Quoted 7 lines
Quoted 4 lines
I tried booting with acpi=off but was unable to enter my user name at the login prompt, it just hung with no response to sysreq. I also tried turning off irq threading for that irq but it made no difference.
does undoing (patch -R) the attached patch fix this IDE problem?
Oh, I spoke too soon. A few minutes after I sent the last email the problem re-appeared.
IRQ#22 thread started up.
hdg: dma_timer_expiry: dma status == 0x24
ALSA sound/core/pcm_native.c:1330: playback drain error (DMA or IRQ trouble?)
PDC202XX: Secondary channel reset.
hdg: DMA interrupt recovery
hdg: lost interrupt
hdg: dma_timer_expiry: dma status == 0x24
PDC202XX: Secondary channel reset.
hdg: DMA interrupt recovery
hdg: lost interrupt
Quoted 1 line
Ingo
Regards,
Shane