systemd Timed out waiting for device swap and file system check
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
systemd (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
My Ubuntu 15.04 did not start --or took so long that I switched back to upstart!
ISSUE: (systemd during the boot)
Timed out waitingfor device dev-disk-
Dependency failed for /dev/disk/
Dependency failed for Swap.
Timed out waiting for device dev-sdaX.device (swap)
Dependency failed for Swap Partition.
Failed to start udev Wait for Complete Device Initialization.
See "systemctl status systemd-
Starting File System Check on Root Device...
Starting Copy rules generated while the root was ro...
(1 of 2) A start job is running for File System Check on Root Device (3min 28s / no limit)
...
No tainted 3.19.0-18-generic #18-Ubuntu
"echo 0> /proc/sys/
INFO: task systemd-udevd:336 blocked for more than 120 seconds.
...
INFO: task systemd-udevd:338 blocked for more than 120 seconds.
...
INFO: task systemd-udevd:346 blocked for more than 120 seconds.
...
(1 of 2) A start job is running for File System Check on Root Device (4min 3s / no limit)
WORKAROUND:
apt-get -qq -y install upstart-sysv # switch back to upstart
http://
P.S. don't ask me to go back to systemd-sysv... I am fine with upstart....
TECHNICAL DETAILS:
$ lsb_release -r
Release: 15.04
$ uname -r
3.19.0-18-generic
$ sudo dmidecode -s system-product-name
MacBookPro8,2
$ grep "^GRUB_
GRUB_CMDLINE_
$ cat /etc/fstab
# <file system> <mount point> <type> <options> <dump> <pass>
# / was on /dev/sda5 during installation
UUID=6619a7e9-
# swap was on /dev/sda6 during installation
UUID=813e9dc2-
# lsblk -f
NAME FSTYPE LABEL UUID MOUNTPOINT
sda
├─sda1 vfat EFI 67E3-17ED
├─sda2 hfsplus Macintosh HD 2ba5bbc1-
├─sda3 hfsplus Recovery HD 9e776f16-
├─sda4
├─sda5 ext4 6619a7e9-
└─sda6 swap 813e9dc2-
sr0
# blkid
/dev/sda1: LABEL="EFI" UUID="67E3-17ED" TYPE="vfat" PARTLABEL="EFI System Partition" PARTUUID=
/dev/sda2: UUID="2ba5bbc1-
/dev/sda3: UUID="9e776f16-
/dev/sda5: UUID="6619a7e9-
/dev/sda6: UUID="813e9dc2-
/dev/sda4: PARTUUID=
Please note that my swap is NOT encrypted so it's not related to bug 1440098 or 953875