Re: Linux 2.6.10-rc3

From: David Brownell
Date: Sat Dec 04 2004 - 22:10:03 EST


> From: Martin Josefsson <gandalf () wlug ! westbo ! se>
> Date: 2004-12-04 21:42:11
>
> On Sat, 4 Dec 2004, Alex Romosan wrote:
>
> > thank you. the laptop wakes up now but i get the following when it
> > resumes (this is the output from dmesg):
> >
> > scheduling while atomic: sleepbtn.sh/0x00000001/3201
> ...
> That's an usb2.0 bug, the ehci driver sleeps when it can't sleep.

Who changed it so that context was no longer allowed to sleep???

That's a very recent change ... I've done a fair amount of testing
in previous kernels and _never_ got that message on that path.

Why was that changed? Are you sure it's not just a bug higher up
in the call stack? Classically(*), both suspend() and resume()
methods are called in contexts that can sleep, so that's a big
change I'd expect to impact other drivers too. In fact that'd
explain a lot of other messages I saw reported on the list...

- Dave

(*) Since APM days if not before.
-
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/