Public bug reported:

i'm developing with usb microcontrollers and sometimes they are buggy. ;)
normally my system (thinkpad t410s) hibernates and resumes fairly well.
but i discovered today that this is not the case when usb devices dont 
enumerate correctly. the resume process times out then, aborts and a normal 
startup is being forced. this is with maverick's kernel version 2.6.35-27.48. i 
dont know the details about "thawing" usb devices, but it seems odd to me that 
they are important enough to produce a resuming abort.

the important part of dmesg:
[   10.766509] PM: Starting manual resume from disk
[   10.766528] PM: Resume from partition 252:1
[   10.766529] PM: Checking hibernation image.
[   10.767870] PM: Signature found, resuming
[   10.770863] PM: Marking nosave pages: 000000000009e000 - 0000000000100000
[   10.770866] PM: Marking nosave pages: 00000000bb27c000 - 00000000bb282000
[   10.770868] PM: Marking nosave pages: 00000000bb35f000 - 00000000bb40f000
[   10.770871] PM: Marking nosave pages: 00000000bb46f000 - 00000000bb70f000
[   10.770879] PM: Marking nosave pages: 00000000bb717000 - 00000000bb71f000
[   10.770881] PM: Marking nosave pages: 00000000bb76b000 - 00000000bb7ff000
[   10.770883] PM: Marking nosave pages: 00000000bb800000 - 0000000100000000
[   10.771611] PM: Basic memory bitmaps created
[   10.771612] PM: Preparing processes for restore.
[   10.771613] Freezing user space processes ... (elapsed 0.01 seconds) done.
[   10.784553] Freezing remaining freezable tasks ... 
[   11.263643] usb 1-1.2.7: device not accepting address 8, error -32
[   11.343727] usb 1-1.2.7: new full speed USB device using ehci_hcd and 
address 9
[   21.644688] usb 1-1.2.7: device not accepting address 9, error -32
[   21.724700] usb 1-1.2.7: new full speed USB device using ehci_hcd and 
address 10
[   30.768038] 
[   30.768059] Freezing of tasks failed after 20.01 seconds (1 tasks refusing 
to freeze):
[   30.768122] khubd         D 00000000ffff9520     0    43      2 0x00800000
[   30.768179]  ffff8801322c7960 0000000000000046 ffff880100000000 
0000000000015980
[   30.768224]  ffff8801322c7fd8 0000000000015980 ffff8801322c7fd8 
ffff8801322aadc0
[   30.768267]  0000000000015980 0000000000015980 ffff8801322c7fd8 
0000000000015980
[   30.768311] Call Trace:
[   30.768330]  [<ffffffff815895e5>] schedule_timeout+0x195/0x310
[   30.768359]  [<ffffffff81070620>] ? process_timeout+0x0/0x10
[   30.768384]  [<ffffffff8158925b>] wait_for_common+0xdb/0x180
[   30.768409]  [<ffffffff810572f0>] ? default_wake_function+0x0/0x20
[   30.768436]  [<ffffffff81407c7a>] ? usb_hcd_submit_urb+0x7a/0x190
[   30.768461]  [<ffffffff815893b3>] wait_for_completion_timeout+0x13/0x20
[   30.768487]  [<ffffffff81409643>] usb_start_wait_urb+0xd3/0x100
[   30.768512]  [<ffffffff81408928>] ? usb_init_urb+0x28/0x40
[   30.768535]  [<ffffffff81409cbe>] usb_control_msg+0xee/0x180
[   30.768559]  [<ffffffff8140a7ca>] usb_get_descriptor+0x8a/0xd0
[   30.768584]  [<ffffffff8140a8b5>] usb_get_device_descriptor+0xa5/0xd0
[   30.768610]  [<ffffffff814018bd>] hub_port_init+0x30d/0x890
[   30.768635]  [<ffffffff8138fd7c>] ? device_pm_init+0x4c/0x60
[   30.768659]  [<ffffffff81402eb6>] hub_port_connect_change+0x326/0xa40
[   30.768685]  [<ffffffff81404742>] hub_events+0x332/0x580
[   30.768708]  [<ffffffff81588bcf>] ? schedule+0x3df/0x830
[   30.768731]  [<ffffffff814049e5>] hub_thread+0x55/0x190
[   30.768754]  [<ffffffff8107fab0>] ? autoremove_wake_function+0x0/0x40
[   30.768779]  [<ffffffff81404990>] ? hub_thread+0x0/0x190
[   30.768802]  [<ffffffff8107f556>] kthread+0x96/0xa0
[   30.768824]  [<ffffffff8100aee4>] kernel_thread_helper+0x4/0x10
[   30.768848]  [<ffffffff8107f4c0>] ? kthread+0x0/0xa0
[   30.768870]  [<ffffffff8100aee0>] ? kernel_thread_helper+0x0/0x10
[   30.768898] 
[   30.768909] Restarting tasks ... done.
[   30.768981] PM: Basic memory bitmaps freed
[   30.768985] video LNXVIDEO:00: Restoring backlight state
[   30.941118] PM: Resume from disk failed.
[   30.957972] EXT4-fs (dm-2): INFO: recovery required on readonly filesystem

** Affects: linux (Ubuntu)
     Importance: Undecided
         Status: New

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

Title:
  fails to resume when usb device doesnt accept address

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to