Bug 121866 - new-kernel-pkg doesn't check that kernel supports large enough initrd
Summary: new-kernel-pkg doesn't check that kernel supports large enough initrd
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: mkinitrd
Version: 1
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Jeremy Katz
QA Contact: David Lawrence
URL: http://mjfrazer.org/~mjfrazer/tips.html
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2004-04-28 18:59 UTC by Mark Frazer
Modified: 2007-11-30 22:10 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2004-08-02 21:56:49 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Mark Frazer 2004-04-28 18:59:02 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4.1)
Gecko/20031114

Description of problem:
When installing a linus kernel, 'make install' runs
/sbin/installkernel which then runs /sbin/new-kernel-pkg

/sbin/new-kernel-pkg should check that the .config for the current
kernel contains CONFIG_BLK_DEV_INITRD=y and that
CONFIG_BLK_DEV_RAM_SIZE is set to be >= the size of the uncompressed
initrd that mkinitrd creates.



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

How reproducible:
Always

Steps to Reproduce:
1.  install a linus kernel from kernel.org
2.  use the default ram disk size
3.  reboot

Additional info:

There are a lot of hits on this topic if you google for "VFS: Cannot
open root device "LABEL=/" or unknown-block(0,0)", but not too many
correct answers.  It would be nice if Fedora told people not intimate
with kernel configuration that they had made a mistake.

Comment 1 Jeremy Katz 2004-08-02 21:56:49 UTC
With 2.6 kernels and mkinitrd 4.x, we'll instead create an initramfs
which doesn't have this requirement.


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