The problem is that usb_storage is still scanning on the built-in SD
card slot when tasks are frozen prior to restoring the hibernation
image. The task that's doing the scanning is frozen, but khubd is
processing a disconnect for the card reader that causes it to try and
wait on the frozen task. Thus waiting for khubd to freeze times out, and
as a result restoration of the hibernation image is aborted.

The attached patch makes the scanning task non-freezable. This has fixed
the issue in light testing. I'm going to put it through a couple hundred
S4 iterations now to further verify the fix.

** Patch added: "0001-usb_storage-make-usb-stor-scan-task-non-freezable.patch"
   
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/810020/+attachment/2207743/+files/0001-usb_storage-make-usb-stor-scan-task-non-freezable.patch

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/810020

Title:
  Toshiba NB505: Failure to resume from hibernate

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/810020/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to