boot stalls on USB detection errors
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Debian) |
Fix Released
|
Unknown
|
|||
linux (Ubuntu) |
Fix Released
|
Medium
|
Unassigned | ||
Vivid |
Fix Released
|
Undecided
|
Tim Gardner | ||
Wily |
Fix Released
|
Undecided
|
Unassigned | ||
Xenial |
Fix Released
|
Undecided
|
Unassigned | ||
Yakkety |
Fix Released
|
Medium
|
Unassigned |
Bug Description
My system boots slow. I investigated this and it seems systemd-
My system runs ext4 with GPT on UEFI.
I do not use encryption or LVM.
$ journalctl -u systemd-udev-settle
-- Logs begin at fri 2015-03-27 19:03:06 CET, end at fri 2015-03-27 22:06:32 CET. --
mar 27 19:03:42 hostname systemd[1]: Started udev Wait for Complete Device Initialization.
$ systemd-analyze
Startup finished in 14.865s (firmware) + 11.133s (loader) + 6.127s (kernel) + 42.079s (userspace) = 1min 14.206s
$ systemd-analyze critical-chain
http://
$ systemd-analyze blame
36.013s systemd-
http://
$ systemctl show systemd-
RequiredBy=
$ systemctl show systemd-
WantedBy=
$ systemd-analyze plot > boot.svg
http://
$ systemd-analyze dump
http://
ProblemType: Bug
DistroRelease: Ubuntu 15.04
Package: systemd 219-5ubuntu1
ProcVersionSign
Uname: Linux 3.19.0-10-generic x86_64
ApportVersion: 2.16.2-0ubuntu5
Architecture: amd64
CurrentDesktop: GNOME-Flashback
Date: Fri Mar 27 22:05:28 2015
InstallationDate: Installed on 2013-12-26 (455 days ago)
InstallationMedia: Ubuntu 13.10 "Saucy Salamander" - Release amd64 (20131016.1)
MachineType: ASUS All Series
ProcKernelCmdLine: BOOT_IMAGE=
SourcePackage: systemd
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 08/18/2014
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: 2103
dmi.board.
dmi.board.name: Z87-PRO
dmi.board.vendor: ASUSTeK COMPUTER INC.
dmi.board.version: Rev 1.xx
dmi.chassis.
dmi.chassis.type: 3
dmi.chassis.vendor: Chassis Manufacture
dmi.chassis.
dmi.modalias: dmi:bvnAmerican
dmi.product.name: All Series
dmi.product.
dmi.sys.vendor: ASUS
description: | updated |
description: | updated |
description: | updated |
Changed in linux (Ubuntu): | |
importance: | Undecided → Medium |
Changed in linux (Ubuntu): | |
status: | Confirmed → Fix Released |
Changed in linux (Debian): | |
status: | Unknown → New |
Changed in linux (Ubuntu Vivid): | |
status: | In Progress → Fix Committed |
Changed in linux (Ubuntu Xenial): | |
status: | In Progress → Fix Committed |
Changed in linux (Ubuntu Wily): | |
status: | In Progress → Fix Committed |
Changed in linux (Debian): | |
status: | New → Fix Released |
The kernel log shows huge gaps in device detection, apparently the hardware gets locked up during USB detection/ enumeration?
[ 7.292422] input: HDA Intel HDMI HDMI/DP,pcm=7 as /devices/ pci0000: 00/0000: 00:03.0/ sound/card0/ input16
[ 10.918992] usb 1-3: device descriptor read/all, error -110
[ 11.031084] usb 1-3: new high-speed USB device number 3 using xhci_hcd
[ 21.173998] usb 1-3: device descriptor read/all, error -110
[ 21.286076] usb 1-3: new high-speed USB device number 4 using xhci_hcd
[ 26.309502] usb 1-3: device descriptor read/8, error -110
[ 31.436986] usb 1-3: device descriptor read/8, error -110
[ 31.653231] usb 1-3: new high-speed USB device number 5 using xhci_hcd
[ 36.676659] usb 1-3: device descriptor read/8, error -110
[ 41.804074] usb 1-3: device descriptor read/8, error -110
[ 41.908224] usb usb1-port3: unable to enumerate USB device
[ 42.020384] usb 1-9: new low-speed USB device number 6 using xhci_hcd
Could you try disconnecting as many USB devices as possible, see whether that helps, and then re-connect them one by one to see which one is the culprit? This might be a hardware or kernel bug, I don't know yet.