Bug 1207618

Summary: BTRFS boot hangs on "A start job is running on /sysroot"
Product: [Fedora] Fedora Reporter: Jan Synacek <jsynacek>
Component: kernelAssignee: Kernel Maintainer List <kernel-maint>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 21CC: casey.dahlin, gansalmon, itamar, jeff.raber, johannbg, jonathan, josef, jsynacek, kernel-maint, lnykryn, madhu.chinakonda, mchehab, msekleta, s, systemd-maint, triad, zbyszek
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-04-21 18:45:47 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Screenshot of the debug log none

Description Jan Synacek 2015-03-31 10:20:59 UTC
Description of problem:
Boot hangs on "A start job is running on /sysroot". It happens on both my vm and my host, both of them having F21 and a btrfs root filesystem. The job eventually times out ofter 4m 40s. I don't know how to provide any more information, as dracut drops me into pretty unusable shell (no /etc/fstab, no network, no disk access).


Version-Release number of selected component (if applicable):
systemd-216-21.fc21.x86_64
dracut-038-33.git20141216.fc21.x86_64


How reproducible:
Sometimes, after recent update


Steps to Reproduce:
1. Have a latest F21 installation with btrfs root.
2. Boot.


Actual results:
Boot hangs.


Expected results:
Computer boots normally.


Additional info:
On my physical computer, the problem mysteriously disappeared after undocking it and forcing a poweroff with the poweroff button. On the vm, the hang still happens.

Comment 1 Jan Synacek 2015-03-31 11:43:42 UTC
Created attachment 1008960 [details]
Screenshot of the debug log

I managed to debug this a bit and ran the mount command manually with LIBMOUNT_DEBUG=0xffff. mount(2) syscall is what actuall hangs.

Comment 2 Jan Synacek 2015-03-31 11:45:47 UTC
The kernel version is kernel-3.19.2-201.fc21.x86_64.

Comment 3 Linus Walleij 2015-04-14 15:55:16 UTC
*** Bug 1209135 has been marked as a duplicate of this bug. ***

Comment 4 Linus Walleij 2015-04-17 20:21:07 UTC
My system hangs in the same way so suspect this is a BTRFS mount bug of some kind. I think it's kernel related, as it works perfectly for me with 3.18.7-100 but fails with 3.18.9-100 or 3.19.3-100.

Comment 5 Linus Walleij 2015-04-17 21:40:34 UTC
*** Bug 1212600 has been marked as a duplicate of this bug. ***

Comment 6 Linus Walleij 2015-04-17 21:41:28 UTC
So the link from the last duplicate I closed says this will be fixed in v3.19.5+

Comment 7 Linus Walleij 2015-04-21 18:45:47 UTC

*** This bug has been marked as a duplicate of bug 1187106 ***