Stephen Warren, thank you for reporting this and helping make Ubuntu better. Maverick reached EOL on April 10, 2012. Please see this document for currently supported Ubuntu releases: https://wiki.ubuntu.com/Releases
We were wondering if this is still an issue in a supported release? If so, could you please provide the information following https://wiki.ubuntu.com/DebuggingKernelSuspendHibernateResume ? As well, can you try with the latest development release of Ubuntu? ISO CD images are available from http://cdimage.ubuntu.com/releases/ . However, note you can only test Suspend, not Hibernate, when using a LiveCD. If the issue remains, run the following command in the development release from a Terminal (Applications->Accessories->Terminal) as it will automatically gather and attach updated debug information to this report. apport-collect -p linux <BUGNUMBER> Additionally, if you could try to reproduce this with the upstream mainline kernel that would be great. It will allow additional upstream developers to examine the issue. Refer to https://wiki.ubuntu.com/KernelMainlineBuilds . Once you've tested the upstream kernel, please remove the 'needs-upstream-testing' tag. This can be done by clicking on the yellow pencil icon next to the tag located at the bottom of the bug description and deleting the 'needs- upstream-testing' text. If this bug is fixed in the mainline kernel, please add the following tag 'kernel-fixed-upstream'. If the mainline kernel does not fix this bug, please add the tag: 'kernel-bug-exists-upstream'. If you are unable to test the mainline kernel, for example it will not boot, please add the tag: 'kernel-unable-to-test-upstream'. Please let us know your results. Thanks in advance. ** Summary changed: - ASUS G73JW fails to suspend or hibernate: "pm_op(): usb_dev_suspend+0x0/0x20 returns -2" + ASUS G73JW fails to suspend: "pm_op(): usb_dev_suspend+0x0/0x20 returns -2" ** Description changed: - Attempts to either suspend or hibernate my new laptop, it will fail. The - system is still running OK and dumped back to X with the - screensaver/lock running. + Attempts to either suspend my new laptop, it will fail. The system is + still running OK and dumped back to X with the screensaver/lock running. The following messages are in /var/log/syslog: Dec 28 20:59:03 dart kernel: [ 125.572258] PM: Syncing filesystems ... done. Dec 28 20:59:03 dart kernel: [ 125.573253] PM: Preparing system for mem sleep Dec 28 20:59:03 dart kernel: [ 125.573267] Freezing user space processes ... (elapsed 0.02 seconds) done. Dec 28 20:59:03 dart kernel: [ 125.600542] Freezing remaining freezable tasks ... (elapsed 0.01 seconds) done. Dec 28 20:59:03 dart kernel: [ 125.620542] PM: Entering mem sleep Dec 28 20:59:03 dart kernel: [ 125.620627] Suspending console(s) (use no_console_suspend to debug) Dec 28 20:59:03 dart kernel: [ 125.820953] pm_op(): usb_dev_suspend+0x0/0x20 returns -2 Dec 28 20:59:03 dart kernel: [ 125.820959] PM: Device usb3 failed to suspend async: error -2 Dec 28 20:59:03 dart kernel: [ 125.851671] PM: Some devices failed to suspend Dec 28 20:59:03 dart kernel: [ 125.855408] PM: resume of devices complete after 3.732 msecs Dec 28 20:59:03 dart kernel: [ 125.855485] PM: resume devices took 0.000 seconds Dec 28 20:59:03 dart kernel: [ 125.855669] PM: Finishing wakeup. Dec 28 20:59:03 dart kernel: [ 125.855670] Restarting tasks ... done. I tried mainline kernel linux- image-2.6.35-02063508-generic_2.6.35-02063508.201010291110_amd64.deb with the nouveau driver, and get the exact same symptoms. ProblemType: Bug DistroRelease: Ubuntu 10.10 Package: linux-image (not installed) Regression: No Reproducible: Yes ProcVersionSignature: Ubuntu 2.6.35-24.42-generic 2.6.35.8 Uname: Linux 2.6.35-24-generic x86_64 NonfreeKernelModules: nvidia AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.23. Architecture: amd64 ArecordDevices: - **** List of CAPTURE Hardware Devices **** - card 0: Intel [HDA Intel], device 0: ALC259 Analog [ALC259 Analog] - Subdevices: 1/1 - Subdevice #0: subdevice #0 + **** List of CAPTURE Hardware Devices **** + card 0: Intel [HDA Intel], device 0: ALC259 Analog [ALC259 Analog] + Subdevices: 1/1 + Subdevice #0: subdevice #0 AudioDevicesInUse: - USER PID ACCESS COMMAND - /dev/snd/controlC0: swarren 1891 F.... pulseaudio + USER PID ACCESS COMMAND + /dev/snd/controlC0: swarren 1891 F.... pulseaudio CRDA: Error: [Errno 2] No such file or directory Card0.Amixer.info: - Card hw:0 'Intel'/'HDA Intel at 0xdc600000 irq 52' - Mixer name : 'Realtek ALC259' - Components : 'HDA:10ec0269,10431a13,00100100' - Controls : 16 - Simple ctrls : 9 + Card hw:0 'Intel'/'HDA Intel at 0xdc600000 irq 52' + Mixer name : 'Realtek ALC259' + Components : 'HDA:10ec0269,10431a13,00100100' + Controls : 16 + Simple ctrls : 9 Card1.Amixer.info: - Card hw:1 'NVidia'/'HDA NVidia at 0xd6080000 irq 17' - Mixer name : 'Nvidia GPU 11 HDMI/DP' - Components : 'HDA:10de0011,10de0101,00100100' - Controls : 16 - Simple ctrls : 4 + Card hw:1 'NVidia'/'HDA NVidia at 0xd6080000 irq 17' + Mixer name : 'Nvidia GPU 11 HDMI/DP' + Components : 'HDA:10de0011,10de0101,00100100' + Controls : 16 + Simple ctrls : 4 Date: Tue Dec 28 21:04:26 2010 HibernationDevice: RESUME=UUID=262eecb3-307a-4d3e-ba6e-698f59e8991b InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release amd64 (20101007) MachineType: ASUSTeK Computer Inc. G73Jw ProcCmdLine: BOOT_IMAGE=/vmlinuz-2.6.35-24-generic root=/dev/mapper/dart_vg0-dart_root ro quiet splash ProcEnviron: - PATH=(custom, user) - LANG=en_US.utf8 - SHELL=/bin/bash + PATH=(custom, user) + LANG=en_US.utf8 + SHELL=/bin/bash RelatedPackageVersions: linux-firmware 1.38 SourcePackage: linux dmi.bios.date: 08/05/2010 dmi.bios.vendor: American Megatrends Inc. dmi.bios.version: G73Jw.202 dmi.board.asset.tag: ATN12345678901234567 dmi.board.name: G73Jw dmi.board.vendor: ASUSTeK Computer Inc. dmi.board.version: 1.0 dmi.chassis.asset.tag: No Asset Tag dmi.chassis.type: 10 dmi.chassis.vendor: ASUSTeK Computer Inc. dmi.chassis.version: 1.0 dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvrG73Jw.202:bd08/05/2010:svnASUSTeKComputerInc.:pnG73Jw:pvr1.0:rvnASUSTeKComputerInc.:rnG73Jw:rvr1.0:cvnASUSTeKComputerInc.:ct10:cvr1.0: dmi.product.name: G73Jw dmi.product.version: 1.0 dmi.sys.vendor: ASUSTeK Computer Inc. ** Description changed: Attempts to either suspend my new laptop, it will fail. The system is still running OK and dumped back to X with the screensaver/lock running. + + WORKAROUND: The better solutions is to disable all devices that uses + ehci_hcd from Kernel, and to unload module xhci, before + suspend/hibernate. For the last, you can use the nuage6's solution, but + I prefer to use the "config.d", as I describe in section 2. Another + solution is to complete disable usb support in BIOS, but I guess you + don't need to do this. + + 1. Unbind ehci_hcd from kernel: + + First, verify what devices you need to unload from kernel. Simple list + the directory "/sys/bus/pci/drivers/ehci_hcd/" and pick all devices id + that has names like "0000:00:1a.0". You may have more than one device + listed. + + # ls /sys/bus/pci/drivers/ehci_hcd/ + 0000:00:1a.0 bind new_id uevent + 0000:00:1d.0 module remove_id unbind + + I picked "0000:00:1a.0" and "0000:00:1d.0". + + Because newer version of Ubuntu came with ehci_hcd builtin kernel, you + have to unbind all devices. For this, create a file "/etc/pm/sleep.d + /20_custom-ehci_hcd", with the following content: + + #!/bin/sh + # File: "/etc/pm/sleep.d/20_custom-ehci_hcd". + case "${1}" in + hibernate|suspend) + # Unbind ehci_hcd for first device XXXX:XX:XX.X: + echo -n "XXXX:XX:XX.X" | tee /sys/bus/pci/drivers/ehci_hcd/unbind + # Unbind ehci_hcd for second device XXXX:XX:XX.X: + echo -n "XXXX:XX:XX.X" | tee /sys/bus/pci/drivers/ehci_hcd/unbind + ;; + resume|thaw) + # Bind ehci_hcd for first device XXXX:XX:XX.X: + echo -n "XXXX:XX:XX.X" | tee /sys/bus/pci/drivers/ehci_hcd/bind + # Bind ehci_hcd for second device XXXX:XX:XX.X: + echo -n "XXXX:XX:XX.X" | tee /sys/bus/pci/drivers/ehci_hcd/bind + ;; + esac + + Obs.: For this work for you, you have to substitue "XXXX:XX:XX.X" with + your settings. + + 2. Unload modelue xhci (usb3): + + Create a file "/etc/pm/config.d/usb3-suspend-workaround", with the + following content: + + #File: "/etc/pm/config.d/usb3-suspend-workaround". + SUSPEND_MODULES="xhci" + =========================================================== + + NOTE: In file usb3-suspend-workaround, I used "xhci_hcd" not "xhci", + since that seems to be the correct module name in Ubuntu Maverick + (10.10) + + NOTE: When testing, use the Gnome suspend/hibernate menu options; don't + just run "sudo pm-suspend", since the latter appears not to run all the + suspend scripts given in the instructions above. + + NOTE: "XXXX:XX:XX.X" are "0000:00:1a.0" and "0000:00:1d.0" on my HW + (Asus G73JW) The following messages are in /var/log/syslog: Dec 28 20:59:03 dart kernel: [ 125.572258] PM: Syncing filesystems ... done. Dec 28 20:59:03 dart kernel: [ 125.573253] PM: Preparing system for mem sleep Dec 28 20:59:03 dart kernel: [ 125.573267] Freezing user space processes ... (elapsed 0.02 seconds) done. Dec 28 20:59:03 dart kernel: [ 125.600542] Freezing remaining freezable tasks ... (elapsed 0.01 seconds) done. Dec 28 20:59:03 dart kernel: [ 125.620542] PM: Entering mem sleep Dec 28 20:59:03 dart kernel: [ 125.620627] Suspending console(s) (use no_console_suspend to debug) Dec 28 20:59:03 dart kernel: [ 125.820953] pm_op(): usb_dev_suspend+0x0/0x20 returns -2 Dec 28 20:59:03 dart kernel: [ 125.820959] PM: Device usb3 failed to suspend async: error -2 Dec 28 20:59:03 dart kernel: [ 125.851671] PM: Some devices failed to suspend Dec 28 20:59:03 dart kernel: [ 125.855408] PM: resume of devices complete after 3.732 msecs Dec 28 20:59:03 dart kernel: [ 125.855485] PM: resume devices took 0.000 seconds Dec 28 20:59:03 dart kernel: [ 125.855669] PM: Finishing wakeup. Dec 28 20:59:03 dart kernel: [ 125.855670] Restarting tasks ... done. I tried mainline kernel linux- image-2.6.35-02063508-generic_2.6.35-02063508.201010291110_amd64.deb with the nouveau driver, and get the exact same symptoms. ProblemType: Bug DistroRelease: Ubuntu 10.10 Package: linux-image (not installed) Regression: No Reproducible: Yes ProcVersionSignature: Ubuntu 2.6.35-24.42-generic 2.6.35.8 Uname: Linux 2.6.35-24-generic x86_64 NonfreeKernelModules: nvidia AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.23. Architecture: amd64 ArecordDevices: **** List of CAPTURE Hardware Devices **** card 0: Intel [HDA Intel], device 0: ALC259 Analog [ALC259 Analog] Subdevices: 1/1 Subdevice #0: subdevice #0 AudioDevicesInUse: USER PID ACCESS COMMAND /dev/snd/controlC0: swarren 1891 F.... pulseaudio CRDA: Error: [Errno 2] No such file or directory Card0.Amixer.info: Card hw:0 'Intel'/'HDA Intel at 0xdc600000 irq 52' Mixer name : 'Realtek ALC259' Components : 'HDA:10ec0269,10431a13,00100100' Controls : 16 Simple ctrls : 9 Card1.Amixer.info: Card hw:1 'NVidia'/'HDA NVidia at 0xd6080000 irq 17' Mixer name : 'Nvidia GPU 11 HDMI/DP' Components : 'HDA:10de0011,10de0101,00100100' Controls : 16 Simple ctrls : 4 Date: Tue Dec 28 21:04:26 2010 HibernationDevice: RESUME=UUID=262eecb3-307a-4d3e-ba6e-698f59e8991b InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release amd64 (20101007) MachineType: ASUSTeK Computer Inc. G73Jw ProcCmdLine: BOOT_IMAGE=/vmlinuz-2.6.35-24-generic root=/dev/mapper/dart_vg0-dart_root ro quiet splash ProcEnviron: PATH=(custom, user) LANG=en_US.utf8 SHELL=/bin/bash RelatedPackageVersions: linux-firmware 1.38 SourcePackage: linux dmi.bios.date: 08/05/2010 dmi.bios.vendor: American Megatrends Inc. dmi.bios.version: G73Jw.202 dmi.board.asset.tag: ATN12345678901234567 dmi.board.name: G73Jw dmi.board.vendor: ASUSTeK Computer Inc. dmi.board.version: 1.0 dmi.chassis.asset.tag: No Asset Tag dmi.chassis.type: 10 dmi.chassis.vendor: ASUSTeK Computer Inc. dmi.chassis.version: 1.0 dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvrG73Jw.202:bd08/05/2010:svnASUSTeKComputerInc.:pnG73Jw:pvr1.0:rvnASUSTeKComputerInc.:rnG73Jw:rvr1.0:cvnASUSTeKComputerInc.:ct10:cvr1.0: dmi.product.name: G73Jw dmi.product.version: 1.0 dmi.sys.vendor: ASUSTeK Computer Inc. ** Attachment removed: "syslog.txt" https://bugs.launchpad.net/ubuntu/+source/linux/+bug/695249/+attachment/1791801/+files/syslog.txt ** Attachment removed: "lspci.txt" https://bugs.launchpad.net/ubuntu/+source/linux/+bug/695249/+attachment/1791820/+files/lspci.txt ** Attachment removed: "lsusb.txt" https://bugs.launchpad.net/ubuntu/+source/linux/+bug/695249/+attachment/1791821/+files/lsusb.txt ** Changed in: linux (Ubuntu) Status: Confirmed => Incomplete -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/695249 Title: ASUS G73JW fails to suspend: "pm_op(): usb_dev_suspend+0x0/0x20 returns -2" To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/695249/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs