nForce 590 USB power regression in 3.0.0-16 and 3.2.0-24

Bug #936190 reported by Ian McMichael
16
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Linux
Fix Released
Medium
linux (Ubuntu)
Incomplete
Undecided
Unassigned

Bug Description

Following on from bug #787590, it appears that with the release of the 3.0.0-16 kernel a regression has occurred and the problem is present again. I thought the patch had been adopted into the mainstream kernel but for some reason it does not appear to have made it into the Ubuntu release.

ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: linux-image-3.0.0-16-generic 3.0.0-16.28
ProcVersionSignature: Ubuntu 3.0.0-16.28-generic 3.0.17
Uname: Linux 3.0.0-16-generic i686
NonfreeKernelModules: nvidia
AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.24.
ApportVersion: 1.23-0ubuntu4
Architecture: i386
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: ian 1966 F.... pulseaudio
CRDA: Error: [Errno 2] No such file or directory
Card0.Amixer.info:
 Card hw:0 'NVidia'/'HDA NVidia at 0xfd100000 irq 20'
   Mixer name : 'Realtek ALC888'
   Components : 'HDA:10ec0888,1458e601,00100001'
   Controls : 40
   Simple ctrls : 22
Date: Sun Feb 19 13:12:43 2012
HibernationDevice: RESUME=UUID=8bca4d7b-e630-4aee-85c5-697fc2187ab2
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Release i386 (20110427.1)
ProcEnviron:
 LANGUAGE=en_GB:en
 PATH=(custom, no user)
 LANG=en_GB.UTF-8
 SHELL=/bin/bash
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.0.0-16-generic root=UUID=80dec9f0-ab97-403a-8cca-237f5b2e75a4 ro quiet splash vt.handoff=7
RelatedPackageVersions:
 linux-restricted-modules-3.0.0-16-generic N/A
 linux-backports-modules-3.0.0-16-generic N/A
 linux-firmware 1.60
RfKill:

SourcePackage: linux
UpgradeStatus: Upgraded to oneiric on 2011-11-01 (110 days ago)
dmi.bios.date: 06/18/2008
dmi.bios.vendor: Award Software International, Inc.
dmi.bios.version: F9c
dmi.board.name: M59SLI-S5
dmi.board.vendor: Gigabyte Technology Co., Ltd.
dmi.chassis.type: 3
dmi.modalias: dmi:bvnAwardSoftwareInternational,Inc.:bvrF9c:bd06/18/2008:svn:pn:pvr:rvnGigabyteTechnologyCo.,Ltd.:rnM59SLI-S5:rvr:cvn:ct3:cvr:
---
ApportVersion: 2.12.1-0ubuntu2
Architecture: i386
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC1: ubuntu 2779 F.... pulseaudio
                      ubuntu 4677 F.... pulseaudio
 /dev/snd/controlC0: ubuntu 2779 F.... pulseaudio
                      ubuntu 4677 F.... pulseaudio
CasperVersion: 1.336
DistroRelease: Ubuntu 13.10
IwConfig:
 lo no wireless extensions.

 eth0 no wireless extensions.

 eth1 no wireless extensions.
LiveMediaBuild: Ubuntu 13.10 "Saucy Salamander" - Alpha i386 (20130823)
Lsusb:
 Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
 Bus 002 Device 002: ID 0a81:0101 Chesen Electronics Corp. Keyboard
 Bus 002 Device 003: ID 045e:0040 Microsoft Corp. Wheel Mouse Optical
 Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
MarkForUpload: True
Package: linux (not installed)
ProcFB: 0 nouveaufb
ProcKernelCmdLine: file=/cdrom/preseed/username.seed boot=casper initrd=/casper/initrd.lz quiet splash -- maybe-ubiquity
ProcVersionSignature: Ubuntu 3.11.0-3.7-generic 3.11.0-rc6
RelatedPackageVersions:
 linux-restricted-modules-3.11.0-3-generic N/A
 linux-backports-modules-3.11.0-3-generic N/A
 linux-firmware 1.113
RfKill:

Tags: saucy
Uname: Linux 3.11.0-3-generic i686
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo
dmi.bios.date: 06/18/2008
dmi.bios.vendor: Award Software International, Inc.
dmi.bios.version: F9c
dmi.board.name: M59SLI-S5
dmi.board.vendor: Gigabyte Technology Co., Ltd.
dmi.chassis.type: 3
dmi.modalias: dmi:bvnAwardSoftwareInternational,Inc.:bvrF9c:bd06/18/2008:svn:pn:pvr:rvnGigabyteTechnologyCo.,Ltd.:rnM59SLI-S5:rvr:cvn:ct3:cvr:

Revision history for this message
Ian McMichael (ian-sigma-uk) wrote :
Changed in linux:
importance: Unknown → Medium
status: Unknown → Fix Released
Revision history for this message
Julian Wiedmann (jwiedmann) wrote :

Just to be sure, the USB devices are powered off after shutdown if you boot the previous kernel (3.0.0-15.26 I believe - please add 'uname -a' from that kernel)?

The bug is probably caused by http://kernel.ubuntu.com/git?p=ubuntu/ubuntu-oneiric.git;a=commit;h=7e980c78fa44e640e5f97fef2a7e67f3362cc32c - this patch was part of the latest kernel update (to -16.28).

tags: added: regression-update
removed: regression-release
Revision history for this message
Ian McMichael (ian-sigma-uk) wrote :

The last kernel running on this machine was:

Linux custard 3.0.0-15-generic #26-Ubuntu SMP Fri Jan 20 15:59:53 UTC 2012 i686 athlon i386 GNU/Linux

When shutdown this previous kernel correctly powers down the USB ports. So, it looks like the quirk for the 590 chipset is still needed. Is there anything I can test for you?

Revision history for this message
Ian McMichael (ian-sigma-uk) wrote :

Just to let you know that this regression is also present on the latest security release of the kernel this morning:

Linux custard 3.0.0-16-generic #29-Ubuntu SMP Tue Feb 14 12:49:42 UTC 2012 i686 athlon i386 GNU/Linux

Revision history for this message
Ian McMichael (ian-sigma-uk) wrote :

Also still present in this morning's update:

Linux custard 3.0.0-17-generic #30-Ubuntu SMP Thu Mar 8 17:34:21 UTC 2012 i686 athlon i386 GNU/Linux

Revision history for this message
Ian McMichael (ian-sigma-uk) wrote :

All was well in Precise (12.04 LTS) for a while. Up to and including 3.2.0-23 correctly powered off the USB controller at shutdown. Now from -24 (including -25) the bug has appeared.

Should I file another bug for Precise or update this one in some way now the problem is present here too? I'm not looking forward to many years of having to physically power the system off at the wall socket every time I shut it down...

summary: - nForce 590 USB power regression in 3.0.0-16
+ nForce 590 USB power regression in 3.0.0-16 and 3.2.0-24
Revision history for this message
Ian McMichael (ian-sigma-uk) wrote :

Further information has come to light today. I'm now running 3.2.0-29 (PAE) on the same platform. This does not exhibit the USB controller power shut-down bug unless as mass storage device is connected.

My USB memory card reader or a USB stick left connected to the motherboard at kernel shutdown results in the mouse and keyboard power being left on. Remove the mass storage device, boot the same kernel and shut it down again and they are turned off.

This bug is now 100% repeatable. If you would like me to collect any further information, just let me know what?

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

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in linux (Ubuntu):
status: New → Confirmed
Revision history for this message
Julien Lehuraux (julien-lehuraux) wrote :

My motherboard has a nforce 790i SLI chipset and the bug affects me since Ubuntu 12.04 release (kernel 3.2) : my USB devices are still powered when I shutdown the machine. However, unplugging everything except the mouse and the keyboard makes them powering off.

3.0.0-16 to latest kernels are concerned. The diff between 3.0.0-15 and 3.0.0-16 is this commit : http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=c61875977458637226ab093a35d200f2d5789787
Reverting it in a recompiled kernel may resolve the issue for concerned motherboards/chipsets.

Revision history for this message
penalvch (penalvch) wrote :

Ian McMichael, this bug was reported a while ago and there hasn't been any activity in it recently. We were wondering if this is still an issue? If so, could you please test for this with the latest development release of Ubuntu? ISO images are available from http://cdimage.ubuntu.com/daily-live/current/ .

If it remains an issue, could you please 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 <replace-with-bug-number>

Also, could you please test the latest upstream kernel available following https://wiki.ubuntu.com/KernelMainlineBuilds ? It will allow additional upstream developers to examine the issue. Please do not test the daily folder, but the one all the way at the bottom. Once you've tested the upstream kernel, please comment on which kernel version specifically you tested. If this bug is fixed in the mainline kernel, please add the following tags:
kernel-fixed-upstream
kernel-fixed-upstream-VERSION-NUMBER

where VERSION-NUMBER is the version number of the kernel you tested. For example:
kernel-fixed-upstream-v3.11-rc5

This can be done by clicking on the yellow circle with a black pencil icon next to the word Tags located at the bottom of the bug description. As well, please remove the tag:
needs-upstream-testing

If the mainline kernel does not fix this bug, please add the following tags:
kernel-bug-exists-upstream
kernel-bug-exists-upstream-VERSION-NUMBER

As well, please remove the tag:
needs-upstream-testing

Once testing of the upstream kernel is complete, please mark this bug's Status as Confirmed. Please let us know your results. Thank you for your understanding.

Changed in linux (Ubuntu):
status: Confirmed → Incomplete
tags: added: needs-upstream-testing regression-potential
tags: added: latest-bios-f9c
Revision history for this message
Ian McMichael (ian-sigma-uk) wrote : AlsaInfo.txt

apport information

tags: added: apport-collected saucy
description: updated
Revision history for this message
Ian McMichael (ian-sigma-uk) wrote : BootDmesg.txt

apport information

Revision history for this message
Ian McMichael (ian-sigma-uk) wrote : CRDA.txt

apport information

Revision history for this message
Ian McMichael (ian-sigma-uk) wrote : CurrentDmesg.txt

apport information

Revision history for this message
Ian McMichael (ian-sigma-uk) wrote : Lspci.txt

apport information

Revision history for this message
Ian McMichael (ian-sigma-uk) wrote : ProcCpuinfo.txt

apport information

Revision history for this message
Ian McMichael (ian-sigma-uk) wrote : ProcEnviron.txt

apport information

Revision history for this message
Ian McMichael (ian-sigma-uk) wrote : ProcInterrupts.txt

apport information

Revision history for this message
Ian McMichael (ian-sigma-uk) wrote : ProcModules.txt

apport information

Revision history for this message
Ian McMichael (ian-sigma-uk) wrote : PulseList.txt

apport information

Revision history for this message
Ian McMichael (ian-sigma-uk) wrote : UdevDb.txt

apport information

Revision history for this message
Ian McMichael (ian-sigma-uk) wrote : UdevLog.txt

apport information

Revision history for this message
Ian McMichael (ian-sigma-uk) wrote : WifiSyslog.txt

apport information

Revision history for this message
Ian McMichael (ian-sigma-uk) wrote :

As requested the test was re-run in the latest Saucy daily. The results are attached above. The issue still exists if a mass storage USB device is connected to the nForce 590 USB controller. If only HID devices are attached then they all power off correctly at shutdown.

To post a comment you must log in.