[Karmic] Hangs during shutdown with kernel 2.6.31-7

Bug #418509 reported by plun
616
This bug affects 118 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Fix Released
High
Unassigned
Nominated for Karmic by Janne Hyötylä

Bug Description

Karmic with latest kernel

last message seen before hang

modem-manager, caught signal 15, shutting down

ProblemType: Bug
Architecture: i386
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: plun 4054 F.... pulseaudio
                      plun 8543 F.... spotify.exe
                      plun 8588 F.... explorer.exe
 /dev/snd/pcmC0D0p: plun 4054 F...m pulseaudio
CRDA: Error: [Errno 2] No such file or directory
Card0.Amixer.info:
 Card hw:0 'ICH6'/'Intel ICH6 with STAC9752,53 at irq 16'
   Mixer name : 'SigmaTel STAC9752,53'
   Components : 'AC97a:83847652'
   Controls : 30
   Simple ctrls : 20
Date: Tue Aug 25 12:17:42 2009
DistroRelease: Ubuntu 9.10
HibernationDevice: RESUME=UUID=0a7552bd-64b4-4e8a-8388-807f59d8b4e8
MachineType: Dell Inc. Inspiron 6000
Package: linux-image 2.6.31.7.18
PccardctlIdent:
 Socket 0:
   no product info available
PccardctlStatus:
 Socket 0:
   no card
ProcCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.31-7-generic root=UUID=b33726d2-73c4-46e6-a20e-791d9368d9c0 ro quiet splash
ProcEnviron:
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.31-7.27-generic
RelatedPackageVersions: linux-firmware 1.16
RfKill: Error: [Errno 2] No such file or directory
SourcePackage: linux-meta
Uname: Linux 2.6.31-7-generic i686
WpaSupplicantLog:

dmi.bios.date: 09/28/2005
dmi.bios.vendor: Dell Inc.
dmi.bios.version: A09
dmi.board.name: 0K5547
dmi.board.vendor: Dell Inc.
dmi.chassis.type: 8
dmi.chassis.vendor: Dell Inc.
dmi.modalias: dmi:bvnDellInc.:bvrA09:bd09/28/2005:svnDellInc.:pnInspiron6000:pvr:rvnDellInc.:rn0K5547:rvr:cvnDellInc.:ct8:cvr:
dmi.product.name: Inspiron 6000
dmi.sys.vendor: Dell Inc.

Revision history for this message
plun (plun) wrote :
Changed in linux-meta (Ubuntu):
status: New → Confirmed
Revision history for this message
Tuomas Aavikko (taavikko) wrote :

Mainline rc7 worked fine.

Revision history for this message
Into the Pit (frickelpit) wrote :

Same here, Karmic stops shuting down at "asking all remaing tasks to terminate". Latest updates from Today with the 31-7 Kernel.

Revision history for this message
Tuomas Aavikko (taavikko) wrote : Re: [Bug 418509] Re: [Karmic] Hangs during shutdown

SysRq-keys work, so no need to resort hard shutdown

Revision history for this message
plun (plun) wrote : Re: [Karmic] Hangs during shutdown

2.6.31-RC7 from Ubuntu Mainline works just fine.

Revision history for this message
Aries K (outatime0001) wrote :

Confirmed here as well. Resorts to a flashing cursor in top left corner.

Revision history for this message
Wesley Schwengle (wesleys) wrote :

Same issue as comment #3

Revision history for this message
vmc (vmclark) wrote :

Same as #7, failed to shutdown, "asking all remaing tasks to terminate"

Revision history for this message
Bohdan Tymkiv (bohdan.tymkiv) wrote :

I confirm #3 issue. When rebooting or shutting down computer console screen appears in a while with "asking all remaing tasks to terminate" message. I can switch virtual consoles but I can not type text in them. Also Ctrl+C does not work.

Revision history for this message
tad1073 (tad1073) wrote :

same as #6

Revision history for this message
zoomy942 (zoomy942) wrote :

I have the same result as post #6

Revision history for this message
Niall Creech (sevenmachines-deactivatedaccount) wrote :

same thing, heres some kernel type stuff which may or may not be helpful
- stack backtrace of all currently executing tasks
- current tasks
- blocked tasks

Revision history for this message
Davim (davim) wrote :

Same problem as #3 :(

Revision history for this message
Brian Curtis (bcurtiswx) wrote :

Marked as high as its a major problem effecting most of the karmic testers

Changed in linux-meta (Ubuntu):
importance: Undecided → High
milestone: none → karmic-alpha-5
status: Confirmed → Triaged
Revision history for this message
Brian Curtis (bcurtiswx) wrote :

Trying to get this on the radar of the kernel peeps. Triaged and Milestone to next karmic alpha

Revision history for this message
Jithin Emmanuel (jithin1987) wrote :

I have one more issue because of this. Immediately after rebooting via sysreq my system wont boot saying fsck failed and cannot start recovery shell. And I have to reboot again, then it will check filesystem coz of unclean shutdown and then it boots normally.

Revision history for this message
Cyroul (cyril-rat) wrote :

Hello,

Same error,

modem-manager caught signal 15 shutting down

No workaround found :-(

Revision history for this message
Yotam Benshalom (benshalom) wrote :

For me the problem is similar but more severe. System will not boot back up, no matter how and how much I reboot, leaving me with a flashing cursor. I must use older kernel to get a working system.

Revision history for this message
avinas (avinas17) wrote :

Same here, Karmic stops shuting down at "Checking unattended-upgrades *asking all remaining tasks to terminate". Latest updates from Today with the 31-7 Kernel.
My Gateway 5056b refuses to restart or to shut down from the begining (I started from Alfa3).
From 31-7 after hard reset, fsck on karmic partition always reporting about errors (something about future time stamps in partition) . Errors disappearing after fsck on second boot.

Revision history for this message
Bernhard (b.a.koenig) wrote :

Same problem here and it forces a hard shutdown because I cannot type into the CTRL-ALT-F1 console (I see the console with "terminating" message, but I cannot type into it.

Revision history for this message
hgergo (hutongergo) wrote :

Same problems like the rest by shutdown modem and then hang

Revision history for this message
Jonathan Lumb (jonolumb) wrote :

I am also experiencing the same issue:

Karmic alpha 4
Kernel 2.6.31-7-generic
Intel 3945 Wireless
Dell XPS M1330 Laptop

I'm currently using the Nvidia driver (nvidia-glx-180)

Revision history for this message
frustphil (frustphil) wrote :

same here...

Revision history for this message
Ken Rogers Jr. (kennyrogersjr) wrote :

I also have a shutdown/restart issue plus not being able to boot past the winbind service and a FAIL on networking

here is the error I get for shutdown:

* Shutting down ALSA... [OK]
Checking for running unattended-upgrades: /etc/rc0.d/S10unattended-upgrades: 35: python: Permission denied
* Asking all remaining processes to terminate...
init: rc main process (2623) stopped by STOP signal
acpid: exiting

init: rc main process (2623) continued by CONT signal

That is where it hangs. Whether I restart or shutdown. I have to use the power button to kill it.

On boot, I did get information feedback, but after this last restart...I get nothing, the computer just hangs about 85% into the ubuntu loading screen. I did receive feedback from selinux in tty1 and a fail on networking and a freeze just past winbind in tty7.

If you need logs, I can't really transfer them, but I can try my best to relay the pertinent information, just let me know what and where.

summary: - [Karmic] Hangs during shutdown
+ [Karmic] Hangs during shutdown with kernel 2.6.31rc7
Revision history for this message
Peter W Bowey (support-pbcomp.com.au) wrote : Re: [Karmic] Hangs during shutdown with kernel 2.6.31rc7

Confirmed: Latest Kernel 2.6.31-7 fails to Shutdown! Older Kernel releases work fine.

Revision history for this message
Tom Pino (metalsmith-rangeweb) wrote :

I can not get any of my 4 up to date installs of 9.10 64bit to shut down right.

Not only that but they will not boot up either. Will boot somewhat to recovery mode but not except password for terminal.

Installed another A4, no updates. Can boot it and boot to recovery menu on others from there. apt-get update got new grub. Will not deal with ext4 at all. But can still boot to new A4, redo grub-install and get to same place in recovery. Will take password when coming from 31-5 kernal The -6 and -7 just do not work at all and can not boot.

I guess I will have to keep updating and hoping.

Revision history for this message
Guillaume Giroux (gug-microflex) wrote :

thinkpad t61p / nvidia 185 / 64 bits

even after sysrq-I (kill-all-tasks), the killall5 process from rc6.d/sendsigs stay alive in the tasks list. Stack trace varies, here is a sample one;

Aug 26 22:57:22 gug-laptop kernel: [ 237.267529] killall5 R running task 0 3759 3737 0x00000008
Aug 26 22:57:22 gug-laptop kernel: [ 237.267532] ffff880134d116b0 0000000000000000 00007f8f263fa000 ffff880134877160
Aug 26 22:57:22 gug-laptop kernel: [ 237.267535] ffff880133d409c0 ffffffffffffffce ffffffff810f392b 0000000000000010
Aug 26 22:57:22 gug-laptop kernel: [ 237.267538] 0000000000000286 ffff8801364b3c78 0000000000000018 ffffffff81522969
Aug 26 22:57:22 gug-laptop kernel: [ 237.267541] Call Trace:
Aug 26 22:57:22 gug-laptop kernel: [ 237.267544] [<ffffffff810f392b>] ? handle_mm_fault+0x2b/0x3c0
Aug 26 22:57:22 gug-laptop kernel: [ 237.267546] [<ffffffff81522969>] ? _spin_lock+0x9/0x10
Aug 26 22:57:22 gug-laptop kernel: [ 237.267549] [<ffffffff810efd66>] ? follow_page+0x2f6/0x330
Aug 26 22:57:22 gug-laptop kernel: [ 237.267552] [<ffffffff810f3df9>] ? __get_user_pages+0x139/0x480
Aug 26 22:57:22 gug-laptop kernel: [ 237.267555] [<ffffffff810f4e8e>] ? __mlock_vma_pages_range+0x8e/0x1c0
Aug 26 22:57:22 gug-laptop kernel: [ 237.267558] [<ffffffff810f5643>] ? munlock_vma_pages_range+0x13/0x20
Aug 26 22:57:22 gug-laptop kernel: [ 237.267560] [<ffffffff810f6e9c>] ? exit_mmap+0x13c/0x1c0
Aug 26 22:57:22 gug-laptop kernel: [ 237.267562] [<ffffffff81057738>] ? mmput+0x38/0xd0
Aug 26 22:57:22 gug-laptop kernel: [ 237.267565] [<ffffffff8105c70e>] ? exit_mm+0x10e/0x150
Aug 26 22:57:22 gug-laptop kernel: [ 237.267567] [<ffffffff815228b0>] ? _spin_lock_irq+0x10/0x20
Aug 26 22:57:22 gug-laptop kernel: [ 237.267569] [<ffffffff8105c9b5>] ? do_exit+0x125/0x370
Aug 26 22:57:22 gug-laptop kernel: [ 237.267572] [<ffffffff8105cc49>] ? do_group_exit+0x49/0xc0
Aug 26 22:57:22 gug-laptop kernel: [ 237.267574] [<ffffffff8105ccd2>] ? sys_exit_group+0x12/0x20
Aug 26 22:57:22 gug-laptop kernel: [ 237.267577] [<ffffffff81011fc2>] ? system_call_fastpath+0x16/0x1b

Revision history for this message
Hernando Torque (htorque) wrote :

I can confirm mainline/vanilla kernels work, distribution kernel doesn't.

The config diff isn't too long::

--- mainline
+++ distribution
+CONFIG_AUFS_BDEV_LOOP=y
+CONFIG_AUFS_BRANCH_MAX_127=y
+CONFIG_AUFS_BR_FUSE=y
+CONFIG_AUFS_BR_RAMFS=y
+CONFIG_AUFS_FS=m
+CONFIG_AUFS_HINOTIFY=y
+CONFIG_AUFS_POLL=y
+CONFIG_AVERATEC_5100P=m
+CONFIG_BLK_DEV_COMPCACHE=m
+CONFIG_BLK_DEV_DRBD=m
+CONFIG_DM_RAID45=m
+CONFIG_FB_BOOT_VESA_SUPPORT=y
+CONFIG_FB_VESA=m
+CONFIG_FSAM7400=m
+CONFIG_KSM=y
+CONFIG_LENOVO_SL_LAPTOP=m
+CONFIG_LIRC_ATIUSB=m
+CONFIG_LIRC_BT829=m
+CONFIG_LIRC_CONFIG_LIRC_WPC8769L=m
+CONFIG_LIRC_DEV=m
+CONFIG_LIRC_I2C=m
+CONFIG_LIRC_IGORPLUGUSB=m
+CONFIG_LIRC_IMON=m
+CONFIG_LIRC_IT87=m
+CONFIG_LIRC_ITE8709=m
+CONFIG_LIRC_MCEUSB2=m
+CONFIG_LIRC_MCEUSB=m
+CONFIG_LIRC_SASEM=m
+CONFIG_LIRC_SERIAL=m
+CONFIG_LIRC_SIR=m
+CONFIG_LIRC_STREAMZAP=m
+CONFIG_LIRC_TTUSBIR=m
+CONFIG_LMPCM_USB=m
+CONFIG_NDISWRAPPER=m
+CONFIG_PACKARDBELL_E5=m
+CONFIG_PM_DISABLE_CONSOLE=y
+CONFIG_SCSI_ISCSITARGET=m
+CONFIG_SECURITY_APPARMOR_BOOTPARAM_VALUE=1
+CONFIG_SECURITY_APPARMOR_NETWORK=y
+CONFIG_SECURITY_APPARMOR=y
+CONFIG_SECURITY_DEFAULT="apparmor"
-CONFIG_SND_HDA_HWDEP=y
-CONFIG_SND_HDA_RECONFIG=y
+CONFIG_USB_OV511_NEW=m
+CONFIG_VERSION_SIGNATURE="Ubuntu 2.6.31-7.27-generic"

plun (plun)
summary: - [Karmic] Hangs during shutdown with kernel 2.6.31rc7
+ [Karmic] Hangs during shutdown with kernel 2.6.31-7
Revision history for this message
Nicholas Roberts (nicholasdavidroberts) wrote :

As #16 says I receive a prompt to run fsck reporting that there was an unexpected inconsistency as the last superblock write was (exactly) one hour in the future. Not sure if it is relevant but I wondered if there was an inconsistency between how Karmic was tracking time and I ran System-->Administration-->Time and Date (i.e. time-admin) to find that the time zone etc. is all corrupt and cannot be set (just reports 'unconfigured'). Setting timezone etc. from the command line is fine and it reports the correct time.

Another issue that I found is that if I try to log out I am warned that Nautilus is still copying/deleting files, whereas in fact it should have finished those activities as the files in question had been moved/deleted hours before. Just wondered if those outstanding actions (which I am warned about every time I try to log out now) are causing the hang on shutdown and then resulting in the 'unclean' filesystem flag being set.

Revision history for this message
bozza (jochen-borris) wrote :

I can also confirm the bugs described her.

Here is also a question to the experts: boot process only takes me up to "root@ubuntu" on a console (i.e. no graphical surface).
Will I at this point at all be able to fetch system updates (that perhaps fix the bug) via internet?
Or will I need to do a complete reinstall of karmic from CD?

Thanks in advance for your support!

Bozza

Revision history for this message
John Vivirito (gnomefreak) wrote :

I'm marking my bug as a dup of this one so all my info is on it if needed

Revision history for this message
Bernhard (b.a.koenig) wrote :

My machine breaks down during shutdown with a message similar to (sorry couldn't copy and paste it):

"trying to resume from /dev/disk/by-uuid/d45a2592-ac95-478d-9d23-ab18affd8619 "

and I checked and this drive is actually the swap space on my machine.

Revision history for this message
Hernando Torque (htorque) wrote :

I've recompiled the Ubuntu kernel with CONFIG_KSM disabled and shutdown works fine. Can anyone confirm this?

Brian Curtis (bcurtiswx)
tags: added: metabug
Revision history for this message
Leann Ogasawara (leannogasawara) wrote :

Hi Guys,

I'm actually going to reassign this to the "linux (Ubuntu)" kernel package rather than against linux-meta. I'm also tagging this regression-potential to make sure it gets on everyone's radar.

I will note that we saw quite a few regressions such as this with the 2.6.31-7 Ubuntu kernel. We're currently working on ripping out some of the KSM patches that went in which we believe might be the culprit and indeed what @Hernando Torque has likely narrowed down by disabling CONFIG_KSM . Please continue to track and test any kernel updates that get pushed and let us know your results. Thanks!

affects: linux-meta (Ubuntu) → linux (Ubuntu)
tags: added: regression-potential
Revision history for this message
Leann Ogasawara (leannogasawara) wrote :

Hi All,

Looks like 2.6.31-8.28 was just published. I'd specifically point out this bit in the changelog (
https://edge.launchpad.net/ubuntu/+source/linux)

  * Drop KSM patch set for now because of instabilities with encrypted swap.
    - LP: #418781

Definitely let us know your results when you're able to test 2.6.31-8. Thanks.

Revision history for this message
Niall Creech (sevenmachines-deactivatedaccount) wrote :

using 2.6.31-8-generic on amd64 and system now restarts properly, thanks all

Revision history for this message
Hernando Torque (htorque) wrote :

Oven-fresh from rothera (i386): reboots fine.

Revision history for this message
Nicklas W Bjurman (lordmetroid) wrote :

Alpha 4 shutdown process stops at a black screen for me, waited several 10s of minutes as I forgot about it when I closed the lid on the laptop.

Revision history for this message
Leann Ogasawara (leannogasawara) wrote :

Nicklas, be sure you've updated to the 2.6.31-8 kernel (ie Alpha 4 did shipt with 2.6.31-8).

Based on the positive feedback from Dinxter and Hernando regarding the 2.6.31-8 kernel, I'm tentatively marking this bug Fix Released. Thanks.

Changed in linux (Ubuntu):
status: Triaged → Fix Released
Revision history for this message
Peter W Bowey (support-pbcomp.com.au) wrote :

Confirmed: Latest Kernel 2.631-8 release resolve this issue! For those that have not had a update 'meta' package, goto https://edge.launchpad.net/ubuntu/+source/linux/2.6.31-8.28/+build/1192025 and select your matching kernel.

26 comments hidden view all 106 comments
Revision history for this message
Bernhard (b.a.koenig) wrote :

@supernaicol: would be nice, but does not work on my laptop, maybe it's my keyboard layout. In any case, I would definitely like to have final control over the power source of my computer. Or did you ever hear the words "Dave Bowman" and "REISUB" in one sentence?

Revision history for this message
Yvan (yvan-tardy) wrote :

This issue was fixed for me when I installed the 2.6.31-8 Kernel on a Thinkpad T60 (Xubuntu 9.10 Alpha4-i386)
Thanks a lot.

Revision history for this message
Mathieu (mathieu-weber-ubuntu) wrote :

also for me everything is ok with the newest kernel on my eeepc1008ha.

Revision history for this message
wavded (wavded) wrote :

works for me, i didn't restart the first time i got the update and then try it

Revision history for this message
Nicholas Roberts (nicholasdavidroberts) wrote :

I thought everything had been resolved for me having updated to 2.6.31-8. However... if I delete a couple of files using Nautilus and then go for a system shutdown I get the warning message that Nautilus is still deleting files (even though it actually finished). Same goes for copying files... a shutdown will report Nautilus is still busy copying. Forcing a shutdown leads to the same 'superblock inconsistency' issue on reboot and the need for an fsck.

The superblock issue is that it has found a timestamp one hour (exactly) in the future... strange one this. Anyway, none of this happened prior to this bug so I am concluding that there is...

(a) either an outstanding issue directly related to this bug or

(b) that the original bug caused an inconsistency in my filesystem and/or configuration causing the Nautilus errors and superblock inconsistencies.

Revision history for this message
Bernhard (b.a.koenig) wrote :

I can confirm the issue with "Nautilus trashing" files when trying to shutdown/reboot but I can click "Shutdown anyway" and it shuts down fine. Not sure if these two things (Nautilus trashing message and shutdown problems) are really related.

Revision history for this message
Vish (vish) wrote :

Nicholas Roberts , Bernhard:
Nautilus is a separate issue> Bug #419184 , its fixed upstream , Ubuntu has to apply the fix

Revision history for this message
Nicholas Roberts (nicholasdavidroberts) wrote :

Hi Bernhard

I have just been reading a related issue being discussed on the forums, see: http://ubuntuforums.org/showthread.php?t=1252690

The bug could be unrelated and just coincidental to the 'hanging' problem that has now been addressed. However, as you are experiencing the same issues as me, please could you try running System-->Administration-->Time & Date. My settings for timezone are corrupted and cannot be reset, although looking at/setting them from the command line appears fine.

Please let me know if you are also experiencing the timezone corruption issue.

Many thanks
Nick

Revision history for this message
Nicholas Roberts (nicholasdavidroberts) wrote :

My apologies... I was typing my response and did not see mac_v's message until after I had sent it.

Bernhard - I would still appreciate your letting me know about the timezone issue. If your system is ok then I can assume I have a separate issue with timezone corruption, but if you get the same thing then maybe this is all related to the fix that mac_v mentions for the Nautilus bug.

Thanks again,
Nick

Revision history for this message
Marco Rodrigues (gothicx) wrote :

It now works, but I still have problems after the shutdown. It asks me for root password and to run fsck manually.

Revision history for this message
Bernhard (b.a.koenig) wrote :

@Marco: fsck issue is discussed here: http://ubuntuforums.org/showthread.php?t=1252690

@Nicholas: the Time and Date GUI is definitely still buggy in Karmic but this is also unrelated to this bug, I guess. There is the similar bug 371234, but this is supposedly fixed. The GUI comes up now for me, but I had problems especially with the time zone menu, I opened a seperate bug 421499.

Revision history for this message
GriFF3n (griff3ng) wrote :

Update to 2.6.31-8-generic fixed my problem.

Revision history for this message
Aadil H (aadilh) wrote :

Shutting down issues continue.... into 2010, how about the leave our pc's running all the time, great fix.

Revision history for this message
savantelite (savantelite) wrote : Re: [Bug 418509] Re: [Karmic] Hangs during shutdown with kernel 2.6.31-7

I have been holding down shift during start up and then booting into safe
mode.

From there login and do your password

After that type startx

unfortunatly it is not a perminant fix, I have continued to have problems
but at least I don't have to leave it on.

On Mon, Jan 4, 2010 at 11:54 AM, Aadil H <email address hidden> wrote:

> Shutting down issues continue.... into 2010, how about the leave our
> pc's running all the time, great fix.
>
> --
> [Karmic] Hangs during shutdown with kernel 2.6.31-7
> https://bugs.launchpad.net/bugs/418509
> You received this bug notification because you are a direct subscriber
> of a duplicate bug.
>

Revision history for this message
sasagundul (mindscrewer06) wrote :

i got the same same but different issue here. neither the shutdown nor the reboot command work for me. i got black screen with blinking cursor on the top right screen.
seems like the proccess killing is hang.

Revision history for this message
Marcin Cinik (marcin-cinik) wrote :

The problem still occurs, but there is workaround that works for me:
#shutdown
sudo initctl start rc RUNLEVEL=0

#reboot
sudo initctl start rc RUNLEVEL=6

It is not clear to me, that upstart rc task is stopped after the system was run. All processes started by rc are run so rc should alsrc task looks only as a kind of kick-starter and nothing more.

thinkpad ~$ sudo initctl status rc
rc stop/waiting

upstart in newest Ubuntu 9.10 is not quite stable. It requires more efforts in my opinion, but I may be wrong certainly. Maybe the problem stays somewhere else.

Revision history for this message
Marcin Cinik (marcin-cinik) wrote :

I've forgotten to mention:

thinkpad ~ $ uname -a
Linux thinkpad 2.6.31-19-generic #56-Ubuntu SMP Thu Jan 28 02:39:34 UTC 2010 x86_64 GNU/Linux

Revision history for this message
starslights (starslights) wrote :

Hello,

I don't have any problem on Karmic with this Kernel but on kubuntu Lucid alpha2, there impossible to shutdown.

x86 64 Linux KDELucidTest 2.6.32-12-generic #17-Ubuntu SMP Fri Feb 5 08:16:30 UTC 2010 x86_64 GNU/Linux

More recent kernel make same problem

Revision history for this message
mf (mat-fletcher) wrote :

OK i have had this problem since i first installed 9.10 in November 2009. I have since had about 6 or 7 kernel updates and the problem has persisted.,

Currently i have 2.6.32-16-386 #24-Ubuntu SMP Sat Mar 6 15:33:03 UTC 2010 i686 GNU/Linux

Reboot, shutdown, suspend and hibernate all fail, every time.

I see this if i issue a "shutdown" from maintenance mode

init: rsyslog-kmsg main process (996) Killed by TERM signal
init: hal main process (1034) terminated with status 1
init: avahi-daemon main process (1042)n terminated with status 255
*stopping TiMidity++ Alsa midi emulation...
modemmanager: caught signal 15, shutting down...
init: disconnecting from system bus...
_

And then i just get a blinking cursor top left until i i power if off with the button - my hard drive makes a nasty clicking noise when i do this so i'm not happy with that.

This really is a serious problem and widespread too.

Any idea's anyone before i smash this netbook to pieces in a frustrated rage or it melts and catches fire in my bag as it cooks until the battery runs out :)

Revision history for this message
Bernhard (b.a.koenig) wrote :

@mf: I really have no problem what's going on with your machine, but did you try a reinstall?
You can also test with live CD's, download from here: http://cdimage.ubuntu.com/releases/karmic/release/

Revision history for this message
Bernhard (b.a.koenig) wrote :

@mf: I meant to say I have "no idea what's going on" not "no problem what's going on". :)

Revision history for this message
Roland Hughes (original-seasoned-geek) wrote : Re: [Bug 418509] Re: [Karmic] Hangs during shutdown with kernel 2.6.31-7

Uninstall your modem and see if the problem goes away. Linux is not a modem
or fax friendly OS unless it is an ancient external modem/fax connected via
serial port.

On Wednesday 10 March 2010 12:39:58 pm mf wrote:
> OK i have had this problem since i first installed 9.10 in November
> 2009. I have since had about 6 or 7 kernel updates and the problem has
> persisted.,
>
> Currently i have 2.6.32-16-386 #24-Ubuntu SMP Sat Mar 6 15:33:03 UTC
> 2010 i686 GNU/Linux
>
> Reboot, shutdown, suspend and hibernate all fail, every time.
>
> I see this if i issue a "shutdown" from maintenance mode
>
> init: rsyslog-kmsg main process (996) Killed by TERM signal
> init: hal main process (1034) terminated with status 1
> init: avahi-daemon main process (1042)n terminated with status 255
> *stopping TiMidity++ Alsa midi emulation...
> modemmanager: caught signal 15, shutting down...
> init: disconnecting from system bus...
> _
>
> And then i just get a blinking cursor top left until i i power if off
> with the button - my hard drive makes a nasty clicking noise when i do
> this so i'm not happy with that.
>
> This really is a serious problem and widespread too.
>
> Any idea's anyone before i smash this netbook to pieces in a frustrated
> rage or it melts and catches fire in my bag as it cooks until the
> battery runs out :)
>

--
Roland Hughes, President
Logikal Solutions
(630)-205-1593 (cell)
http://www.theminimumyouneedtoknow.com
http://www.infiniteexposure.net
http://www.logikalsolutions.com

Revision history for this message
mf (mat-fletcher) wrote :

HI Bernhard, It's not practical for me to re-install because i am currently traveling around Mexico with only limited internet access.

It worked fine on 9.04, i actually had very few problems on 9.04. Since upgrading to 9.10 it's been one thing after another but this is the single most debilitating bug. I can live with the rest.

I have a usb stick with ubuntu on it, i'll try and boot to the live image and see how it behaves on that.

Thanks
Matt

Revision history for this message
Roland Hughes (original-seasoned-geek) wrote :

There were tons of problems for people who tried to do an in place upgrade
rather than a wipe and re-install of everything.

On Wednesday 10 March 2010 01:06:07 pm mf wrote:
> HI Bernhard, It's not practical for me to re-install because i am
> currently traveling around Mexico with only limited internet access.
>
> It worked fine on 9.04, i actually had very few problems on 9.04. Since
> upgrading to 9.10 it's been one thing after another but this is the
> single most debilitating bug. I can live with the rest.
>
> I have a usb stick with ubuntu on it, i'll try and boot to the live
> image and see how it behaves on that.
>
> Thanks
> Matt
>

--
Roland Hughes, President
Logikal Solutions
(630)-205-1593 (cell)
http://www.theminimumyouneedtoknow.com
http://www.infiniteexposure.net
http://www.logikalsolutions.com

Revision history for this message
mf (mat-fletcher) wrote :

yes sorry i should have said that i have done a clean install in the past. This build is from a clean install. I have been backwards and forwards from 9.04 to 9.10 a few times 4 months trying to fix various and numerous anoyances and bugs.

I just booted up into a live image which has 2.6.31-14 kernel. It reboots no problem so that good. I still have that kernel on the system so i booted up into that from grub but have the same reboot issue.

So it's to do with a package in my system that is not in the live distro?

I suspect that this might be to do with HAL not shutting down properly but not sure how to move forward on that.

Also, on each boot i get a message on the splash screen saying that one or more mounts in fstab could not be mounted, usually my /home, it then just boots up anyway and is fine. I have fsck'd /home and it's fine.

I dont think that is related but maybe worth mentioning.

Revision history for this message
Roland Hughes (original-seasoned-geek) wrote :

The live CD/USB won't have any modem support. Do you have modem/fax support
installed on your machine? If so, remove _all_ of it.

On Wednesday 10 March 2010 01:34:55 pm mf wrote:
> yes sorry i should have said that i have done a clean install in the
> past. This build is from a clean install. I have been backwards and
> forwards from 9.04 to 9.10 a few times 4 months trying to fix various
> and numerous anoyances and bugs.
>
> I just booted up into a live image which has 2.6.31-14 kernel. It
> reboots no problem so that good. I still have that kernel on the system
> so i booted up into that from grub but have the same reboot issue.
>
> So it's to do with a package in my system that is not in the live
> distro?
>
> I suspect that this might be to do with HAL not shutting down properly
> but not sure how to move forward on that.
>
> Also, on each boot i get a message on the splash screen saying that one
> or more mounts in fstab could not be mounted, usually my /home, it then
> just boots up anyway and is fine. I have fsck'd /home and it's fine.
>
> I dont think that is related but maybe worth mentioning.
>

--
Roland Hughes, President
Logikal Solutions
(630)-205-1593 (cell)
http://www.theminimumyouneedtoknow.com
http://www.infiniteexposure.net
http://www.logikalsolutions.com

Revision history for this message
mf (mat-fletcher) wrote :

@ seasoned_geek sorry i didnt see your post until just now - i actually dont have a modem in this netbook so not sure what modem it is refering to. I do have a 3G modem built in so maybe that.

not sure what the kernel module is though, i'll have a look

Revision history for this message
Roland Hughes (original-seasoned-geek) wrote :

Well,

According to your post, you died some time after modem devices were being
killed off. Were you able to use your 3G modem from the live CD/USB stick to
surf the Web and read email? If not, then I would suspect the problem lies in
either the drivers or your configuration for 3G.

On Wednesday 10 March 2010 02:04:22 pm mf wrote:
> @ seasoned_geek sorry i didnt see your post until just now - i actually
> dont have a modem in this netbook so not sure what modem it is refering
> to. I do have a 3G modem built in so maybe that.
>
> not sure what the kernel module is though, i'll have a look
>

--
Roland Hughes, President
Logikal Solutions
(630)-205-1593 (cell)
http://www.theminimumyouneedtoknow.com
http://www.infiniteexposure.net
http://www.logikalsolutions.com

Revision history for this message
mf (mat-fletcher) wrote :

Actually now that you mention it he 3G modem has not worked properly for a couple of month and i have given up trying.

I can switch it on and off with the button but i cant see any difference in lsmod with it on and with it off. I just dont know which module it uses.

matt@matt-netbook:~$ lsmod
Module Size Used by
isofs 29250 0
nls_iso8859_1 3249 1
nls_cp437 4919 1
vfat 8901 1
fat 47703 1 vfat
option 15590 0
usbserial 33019 1 option
uvcvideo 56862 0
videodev 34361 1 uvcvideo
v4l1_compat 13251 2 uvcvideo,videodev
snd_hda_codec_realtek 203072 1
snd_hda_intel 21717 2
snd_hda_codec 74201 2 snd_hda_codec_realtek,snd_hda_intel
snd_hwdep 5412 1 snd_hda_codec
snd_pcm_oss 35244 0
snd_mixer_oss 13746 1 snd_pcm_oss
snd_pcm 70758 3 snd_hda_intel,snd_hda_codec,snd_pcm_oss
joydev 8708 0
snd_seq_dummy 1338 0
snd_seq_oss 26726 0
snd_seq_midi 4557 0
snd_rawmidi 19024 1 snd_seq_midi
snd_seq_midi_event 6003 2 snd_seq_oss,snd_seq_midi
snd_seq 47231 6 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq_midi_event
snd_timer 19066 2 snd_pcm,snd_seq
snd_seq_device 5700 5 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_rawmidi,snd_seq
iptable_filter 2271 0
snd 54116 16 snd_hda_codec_realtek,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_seq_oss,snd_rawmidi,snd_seq,snd_timer,snd_seq_device
psmouse 62957 0
soundcore 6620 1 snd
ip_tables 9991 1 iptable_filter
snd_page_alloc 7172 2 snd_hda_intel,snd_pcm
rtl8187se 159883 0
x_tables 14299 1 ip_tables
serio_raw 3978 0
lp 7028 0
parport 32603 1 lp
dm_raid45 81647 0
xor 15028 1 dm_raid45
fbcon 35102 72
tileblit 2031 1 fbcon
font 7557 1 fbcon
bitblit 4675 1 fbcon
softcursor 1189 1 bitblit
usbhid 35982 0
i915 276944 4
drm_kms_helper 29297 1 i915
drm 162631 5 i915,drm_kms_helper
i2c_algo_bit 4964 1 i915
usb_storage 38849 1
intel_agp 24149 1
r8169 34204 0
mii 4349 1 r8169
agpgart 31756 2 drm,intel_agp
video 17375 1 i915
output 1871 1 video

besides, i have had it switched off to save battery life for ages.

Revision history for this message
Roland Hughes (original-seasoned-geek) wrote :
Download full text (3.8 KiB)

Odds are it was switched on during your installation and various things got
installed to support it. Even if the device is disabled, there is a
possibility it would still be "found" during installation and those network
things would get installed.

My guess is your hang on shutdown is being caused because you don't have your
built in 3G configured correctly (if that is even possible) and the network
shutdown is waiting for a response it never gets.

You need to close this bug.

Once you spend a lot of time in the networking forums looking for how to
correctly configure your built in 3G modem, you will either solve your problem
or you will find an existing bug report to attach your information to.

On Wednesday 10 March 2010 02:55:50 pm mf wrote:
> Actually now that you mention it he 3G modem has not worked properly for
> a couple of month and i have given up trying.
>
> I can switch it on and off with the button but i cant see any difference
> in lsmod with it on and with it off. I just dont know which module it
> uses.
>
> matt@matt-netbook:~$ lsmod
> Module Size Used by
> isofs 29250 0
> nls_iso8859_1 3249 1
> nls_cp437 4919 1
> vfat 8901 1
> fat 47703 1 vfat
> option 15590 0
> usbserial 33019 1 option
> uvcvideo 56862 0
> videodev 34361 1 uvcvideo
> v4l1_compat 13251 2 uvcvideo,videodev
> snd_hda_codec_realtek 203072 1
> snd_hda_intel 21717 2
> snd_hda_codec 74201 2 snd_hda_codec_realtek,snd_hda_intel
> snd_hwdep 5412 1 snd_hda_codec
> snd_pcm_oss 35244 0
> snd_mixer_oss 13746 1 snd_pcm_oss
> snd_pcm 70758 3 snd_hda_intel,snd_hda_codec,snd_pcm_oss
> joydev 8708 0
> snd_seq_dummy 1338 0
> snd_seq_oss 26726 0
> snd_seq_midi 4557 0
> snd_rawmidi 19024 1 snd_seq_midi
> snd_seq_midi_event 6003 2 snd_seq_oss,snd_seq_midi
> snd_seq 47231 6
> snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq_midi_event snd_timer
> 19066 2 snd_pcm,snd_seq
> snd_seq_device 5700 5
> snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_rawmidi,snd_seq iptable_filter
> 2271 0
> snd 54116 16
> snd_hda_codec_realtek,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm_oss,sn
> d_mixer_oss,snd_pcm,snd_seq_oss,snd_rawmidi,snd_seq,snd_timer,snd_seq_devic
> e psmouse 62957 0
> soundcore 6620 1 snd
> ip_tables 9991 1 iptable_filter
> snd_page_alloc 7172 2 snd_hda_intel,snd_pcm
> rtl8187se 159883 0
> x_tables 14299 1 ip_tables
> serio_raw 3978 0
> lp 7028 0
> parport 32603 1 lp
> dm_raid45 81647 0
> xor 15028 1 dm_raid45
> fbcon 35102 72
> tileblit 2031 1 fbcon
> font 7557 1 fbcon
> bitblit 4675 1 fbcon
> softcursor 1189 1 bitblit
> usbhid ...

Read more...

Revision history for this message
wikitec (philip-laing) wrote :

Hi Bernard

It is definitely a problem, however I have found a solution by
Logout first, then shut down from the splash screen

Cheers

wikitec

-----Original Message-----
From: mf [mailto:<email address hidden>]
Sent: Thursday, 11 March 2010 6:06 AM
To: <email address hidden>
Subject: [Bug 418509] Re: [Karmic] Hangs during shutdown with kernel 2.6.31-7

HI Bernhard, It's not practical for me to re-install because i am
currently traveling around Mexico with only limited internet access.

It worked fine on 9.04, i actually had very few problems on 9.04. Since
upgrading to 9.10 it's been one thing after another but this is the
single most debilitating bug. I can live with the rest.

I have a usb stick with ubuntu on it, i'll try and boot to the live
image and see how it behaves on that.

Thanks
Matt

--
[Karmic] Hangs during shutdown with kernel 2.6.31-7
https://bugs.launchpad.net/bugs/418509
You received this bug notification because you are a direct subscriber
of the bug.

Status in “linux” package in Ubuntu: Fix Released

Bug description:
Karmic with latest kernel

last message seen before hang

modem-manager, caught signal 15, shutting down

ProblemType: Bug
Architecture: i386
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: plun 4054 F.... pulseaudio
                      plun 8543 F.... spotify.exe
                      plun 8588 F.... explorer.exe
 /dev/snd/pcmC0D0p: plun 4054 F...m pulseaudio
CRDA: Error: [Errno 2] No such file or directory
Card0.Amixer.info:
 Card hw:0 'ICH6'/'Intel ICH6 with STAC9752,53 at irq 16'
   Mixer name : 'SigmaTel STAC9752,53'
   Components : 'AC97a:83847652'
   Controls : 30
   Simple ctrls : 20
Date: Tue Aug 25 12:17:42 2009
DistroRelease: Ubuntu 9.10
HibernationDevice: RESUME=UUID=0a7552bd-64b4-4e8a-8388-807f59d8b4e8
MachineType: Dell Inc. Inspiron 6000
Package: linux-image 2.6.31.7.18
PccardctlIdent:
 Socket 0:
   no product info available
PccardctlStatus:
 Socket 0:
   no card
ProcCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.31-7-generic root=UUID=b33726d2-73c4-46e6-a20e-791d9368d9c0 ro quiet splash
ProcEnviron:
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.31-7.27-generic
RelatedPackageVersions: linux-firmware 1.16
RfKill: Error: [Errno 2] No such file or directory
SourcePackage: linux-meta
Uname: Linux 2.6.31-7-generic i686
WpaSupplicantLog:

dmi.bios.date: 09/28/2005
dmi.bios.vendor: Dell Inc.
dmi.bios.version: A09
dmi.board.name: 0K5547
dmi.board.vendor: Dell Inc.
dmi.chassis.type: 8
dmi.chassis.vendor: Dell Inc.
dmi.modalias: dmi:bvnDellInc.:bvrA09:bd09/28/2005:svnDellInc.:pnInspiron6000:pvr:rvnDellInc.:rn0K5547:rvr:cvnDellInc.:ct8:cvr:
dmi.product.name: Inspiron 6000
dmi.sys.vendor: Dell Inc.

To unsubscribe from this bug, go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/418509/+subscribe

Revision history for this message
mf (mat-fletcher) wrote :

Ok.....i'll pursue the modem and see if thats it...thanks for your help it is much appreciated.

Revision history for this message
mf (mat-fletcher) wrote :

ok i'm back, I did a clean install and i was able to reboot for a while, then i installed the 250Mb of updatesand it stopped. I'm back at square one.

I looked at the suspected modem issues, modem-manager in particular and eventually killed the process off entirely and renamed the binary to stop it from relaunching.

Made sure that modem-manager was not running and tried a reboot.

this time i get no modem-manager exceptions but i'm left with the HAL message mentioned above and a flashing cursor.

Pretty sure this is not modem related guys.

Aside from the updates that installed i also installed the following software

sudo apt-get install nmap iptraf gparted simple-ccsm compizconfig-settings-manager gtkpod vlc ffmpeg xubuntu-restricted-extras hipo rhythmbox wavemon powertop mplayer mplayer-skins iftop htop smc smc-music frozen-bubble joe sshfs gthumb cairo-dock opera aircrack-ng mozilla-thunderbird startupmanager deluge

any clues in there or can i provide any debug info?

Revision history for this message
mf (mat-fletcher) wrote :

i'm currently removing all the software i installed to see if any of that is causing it.

Revision history for this message
mf (mat-fletcher) wrote :

removed nmap iptraf gparted simple-ccsm compizconfig-settings-manager gtkpod vlc ffmpeg xubuntu-restricted-extras hipo rhythmbox wavemon powertop mplayer mplayer-skins iftop htop smc smc-music frozen-bubble joe sshfs gthumb cairo-dock opera aircrack-ng mozilla-thunderbird startupmanager deluge

same problem.

init: rsyslog-kmsg main process (996) Killed by TERM signal
init: hal main process (1034) terminated with status 1

Revision history for this message
Aron Griffis (agriffis) wrote :

 bug 418560
 unsubscribe

 bug 418573
 unsubscribe

 bug 419056
 unsubscribe

 bug 419297
 unsubscribe

 bug 419378
 unsubscribe

 bug 419385
 unsubscribe

 bug 419393
 unsubscribe

 bug 419402
 unsubscribe

 bug 419664
 unsubscribe

 bug 419670
 unsubscribe

 bug 419680
 unsubscribe

 bug 419753
 unsubscribe

 bug 419846
 unsubscribe

 bug 419859
 unsubscribe

 bug 419985
 unsubscribe

 bug 420017
 unsubscribe

 bug 420137
 unsubscribe

 bug 420175
 unsubscribe

 bug 420284
 unsubscribe

 bug 420477
 unsubscribe

 bug 420630
 unsubscribe

 bug 421063
 unsubscribe

 bug 421065
 unsubscribe

Revision history for this message
mf (mat-fletcher) wrote :

Thank you Aron, almost all of those bus are duplicates of this one. I'm tempted to open a new bug as this is not kernel specific.

Revision history for this message
Aron Griffis (agriffis) wrote :

Sorry mf, that was my goof. :-( I'm subscribed to one or more of the dups because of this bug: https://bugs.launchpad.net/malone/+bug/475775

As a result I was getting mail on this bug. So I read https://help.launchpad.net/Bugs/EmailInterface but I made a mistake. Now I've done it right, but not before I accidentally put that spam here. Sorry about that.

Revision history for this message
Cymaphore (cymaphore) wrote :

In my case, I resolved it that way:

NetworkManager blocked poweroff.

Solution (in my case):

--- /etc/init/network-manager.conf.orig 2010-05-03 14:56:09.745071317 +0200
+++ /etc/init/network-manager.conf 2010-05-03 14:56:43.075152939 +0200
@@ -8,6 +8,7 @@
 start on (local-filesystems
          and started dbus)
 stop on stopping dbus
+stop on runlevel [06]

 expect fork
 respawn

Revision history for this message
tx (372046933-qq) wrote :

Same problem with 2.6.32-27-generic

Displaying first 40 and last 40 comments. View all 106 comments or add a comment.