* 2.4.21pre6 (__ide_dma_test_irq) called while not waiting
@ 2003-04-09 9:18 Soeren Sonnenburg
2003-04-09 9:29 ` Andre Hedrick
2003-04-09 10:47 ` Alan Cox
0 siblings, 2 replies; 10+ messages in thread
From: Soeren Sonnenburg @ 2003-04-09 9:18 UTC (permalink / raw)
To: Linux Kernel
I have a hpt370 based controller which shares an irq with a broadcom
bcm4401 network adaptor.
when transferring stuff over the network the ide controller drops the
dma for all disks on the controller repeatedly... so it is not a
cable/disk problem but a problem in the nic's driver/the hpt driver.
however this stuff only happens when I put high load on the nic. the
drives form a software raid and reconstructing it does not cause any
trouble...
here is my setup:
7: 28328328 XT-PIC ide4, ide5, eth0
hdi: 4 bytes in FIFO
hdi: timeout waiting for DMA
hdi: (__ide_dma_test_irq) called while not waiting
hdi: dma_intr: status=0x58 { DriveReady SeekComplete DataRequest }
hdk: dma_intr: status=0x58 { DriveReady SeekComplete DataRequest }
hdk: status timeout: status=0xd0 { Busy }
hdk: DMA disabled
hdk: drive not ready for command
ide4: reset: success
ide5: reset: success
Thanks,
Soeren.
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: 2.4.21pre6 (__ide_dma_test_irq) called while not waiting
2003-04-09 9:18 2.4.21pre6 (__ide_dma_test_irq) called while not waiting Soeren Sonnenburg
@ 2003-04-09 9:29 ` Andre Hedrick
2003-04-09 10:44 ` Alan Cox
2003-04-09 10:47 ` Alan Cox
1 sibling, 1 reply; 10+ messages in thread
From: Andre Hedrick @ 2003-04-09 9:29 UTC (permalink / raw)
To: Soeren Sonnenburg; +Cc: Linux Kernel
Does the broadcom driver have a test for who owns the intq?
If it is eating the hpt370's interrupt, well you already see the picture.
Andre Hedrick
LAD Storage Consulting Group
On 9 Apr 2003, Soeren Sonnenburg wrote:
> I have a hpt370 based controller which shares an irq with a broadcom
> bcm4401 network adaptor.
>
> when transferring stuff over the network the ide controller drops the
> dma for all disks on the controller repeatedly... so it is not a
> cable/disk problem but a problem in the nic's driver/the hpt driver.
>
> however this stuff only happens when I put high load on the nic. the
> drives form a software raid and reconstructing it does not cause any
> trouble...
>
> here is my setup:
> 7: 28328328 XT-PIC ide4, ide5, eth0
>
>
> hdi: 4 bytes in FIFO
> hdi: timeout waiting for DMA
> hdi: (__ide_dma_test_irq) called while not waiting
> hdi: dma_intr: status=0x58 { DriveReady SeekComplete DataRequest }
>
> hdk: dma_intr: status=0x58 { DriveReady SeekComplete DataRequest }
>
> hdk: status timeout: status=0xd0 { Busy }
>
> hdk: DMA disabled
> hdk: drive not ready for command
> ide4: reset: success
> ide5: reset: success
>
> Thanks,
> Soeren.
>
> -
> 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/
>
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: 2.4.21pre6 (__ide_dma_test_irq) called while not waiting
2003-04-09 9:29 ` Andre Hedrick
@ 2003-04-09 10:44 ` Alan Cox
0 siblings, 0 replies; 10+ messages in thread
From: Alan Cox @ 2003-04-09 10:44 UTC (permalink / raw)
To: Andre Hedrick; +Cc: Soeren Sonnenburg, Linux Kernel Mailing List
On Mer, 2003-04-09 at 10:29, Andre Hedrick wrote:
> Does the broadcom driver have a test for who owns the intq?
> If it is eating the hpt370's interrupt, well you already see the picture.
IRQ's always go to both drivers, so that cannot be happening
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: 2.4.21pre6 (__ide_dma_test_irq) called while not waiting
2003-04-09 9:18 2.4.21pre6 (__ide_dma_test_irq) called while not waiting Soeren Sonnenburg
2003-04-09 9:29 ` Andre Hedrick
@ 2003-04-09 10:47 ` Alan Cox
2003-04-09 12:11 ` Soeren Sonnenburg
2003-04-11 20:23 ` Soeren Sonnenburg
1 sibling, 2 replies; 10+ messages in thread
From: Alan Cox @ 2003-04-09 10:47 UTC (permalink / raw)
To: Soeren Sonnenburg; +Cc: Linux Kernel Mailing List
On Mer, 2003-04-09 at 10:18, Soeren Sonnenburg wrote:
> hdi: 4 bytes in FIFO
> hdi: timeout waiting for DMA
> hdi: (__ide_dma_test_irq) called while not waiting
> hdi: dma_intr: status=0x58 { DriveReady SeekComplete DataRequest }
>
> hdk: dma_intr: status=0x58 { DriveReady SeekComplete DataRequest }
This looks like a shared IRQ occurred while a command was being
sent. The IDE layer apparently tested for the IRQ before it
was ready to do so as part of finding out what is going on. The
-ac tree (and pre7) may possibly have fixed it with the command
delay stuff that Ross Biro figured out
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: 2.4.21pre6 (__ide_dma_test_irq) called while not waiting
2003-04-09 10:47 ` Alan Cox
@ 2003-04-09 12:11 ` Soeren Sonnenburg
2003-04-11 20:23 ` Soeren Sonnenburg
1 sibling, 0 replies; 10+ messages in thread
From: Soeren Sonnenburg @ 2003-04-09 12:11 UTC (permalink / raw)
To: Alan Cox; +Cc: Linux Kernel Mailing List
On Wed, 2003-04-09 at 12:47, Alan Cox wrote:
> On Mer, 2003-04-09 at 10:18, Soeren Sonnenburg wrote:
> > hdi: 4 bytes in FIFO
> > hdi: timeout waiting for DMA
> > hdi: (__ide_dma_test_irq) called while not waiting
> > hdi: dma_intr: status=0x58 { DriveReady SeekComplete DataRequest }
> >
> > hdk: dma_intr: status=0x58 { DriveReady SeekComplete DataRequest }
>
> This looks like a shared IRQ occurred while a command was being
> sent. The IDE layer apparently tested for the IRQ before it
> was ready to do so as part of finding out what is going on. The
> -ac tree (and pre7) may possibly have fixed it with the command
> delay stuff that Ross Biro figured out
ok, so I will upgrade to pre7 ASAP and let you know about the result.
thanks.
Soeren.
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: 2.4.21pre6 (__ide_dma_test_irq) called while not waiting
@ 2003-04-09 12:13 Chuck Ebbert
2003-04-09 12:15 ` Alan Cox
0 siblings, 1 reply; 10+ messages in thread
From: Chuck Ebbert @ 2003-04-09 12:13 UTC (permalink / raw)
To: Andre Hedrick; +Cc: linux-kernel
ANdre Hedrick wrote:
>Does the broadcom driver have a test for who owns the intq?
>If it is eating the hpt370's interrupt, well you already see the picture.
Using edge-triggered interrupts with sharing is a bad idea, no?
--
Chuck
I am not a number!
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: 2.4.21pre6 (__ide_dma_test_irq) called while not waiting
2003-04-09 12:13 Chuck Ebbert
@ 2003-04-09 12:15 ` Alan Cox
0 siblings, 0 replies; 10+ messages in thread
From: Alan Cox @ 2003-04-09 12:15 UTC (permalink / raw)
To: Chuck Ebbert; +Cc: Andre Hedrick, Linux Kernel Mailing List
On Mer, 2003-04-09 at 13:13, Chuck Ebbert wrote:
> ANdre Hedrick wrote:
>
> >Does the broadcom driver have a test for who owns the intq?
> >If it is eating the hpt370's interrupt, well you already see the picture.
>
>
> Using edge-triggered interrupts with sharing is a bad idea, no?
PCI IRQ lines are level triggered
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: 2.4.21pre6 (__ide_dma_test_irq) called while not waiting
2003-04-09 14:35 Chuck Ebbert
@ 2003-04-09 14:05 ` Alan Cox
0 siblings, 0 replies; 10+ messages in thread
From: Alan Cox @ 2003-04-09 14:05 UTC (permalink / raw)
To: Chuck Ebbert; +Cc: Linux Kernel Mailing List
On Mer, 2003-04-09 at 15:35, Chuck Ebbert wrote:
> Even when /proc/interrupts says XT-PIC? I have uniprocessor
> MPS 1.4 machines and build IO-APIC kernels for them because
> I thought it was safer to share interrupts that way. The
> four extra IRQ lines help, too. :)
IDE is a bit more complex than basic stuff but
PCI lines to the PIC are level triggered
Legacy IRQ for host IDE controllers may be edge triggered but
if so won't be shared
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: 2.4.21pre6 (__ide_dma_test_irq) called while not waiting
@ 2003-04-09 14:35 Chuck Ebbert
2003-04-09 14:05 ` Alan Cox
0 siblings, 1 reply; 10+ messages in thread
From: Chuck Ebbert @ 2003-04-09 14:35 UTC (permalink / raw)
To: Alan Cox; +Cc: linux-kernel
Alan Cox wrote:
> > Using edge-triggered interrupts with sharing is a bad idea, no?
>
> PCI IRQ lines are level triggered
Even when /proc/interrupts says XT-PIC? I have uniprocessor
MPS 1.4 machines and build IO-APIC kernels for them because
I thought it was safer to share interrupts that way. The
four extra IRQ lines help, too. :)
--
Chuck
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: 2.4.21pre6 (__ide_dma_test_irq) called while not waiting
2003-04-09 10:47 ` Alan Cox
2003-04-09 12:11 ` Soeren Sonnenburg
@ 2003-04-11 20:23 ` Soeren Sonnenburg
1 sibling, 0 replies; 10+ messages in thread
From: Soeren Sonnenburg @ 2003-04-11 20:23 UTC (permalink / raw)
To: Alan Cox; +Cc: Linux Kernel Mailing List
On Wed, 2003-04-09 at 12:47, Alan Cox wrote:
> On Mer, 2003-04-09 at 10:18, Soeren Sonnenburg wrote:
> > hdi: 4 bytes in FIFO
> > hdi: timeout waiting for DMA
> > hdi: (__ide_dma_test_irq) called while not waiting
> > hdi: dma_intr: status=0x58 { DriveReady SeekComplete DataRequest }
> >
> > hdk: dma_intr: status=0x58 { DriveReady SeekComplete DataRequest }
>
> This looks like a shared IRQ occurred while a command was being
> sent. The IDE layer apparently tested for the IRQ before it
> was ready to do so as part of finding out what is going on. The
> -ac tree (and pre7) may possibly have fixed it with the command
> delay stuff that Ross Biro figured out
Ok, I copied 2*25GB over the network trying all sorts of things to make
the compu crash. I was not successful :-)
However a hdparm -S0 -d1 -Xudma5 -c 1 -u 1 -m 16 /dev/hde was enough to
get that message again which I could not simple reproduce by just
copying things over the network. So it seems the actual bug was fixed in
pre7 but hdparm tweaking seems to need another fix to be safe...
Thanks,
Soeren.
^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2003-04-11 20:18 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-04-09 9:18 2.4.21pre6 (__ide_dma_test_irq) called while not waiting Soeren Sonnenburg
2003-04-09 9:29 ` Andre Hedrick
2003-04-09 10:44 ` Alan Cox
2003-04-09 10:47 ` Alan Cox
2003-04-09 12:11 ` Soeren Sonnenburg
2003-04-11 20:23 ` Soeren Sonnenburg
-- strict thread matches above, loose matches on Subject: below --
2003-04-09 12:13 Chuck Ebbert
2003-04-09 12:15 ` Alan Cox
2003-04-09 14:35 Chuck Ebbert
2003-04-09 14:05 ` Alan Cox
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox