Re: 2.5.49-mm2

Andrew Morton (akpm@digeo.com)
Wed, 27 Nov 2002 12:11:40 -0800


Rasmus Andersen wrote:
>
> On Wed, Nov 27, 2002 at 01:11:38AM -0800, Andrew Morton wrote:
> >
> > url: http://www.zip.com.au/~akpm/linux/patches/2.5/2.5.49/2.5.49-mm2/
>
> I'm fairly sure this is not specific to -mm2 since it looks
> at lot like my problem from plain 2.5.49
> (http://marc.theaimsgroup.com/?l=linux-kernel&m=103805691602076&w=2)
> but -mm2 gave me some usable debug output:
>
> Debug: Sleeping function called from illegal context at include/
> linux/rwsem.h:66
> Call Trace: __might_sleep+0x54/0x58
> sys_mprotect+0x97/0x22b
> syscall_call+0x7/0xb

Oh that's cute. Looks like we've accidentally disabled preemption
somewhere...

> Unable to handle kernel paging request at virtual address 4001360c

And once you do that, the pagefault handler won't handle pagefaults.

> (I did not copy the rest but can reproduce at will.)

Please do. And tell how you're making it happen.

Is that .config still current?

Does it go away if you turn off preemption?
-
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/