← Back to team overview

touch-packages team mailing list archive

[Bug 1463023] [NEW] systemd Timed out waiting for device swap and file system check

 

You have been subscribed to a public bug:


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-by\x2duuid-... (swap)
Dependency failed for /dev/disk/by-uuid/... (swap)
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-udev-settle.service" for details.
    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/kernel/hung_task_timeout_secs" disables this message.
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://linux.softpedia.com/blog/Ubuntu-15-04-Users-Can-Switch-Off-Systemd-and-Use-Upstart-479373.shtml
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_CMDLINE_LINUX_DEFAULT" /etc/default/grub
GRUB_CMDLINE_LINUX_DEFAULT="transparent_hugepage=always intel_iommu=on acpi_irq_nobalance cgroup_enable=memory swapaccount=1 libata.force=noncq modeset=1 hybridopts=ON,IGD,OFF i915.modeset=0 radeon.modeset=1 radeon.dpm=1 radeon.audio=1 i915.lvds_channels=2 quirks.mbp_force_ahci=1 acpi_backlight=vendor reboot=pci"

$ cat /etc/fstab
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
# / was on /dev/sda5 during installation
UUID=6619a7e9-4b94-4e9b-8dbe-4110f89dde74 /               ext4    errors=remount-ro 0       1
# swap was on /dev/sda6 during installation
UUID=813e9dc2-c678-4959-ac89-e6660f886942 none            swap    sw              0       0

# lsblk -f
NAME   FSTYPE  LABEL        UUID                                 MOUNTPOINT
sda                                                              
├─sda1 vfat    EFI          67E3-17ED                            
├─sda2 hfsplus Macintosh HD 2ba5bbc1-fff0-36ea-ade4-140386274279 
├─sda3 hfsplus Recovery HD  9e776f16-ceb4-37e6-b4ce-4e75c1db5444 
├─sda4                                                           
├─sda5 ext4                 6619a7e9-4b94-4e9b-8dbe-4110f89dde74 /
└─sda6 swap                 813e9dc2-c678-4959-ac89-e6660f886942 [SWAP]
sr0   

# blkid 
/dev/sda1: LABEL="EFI" UUID="67E3-17ED" TYPE="vfat" PARTLABEL="EFI System Partition" PARTUUID="5d71ff71-9843-473d-90e7-4c780c8a494d"
/dev/sda2: UUID="2ba5bbc1-fff0-36ea-ade4-140386274279" LABEL="Macintosh HD" TYPE="hfsplus" PARTLABEL="Macintosh HD" PARTUUID="4e4c2249-24f8-4229-9325-d4aafd7ac093"
/dev/sda3: UUID="9e776f16-ceb4-37e6-b4ce-4e75c1db5444" LABEL="Recovery HD" TYPE="hfsplus" PARTLABEL="Recovery HD" PARTUUID="a986e3e1-ed3b-44bb-a75b-87b54434380d"
/dev/sda5: UUID="6619a7e9-4b94-4e9b-8dbe-4110f89dde74" TYPE="ext4" PARTUUID="9d860cb1-1334-4f79-a07a-01b8818c4aab"
/dev/sda6: UUID="813e9dc2-c678-4959-ac89-e6660f886942" TYPE="swap" PARTUUID="bf1271f6-8d51-4510-8979-666c9546f1f3"
/dev/sda4: PARTUUID="2b731a42-bd29-4548-8f0e-a9889ee9486b"

** Affects: systemd (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: swap systemd systemd-boot
-- 
systemd Timed out waiting for device swap and file system check
https://bugs.launchpad.net/bugs/1463023
You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to systemd in Ubuntu.