Bug 485536

Summary: Recent upstream kernel fails to install properly due to mkinitrd/sysfs issue
Product: [Fedora] Fedora Reporter: James Morris <jmorris>
Component: mkinitrdAssignee: Peter Jones <pjones>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: rawhideCC: dcantrell, hdegoede, katzj, pjones, wtogami
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-02-14 00:53:00 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description James Morris 2009-02-14 00:08:20 UTC
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:

/sys/devices/virtual/block/

but it is gone now.

Version-Release number of selected component (if applicable):

mkinitrd-6.0.77-1.fc11.x86_64

Comment 1 James Morris 2009-02-14 00:53:00 UTC
Disregard, I had CONFIG_SYSFS_DEPRECATED* selected, which is apparently evil.