Red Hat Bugzilla – Bug 485536
Recent upstream kernel fails to install properly due to mkinitrd/sysfs issue
Last modified: 2009-02-13 19:53:00 EST
Description of problem:
I'm unable to install kernels with recent upstream kernels running because mkinitrd seems to be unable to find the block devices on the system:
WARNING: /sys/block/dm-0 is a not a block sysfs path, skipping
Looking at the mkinitrd source, it is checking for:
if [[ ! "$sysfs" =~ '^/sys/devices/.*/block/.*$' ]]; then
error "WARNING: $sysfs is a not a block sysfs path, skipping"
On my upstream kernels of 2.6.29-rc3 and -rc4 (possibly others), this fails.
On older kernels, you can find:
but it is gone now.
Version-Release number of selected component (if applicable):
Disregard, I had CONFIG_SYSFS_DEPRECATED* selected, which is apparently evil.