Public bug reported: Binary package hint: upstart
I'm having a problem with occasional bootup hangs. They started after I upgraded to Gutsy. I never experienced this problem with Ubuntu 7.04. Most of the times there is no problem, but maybe once out of 10 or 20 bootups the booting process stops. Since I disabled HT, I've never seen this happen anymore. What happens is this: Almost all of the booting process works fine, but after it has come to "Running local boot scripts (/etc/rc.local)", not much more happens. X is not coming up. The first strange thing is that it says "Reloading OpenBSD Secure Shell server's configuration sshd". I have no idea why it does this. According to /var/log/boot, it does this every time I boot though. After that (a few of the times it has hung), it also started reloading cupsd (after a minute or so), and then the system log daemon. Some other times it just hung after "Reloading openbsd...", and nothing more happend. After that nothing more seems to happen with the booting. I am able to access other VTs and Internet acess works, so the machine is not really hung, it is just the booting process which won't get any further. The reason why I guess the problem lies within Upstart is because the reloading of the daemons, but this is mostly a guess on my part. I have a suspicion that it is in some way related to the networking. That could at least explain why it just happens at some boots, and not at others. Maybe my router is a bit flaky, and sometimes uses longer time (which could in turn trigger some bug in Ubuntu). But this is just a another guesss. The computer itself is a 4 year old Pentium 4 2.8 ghz, 1 gig ram, with a ASUS P4C800 mobo, connected to the router through the built-in ethernet port, ps2 mouse and usb keyboard, nvidia graphics card. This bug might be related to #58752. I have been digging through the logs (/var/log) to try and see if there is something particular happening with the boots when the booting freezes. I haven't found something which is only in the logs those times the boot process stops. However, I've found some things which seems a bit wrong, but these errors are in the logs even on those boots which works. But maybe they are related despite that. Below are excerpts from the log files, with just the lines reporting errors I could find listed (# denotes that the line is my comment). Maybe there are other errors I missed. If you wish, you might check these error messages out. in kern.log: Failure registering capabilities with primary security module. intel_rng: FWH not detected in daemon.log: #Networkmanager warns several times about dhcdbd not running, lines such as NetworkManager: <WARN> nm_dhcp_manager_get_state_for_device(): dhcdbd not running! #(However, eventually DHCP and the network connection will work) avahi-autoipd(eth1)[5887]: fopen() failed: Permission denied # (The network connection actually used is eth0) #many errors about ntpd NetworkManager: <WARN> nm_spawn_process(): nm_spawn_process('/usr/sbin/nscd -i hosts'): could not spawn process. (Failed to execute child process "/usr/sbin/nscd" (No such file or directory)) in boot: /etc/rcS.d/S40ifrename: 19: /sbin/ifrename: not found When comparing boot and daemon.log, I can see that dhclient gets a DHCPACK a couple of seconds after the dhcbd is started, 8-12 secs for those boots I investigated. Is there someone here who has got any suggestion of what to do? Specifically if you has any ideas of how to debug this problem, and what sorts of things I should look for (in the logs and elsewhere). I really don't know how to proceed investigating this problem. This must be some kind of bug in Ubuntu, but I don't know what causes the bug. Notes: - in order to get /var/log/boot to work, I had to manually compile and install bootlogd. I did this in order to be able to debug these problems better. The problems existed before this, so this should not affect the booting process in any negative way. - This is a desktop computer with a wired net connection, so those things about Networkmanager probably has nothing do to with this problem. - I was also watching top, and noticed almost no activity, except for updatedb at around 3% cpu utilisation one of the times this happened. Otherwise nothing. Thankyou Pär ** Affects: upstart (Ubuntu) Importance: Undecided Status: New -- [Feisty] Occasional hangs at boot when HyperThreading enabled https://bugs.launchpad.net/bugs/184683 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs