shutdown does not work
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| Linux |
Fix Released
|
Medium
|
|||
| linux (Ubuntu) |
Fix Released
|
High
|
Unassigned | ||
| Precise |
Fix Released
|
High
|
Unassigned | ||
Bug Description
== Precise SRU Justification ==
This bug prevents desktops and servers from shutting down properly. This bug affects many different systems and a number of users. This bug is a high priory for servers, since physical access would be needed to shut the server down.
== Fix ==
Commit a3dd3323058d281
Author: WANG Cong <email address hidden>
Date: Thu Jan 12 17:20:11 2012 -0800
kexec: remove KMSG_DUMP_KEXEC
commit c22ab332902333f
Author: Matthew Garrett <email address hidden>
Date: Mon Mar 5 14:59:10 2012 -0800
kmsg_dump: don't run on non-error paths by default
comit a3dd3323 allows us to cleanly cherry-pick the actual fix, commit
c22ab332.
== Impact ==
A high number of desktop and server systems are affected as well as many users.
== Test Case ==
A test kernel was built with these two patches and tested by original bug reporter as well as other bug commenter's, which were also affected by this bug. These patches now allow the system to shutdown properly.
== Original Bug Description ==
I'am testing 12.04 (3.2.0-17-generic) and shutdown does not work. If i tray to shutdown or restart ther is the logo with the wording and the whites and the Orange points but it freezes. If it is frozen ctrl+alt+del show no effect. The hard drive turns off but the CPU and the display will continue. I have tried the following terminal commands, but the result is always the same.
sudo shutdown -h now
sudo shutdown -P now
sudo halt
sudo poweroff
sudo reboot
The problem occurs on a Acer TravelMate 8473T
Sorry that I can give no further information. This system forgets that there was a problem, because the hard drive turns off. This problem does not occur under 11.10
---
AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.24.
ApportVersion: 1.94-0ubuntu1
Architecture: amd64
ArecordDevices:
**** List of CAPTURE Hardware Devices ****
card 0: PCH [HDA Intel PCH], device 0: CONEXANT Analog [CONEXANT Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
AudioDevicesInUse:
USER PID ACCESS COMMAND
/dev/snd/
CRDA: Error: command ['iw', 'reg', 'get'] failed with exit code 1: nl80211 not found.
Card0.Amixer.info:
Card hw:0 'PCH'/'HDA Intel PCH at 0xf1800000 irq 53'
Mixer name : 'Intel CougarPoint HDMI'
Components : 'HDA:14f1506c,
Controls : 24
Simple ctrls : 11
CurrentDmesg: [ 75.369473] type=1400 audit(133096072
DistroRelease: Ubuntu 12.04
HibernationDevice: RESUME=
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Beta amd64 (20120301)
MachineType: Acer TM8473T
NonfreeKernelMo
Package: linux (not installed)
ProcEnviron:
TERM=xterm
PATH=(custom, no user)
LANG=de_DE.UTF-8
SHELL=/bin/bash
ProcFB: 0 inteldrmfb
ProcKernelCmdLine: BOOT_IMAGE=
ProcVersionSign
RelatedPackageV
linux-
linux-
linux-firmware 1.71
StagingDrivers: rts_pstor mei
Tags: precise staging
Uname: Linux 3.2.0-18-generic x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo
dmi.bios.date: 05/26/2011
dmi.bios.vendor: Phoenix Technologies Ltd.
dmi.bios.version: V1.09
dmi.board.
dmi.board.name: TM8473T
dmi.board.vendor: Acer
dmi.board.version: V1.09
dmi.chassis.
dmi.chassis.type: 9
dmi.chassis.vendor: Acer
dmi.chassis.
dmi.modalias: dmi:bvnPhoenixT
dmi.product.name: TM8473T
dmi.product.
dmi.sys.vendor: Acer
Thank you for taking the time to report this bug and helping to make Ubuntu better. It seems that your bug report is not filed about a specific source package though, rather it is just filed against Ubuntu in general. It is important that bug reports be filed about source packages so that people interested in the package can find the bugs about it. You can find some hints about determining what package your bug might be about at https:/
To change the source package that this bug is filed about visit https:/
[This is an automated message. I apologize if it reached you inappropriately; please just reply to this message indicating so.]
This error also occurs to me with HP NX9420 Laptop
This bug is missing log files that will aid in diagnosing the problem. From a terminal window please run:
apport-collect 944772
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.
still happens at 3.2.0-18-generic
There is a newer version of the kernel than the one you tested when this issue was found. Please test again with the newer kernel and indicate in the bug if this issue still exists or not. You can upgrade just your kernel by running the following in a terminal:
sudo apt-get update
sudo apt-get install linux
If the bug still exists in the latest kernel, please change the status back to "Confirmed". If the bug is fixed, please change the status to "Fix Released".
Thanks in advance
Update the Kernel but Bug still happen
malte@malte-
OK http://
Ign http://
Ign http://
Ign http://
OK http://
OK http://
OK http://
OK http://
OK http://
OK http://
OK http://
OK http://
OK http://
Ign http://
OK http://
OK http://
OK http://
OK http://
OK http://
Ign http://
OK http://
Ign http://
OK http://
OK http://
OK http://
OK http://
OK http://
OK http://
OK http://
OK http://
OK http://
OK http://
OK http://
OK http://
OK http://
OK http://
OK http://
Ign http://
OK http://
OK http://
Would it be possible for you to test the latest upstream kernel? Refer to https:/
If this bug is fixed by the mainline kernel, please add the following tag 'kernel-
If the mainline kernel does not fix this bug, please add the tag: 'kernel-
If you are unable to test the mainline kernel, for example it will not boot, please add the tag: 'kernel-
Once testing of the upstream kernel is complete, please mark this bug as "Confirmed".
Thanks in advance.
[1] http://
removed: needs-upstream-testing
This issue appears to be an upstream bug, since you tested the latest upstream kernel. Would it be possible for you to open an upstream bug report at bugzilla.kernel.org [1]? That will allow the upstream Developers to examine the issue, and may provide a quicker resolution to the bug.
If you are comfortable with opening a bug upstream, It would be great if you can report back the upstream bug number in this bug report. That will allow us to link this bug to the upstream report.
I signed up and created a report. maybe it helps. https:/
the computer will not start since the update the EFI boot loader today. https:/
Same issue on a DELL Latitude 6230.
A question to volRot (info-rothert) and Vincenzo Di Somma (vds): Does youre Notebooks use the BIOS follower UEFI too?
Same issue on Dell Vostro 1400
3.2.0-20-
IBM Thinkpad X41 - also not shutting down. Suspend works ok.
Same issue on Dell Latitude D830.
Linux Anduin 3.2.0-20-generic #33-Ubuntu SMP Tue Mar 27 16:45:08 UTC 2012 i686 i686 i386 GNU/Linux
I too had this problem (Intel S1200BTS mainboard with EFI), i tried updating to Linux 3.3.0 mainline and it seems to work fine.
Would it be possible for others affected by this bug to test the latest mainline kernel listed in comment #35?
Shutdown does work with Mainlinekernel 3.3.0 on my Acer TravelMate 8473T with an UEFI Mainboard.
The kernel freeze is in a week. Will Linux 3.3.0 still be included in Ubuntu 12.04? I ask because my proprietary driver for Broadcom wlan does not work with this Mainlinekernel. Or may be backported bugfix in linux 3.2.0-20?
From /var/log/jockey.log
2012年03月30日 09:18:27,191 WARNING: modinfo for module wl failed: ERROR: modinfo: could not find module wl
2012年03月30日 09:18:27,192 WARNING: /sys/module/
2012年03月30日 09:18:27,274 DEBUG: BroadcomWLHandler enabled(): kmod disabled, bcm43xx: blacklisted, b43: blacklisted, b43legacy: blacklisted
Same thing happens on a DELL Optiplex 760 with the 3.2.x Kernel series.
Can I request one additional test. It would be good to know if the fix in upstream v3.3 made it into upstream stable v3.2. Can folks affected by this bug test the latest v3.2 stable kernel, which is available at:
http://
removed: kernel-bug-exists-upstream
3.2.13 does not work. I tried both restart and poweroff.
3.3.0-030300rc6
I posted the next test kernel. This kernel is a bisect up to commit:
9354f1b8e6c55c3
The test kernel is located at:
http://
Can folks affected by this bug test this kernel and report back if the bug exists or not. I can continue the bisect once I get some feedback.
Thanks in advance.
3.3.0-030300rc6
Any idea of how many bisects might be left?
Thanks for testing, Rikard. I have the next kernel building now. There could be up to three more until we identify the bad commit.
I posted the next test kernel. This kernel is a bisect up to commit:
57b59c4a1400fa6
The test kernel is located at:
http://
Can folks affected by this bug test this kernel and report back if the bug exists or not. I can continue the bisect once I get some feedback.
Thanks in advance.
3.3.0-030300rc6
I posted the next test kernel. This kernel is a bisect up to commit:
880641bb9da2473
The test kernel is located at:
http://
Can folks affected by this bug test this kernel and report back if the bug exists or not. I can continue the bisect once I get some feedback.
Thanks in advance.
linux-image-
Today's kernel freez. So ubuntu will released with this error?
3.3.0-030300rc6
I posted the next test kernel. This kernel is a bisect up to commit:
f986a499ef6f317
The test kernel is located at:
http://
There should only be one additional test kernel after this.
@Malte, we may or may not be able to cherry pick the commit from upstream that fixes this bug. It will have to be proposed to the Ubuntu kernel team, once we identify the commit.
3.3.0-030300rc6
I posted the next test kernel. This kernel is a bisect up to commit:
c22ab332902333f
The test kernel is located at:
http://
This should be the last test kernel needed to identify the commit that fixed the bug.
3.3.0-030300rc6
Now that there should be a singe suspect commit left, is it time to add just that commit to 3.3-rc6 (and maybe a 3.2) to double check?
This was a revers bisect, so it identified the following commit as fixing the bug in v3.3-rc7:
[c22ab332902333
I will build a precise test kernel, with this commit applied and post it shortly.
The c22ab332902333f
550cf00dbc8ee40
I'll post the test kernel shortly.
I posted the next test kernel. This kernel is a bisect up to commit:
550cf00dbc8ee40
I expect this test kernel to exhibit this bug. If it does, I'll investigate further on getting commit c22ab332902333f
linux-image-
Thanks for testing, Malte. That confirms that the following commit is the fix for this bug:
[c22ab332902333
I'll work on building a Precise test kernel with this commit.
I built a precise test kernel with that patch applied(commit c22ab332902333f
The test kernel is located at:
http://
Can you test the precise kernel and report back if it resolves this bug?
3.2.0-22-generic #35~lp944772 reboot and power off fine.
Great work Joseph!
Thanks for helping with the bisect and testing, Rikard and Malte!
I will work on a SRU request for Precise(Since we are past kernel freeze) and update the bug shortly.
linux-image-
As I experienced the same issue (hangs on reboot, while shutdown is fine) with the latest official kernel, I just tested this patched kernel. Now uname -a reports:
Linux ubuntu-
Unfortunately this patch did not fix my SandyBridge Dell Latitude E5520 behaviour: shutdown is still fine, reboot hangs exactly the same way as before.
As I still have all beta 1 and 2 kernels installed, I can re-test some previous versions if it makes sense, as I'm pretty sure there was at least one working fine.
Regards
The patched kernel, linux-image-
I confirm what Alexander experienced: with linux-image-
But I'm not lucky as Rikard, as I have a freeze during shutdown, if I choose for a system reboot.
After further testing, this seems to not fix my issues with resume from standby...
You who still have problems, have you tried any of the later kernels like 3.3.1 to see if the problem is solved upstream?
http://
- Dmesg output from 3.4.0RC2 Edit (59.2 KiB, text/plain)
Tried both mainline 3.3.1 and 3.4.0 RC2, both kernels panic. Relevant lines from 3.4.0RC2:
[ 24.635905] NVRM: loading NVIDIA UNIX x86_64 Kernel Module 295.33 Sat Mar 17 14:55:45 PDT 2012
[ 24.635977] BUG: unable to handle kernel paging request at ffff8800e0601364
[ 24.635988] IP: [<ffffffff810b4
[ 24.635998] PGD 1c0c063 PUD 0
[ 24.636003] Oops: 0002 [#1] SMP
[ 24.636008] CPU 0
[ 24.636010] Modules linked in: nvidia(PO) snd_seq_midi snd_rawmidi uvcvideo snd_seq_midi_event videobuf2_cor
e videodev snd_seq snd_timer videobuf2_vmalloc ath3k(+) snd_seq_device videobuf2_memops arc4 bluetooth hp_wmi s
nd iwl4965 r852 iwlegacy sm_common sparse_keymap nand nand_ids mtd nand_bch psmouse serio_raw mac80211 mac_hid
r592 memstick soundcore snd_page_alloc cfg80211 bch nand_ecc video coretemp wmi microcode lp parport firewire_o
hci sdhci_pci sdhci firewire_core crc_itu_t r8169
- photo of udev timeout killing modprobe Edit (2.8 MiB, image/jpeg)
Forgot to mention that in recovery mode (for both mainline 3.3.1 and 3.4.0RC2) that it crashed/panicked as well spilling out this on the screen at the root prompt:
udev : timeout: killing '/sbin/modprobe -bv (usb or pci):
Attached is a photo showing the steady stream of these.
I hate to add another comment, but the issues I mentioned in #97 and #96. The kernel panic/oops is related to the NVIDIA proprietary drivers (I did install x-edgers ppa, that did not help), not the kernel (both 3.3.1 and 3.4.0 RC2 boot without the drivers).
@Alexander and @Massimiliano
I would suggest opening new bugs for your issues, so we can address them separately.
This bug was fixed in the package linux - 3.2.0-23.36
---------------
linux (3.2.0-23.36) precise-proposed; urgency=low
[ Andy Whitcroft ]
* tools/hv: add basic Makefile
- LP: #977246
* tools/hv: add basic manual pages
- LP: #977246
* Hyper-V KVP daemon -- add to the tools package
- LP: #977246
[ David Henningsson ]
* SAUCE: (drop after 3.3) ALSA: HDA: Remove quirk for Gigabyte
GA-H61M-S2PV
- LP: #948360
[ Leann Ogasawara ]
* d-i: Add dm-mirror and dm-raid to md-modules
- LP: #919281
[ Tim Gardner ]
* [Config] Fix invalid linux-headers link
- LP: #974403
* Remove headers asm symlink entirely
- LP: #974403
[ Upstream Kernel Changes ]
* Revert "x86/ioapic: Add register level checks to detect bogus io-apic
entries"
- LP: #974982
* ALSA: HDA: Realtek: Take vmaster dac from multiout dac list
- LP: #974090
* kexec: remove KMSG_DUMP_KEXEC
- LP: #944772
* kmsg_dump: don't run on non-error paths by default
- LP: #944772
* pstore: Introduce get_reason_str() to pstore
- LP: #944772
-- Leann Ogasawara <email address hidden> 2012年4月10日 08:16:09 -0700
Hi, in the mean time I performed a full reinstallation, and eventually I just got the latest updates, including the following:
Linux Max-Latitude-E5520 3.2.0-23-generic #36-Ubuntu SMP Tue Apr 10 20:39:51 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux
Sadly, even kernel 3.2.0-23.36 didn't fix my issue: shutdown is fine, rebooting hangs on shutting down process.
I think I should open a new bug now, as suggested by Joseph.
Just the update to Linux 3.2.0-23-generic was recorded. Power off and reboot fine!
I thank you all for everything! 12.04 will be a great release.
I have all updates till 2012.Apr.12 (including), but i still cant shut down (and restart) my laptop normally. It always hangs.
I tried Ctrl+Alt+T and sometimes it shows last entry something like "deconfiguring network interfaces ....OK"
once i got another line something like "detaching swap", but cursor was blinking in place where OK should have been. I waited few minutes but nothing.
@DjBacon,
Can you open a new bug for your issue? That way we can gather specific details on your hardware.
For those who are having reboot hangs like me, I opened a new bug and also posted a workaround there.
Please check if this workaround works for you as well, to identify if it's the same issue.
Note that on my machine only 64bit version hangs on reboot, precise 32bit works fine.
see https:/
Same problem with 3.2.0-24-
Shut down does not completly power off the pc, it just turns off the monitor.
Suspend works fine.
Solved on my system with the following workaround. Run:
sudo xdiagnose
and disable VESA framebuffer driver and disable PAT memory.
Shutdown does not work for me on 32bit 'precise'.
For me issue was resolved via switching from proprietary nvidia drivers ver.295.40 to nouveau driver.
When using nvidia drivers shutdown issue occured when I run some video in VLC. I was unable to switch to tty1 (just blank screen) -- in this case system hang at shutdown. If I was still able to go to tty1 then pc shuts down perfectly (for example immediately after logging in).
I tried to switch to older nvidia drivers like 275.x: seems to work but I decided to reinstall ubuntu from scratch. Now shutdown works for me ok.
HW: Dell Vostro 1500, core 2 duo, 3Gb ram, ssd ocz agility 2, nvidia geforce GS 8400M.
Poweroff still does not work for me with "3.2.0-