Bug 485536 - Recent upstream kernel fails to install properly due to mkinitrd/sysfs issue
Summary: Recent upstream kernel fails to install properly due to mkinitrd/sysfs issue
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: mkinitrd
Version: rawhide
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Peter Jones
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-02-14 00:08 UTC by James Morris
Modified: 2009-02-14 00:53 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-02-14 00:53:00 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.