Public bug reported:
If a bcache is created with a Curtis-Wright NVRAM card as caching
device, the bcache device will not show up on boot without manual
intervention.
Tracking this down show this being due to the fact, that line 9 of
/lib/udev/rules.d/60-persistent-storage.rules filters on a whitelist of
devices
(loop*|mmcblk*[0-9]|msblk*[0-9]|mspblk*[0-9]|nvme*|sd*|sr*|vd*|xvd*|bcache*|cciss*|dasd*|ubd*),
that doesn't include the NVRAM devices (umem*). A few steps later, this
results in bcache_register() not being called.
Trivially patching
-KERNEL!="loop*|mmcblk*[0-9]|msblk*[0-9]|mspblk*[0-9]|nvme*|sd*|sr*|vd*|xvd*|bcache*|cciss*|dasd*|ubd*",
GOTO="persistent_storage_end"
+KERNEL!="loop*|mmcblk*[0-9]|msblk*[0-9]|mspblk*[0-9]|nvme*|sd*|sr*|vd*|xvd*|bcache*|cciss*|dasd*|ubd*|umem*",
GOTO="persistent_storage_end"
resolves the issue.
** Affects: ubuntu
Importance: Undecided
Status: New
** Description changed:
- If a bcache is created not with a Curtis-Wright NVRAM card as caching
+ If a bcache is created with a Curtis-Wright NVRAM card as caching
device, the bcache device will not show up on boot without manual
intervention.
Tracking this down show this being due to the fact, that line 9 of
/lib/udev/rules.d/60-persistent-storage.rules filters on a whitelist of
devices
(loop*|mmcblk*[0-9]|msblk*[0-9]|mspblk*[0-9]|nvme*|sd*|sr*|vd*|xvd*|bcache*|cciss*|dasd*|ubd*),
that doesn't include the NVRAM devices (umem*). A few steps later, this
results in bcache_register() not being called.
Trivially patching
-KERNEL!="loop*|mmcblk*[0-9]|msblk*[0-9]|mspblk*[0-9]|nvme*|sd*|sr*|vd*|xvd*|bcache*|cciss*|dasd*|ubd*",
GOTO="persistent_storage_end"
+KERNEL!="loop*|mmcblk*[0-9]|msblk*[0-9]|mspblk*[0-9]|nvme*|sd*|sr*|vd*|xvd*|bcache*|cciss*|dasd*|ubd*|umem*",
GOTO="persistent_storage_end"
resolves the issue.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1635729
Title:
bcache won't start on boot due to exotic block devices filtered in
udev rules
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+bug/1635729/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs