XHCI (USB 3.0) kernel Module Prevents Hibernate

Bug #1058725 reported by Sergio Callegari
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Expired
Medium
Unassigned

Bug Description

On a system with an ASROCK N68S motherboard and a VIA VL800/801 PCI USB3 adapter, the system, which is a 64 bit kubuntu precise with a 3.2 kernel cannot hibernate.

When you ask the system to hibernate, the OS does everything it should and also appears to shut down the system (the fans stop). However, after half a second the system restarts by itself, resuming from the hibernation.

If you unbind the xhci_hcd driver from the usb card on the pci bus, before hibernation then the system hibernates and resumes in the correct way.

So, the very same hack proposed in bug report 522998 at comment 61 seem to (hackishly) fixes the issue.

IMHO this looks like a bug in the xhci driver. Please report upstream.
---
AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.24.
AplayDevices:
 **** List of PLAYBACK Hardware Devices ****
 card 0: NVidia [HDA NVidia], device 0: ALC662 rev1 Analog [ALC662 rev1 Analog]
   Subdevices: 1/1
   Subdevice #0: subdevice #0
ApportVersion: 2.0.1-0ubuntu13
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: callegar 7430 F.... pulseaudio
Card0.Amixer.info:
 Card hw:0 'NVidia'/'HDA NVidia at 0xfbef8000 irq 22'
   Mixer name : 'Realtek ALC662 rev1'
   Components : 'HDA:10ec0662,18493662,00100101'
   Controls : 31
   Simple ctrls : 18
DistroRelease: Ubuntu 12.04
HibernationDevice: RESUME=UUID=c50b4249-43ed-49ef-a3d8-ec7aa9718265
IwConfig:
 lo no wireless extensions.

 usb0 no wireless extensions.

 eth0 no wireless extensions.
MachineType: To Be Filled By O.E.M. To Be Filled By O.E.M.
NonfreeKernelModules: nvidia
Package: linux (not installed)
ProcFB: 0 VESA VGA
ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-3.2.0-31-generic root=/dev/mapper/DISK00-root ro quiet splash vt.handoff=7
ProcVersionSignature: Ubuntu 3.2.0-31.50-generic 3.2.28
RelatedPackageVersions:
 linux-restricted-modules-3.2.0-31-generic N/A
 linux-backports-modules-3.2.0-31-generic N/A
 linux-firmware 1.79.1
RfKill:
 0: hci0: Bluetooth
  Soft blocked: no
  Hard blocked: no
Tags: precise
Uname: Linux 3.2.0-31-generic x86_64
UpgradeStatus: Upgraded to precise on 2012-05-09 (143 days ago)
UserGroups: adm admin cdrom dialout fax floppy fuse lpadmin plugdev sambashare scanner staff sudo syslog vboxusers
WpaSupplicantLog:

dmi.bios.date: 04/21/2010
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: P2.10
dmi.board.name: N68-S
dmi.board.vendor: ASRock
dmi.chassis.asset.tag: To Be Filled By O.E.M.
dmi.chassis.type: 3
dmi.chassis.vendor: To Be Filled By O.E.M.
dmi.chassis.version: To Be Filled By O.E.M.
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvrP2.10:bd04/21/2010:svnToBeFilledByO.E.M.:pnToBeFilledByO.E.M.:pvrToBeFilledByO.E.M.:rvnASRock:rnN68-S:rvr:cvnToBeFilledByO.E.M.:ct3:cvrToBeFilledByO.E.M.:
dmi.product.name: To Be Filled By O.E.M.
dmi.product.version: To Be Filled By O.E.M.
dmi.sys.vendor: To Be Filled By O.E.M.

Revision history for this message
Brad Figg (brad-figg) wrote : Missing required logs.

This bug is missing log files that will aid in diagnosing the problem. From a terminal window please run:

apport-collect 1058725

and then change the status of the bug to 'Confirmed'.

If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.

This change has been made by an automated script, maintained by the Ubuntu Kernel Team.

Changed in linux (Ubuntu):
status: New → Incomplete
Revision history for this message
Sergio Callegari (callegar) wrote : AcpiTables.txt

apport information

tags: added: apport-collected precise
description: updated
Revision history for this message
Sergio Callegari (callegar) wrote : AlsaDevices.txt

apport information

Revision history for this message
Sergio Callegari (callegar) wrote : ArecordDevices.txt

apport information

Revision history for this message
Sergio Callegari (callegar) wrote : BootDmesg.txt

apport information

Revision history for this message
Sergio Callegari (callegar) wrote : CRDA.txt

apport information

Revision history for this message
Sergio Callegari (callegar) wrote : Card0.Amixer.values.txt

apport information

Revision history for this message
Sergio Callegari (callegar) wrote : Card0.Codecs.codec.0.txt

apport information

Revision history for this message
Sergio Callegari (callegar) wrote : CurrentDmesg.txt

apport information

Revision history for this message
Sergio Callegari (callegar) wrote : Lspci.txt

apport information

Revision history for this message
Sergio Callegari (callegar) wrote : Lsusb.txt

apport information

Revision history for this message
Sergio Callegari (callegar) wrote : PciMultimedia.txt

apport information

Revision history for this message
Sergio Callegari (callegar) wrote : ProcCpuinfo.txt

apport information

Revision history for this message
Sergio Callegari (callegar) wrote : ProcEnviron.txt

apport information

Revision history for this message
Sergio Callegari (callegar) wrote : ProcInterrupts.txt

apport information

Revision history for this message
Sergio Callegari (callegar) wrote : ProcModules.txt

apport information

Revision history for this message
Sergio Callegari (callegar) wrote : PulseList.txt

apport information

Revision history for this message
Sergio Callegari (callegar) wrote : UdevDb.txt

apport information

Revision history for this message
Sergio Callegari (callegar) wrote : UdevLog.txt

apport information

Revision history for this message
Sergio Callegari (callegar) wrote : WifiSyslog.txt

apport information

Revision history for this message
Joseph Salisbury (jsalisbury) wrote :

Would it be possible for you to test the latest upstream kernel? Refer to https://wiki.ubuntu.com/KernelMainlineBuilds . Please test the latest v3.6 kernel[0] (Not a kernel in the daily directory) and install both the linux-image and linux-image-extra .deb packages.

Once you've tested the upstream kernel, please remove the 'needs-upstream-testing' tag. Please only remove that one tag and leave the other tags. 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'.
Once testing of the upstream kernel is complete, please mark this bug as "Confirmed".

Thanks in advance.

[0] http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.6-quantal/

Changed in linux (Ubuntu):
importance: Undecided → Medium
tags: added: needs-upstream-testing
Revision history for this message
Sergio Callegari (callegar) wrote :

Haven't tested with 3.6. But I tested with 3.5 and the issue was still there.

Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for linux (Ubuntu) because there has been no activity for 60 days.]

Changed in linux (Ubuntu):
status: Incomplete → Expired
Revision history for this message
Sergio Callegari (callegar) wrote :

Bug is still present as of utopic. Now also verified trying the same USB3 pci card on an DELL Precision T5400 Server.

Unable to test upstream kernel, but it is extremely likely that the bug is also present there.

Please, propagate to Sarah Sharp (who said me once "Ubuntu doesn't forward me bugs relating to xHCI, although I wish they
would") at linux-usb or linux-pm.

Changed in linux (Ubuntu):
status: Expired → New
Revision history for this message
Sergio Callegari (callegar) wrote :
Revision history for this message
Sergio Callegari (callegar) wrote :

Marking the bug as confirmed, since there is a known working workaround, proving that the bug exists.

Changed in linux (Ubuntu):
status: New → Confirmed
Revision history for this message
penalvch (penalvch) wrote :

Sergio Callegari, in order to allow additional upstream developers to examine the issue, at your earliest convenience, could you please test the latest upstream kernel available from http://kernel.ubuntu.com/~kernel-ppa/mainline/?C=N;O=D ? Please keep in mind the following:
1) The one to test is at the very top line at the top of the page (not the daily folder).
2) The release names are irrelevant.
3) The folder time stamps aren't indicative of when the kernel actually was released upstream.
4) Install instructions are available at https://wiki.ubuntu.com/Kernel/MainlineBuilds .

If testing on your main install would be inconvenient, one may:
1) Install Ubuntu to a different partition and then test this there.
2) Backup, or clone the primary install.

If the latest kernel did not allow you to test to the issue (ex. you couldn't boot into the OS) please make a comment in your report about this, and continue to test the next most recent kernel version until you can test to the issue. Once you've tested the upstream kernel, please comment on which kernel version specifically you tested. If this issue is fixed in the mainline kernel, please add the following tags by clicking on the yellow circle with a black pencil icon, next to the word Tags, located at the bottom of the report description:
kernel-fixed-upstream
kernel-fixed-upstream-X.Y-rcZ

Where X, and Y are the first two numbers of the kernel version, and Z is the release candidate number if it exists.

If the mainline kernel does not fix the issue, please add the following tags:
kernel-bug-exists-upstream
kernel-bug-exists-upstream-X.Y-rcZ

Please note, an error to install the kernel does not fit the criteria of kernel-bug-exists-upstream.

Once testing of the latest upstream kernel is complete, please mark this report's Status as Confirmed. Please let us know your results.

Thank you for your understanding.

tags: added: latest-bios-2.10
Changed in linux (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for linux (Ubuntu) because there has been no activity for 60 days.]

Changed in linux (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.