Thread (28 messages) 28 messages, 6 authors, 2007-06-29

Re: [BUG] ide dma_timer_expiry, then hard lockup

From: Sergei Shtylyov <hidden>
Date: 2007-06-19 15:49:46
Also in: lkml

Mark Lord wrote:
quoted
quoted
quoted
quoted
quoted
I can prepare a patch, but only with a lot of guidance. I can test 
& debug, I'm highly motivated just right now ... 
quoted
quoted
quoted
quoted
If you've got a nice repeatable problem please try using the libata
driver. That handles the error paths differently and doesn't try a 
FIFO
drain which might matter in this case I guess.
quoted
quoted
quoted
   FIFO drain for DMA commands?
quoted
quoted
Welcome to the old IDE layer which I am so glad I left behind 8)
quoted
quoted
ide_ata_error will try and do a PIO flush regardless of the command type
if DRQ_STAT is asserted. See ide_dma_intr -> ide_error -> ...
quoted
   Indeed... but the thing is we don't know what's asserted in this 
case -- remember, it's reading the status register that locks 
everything up...
Exactly.  And IORDY shouldn't really apply there,
unless some nitwit standards person wrote it into a spec..
    Wrote what? IORDY throttling does *apply* to both data and non-data 
register accesses, of course.
-ml
MBR, Sergei
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help