touch-packages team mailing list archive
-
touch-packages team
-
Mailing list archive
-
Message #83985
[Bug 1463023] Re: systemd Timed out waiting for device swap and file system check
It could be related that ext4 was in a bad state and systemd was not able to use it
then upstart executed fsck to fix it and now I can again use systemd.
# /var/log/syslog.4.gz
$ zgrep -h "fsck" /var/log/*.gz
Jun 8 08:43:06 mbp kernel: [1788385.038996] FAT-fs (sdb1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
Jun 8 10:48:10 mbp systemd-fsck[971]: /dev/sda5: clean, 448286/17760256 files, 35731755/71025664 blocks
Jun 8 10:48:10 mbp kernel: [ 4.748519] systemd[1]: Listening on fsck to fsckd communication Socket.
Jun 8 10:48:10 mbp kernel: [ 4.750175] systemd[1]: Starting fsck to fsckd communication Socket.
Jun 8 11:08:54 mbp systemd-fsck[943]: /dev/sda5: clean, 447436/17760256 files, 35695088/71025664 blocks
Jun 8 11:08:54 mbp kernel: [ 3.809333] systemd[1]: Listening on fsck to fsckd communication Socket.
Jun 8 11:08:54 mbp kernel: [ 3.809392] systemd[1]: Starting fsck to fsckd communication Socket.
Jun 8 11:11:50 mbp systemd-fsck[946]: /dev/sda5: clean, 447438/17760256 files, 35715637/71025664 blocks
Jun 8 11:11:50 mbp kernel: [ 3.736279] systemd[1]: Listening on fsck to fsckd communication Socket.
Jun 8 11:11:50 mbp kernel: [ 3.737878] systemd[1]: Starting fsck to fsckd communication Socket.
zgrep -h systemd /var/log/syslog.4.gz > systemd-2015-06-08.log
** Attachment added: "systemd-2015-06-08.log"
https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1463023/+attachment/4413674/+files/systemd-2015-06-08.log
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to systemd in Ubuntu.
https://bugs.launchpad.net/bugs/1463023
Title:
systemd Timed out waiting for device swap and file system check
Status in systemd package in Ubuntu:
Incomplete
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-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"
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1463023/+subscriptions