Bug#747629: systemd: boot fails w/ multi-whole-disk btrfs /home: "timed out waiting for dev-sda.device"

John Paul Adrian Glaubitz glaubitz at physik.fu-berlin.de
Sun Jun 28 16:04:04 BST 2015


> Ok, so should we close the bug and reopen once you can reproduce
> it again?

I am still running into this issue on one of our Debian sh4 buildds:

[   15.236000] BTRFS: device fsid 834d6bda-7796-4cdf-aa09-8695ec50c03a [
 OK  ] Started Flush Journal to Persistent Storage.
devid 1 transid 58297 /dev/sda2
[ TIME ] Timed out waiting for device dev-ttySC1.device.
[DEPEND] Dependency failed for Serial Getty[ TIME ] Timed out waiting
for device dev-di...\x2daa09\x2d8695ec50c03a.device.
[DEPEND] Dependency failed for /srv/chroots/buildd-sid.
[DEPEND] Dependency failed for /srv/chroots/buildd-sid/sys.
[DEPEND] Dependency failed for Local File Systems.
[DEPEND] Dependency failed for /srv/chroots/buildd-sid/proc.
[DEPEND] Dependency failed for /srv/chroots/buildd-sid/dev/pts.
[ TIME ] Timed out waiting for device
dev-di...\x2db405\x2d60154827bd8a.device.
[DEPEND] Dependency failed for
/dev/disk/by-...a6e-58e4-47de-b405-60154827bd8a.

systemd is waiting for the swap device as well as a btrfs filesystem
which contains the chroot for sbuild. It also waits for the serial
console ttyS0 which is actually used to boot the board (Renesas
SH-7785LCR) as I don't use a video adapter.

I added "nofail" to the fstab entries in question but that doesn't help.
The only working solution is commenting the fstab entries for swap
and the btrfs chroot out, then reboot the machine and mount the
partitions manually once the machine has come up.

systemd version is 220-2, attaching my /etc/fstab.

Adrian

-- 
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer - glaubitz at debian.org
`. `'   Freie Universitaet Berlin - glaubitz at physik.fu-berlin.de
  `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913
-------------- next part --------------
# UNCONFIGURED FSTAB FOR BASE SYSTEM

UUID=aa6ba676-a156-488f-8022-28aefaed50d8 / ext4    errors=remount-ro		0       1
UUID=b8f60a6e-58e4-47de-b405-60154827bd8a none swap sw,nofail                		0       0
#/dev/sda3	none	swap 	sw						0	0

# chroots
UUID=834d6bda-7796-4cdf-aa09-8695ec50c03a /srv/chroots/buildd-sid btrfs  defaults,subvol=buildd-base,noatime,nodiratime,nofail  0       0

#/dev/vg/buildd  /org/chroots/buildd-sid btrfs   defaults,noatime,subvol=buildd-base     0       0
#/dev/hda5 /org/chroots/buildd-sid/var/cache/apt/archives btrfs defaults,subvol=aptarchives 0	2
#/dev/hda5 /org/chroots/buildd-sid/var/lib/apt/lists btrfs defaults,subvol=aptlists 0	2

# chroot procs
proc    /srv/chroots/buildd-sid/proc      proc    defaults    0 0
sysfs   /srv/chroots/buildd-sid/sys  sysfs   defaults      0 0
/dev/pts  /srv/chroots/buildd-sid/dev/pts  none    bind       0 0


More information about the Pkg-systemd-maintainers mailing list