karmic boot hung after /scripts/init-bottom
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
upstart (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
After applying updates to karmic on September 15, 2009, the machine no longer boots. It hangs after running /scripts/
The machine successfully booted with updates on September 14, 2009.
Vinson Lee (vlee) wrote : | #1 |
starslights (starslights) wrote : | #2 |
Hilario J. Montoliu (hjmf) (hmontoliu) wrote : | #3 |
I can confirm the problem
I'm not sure which package is causing the issue. The updates I applied before the problem are:
branch nick: ulises-devel /etc repository
timestamp: Tue 2009-09-15 22:10:04 +0200
message:
committing changes in /etc after apt run
Package changes:
-acpid 1.0.6-9ubuntu5
+acpid 1.0.6-9ubuntu6
-anacron 2.3-13.1ubuntu8
+anacron 2.3-13.1ubuntu9
-at 3.1.11-1ubuntu3
+at 3.1.11-1ubuntu4
-avahi-autoipd 0.6.25-1ubuntu2
-avahi-daemon 0.6.25-1ubuntu2
+avahi-autoipd 0.6.25-1ubuntu3
+avahi-daemon 0.6.25-1ubuntu3
-cron 3.0pl1-106ubuntu2
+cron 3.0pl1-106ubuntu3
-dbus 1.2.16-0ubuntu2
-dbus-x11 1.2.16-0ubuntu2
+dbus 1.2.16-0ubuntu3
+dbus-x11 1.2.16-0ubuntu3
-gdm 2.27.90-0ubuntu4
+gdm 2.27.90-0ubuntu5
-hal 0.5.13-1ubuntu2
+hal 0.5.13-1ubuntu3
-hostname 2.95
+hostname 2.95ubuntu1
-libavahi-client3 0.6.25-1ubuntu2
-libavahi-
-libavahi-common3 0.6.25-1ubuntu2
-libavahi-core6 0.6.25-1ubuntu2
-libavahi-glib1 0.6.25-1ubuntu2
-libavahi-
-libavahi-ui0 0.6.25-1ubuntu2
+libavahi-client3 0.6.25-1ubuntu3
+libavahi-
+libavahi-common3 0.6.25-1ubuntu3
+libavahi-core6 0.6.25-1ubuntu3
+libavahi-glib1 0.6.25-1ubuntu3
+libavahi-
+libavahi-ui0 0.6.25-1ubuntu3
-libdbus-1-3 1.2.16-0ubuntu2
+libdbus-1-3 1.2.16-0ubuntu3
-libglib2.0-0 2.21.6-0ubuntu6
+libglib2.0-0 2.21.6-0ubuntu7
-libglib2.0-data 2.21.6-0ubuntu6
+libglib2.0-data 2.21.6-0ubuntu7
-libhal-storage1 0.5.13-1ubuntu2
-libhal1 0.5.13-1ubuntu2
+libhal-storage1 0.5.13-1ubuntu3
+libhal1 0.5.13-1ubuntu3
-libnm-glib2 0.8~a~git.
-libnm-util1 0.8~a~git.
+libnm-glib2 0.8~a~git.
+libnm-util1 0.8~a~git.
+mountall 0.1.3
-netbase 4.35ubuntu1
+netbase 4.35ubuntu2
-network-manager 0.8~a~git.
+network-manager 0.8~a~git.
-python-avahi 0.6.25-1ubuntu2
+python-avahi 0.6.25-1ubuntu3
-sysv-rc 2.87dsf-4ubuntu2
-sysvinit-utils 2.87dsf-4ubuntu2
+sysv-rc 2.87dsf-4ubuntu3
+sysvinit-utils 2.87dsf-4ubuntu3
-ubuntu-artwork 46.3
+ubuntu-artwork 47
-ubuntu-minimal 1.168
-upstart 0.6.3-1
+upstart 0.6.3-2
-usplash-
+usplash-
-xulrunner-1.9.1 1.9.1.3+
-xulrunner-
-xulrunner-
+xulrunner-1.9.1 1.9.1.3+
+xulrunner-
+xulrunner-
I've been trying to boot w/o no succeed
Changed in ubuntu: | |
status: | New → Confirmed |
robinsk (robinsk) wrote : | #4 |
I think I might a similar issue. Did a partial upgrade, and booting hangs with a blank screen after the progress bar reaches 100%. I pressed Esc and logged into the console. It seemed two packages were broken: initscripts and another package I can't remember the name of. The other package depended on mountall, which couldn't be found as a deb in any repos. Installed mountall using apt-get source mountall --compile, then dpkg -i ./mountall_
When I now reboot, Memtest86 is launched immediately. Nothing happens if I press Esc or F9 during boot. In fact, I'm not even sure it says "GRUB loading".
MT (micdhack) wrote : | #5 |
I can confirm that the same thing happened to me. After before 1-2 hours i did a dist-upgrade and system wont boot after reboot.
The system hangs after /scripts/
In my case i manage to login to the system by editing through grub and putting rw instead of ro and init=/bin/bash
When i tried an apt-get upgrade the package initscripts has been kept back. if i force install it the system ask me to remove almost all packages (gdm, ubuntu desktop, etc)
The worst is that i can get to connect to the net so i have no idea how am i going to fix that system failure.
Paul Dorman (paul-dorman) wrote : | #6 |
I had the same problem today. The good news is that after five minutes the system comes back up. I started on the previous kernel, but I don't think that is a factor.
Hopefully others will have the same experience until a fix is uploaded to the repositories.
Paul Dorman (paul-dorman) wrote : | #7 |
Ah, the joy of speaking too soon. Comes up yes, and hangs...
MT (micdhack) wrote : | #8 |
:D lol
Ok since the initscripts is the one which refuses to be installed im thinking installing it from the source
http://
Paul Dorman (paul-dorman) wrote : | #9 |
Rebooted again to the newly installed kernel this time, and things look better. The only change was to install mountall.
Michael, you should be able to bring up your network connection with dhclient or ifconfig. dhclient worked for me.
Hilario J. Montoliu (hjmf) (hmontoliu) wrote : | #10 |
Assigned to initramfs-tools as the system hangs at init-bottom (just a clue)
affects: | ubuntu → initramfs-tools (Ubuntu) |
Hilario J. Montoliu (hjmf) (hmontoliu) wrote : | #11 |
hmm, forget my last comment as initramfs-tools is not an updated package, my fault
affects: | initramfs-tools (Ubuntu) → ubuntu |
Paul Dorman (paul-dorman) wrote : | #12 |
Just upgraded again. upstart was the only package. Rebooted to one system beep and a blank screen. Left for ten minutes, then rebooted successfully.
MT (micdhack) wrote : | #13 |
I just upgrade too and 4 packages along with initscripts were installed. After restart though im getting a weird message
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-
Paul Dorman (paul-dorman) wrote : | #14 |
Latest initscripts package installed. Rebooted successfully. Looks like this bug is fixed. Thanks Ubuntu team!
MT (micdhack) wrote : | #15 |
A superblock for that kernel was f***ed so i booted with an older on did an fsck and then rebooted.
I can verify that the system boots normally with the old kernel and the latest one.
Hilario J. Montoliu (hjmf) (hmontoliu) wrote : | #16 |
After applying the last upgrades the system still freeze at boot, but now with message:
udevd[959]: unknown key 'SYMLINK{unique}' in /lib/udev/
udevd[959]: unknown key 'SYMLINK{unique}' in /lib/udev/
neferty (roman-semko) wrote : | #17 |
getting the same SYMLINK error as Hilario..
Lou Ruppert (louferd) wrote : | #18 |
I reported the udevd/symlink issue as 430667.
David Gibson (dwg) wrote : | #19 |
Still totally broken here with updates as of Sep 16 (Australian time).
David Gibson (dwg) wrote : | #20 |
More specifically it seems that mountall never mounts /home amongst some other things, never emits the 'filesystem' event and so nothing starts.
Lou Ruppert (louferd) wrote : | #21 |
Since people are still posting here instead of 430667, I yanked the duplicate status (I think).
Hilario J. Montoliu (hjmf) (hmontoliu) wrote : | #22 |
Since seems that some people got this issue fixed by some late night update and I was still stuck w/o booting (no matter if I applied those updates too) I've reinstalled my testing partition and upgrade all pending updates.
Now the system boots fine (I still see those udev warnings from bug #430654 but that's certainly another issue)
So the package (upstart?) that broke the boot process seems to have been fixed in some update last night or today but that fix seems that wasn't able to repair the mess that the buggy update caused at first.
Now I'm happy again :-)
Carfield Yim (carfield) wrote : | #23 |
I still have this problem.... first of all.... How can I boot again and preform fix?? BTW, I just update today, just now, 17th Septh, 0:00 GMT+8
Hilario J. Montoliu (hjmf) (hmontoliu) wrote : | #24 |
Carfield Yim,
I wasn't able to fix the issue directly from updates. However if you want to boot into something you can edit the boot parameters in grub:
"e" to edit
replace the boot parameters from ro xxxx xxxx to "rw init=/bin/bash"
and you'll be able to access a limited shell (no job control)
hence you can enable your network (dhclient didn't work for me) ie:
ifconfig eth0 <yourip>/<your netmask> up; route add default gw <your gw> eth0; echo "nameserver <your favorite dns>" > /etc/resolv.conf
Hence you'll be able to run apt-get or aptitude
As said before, despite all the updates applied in the last 15 hours, I had to reinstall to get the issue fixed
luigi.mantellini@gmail.com (comio) wrote : | #25 |
Hi All,
Can sombody tell me what is wrong in the upstart package and how i can fix? I cannot reinstall again the machine and would like to continue to use the karmic.
best regards,
luigi
Paulo Assis (pj-assis) wrote : | #26 |
Hi,
For those that can't boot to your system no matter what, here is my solution (chroot from live cd):
1. boot from the live cd
2. open console
3. mount your root partition:
# sudo mkdir /media/SYS_ROOT
# sudo mount /dev/sda1 /media/SYS_ROOT (change sda1 to whatever device contains your filesystem)
4. chroot to /media/SYS_ROOT:
# sudo chroot /media/SYS_ROOT
5. update your system
# sudo apt-get update
# sudo apt-get upgrade
6. reboot.
The above steps worked for me, and my system is up and running (chroot will be missing /proc this will cause some warnings about apt log but in my case it upgrade correctly)
Regards,
Paulo
luigi.mantellini@gmail.com (comio) wrote : | #27 |
I already upgrade a lot of times my system without success and the problem still remain. I will try to upgrade tomorrow hoping to solve the problem.
best regards,
luigi
Craig Kelley (ink) wrote : | #28 |
I booted from a live cd and ran apt-get update; apt-get upgrade, but the system reboots after doing this:
Setting up upstart (0.6.3-3)
I've done it three times now, and any use of dpkg or apt results in the message:
E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct this problem
Which, if I do, causes upstart to run its post-install scripts and reboot the system.
Any ideas?
Lou Ruppert (louferd) wrote : | #29 |
I suspect upstart is the root of the issue, but it's hard to tell.
affects: | ubuntu → upstart (Ubuntu) |
Lou Ruppert (louferd) wrote : | #30 |
I created a fresh debootstrap install for my system and encountered the same problem, so it's not an issue of timing the updates wrong, as others have suggested.
Michael Casadevall (mcasadevall) wrote : | #31 |
I managed to reproduce this on SPARC/karmic, same issue with the machine spontaneously restarting. However, on my machine, I get the following panic after it hangs for ~20 seconds. upstart on SPARC is very unhappy
[ 111.681670] Kernel panic - not syncing: Attempted to kill init!
[ 111.759719] Call Trace:
[ 111.791832] [000000000046298c] find_new_
[ 111.862993] [0000000000463ea0] forget_
[ 111.943154] [00000000004640a4] exit_notify+
[ 112.009512] [0000000000464380] do_exit+0x160/0x320
[ 112.073583] [0000000000464564] do_group_
[ 112.142247] [000000000046fb88] get_signal_
[ 112.222434] [0000000000442818] do_signal32+
[ 112.289950] [000000000042c768] do_signal+
[ 112.356393] [000000000042ca04] do_notify_
[ 112.428475] [0000000000404aa8] __handle_
[ 112.498265] Press Stop-A (L1-A) to return to the boot prom
Steve Langasek (vorlon) wrote : | #32 |
Thank you for taking the time to report this problem and help to improve Ubuntu.
The original problem in this bug report, hangs at boot time, has been reported fixed by most of the users following up here. Since there have been extensive fixes to the boot scripts in the two days since this was reported, I believe this bug is fixed and as such am marking it as closed.
If you are the original submitter of this bug and are still seeing problems after applying all updates to your system, please feel free to reopen.
If you are *not* the original submitter of this bug and you are still having problems booting after applying all updates to your system, please open a separate bug report and describe precisely what you see on your own system when booting.
If you have questions about how to apply updates to a non-booting system, please see <https:/
Changed in upstart (Ubuntu): | |
status: | Confirmed → Fix Released |
Václav Šmilauer (eudoxos) wrote : | #33 |
The link to RecoveryMode page is not evry helpful, as this bug is present in the recovery mode as well (and with init=/bin/sh as well). Someone has a better suggestion?
Ernst Zlo (ernst-zlo) wrote : | #34 |
- booting_karmic.png Edit (24.1 KiB, image/png)
After upgrading some error messages while booting remain (while beeing able to boot)
Václav Šmilauer (eudoxos) wrote : | #35 |
Ernst: true, but that woule be a separate bug, I think.
For how to recover when recovery mode doesn't work:
1. in grub, use recovery mode, but edit the kernel command line and replace "ro single" with "rw break=init"
2. You will be dropped to the (initramfs) prompts, regular root is mounter at /root.
3. Do chroot /root /usr/bin/*sh (bash and /bin/sh hung for me, pehaps that was the bug? I used zsh instead, try dash as well)
4. Set network connection (ifconfig eth0 10.0.0.18; route add default gw 10.0.0.1; echo nameserver 10.0.0.1 > /etc/resolv.conf)
5. aptitude update && aptitude upgrade
6. reboot
luigi.mantellini@gmail.com (comio) wrote : | #36 |
I confirm that the last upstart 0.6.3-3 solves the issue for me.
thanks and best regards
luigi
switch (mjw8ight) wrote : | #37 |
Hi I've been having the same problem.
I just went through the process of booting from the live cd and sudo chroot /mnt , apt-get update and apt-get upgrade.
Ubuntu 9.10 is still hanging at scripts/
this is the error I get.
udevd[813] inotify-
terminate this shell and retry.ted with status 10-udev-
also when I issue the apt-get upgrade command I get the following error:
Errors were encounted while processing linux-image-
grub-pc
grub2
E:sub-process /usr/bin/dpkg returned an error code(1)
an additional error went something like the following:
can not write log, openpty() failed.
any help would be greatly appreciated.
Thank you
chisao (michayc) wrote : | #38 |
I fixed it somehow...Many steps and I don't know if I remember them all.First...press e on recovery to edit.change ro single to rw init=/bin/bash.Then type dhclient eth0 (connect an ethernet cable first if you havent already).If it manages to connect (which it should) type aptitude update and then aptitude upgrade.It will update (mine failed a few packages because something was not mounted...I dont know exactly what happened).After this I tried to boot using the latest kernel but it froze sayin somethin about kernel panic..
chisao (michayc) wrote : | #39 |
I am really sorry!!!Ignore my comment right above.I meant to write it for another bug...If someone can delete it plz do....I am sorry again!!! :(
Bernd Schubert (aakef) wrote : | #40 |
It hangs here after writing "fsck from until-linux 2.16"
/dev/md0: clean
I don't see how this can be considered as "Fix released". And honestly, I don't care if my system needs 5s more to boot, but I care a lot, if the boot process is not systematic anymore. With plain sysrc it was simple too see where something failed, but now? I don't have the slightest idea which script hangs and where. This against primary rule: Keep it simple!
And even X depends on upstart and not plain init? Maybe time to go looking for another distribution.
manwe (nettibug+launchpad) wrote : | #41 |
I ran aptitude update + upgrade on "Mon 28.9.2009 "
and the hang problem is fixed (I did not check what were the packages that got updates)
See #430667 for more of my ramblings
Cheers,
Manwe
ps. Thank you devs for fixing this (without me needing to reinstall!!!)
Benji (eilif) wrote : | #42 |
After doing an upgrade from jaunty, I had the same problems as Bernd Schubert
"It hangs here after writing "fsck from until-linux 2.16"
I tracked it down to my /boot partition being ext2 ... because I noticed that karmic could not automatically identify the ext2 partition type, as it should. Switching /boot to ext3, my machine now boots.
Steve Langasek (vorlon) wrote : | #43 |
Benji, you should file a new bug report for this unrelated issue.
Jaen Saul (slowbyte) wrote : | #44 |
Got the same issue today (system hangs after /scripts/
Thanks to poster before, I was able to fix the issue.
My steps:
1) change recovery mode command line in GRUB from "ro single" to "rw break=init"
2) chroot /root /bin/bash
3) dhclient (to get IP/network configuration)
4) apt-get update
5) apt-get install upstart initscripts sysv-rc sysvinit-utils initramfs-tools
6) reboot (system fails)
7) reboot again (system comes up this time)
Also, have the maintainers/
Quinn Plattel (qiet72) wrote : | #45 |
Apparantly, even though a fix has been made to upstart, there is still no way to install or upgrade to karmic on sparc.
If you attempt upgrade, upstart will fail or crash the system.
If you try to install the system from CD, booting from CD will fail with a "Fast Data Access MMU miss" because not enough memory is allocated to hold both the kernel and the initrd on newer ubuntu releases - Ubuntu Hardy 8.04 was the last release to be able to boot from cd. Lucid and up have solved the memory issue of the cd bootloader, but it does not seem to load the sd driver so you cannot access any block devices even though you have the correct scsi/ide driver loaded.
The only solution left is to install Hardy and then do an LTS upgrade to Lucid - mind you that you might have an issue with apparmor so you should probably remove that package before upgrading.
Quinn
panticz.de (panticz.de) wrote : | #46 |
Did you check that die file owner and permissions are correct on the root filesystem? Especially the init script to by able to start the second boot stage:
# ls -l /sbin/init
-rwxr-xr-x 1 root root 167192 Jan 18 2013 /sbin/init
hello,
same case for me, i have updated today my kubuntu karmic x86 64 and can't start anymore, sometime can login but no peripheric work anymore and if log say : kstartupconfig4 does not exist or fails. the error code is 3
like i have reported in : https:/ /bugs.launchpad .net/ubuntu/ +bug/428403