Re: broken suspend [Was: 2.6.24-rc2-mm1]

From: Alan Stern
Date: Fri Nov 16 2007 - 11:11:20 EST


On Thu, 15 Nov 2007, Greg KH wrote:

> > The offending -mm patch is
> > gregkh-driver-pm-acquire-device-locks-prior-to-suspending.patch
> >
> > 2.6.24-rc2-mm1 minus it works just fine; PROVE_LOCKING shows nothing new when
> > the patch is applied.
>
> Thanks for tracking this down. Alan, any thoughts?

It's a driver problem somewhere. Probably not one of the most common
drivers because I don't see the same problem here (but then I'm not
testing -mm).

The thing to do is figure out which driver is causing the problem.
Jiri, try enabling CONFIG_DEBUG_DRIVER. If there's also a config
option to prevent the console from being suspended, set it as well.
Then you should be able to tell which driver is making trouble.

Alan Stern

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