Bug 438743
Summary: | mkinitrd creates initrd.img/init script with ~6000 insmod lines for lock_nolock.ko, and gfs2.ko | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise Linux 5 | Reporter: | James Laska <jlaska> | ||||||
Component: | mkinitrd | Assignee: | Peter Jones <pjones> | ||||||
Status: | CLOSED ERRATA | QA Contact: | |||||||
Severity: | low | Docs Contact: | |||||||
Priority: | low | ||||||||
Version: | 5.2 | CC: | adas, cfeist, jturner | ||||||
Target Milestone: | rc | ||||||||
Target Release: | --- | ||||||||
Hardware: | All | ||||||||
OS: | Linux | ||||||||
Whiteboard: | |||||||||
Fixed In Version: | RHBA-2008-0437 | Doc Type: | Bug Fix | ||||||
Doc Text: | Story Points: | --- | |||||||
Clone Of: | Environment: | ||||||||
Last Closed: | 2008-05-21 15:26:43 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: | |||||||||
Attachments: |
|
Description
James Laska
2008-03-24 20:10:25 UTC
Created attachment 298938 [details]
/var/log/messages
Created attachment 298939 [details]
/init (from /boot/initrd-2.6.18-86.el5.img)
Catching this during install shows that the %post is taking a *long* time and chewing up a lot of cpu in generating all those 6000 module entries :) PID USER STATUS RSS PPID %CPU %MEM COMMAND 678 0 S 147M 487 0.0 3.7 anaconda 1440 0 R 62464 1431 99.7 1.5 mkinitrd Doing the same test on x86_64 ends differently ... I see the following on the console... /sbin/new-kernel-pkg: line 242: 12326 Segmentation fault /sbin/mkinitrd --allow-missing -f $initrdfile $version mkinitrd failed sending termination signals...done sending kill signals...done disabling swap... /tmp/cciss/c0d0p3 unmounting filesystems... Looks like a similar problem surfacing in bug#439371 tburke: Customer will see this issue as follows: * Kernel panic on post-install bootup on i386, ia64, x86_64 * Delayed install on ppc Fixed in mkinitrd-5.1.19.6-28 . VERIFIED in RHEL5.2-Server-20080331.nightly (mkinitrd-5.1.19.6-28) # grep -n "\(gfs2\|lock\)" ./init 41:echo Creating block device nodes. 50:echo "Loading gfs2.ko module" 51:insmod /lib/gfs2.ko 52:echo "Loading lock_nolock.ko module" 53:insmod /lib/lock_nolock.ko 73:lvm vgscan --ignorelockingfailure 75:lvm vgchange -ay --ignorelockingfailure vg01 78:mkrootdev -t gfs2 -o defaults,ro /dev/vg01/lv_root An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on the solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHBA-2008-0437.html |