mkinitrd modulefile confusion

Michael Stiller ms at 2scale.net
Wed Mar 22 09:55:19 UTC 2006


Hi list,

in the script /sbin/mkinitrd "modulefile" is referenced as:

modulefile=/etc/modules.conf
modulefile=/etc/modprobe.conf
modulefile=/etc/conf.modules

On my system (FC3->FC4->FC5 upgraded) there is only the
file /etc/modprobe.conf. 

Included scsi hostadapter aliases are not fully recognized during initrd
creation. 

cat /etc/modprobe.conf
alias eth0 e100
alias eth1 e100
alias scsi_hostadapter 3w-xxx

mkinitrd -f -v /boot/initrd-2.6.15-1.2054_FC5.img 2.6.15-1.2054_FC5
Creating initramfs
Looking for deps of module 3w-xxx
Looking for deps of module ide-disk
Looking for deps of module ext3: jbd
Looking for deps of module jbd
Found root device md0 for LABEL=/
Found RAID component md0
Using modules:   /lib/modules/2.6.15-1.2054_FC5/kernel/fs/jbd/jbd.ko /lib/modules/2.6.15-1.2054_FC5/kernel/fs/ext3/ext3.ko
/sbin/nash -> /tmp/initrd.is2897/bin/nash
/sbin/insmod.static -> /tmp/initrd.is2897/bin/insmod
copy from `/lib/modules/2.6.15-1.2054_FC5/kernel/fs/jbd/jbd.ko' [elf32-i386] to `/tmp/initrd.is2897/lib/jbd.ko' [elf32-i386]
copy from `/lib/modules/2.6.15-1.2054_FC5/kernel/fs/ext3/ext3.ko' [elf32-i386] to `/tmp/initrd.is2897/lib/ext3.ko' [elf32-i386]
Adding module jbd
Adding module ext3

What is "best practice" to fix this? Symlink? Use another file?

Cheers,

-Michael






More information about the fedora-list mailing list