* Re: [Bug 8498], [Bug 8510], and Re: Can't s2ram 22-rc2
2007-05-21 14:51 ` [Bug 8498], [Bug 8510], and Re: Can't s2ram 22-rc2 Alan Stern
@ 2007-05-21 15:10 ` Soeren Sonnenburg
2007-05-21 15:43 ` Andrey Borzenkov
2007-05-21 16:12 ` Avuton Olrich
2 siblings, 0 replies; 4+ messages in thread
From: Soeren Sonnenburg @ 2007-05-21 15:10 UTC (permalink / raw)
To: Alan Stern
Cc: Andrey Borzenkov, Avuton Olrich, Greg KH, Rafael J. Wysocki,
Jiri Slaby, Andrew Morton, USB development list,
Linux-pm mailing list, Kernel development list
On Mon, 2007-05-21 at 10:51 -0400, Alan Stern wrote:
> On Sat, 19 May 2007, Greg KH wrote:
> It turns out that the patch I originally wrote to fix this is in
> conflict with one of Raphael's patches (make freezeable workqueues
> singlethread) already added to 2.6.22-rc2. So here's an updated
> version for that kernel.
>
> Andrey, Soeren, and Avuton: Please try this patch with 2.6.22-rc2 or
> later and see if it fixes your problems.
>
> Greg, if this works then I'll send it in the proper form for a patch,
> and you can use it to replace
>
> usb-make-the-autosuspend-workqueue-thread-freezable.patch
works perfect, i.e. the machine survived 3 s2ram cycles and rebooted
cleanly :-))
apply! apply!
Soeren
> Alan Stern
>
>
> Index: 2.6.22-rc2/drivers/usb/core/usb.c
> ===================================================================
> --- 2.6.22-rc2.orig/drivers/usb/core/usb.c
> +++ 2.6.22-rc2/drivers/usb/core/usb.c
> @@ -205,7 +205,7 @@ struct device_type usb_device_type = {
>
> static int ksuspend_usb_init(void)
> {
> - ksuspend_usb_wq = create_singlethread_workqueue("ksuspend_usbd");
> + ksuspend_usb_wq = create_freezeable_workqueue("ksuspend_usbd");
> if (!ksuspend_usb_wq)
> return -ENOMEM;
> return 0;
>
--
Sometimes, there's a moment as you're waking, when you become aware of
the real world around you, but you're still dreaming.
^ permalink raw reply [flat|nested] 4+ messages in thread* Re: [Bug 8498], [Bug 8510], and Re: Can't s2ram 22-rc2
2007-05-21 14:51 ` [Bug 8498], [Bug 8510], and Re: Can't s2ram 22-rc2 Alan Stern
2007-05-21 15:10 ` Soeren Sonnenburg
@ 2007-05-21 15:43 ` Andrey Borzenkov
2007-05-21 16:12 ` Avuton Olrich
2 siblings, 0 replies; 4+ messages in thread
From: Andrey Borzenkov @ 2007-05-21 15:43 UTC (permalink / raw)
To: Alan Stern
Cc: Soeren Sonnenburg, Avuton Olrich, Greg KH, Rafael J. Wysocki,
Jiri Slaby, Andrew Morton, USB development list,
Linux-pm mailing list, Kernel development list
[-- Attachment #1: Type: text/plain, Size: 870 bytes --]
On Monday 21 May 2007, Alan Stern wrote:
> Andrey, Soeren, and Avuton: Please try this patch with 2.6.22-rc2 or
> later and see if it fixes your problems.
>
It does; thank you!
> Greg, if this works then I'll send it in the proper form for a patch,
> and you can use it to replace
>
> usb-make-the-autosuspend-workqueue-thread-freezable.patch
>
> Alan Stern
>
>
> Index: 2.6.22-rc2/drivers/usb/core/usb.c
> ===================================================================
> --- 2.6.22-rc2.orig/drivers/usb/core/usb.c
> +++ 2.6.22-rc2/drivers/usb/core/usb.c
> @@ -205,7 +205,7 @@ struct device_type usb_device_type = {
>
> static int ksuspend_usb_init(void)
> {
> - ksuspend_usb_wq = create_singlethread_workqueue("ksuspend_usbd");
> + ksuspend_usb_wq = create_freezeable_workqueue("ksuspend_usbd");
> if (!ksuspend_usb_wq)
> return -ENOMEM;
> return 0;
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread* Re: [Bug 8498], [Bug 8510], and Re: Can't s2ram 22-rc2
2007-05-21 14:51 ` [Bug 8498], [Bug 8510], and Re: Can't s2ram 22-rc2 Alan Stern
2007-05-21 15:10 ` Soeren Sonnenburg
2007-05-21 15:43 ` Andrey Borzenkov
@ 2007-05-21 16:12 ` Avuton Olrich
2 siblings, 0 replies; 4+ messages in thread
From: Avuton Olrich @ 2007-05-21 16:12 UTC (permalink / raw)
To: Alan Stern
Cc: Andrey Borzenkov, Soeren Sonnenburg, Greg KH, Rafael J. Wysocki,
Jiri Slaby, Andrew Morton, USB development list,
Linux-pm mailing list, Kernel development list
On 5/21/07, Alan Stern <stern@rowland.harvard.edu> wrote:
> Andrey, Soeren, and Avuton: Please try this patch with 2.6.22-rc2 or
> later and see if it fixes your problems.
It does, I already synced the -rc1 patch that was at the bug link for myself.
Thanks
--
avuton
--
Anyone who quotes me in their sig is an idiot. -- Rusty Russell.
^ permalink raw reply [flat|nested] 4+ messages in thread