Severe regression with latest kernel update: 3.0.0-14.23 takes an unreasonable amount of time to boot due to udev
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Triaged
|
High
|
Unassigned | ||
lvm2 (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned | ||
udev (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
After the kernel update the machine takes ages to boot. At first I thought that the machine was not booting at all, but in fact it is, only taking an absurd amount of time where no disk activity is shown.
The boot appears to hang at /scripts/
The same symptom is present with the 3.2RC4 kernel on the mainline ppa.
ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: linux-image-
ProcVersionSign
Uname: Linux 3.0.0-14-generic x86_64
AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.24.
ApportVersion: 1.23-0ubuntu4
Architecture: amd64
ArecordDevices:
Home directory /home/callegar not ours.
**** List of CAPTURE Hardware Devices ****
card 0: Intel [HDA Intel], device 0: STAC92xx Analog [STAC92xx Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
AudioDevicesInUse:
USER PID ACCESS COMMAND
/dev/snd/
/dev/snd/seq: timidity 5021 F.... timidity
Card0.Amixer.info:
Card hw:0 'Intel'/'HDA Intel at 0xf6adc000 irq 48'
Mixer name : 'Intel Cantiga HDMI'
Components : 'HDA:111d76b2,
Controls : 20
Simple ctrls : 12
Date: Sat Dec 10 12:11:47 2011
HibernationDevice: RESUME=
InstallationMedia: Kubuntu 9.10 "Karmic Koala" - Release amd64 (20091027)
MachineType: Dell Inc. Latitude E6500
PccardctlIdent:
Socket 0:
no product info available
PccardctlStatus:
Socket 0:
no card
ProcKernelCmdLine: BOOT_IMAGE=
PulseSinks:
Error: command ['pacmd', 'list-sinks'] failed with exit code 1: Home directory /home/callegar not ours.
No PulseAudio daemon running, or not running as session daemon.
PulseSources:
Error: command ['pacmd', 'list-sources'] failed with exit code 1: Home directory /home/callegar not ours.
No PulseAudio daemon running, or not running as session daemon.
RelatedPackageV
linux-
linux-
linux-firmware 1.60
RfKill: Error: [Errno 2] No such file or directory
SourcePackage: linux
UpgradeStatus: Upgraded to oneiric on 2011-10-16 (54 days ago)
dmi.bios.date: 08/19/2010
dmi.bios.vendor: Dell Inc.
dmi.bios.version: A24
dmi.board.name: 0W612R
dmi.board.vendor: Dell Inc.
dmi.chassis.type: 8
dmi.chassis.vendor: Dell Inc.
dmi.modalias: dmi:bvnDellInc.
dmi.product.name: Latitude E6500
dmi.sys.vendor: Dell Inc.
tags: | added: kernel-key |
Changed in linux (Ubuntu): | |
importance: | Medium → High |
tags: | removed: kernel-key |
tags: | removed: kernel-da-key |
Trying to investigate a bit further
Issue is most likely with
# Stop udevd, we'll miss a few events while we run init, but we catch up
udevadm control --timeout=61 --exit
in /usr/share/ initramfs- tools/scripts/ init-bottom/ udev
For some reason with the -14 kernel this command exits when udevadm times out, while previous kernels let udevadm exit much earlier.
As a proof, notice that trying to reduce the timeout makes -14 completely unbootable (machine comes up without /dev/sda, in spite of this device getting mentioned in dmesg), while previous kernels could still boot properly.
Cannot investigate any further as udev debugging is completely out of my reach. Cannot even find why the udevadm timeout does not get reported anywhere.