10de:0407 [Dell XPS M1530] Ubuntu 12.04 shutdown hangs with proprietary nVidia driver

Bug #987933 reported by Napoleon
316
This bug affects 70 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Expired
Medium
Unassigned

Bug Description

Basically, if I shutdown soon after login on, my system shuts down and powers off ok but it I use the system for any prolonged time and try to shutdown, it hangs at the very last minuites. Based on the advice from Bug #985471, I modified /etc/default/grub,
changing
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
to
GRUB_CMDLINE_LINUX_DEFAULT="reboot=pci quiet splash"

Having done this, I am able to reboot my system however long I have been using it. So my current shutdown routine is, first reboot and wait for the login screen, then from there shutdown.
Thanks for your help.

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: linux-image-3.2.0-23-generic-pae 3.2.0-23.36
ProcVersionSignature: Ubuntu 3.2.0-23.36-generic-pae 3.2.14
Uname: Linux 3.2.0-23-generic-pae i686
NonfreeKernelModules: nvidia wl
AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.24.
ApportVersion: 2.0.1-0ubuntu5
Architecture: i386
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: napo 2023 F.... pulseaudio
CRDA: Error: command ['iw', 'reg', 'get'] failed with exit code 1: nl80211 not found.
Card0.Amixer.info:
 Card hw:0 'Intel'/'HDA Intel at 0xf6ffc000 irq 46'
   Mixer name : 'SigmaTel STAC9228'
   Components : 'HDA:83847616,1028022e,00100402'
   Controls : 27
   Simple ctrls : 18
CurrentDmesg:
 [ 51.002362] type=1400 audit(1335280536.452:26): apparmor="DENIED" operation="open" parent=1 profile="/usr/lib/telepathy/mission-control-5" name="/usr/share/gvfs/remote-volume-monitors/" pid=2307 comm="mission-control" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0
 [ 51.040044] eth2: no IPv6 routers present
 [ 545.036937] type=1400 audit(1335281030.487:27): apparmor="DENIED" operation="open" parent=1 profile="/usr/lib/telepathy/mission-control-5" name="/usr/share/gvfs/remote-volume-monitors/" pid=3191 comm="mission-control" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0
Date: Tue Apr 24 18:02:51 2012
HibernationDevice: RESUME=UUID=cd96f6c2-293c-4b89-94be-94620eef118c
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Release i386 (20120423)
MachineType: Dell Inc. XPS M1530
ProcEnviron:
 LANGUAGE=en_GB:en
 TERM=xterm
 PATH=(custom, no user)
 LANG=en_GB.UTF-8
 SHELL=/bin/bash
ProcFB: 0 VESA VGA
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.2.0-23-generic-pae root=UUID=124e4ea7-c7e6-4770-bf12-0057305672a4 ro reboot=pci quiet splash vt.handoff=7
RelatedPackageVersions:
 linux-restricted-modules-3.2.0-23-generic-pae N/A
 linux-backports-modules-3.2.0-23-generic-pae N/A
 linux-firmware 1.79
SourcePackage: linux
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 11/19/2008
dmi.bios.vendor: Dell Inc.
dmi.bios.version: A12
dmi.board.name: 0D501F
dmi.board.vendor: Dell Inc.
dmi.chassis.type: 8
dmi.chassis.vendor: Dell Inc.
dmi.modalias: dmi:bvnDellInc.:bvrA12:bd11/19/2008:svnDellInc.:pnXPSM1530:pvr:rvnDellInc.:rn0D501F:rvr:cvnDellInc.:ct8:cvr:
dmi.product.name: XPS M1530
dmi.sys.vendor: Dell Inc.

Revision history for this message
Napoleon (thecyberpreacher) wrote :
Brad Figg (brad-figg)
Changed in linux (Ubuntu):
status: New → Confirmed
Changed in linux (Ubuntu):
importance: Undecided → Medium
Revision history for this message
penalvch (penalvch) wrote :

Napoleon, thank you for reporting this and helping make Ubuntu better. Could you please capture the oops following https://wiki.ubuntu.com/KernelTeam/KernelTeamBugPolicies#Capturing_OOPs ? As well, if you could also please test the latest upstream kernel available 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.

Changed in linux (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
Napoleon (thecyberpreacher) wrote :

Christopher, thanks for the update. Regarding the testing of the upstream mainline build, I have tried in the past to run the mainline builds. However the installation has always completed but with errors. I think this is because, some of my kernel modules are not compiled since there is no *source*.deb for the mainline build. How can I overcome this, otherwise I'm afraid this is not going to be any different from the previous times.

Revision history for this message
Colin GILLE (colingille) wrote :

I have the same problem with two (very) different hardware:
An Intel based computer with an NVidia graphic card and the clased-source driver. Using a fresh install of Ubuntu 12.04. See hw1

An AMD based computer, with an AMD graphic card using the open source driver. Upgraded to precise. See hw2

I have seen the same problem on a laptop using Ubuntu oneiric.

Revision history for this message
penalvch (penalvch) wrote :

Congelli501, please execute the following via the Terminal and feel free to subscribe me to it:
ubuntu-bug linux

Thanks!

Revision history for this message
Charles Jie (chjie) wrote :

Hi, I think it's the same thing in Bug #987220, which I've just posted two comments for it:
#47 and #48.

Such hang has a very high probability to occur. (more than 90% on those 6 laptops I recently installed.)

Revision history for this message
Angel D. Segarra (angel-segarra) wrote :

This has been driving me crazy. I tried everything recommended and could not get rid of the problem. I too could shutdown or reboot if I did it immediately following booting into the login screen, but once I logged on and used the machine for a bit of time it would hang always if I tried shutting down or rebooting. I have a Dell Inspiron 1420 with nvidia card, I tried the nouveau drivers and nothing, same thing.

Then I installed xubuntu 12.04 on the same machine with nvidia-current and low and behold! It shuts down and reboots like a champ every single time no matter what I do. Something is definitely wrong in something that is unique to Ubuntu that does not affect xubuntu and maybe other variants. I have also installed Fedora 17 Gnome 3 in the same computer and did not have this problem. Could be related to Unity. Sorry I don't have more but for anybody who cannot get rid of this you can try either going for Xubuntu from scratch or try to installed xfce on top of regular ubuntu and see if the problem persists. For me I went for a fresh install.

Revision history for this message
Gabe Gorelick (gabegorelick) wrote :

I had this issue using the propietary nvidia drivers. After switching to nouveau, the problem is fixed. Same hardware as the bug reporter.

Revision history for this message
mehturt (mehturt) wrote :

I confirm, removing Nvidia from Additional Drivers fixed the problem for me, Dell XPS M1530.

summary: - Ubuntu 12.04 shutdown hangs
+ Ubuntu 12.04 shutdown hangs with proprietary nVidia driver
Revision history for this message
Gabe Gorelick (gabegorelick) wrote : Re: Ubuntu 12.04 shutdown hangs with proprietary nVidia driver

Marking this as an nvidia bug since there doesn't seem to be any problem with nouveau.

affects: linux (Ubuntu) → nvidia-graphics-drivers (Ubuntu)
Changed in nvidia-graphics-drivers (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
penalvch (penalvch) wrote : Re: 10de:0407 Ubuntu 12.04 shutdown hangs with proprietary nVidia driver

Napoleon, we still need you to try to test the newest mainline, despite your previous experience with testing mainline kernels.

summary: - Ubuntu 12.04 shutdown hangs with proprietary nVidia driver
+ 10de:0407 Ubuntu 12.04 shutdown hangs with proprietary nVidia driver
Changed in nvidia-graphics-drivers (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
Neil C Smith (neilcsmith-net) wrote :

I marked this as affecting me a while back, and subscribed. However, my setup, as a couple of others, is an AMD radeon card with the propietary driver. Same result. I see this bug has been marked nvidia only. If this is a deliberate decision to look at the bugs separately then I'll unsubscribe. However, this does seems to affect a lot of Dell users, like me. Could this be a Dell issue or an issue with proprietary graphics drivers and the kernel, rather than specific to nvidia?

Revision history for this message
Gabe Gorelick (gabegorelick) wrote :

@Neil C Smith,

I marked this as an nvidia driver bug because a few users have reported that the problem went away when using noveau, and I didn't see any other cards or drivers mentioned on this bug report. But if the Catalyst driver also has this problem then maybe it is a bigger issue. Do you still experience the bug when using the open source radeon driver?

Revision history for this message
penalvch (penalvch) wrote :

Neil C Smith, if you are having a problem in Ubuntu, please file a new report by executing the following via the Terminal and feel free to subscribe me to it:
ubuntu-bug linux

Thanks!

Gabe Gorelick, please do not solicit non-original reporters to provide information in this report.

Revision history for this message
Neil C Smith (neilcsmith-net) wrote :

@Christopher - I already did that last month - Bug #1002798, but was subscribed to this beforehand.

penalvch (penalvch)
affects: nvidia-graphics-drivers (Ubuntu) → linux (Ubuntu)
Revision history for this message
Gabe Gorelick (gabegorelick) wrote :

@Christopher

Sorry, I didn't realize bug #1002798 existed for that discussion. Since you seem to be handling this I'll let you do your thing.

Revision history for this message
Angel D. Segarra (angel-segarra) wrote :

This problem seems to affect 32 bit version of Ubuntu. I just realized my working xubuntu install was 64 bit as opposed to the 32 bit I was using for Ubuntu. So I decided to try out 64 bit Ubuntu and guess what? Shuts down and reboots as expected every single time and I've been using for a couple of days and have not experienced any hangs.

Revision history for this message
Angel D. Segarra (angel-segarra) wrote :

I have tried with both default nouveau and nvidia-current without problems.

Revision history for this message
penalvch (penalvch) wrote :

Angel D. Segarra, please do not make comments on this report. For more on this, please see https://help.ubuntu.com/community/ReportingBugs#A3._Make_sure_the_bug_hasn.27t_already_been_reported . If you are having a problem in Ubuntu, please file a new report by executing the following via the Terminal and feel free to subscribe me to it:
ubuntu-bug linux

Thanks!

description: updated
Revision history for this message
Elmar Roberg (roberg) wrote :

For me, this problem developed about a week ago. Cannot recall exactly when.
Changing grub did not work.

Also, the Kubuntu Launcher buttons no longer work either.

I have shut down by using Terminal, <sudo halt>

The notebook (DELL xps m1530) then shuts down but does not actually shut off.

Not sure if this may have something to do with the fact that I did not know that one must use kdesudo when starting a gui process.

Revision history for this message
Elmar Roberg (roberg) wrote :

I get this when I attempt to access grub:

05:54:51 $ kdesudo kate /etc/default/grub
QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave.
Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)
QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave.
QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave.
kbuildsycoca4 running...
QInotifyFileSystemWatcherEngine::addPaths: inotify_add_watch failed: No such file or directory
QFileSystemWatcher: failed to add paths: /root/.config/ibus/bus

Revision history for this message
Shreepad S (shreepads) wrote :

Issue for me as well on Precise, but I think the focus is misplaced...

The very same NVidia proprietary drivers (and hardware setup) on Lucid LTS cause no shutdown problems, but they do in Precise. Also nouveau is not working for my setup so have to use the proprietary drivers.

Desktop hardware:
Intel C2D E7200 || Intel DG33FB mobo || 4 GB RAM || 64 bit Lucid/ Precise Desktops || WD Caviar Black 1TB, Green 2TB; Corsair Force 3 60GB || Dell U2412M || Palit Sonic GT 240 (OC'd NVidia card)

Installed nvidia-current from repos (295.40).

Revision history for this message
Shreepad S (shreepads) wrote :

Workaround: First Log Out (from top right corner menu) and then Shutdown... Worked very well for my setup (see post above for details) but YMMV...

Am trying to debug this by setting
sudo dmesg -n debug

And then triggering a Shutdown (from top right corner menu before logging out), but nothing suspicious pops up in kern.log

Any other way to figure out what's going wrong?

Revision history for this message
plum7500 (plum01) wrote :

I don't believe that it is an Nvidia bug as I have an AMD graphics card. Tried using both command "sudo shutdown -P now" and top right computer icon to shutdown but hangs. Only happens if computer is on for a long time. I have to press button to restart computer, log in and then shutdown using the gui. This bug has been there since I upgraded to 12.04 (clean install).

I'm surprised that this bug is only rated at Medium importance. I am running 3.2.0-30-generic

Revision history for this message
Shreepad S (shreepads) wrote :

Latest one this is that on one occasion it shutdown when triggered from the top right shutdown menu, BUT it had failed to cleanly unmount leading to a disk check on a 2TB (WD Caviar Green) drive, which was no fun at all.

Log out followed by Shutdown does the trick...

I notice that the status of this bug is 'Incomplete', if anyone can clarify what exactly needs to be provided? As mentioned above I've tried increasing the kernel log level to debug and then triggering shutdown but can't see any errors reported...

Revision history for this message
Martin Gyurko (gyurma) wrote :

Have same problem. Reboot works, shutdown not. It waits for something...
I added the
acpi=force
to the kernel boot line, shutdown now sometimes works, sometimes not. I don't see a system behind the failure.
I have an AMD APU board.

Revision history for this message
Stephan S. (stephan256) wrote :

I had the same issue on a new Lenovo Thinkpad x220. I had always used "sudo halt" to shut down the system and discovered that it actually halts the system instead of powering it off. I think this behavior probably changed in recent Ubuntu releases, because in earlier versions the system powered off.
"shutdown -h now" and "halt -p" works, "halt" without "-p" only halts the system and does not power it off.

Revision history for this message
hivar (hihivar) wrote :

a

Revision history for this message
hivar (hihivar) wrote :

"shutdown -h -p now" only restart my system. From login screen I'm available to shutdown.

Thinkpad Edge E 130
Xubuntu 12.04

Revision history for this message
lambda23 (kevin-liyanto) wrote :

I can't shutdown Ubuntu via GUI, but i can shutdown it via terminal with "shutdown -h now"
I use AMD 4850 graphic card. It seems it is kernel bug not the driver bug.

Revision history for this message
penalvch (penalvch) wrote :

lambda23, could you please file a new report by executing the following in a terminal:
ubuntu-bug linux

For more on this, please see the Ubuntu Bug Control and Ubuntu Bug Squad article:
https://wiki.ubuntu.com/Bugs/BestPractices#X.2BAC8-Reporting.Focus_on_One_Issue

and Ubuntu Community article:
https://help.ubuntu.com/community/ReportingBugs#Bug_Reporting_Etiquette

When opening up the new report, please feel free to subscribe me to it. Thank you for your understanding.

Helpful Bug Reporting Links:
https://help.ubuntu.com/community/ReportingBugs#A3._Make_sure_the_bug_hasn.27t_already_been_reported
https://help.ubuntu.com/community/ReportingBugs#Adding_Apport_Debug_Information_to_an_Existing_Launchpad_Bug
https://help.ubuntu.com/community/ReportingBugs#Adding_Additional_Attachments_to_an_Existing_Launchpad_Bug

Revision history for this message
Unseen (unseen-mail) wrote :

I just received this bug on a Lenovo W510 (nvidia quattro fx880) after upgrading from 12.04 (where this bug did not exist for me) to 12.10.
After adding the several times mentioned acpi=force, sometimes the machine turns off but most the time it doesn't.

Revision history for this message
penalvch (penalvch) wrote :
Revision history for this message
Unseen (unseen-mail) wrote :

Ok, so I guess I'm supposed to file a new bug. Here it is with all bug-tool files attached: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1069551

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
Krzysztof Debski (fantom15) wrote :

I am also affected:
Dell XPS M1530
nvidia driver version 295.40

It worked in 10.04 and is broken in Ubuntu 12.04.

Revision history for this message
penalvch (penalvch) wrote :

Krzysztof Debski, if you have a bug in Ubuntu, could you please file a new report by executing the following in a terminal:
ubuntu-bug xorg

For more on this, please see the Ubuntu X.Org team (maintainers of xorg and nvidia in Ubuntu), Ubuntu Bug Control team, and Ubuntu Bug Squad team article:
https://wiki.ubuntu.com/Bugs/BestPractices#X.2BAC8-Reporting.Focus_on_One_Issue

and Ubuntu Community article:
https://help.ubuntu.com/community/ReportingBugs#Bug_reporting_etiquette

When opening up the new report, please feel free to subscribe me to it.

Please note, not filing a new report may delay your problem being addressed as quickly as possible.

Thank you for your understanding.

Revision history for this message
Mercer Rivière (vincentuq) wrote :

Same problem here, 12.04 (upgrade from previous LTS).

Revision history for this message
penalvch (penalvch) wrote :

Mercer Rivière, if you have a bug in Ubuntu, could you please file a new report by executing the following in a terminal:
ubuntu-bug linux

For more on this, please see the Ubuntu Kernel team article:
https://wiki.ubuntu.com/KernelTeam/KernelTeamBugPolicies#Filing_Kernel_Bug_reports

the Ubuntu Bug Control team and Ubuntu Bug Squad team article:
https://wiki.ubuntu.com/Bugs/BestPractices#X.2BAC8-Reporting.Focus_on_One_Issue

and Ubuntu Community article:
https://help.ubuntu.com/community/ReportingBugs#Bug_reporting_etiquette

When opening up the new report, please feel free to subscribe me to it.

Please note, not filing a new report may delay your problem being addressed as quickly as possible.

Thank you for your understanding.

Revision history for this message
Mercer Rivière (vincentuq) wrote :

But this bug is already filled, no?

Revision history for this message
penalvch (penalvch) wrote :

Mercer Rivière, as previously posted to you in https://bugs.launchpad.net/ubuntu/+source/linux/+bug/987933/comments/40 no, as linux (Ubuntu) bugs are on a per user basis, not per problem.

Revision history for this message
Vijay (mavijitr-i) wrote :

I have the same issue after upgrade to12.04. I use force shutdown using the power button. pls let us know if this bug is fixed.

Revision history for this message
penalvch (penalvch) wrote :

Mercer Rivière, no.

Vijay, if you have a bug in Ubuntu, the Ubuntu Kernel team, Ubuntu Bug Control team, and Ubuntu Bug Squad would like you to please file a new report by executing the following in a terminal:
ubuntu-bug linux

For more on this, please see the Ubuntu Kernel team article:
https://wiki.ubuntu.com/KernelTeam/KernelTeamBugPolicies#Filing_Kernel_Bug_reports

the Ubuntu Bug Control team and Ubuntu Bug Squad team article:
https://wiki.ubuntu.com/Bugs/BestPractices#X.2BAC8-Reporting.Focus_on_One_Issue

and Ubuntu Community article:
https://help.ubuntu.com/community/ReportingBugs#Bug_reporting_etiquette

When opening up the new report, please feel free to subscribe me to it.

Please note, not filing a new report would delay your problem being addressed as quickly as possible.

Thank you for your understanding.

Revision history for this message
Mercer Rivière (vincentuq) wrote :

Works in 3.2.0-51-generic

Revision history for this message
Andries van Tonder (outoppie) wrote :

Since update 3 nights ago, the same problem with my Acer Extensa 5630Z runnin 12.04.

Revision history for this message
penalvch (penalvch) wrote :

Andries van Tonder, if you have a bug in Ubuntu, the Ubuntu Kernel team, Ubuntu Bug Control team, and Ubuntu Bug Squad would like you to please file a new report by executing the following in a terminal while booted into a Ubuntu repository kernel (not a mainline one) via:
ubuntu-bug linux

For more on this, please read the official Ubuntu documentation:
Ubuntu Bug Control and Ubuntu Bug Squad: https://wiki.ubuntu.com/Bugs/BestPractices#X.2BAC8-Reporting.Focus_on_One_Issue
Ubuntu Kernel Team: https://wiki.ubuntu.com/KernelTeam/KernelTeamBugPolicies#Filing_Kernel_Bug_reports
Ubuntu Community: https://help.ubuntu.com/community/ReportingBugs#Bug_reporting_etiquette

When opening up the new report, please feel free to subscribe me to it.

Please note, not filing a new report would delay your problem being addressed as quickly as possible.

No need exists to comment here at this time. After reading the above documentation in it's entirety, if you have further questions, you are welcome to redirect them to the appropriate mailing list or forum via http://www.ubuntu.com/support/community/mailinglists , or you may contact me directly.

Thank you for your understanding.

summary: - 10de:0407 Ubuntu 12.04 shutdown hangs with proprietary nVidia driver
+ 10de:0407 [Dell XPS M1530] Ubuntu 12.04 shutdown hangs with proprietary
+ nVidia driver
Revision history for this message
tlue (tlueber) wrote :

actually my Lenovo T61 with nVidia was perfectly fine in 12.04, but since upgrading to 14.04 (and a re-install did not help neither) I now encounter this issue, that it does not completley switch off when selecting power-off. Hibernate if working fine though.

Revision history for this message
penalvch (penalvch) wrote :

tlue, thank you for your comment. Unfortunately, this bug report is not scoped to you, or your problem. So your hardware and problem may be tracked, could you please file a new report with Ubuntu by executing the following in a terminal while booted into the default Ubuntu kernel (not a mainline one) via:
ubuntu-bug linux

For more on this, please read the official Ubuntu documentation:
Ubuntu Bug Control and Ubuntu Bug Squad: https://wiki.ubuntu.com/Bugs/BestPractices#X.2BAC8-Reporting.Focus_on_One_Issue
Ubuntu Kernel Team: https://wiki.ubuntu.com/KernelTeam/KernelTeamBugPolicies#Filing_Kernel_Bug_reports
Ubuntu Community: https://help.ubuntu.com/community/ReportingBugs#Bug_reporting_etiquette

When opening up the new report, please feel free to subscribe me to it.

As well, please do not announce in this report you created a new bug report.

Thank you for your understanding.

Helpful bug reporting tips:
https://wiki.ubuntu.com/ReportingBugs

Revision history for this message
Zeioth (zeioth) wrote :

I'm experiencing this bug in a packard bell easy note ENTF71BM.

Revision history for this message
penalvch (penalvch) wrote :

Zeioth, it will help immensely if you filed a new report via a terminal:
ubuntu-bug linux

Please feel free to subscribe me to it.

For more on why this is helpful, please see https://wiki.ubuntu.com/ReportingBugs.

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.