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

From: Daniel Walker (dwalker_at_mvista.com)
Date: 07/08/05

  • Next message: Ananth N Mavinakayanahalli: "Re: [4/6 PATCH] Kprobes : Prevent possible race conditions ppc64 changes"
    To: Ingo Molnar <mingo@elte.hu>
    Date: 	Fri, 08 Jul 2005 07:00:42 -0700
    
    

    On Fri, 2005-07-08 at 15:43 +0200, Ingo Molnar wrote:
    > * Vitaly Wool <vwool@ru.mvista.com> 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@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/


  • Next message: Ananth N Mavinakayanahalli: "Re: [4/6 PATCH] Kprobes : Prevent possible race conditions ppc64 changes"

    Relevant Pages

    • Re: [patch] Real-Time Preemption, -RT-2.6.12-rc1-V0.7.43-00
      ... On Saturday 02 April 2005 15:34, Ingo Molnar wrote: ... >> It wasn't clear from your last mail whether you were using NFS. ... Copyright 2005 by Maurice Eugene Heskett, ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: 2.6 vs 2.4 regression when running gnomemeeting
      ... On Sat, 2003-12-20 at 18:42, Ingo Molnar wrote: ... > but i didnt check dependent libs ... ... I tried to verify your suggestion and found that the P_RTEMS symbol is ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: [PATCH] [request for inclusion] Realtime LSM
      ... Ingo Molnar writes: ... >> Hmm, I wonder if this could have anything to do with it. ... i forgot about kernel threads. ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: 2.6.14-rc3-rt2
      ... On Tue, 4 Oct 2005, Ingo Molnar wrote: ... user-space mutex deadlock can become a raw_spinlock deadlock? ... The PI traversal for nested interrupts is done with interrupts ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: [patch] voluntary-preempt-2.6.8.1-P7
      ... On Saturday 21 of August 2004 16:05, Ingo Molnar wrote: ... > see any weirdness like X not starting up while it did before.) ... It does not compile on x86-64. ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)