Ubuntu shutdown/restart failure

Bug #1002824 reported by Cormac
4
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Invalid
Medium
Unassigned

Bug Description

Bug reported as per instructions from Christopher M. Penalver (penalvch)

Shutdown and Reboot failure on Dell XPS/nVidia 295.49/Ubuntu 12.04

Sometimes "sudo reboot -h now" works, sometime not.

Had the same problem on 11.10 so I didn't install nVidia driver on a clean 12.04 install but problem was still there. Installed the nVidia driver because it didn't make a difference.

Tried stopping various unity processes using "system monitor" before a reboot (sudo reboot -h now) and this seems to work but it is terribly inefficient
The unity processes stopped:
unity-files-daemon
unity-applications-daemon

I then tried it using the ubuntu "shutdown" button after stopping the same processes and it also seems to have worked

WORKAROUND: Reverted to non-mainline kernel "linux-headers-3.2.0-25-generic-pae" and removed all nvidia drivers. Operating on nouveau graphics drivers shutdown and Restart work perfectly.

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: linux-image-3.2.0-24-generic-pae 3.2.0-24.38
ProcVersionSignature: Ubuntu 3.2.0-24.38-generic-pae 3.2.16
Uname: Linux 3.2.0-24-generic-pae i686
NonfreeKernelModules: nvidia
AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.24.
ApportVersion: 2.0.1-0ubuntu7
Architecture: i386
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC2: cormac 1724 F.... pulseaudio
 /dev/snd/controlC0: cormac 1724 F.... pulseaudio
                      cormac 1765 F.... TeamViewer.exe
 /dev/snd/controlC1: cormac 1724 F.... pulseaudio
Card0.Amixer.info:
 Card hw:0 'Intel'/'HDA Intel at 0xfebfc000 irq 47'
   Mixer name : 'SigmaTel STAC9228'
   Components : 'HDA:83847616,1028022e,00100201'
   Controls : 28
   Simple ctrls : 19
Card1.Amixer.info:
 Card hw:1 'Set'/'C-Media USB Headphone Set at usb-0000:00:1d.7-1.2, full speed'
   Mixer name : 'USB Mixer'
   Components : 'USB0d8c:000c'
   Controls : 7
   Simple ctrls : 3
Card2.Amixer.info:
 Card hw:2 'U0x46d0x809'/'USB Device 0x46d:0x809 at usb-0000:00:1d.7-1.3.3, high speed'
   Mixer name : 'USB Mixer'
   Components : 'USB046d:0809'
   Controls : 2
   Simple ctrls : 1
Card2.Amixer.values:
 Simple mixer control 'Mic',0
   Capabilities: cvolume cvolume-joined cswitch cswitch-joined penum
   Capture channels: Mono
   Limits: Capture 0 - 17
   Mono: Capture 10 [59%] [20.70dB] [on]
Date: Tue May 22 12:45:57 2012
HibernationDevice: RESUME=UUID=5e07cde7-2884-46fe-a4d3-362c6a19050e
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Release i386 (20120423)
MachineType: Dell Inc. XPS M1530
ProcFB: 0 VESA VGA
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.2.0-24-generic-pae root=UUID=8ece3500-c862-476e-9e19-aa92885f05b6 ro quiet splash vt.handoff=7
RelatedPackageVersions:
 linux-restricted-modules-3.2.0-24-generic-pae N/A
 linux-backports-modules-3.2.0-24-generic-pae N/A
 linux-firmware 1.79
SourcePackage: linux
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 07/14/2008
dmi.bios.vendor: Dell Inc.
dmi.bios.version: A09
dmi.board.name: 0XR509
dmi.board.vendor: Dell Inc.
dmi.chassis.type: 8
dmi.chassis.vendor: Dell Inc.
dmi.modalias: dmi:bvnDellInc.:bvrA09:bd07/14/2008:svnDellInc.:pnXPSM1530:pvr:rvnDellInc.:rn0XR509:rvr:cvnDellInc.:ct8:cvr:
dmi.product.name: XPS M1530
dmi.sys.vendor: Dell Inc.

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

Update:

I tried the following and then tried "sudo reboot -h now" - which failed to shutdown/restart the computer

I stopped the following unity process: "unity-applications-daemon" and I did not stop "unity-files-daemon"

I am carrying out these tasks remotely so I will have to wait to get home and manually restart the computer to try out the opposite actions, i.e. stop "unity-files-daemon" and not "unity-applications-daemon"

Cormac

Revision history for this message
Cormac (cormac-wilcox) wrote :

Update 2:

By stopping the "unity-files-daemon" from system monitor I am able to reboot using "sudo reboot -h now"

Revision history for this message
Cormac (cormac-wilcox) wrote :

Ignore comments #2 and #3 - they worked only on reboot within 5 min of startup.

I have tried updating the kernel from : http://kernel.ubuntu.com/~kernel-ppa/mainline/
I have tried the following kernels:
v3.3.7-precise - problem not solved
v3.4-precise (and various rc* versions) - not sure if problem solved because the nvidia driver will not install and my screen balloons to an unmanageable resolution that I have had to remove the kernel

Revision history for this message
Cormac (cormac-wilcox) wrote :

updated to latest mainline kernel:
linux-headers-3.4.0-030400-generic-pae_3.4.0-030400.201205210521_i386.deb
linux-headers-3.4.0-030400_3.4.0-030400.201205210521_all.deb
linux-image-3.4.0-030400-generic-pae_3.4.0-030400.201205210521_i386.deb

and updated the nvidia driver to 295.53

The shutdown/reboot option still doesn't work.

Revision history for this message
Cormac (cormac-wilcox) wrote :

Reverted to non-mainline kernel "linux-headers-3.2.0-25-generic-pae" and removed all nvidia drivers. Operating on nouveau graphics drivers

Shutdown and Restart work perfectly - however I would prefer to have an Nvidia driver for better graphics acceleration.

Revision history for this message
Cormac (cormac-wilcox) wrote :

updated to latest mainline kernel:
linux-headers-3.4.0-030400-generic-pae_3.4.0-030400.201205210521_i386.deb
linux-headers-3.4.0-030400_3.4.0-030400.201205210521_all.deb
linux-image-3.4.0-030400-generic-pae_3.4.0-030400.201205210521_i386.deb

Graphics running perfectly on nouveau

Shutdown and Restart work perfectly

penalvch (penalvch)
tags: added: needs-upstream-testing oneiric
tags: added: kernel-bug-exists-upstream kernel-bug-exists-upstream-v3.3.7-precise
tags: added: kernel-bug-exists-upstream-3.4.0-030400-generic-pae
description: updated
Revision history for this message
penalvch (penalvch) wrote :

Cormac, 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>

tags: added: bio-outdated-a12
removed: kernel-bug-exists-upstream kernel-bug-exists-upstream-3.4.0-030400-generic-pae
tags: added: bios-outdated-a12
removed: bio-outdated-a12
tags: added: kernel-bug-exists-upstream-v3.3.7
removed: kernel-bug-exists-upstream-v3.3.7-precise
Changed in linux (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
Cormac (cormac-wilcox) wrote :

Resolved - not an Ubuntu/Linux Kernel bug: Nvidia driver issue - updated Nvidia driver to 3xx.x and the issue was resolved.

Revision history for this message
Cormac (cormac-wilcox) wrote :

Not an Ubuntu/Linux kernel issue. It was an Nvidia driver issue.

Changed in linux (Ubuntu):
status: Incomplete → Invalid
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.