Re: qemu/nfsroot: BUG: sleeping function called from invalidcontext at 2.6.33.3-rt19-i686-pc/kernel/rtmutex.c:684

From: Olaf Hering
Date: Mon May 17 2010 - 05:02:18 EST


On Mon, May 17, Thomas Gleixner wrote:

> On Sun, 16 May 2010, Olaf Hering wrote:
> >
> > Running 2.6.33.3-rt19 in qemu with nfsroot floods dmesg with lots of
> > warnings like
> >
> > BUG: sleeping function called from invalid context at /opt/cross/sys-root/i686-linux/usr/src/linux-2.6.33-i686-kernel-source/kernel/rtmutex.c:684
> >
> > This happens already when the kernel mounts the nfsroot filesystem,
> > if I interpret the dmesg output below correctly.
> >
> > Any idea how to fix the reported BUG?
>
> Yup, patch below should do the trick. It fixes the other user of this
> as well.

Yes, no BUG flood with this patch applied.
Thanks.

Olaf
--
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/