Re: 'sleeping function called from invalid context' bug whenmounting an IDE device

From: Daniel Walker
Date: Fri Jul 08 2005 - 09:08:00 EST


On Fri, 2005-07-08 at 15:43 +0200, Ingo Molnar wrote:
> * Vitaly Wool <vwool@xxxxxxxxxxxxx> wrote:
>
> > Hi Ingo,
> >
> > I've come across the following problem during the debugging of IDE
> > driver for Philips PNX0105 ARM9 platform in RT mode
> > (CONFIG_PREEMPT_RT). When I mount/unmount a device, the following
> > error is printed out to a terminal:
>
> could you send me the full backtrace?
>
> > So, the problem is in the generic IDE code, namely, in ide_intr()
> > taking ide_lock.
>
> which version did you try, and does this happen with the latest patch
> too?

Interrupts should be enabled unconditionally for threaded interrupt
handlers. Or at least the generics work that way.

Daniel

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