Re: Regression: USB is nfg after suspend/resume(RAM) cycle on Intel chipset

Mark Lord
2007-05-29T18:19:18Z

Linus Torvalds wrote:
>
> On Tue, 29 May 2007, Mark Lord wrote:
>> Okay, just to make it trivial,
>> I've narrowed it down to only this commit from Alan Stern:
>>
>> 7ed92f1a149dddc3cb537ccd7441e98adac12c3e USB: make the autosuspend workqueue
>> thread freezable
>
> Heh. Have I mentioned how much I *hate* those kernel threads being frozen?
>
> Just for fun, could you try if the patch that just rips out the freezer
> calls from the STR code just fixes the problem too (instead of reverting
> that commit?)
>
> It was done by Matthew Garrett <mjg59@srcf.ucam.org>, and you should be
> able to find it in the kernel archives under the subject
>
> Re: pcmcia resume 60 second hang. Re: [patch 00/69] -stable review
> Message-ID: <20070527184402.GA21161@srcf.ucam.org>

Okay, I tried that one, but the machine just hung on the VGA console screen
at suspend time. No alt-sysrq or anything. Power-cycled it to recover.

> and it would be interesting to hear if that just solves the problem for
> you too.
>
> There's a different (but related to all the same freezer problems) patch
> by Rafael Wysocki <rjw@sisk.pl>:
>
> Re: [RFC][PATCH][EXPERIMENTAL] Make kernel threads nonfreezable by default
> Message-Id: <200705291415.31970.rjw@sisk.pl>

I'll hunt for Rafael's patch next.