lkml.org 
[lkml]   [1999]   [Dec]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: More on the IDE multiwrite problem
Mark Lord wrote:
..
> > > hwgroup->wrq = *rq;
> > > ide_set_handler(drive, &multiwrite_intr, WAIT_CMD)
> > > -> IRQ here <-.
> > > multiwrite_intr gets an error
> > > completes the request
> > > => END IRQ <-
> > > ide_multiwrite ....
> > > BOOM!
..
> The old code used to do:
>
> disable_irq_nosync(hwif->irq); /* from ide.c:ide_do_request() */
> ...
> /* insert code fragment from above */
> ...
> enable_irq(hwif->irq); /* from ide.c:ide_do_request() */

Okay, the error reported must be from the second ide_multwrite() call,
after the "END IRQ" in Alan's scenario above. This could all make sense.

If so, reinstating the disable/enable calls *for this fragment only*
should cure the problem 100%.
--
Mark Lord
Real-Time Remedies Inc.
mlord@pobox.com

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:55    [W:0.458 / U:0.044 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site