Bug 476866
Summary: | mkinitrd fails to include the correct modules when creating initrd image for raid5 | ||||||
---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise Linux 5 | Reporter: | Joel Andres Granados <jgranado> | ||||
Component: | mkinitrd | Assignee: | Peter Jones <pjones> | ||||
Status: | CLOSED ERRATA | QA Contact: | Release Test Team <release-test-team-automation> | ||||
Severity: | medium | Docs Contact: | |||||
Priority: | low | ||||||
Version: | 5.3 | CC: | bmr, borgan, syeghiay, vietp | ||||
Target Milestone: | rc | ||||||
Target Release: | --- | ||||||
Hardware: | All | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2009-01-20 22:12:51 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: | |||||||
Bug Depends On: | 475385 | ||||||
Bug Blocks: | |||||||
Attachments: |
|
Description
Joel Andres Granados
2008-12-17 16:22:53 UTC
Created attachment 327271 [details]
PATCH to mkinitrd fixing this
Fixed in mkinitrd-5.1.19.6-44 . 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 therefore 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-2009-0237.html This breaks mkinitrd for older kernels as it unconditionally tries to include modules that don't exist: # mkinitrd /boot/initrd-2.6.18-92.1.22.el5.img 2.6.18-92.1.22 No module dm-mem-cache found for kernel 2.6.18-92.1.22.el5, aborting. 1306 if [ "$withdmraid" == "1" ]; then 1307 findmodule dm-mem-cache 1308 findmodule dm-region_hash 1309 findmodule dm-message 1310 findmodule dm-raid45 1311 fi Kernel: Linux node41 2.6.18-92.1.13.el5 #1 SMP Thu Sep 4 03:51:21 EDT 2008 x86_64 x86_64 x86_64 GNU/Linux rpm -qa | grep initrd mkinitrd-5.1.19.6-44 mkinitrd-5.1.19.6-44 Is this bug fixed? The patch didn't work for me. I have a script to make new initrd. And here is the output: cmdline is /sbin/mkinitrd -f --preload=libata --preload=sd_mod --preload=dm-mirror --preload=dm-mod --preload=raid1 --preload=ata_piix --preload=sata_nv --preload=sata_svw --preload=sata_sil --preload=3w-9xxx --preload=scsi_mod --preload=mptscsih --preload=mptfc --preload=aic79xx --preload=aacraid initrd-2.6.18-92.1.13.el5.img 2.6.18-92.1.13.el5 Make a new initrd with this command line? y|N y making initrd. No module dm-mem-cache found for kernel 2.6.18-92.1.13.el5, aborting. Kernel: Linux node41 2.6.18-92.1.13.el5 #1 SMP Thu Sep 4 03:51:21 EDT 2008 x86_64 x86_64 x86_64 GNU/Linux rpm -qa | grep initrd mkinitrd-5.1.19.6-44 mkinitrd-5.1.19.6-44 Is this bug fixed? The patch didn't work for me. I have a script to make new initrd. And here is the output: cmdline is /sbin/mkinitrd -f --preload=libata --preload=sd_mod --preload=dm-mirror --preload=dm-mod --preload=raid1 --preload=ata_piix --preload=sata_nv --preload=sata_svw --preload=sata_sil --preload=3w-9xxx --preload=scsi_mod --preload=mptscsih --preload=mptfc --preload=aic79xx --preload=aacraid initrd-2.6.18-92.1.13.el5.img 2.6.18-92.1.13.el5 Make a new initrd with this command line? y|N y making initrd. No module dm-mem-cache found for kernel 2.6.18-92.1.13.el5, aborting. |