-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hello, I'm having 2 problems with initrd. I've compiled a new kernel with grsecurity. It puts it's modules here: /lib/modules/2.4.18-grsec/ First, I found that running mk_initrd (or mkinitrd) does _not_ use the INITRD_MODULES value in /etc/sysconfig/kernel. Why not? Second, I found that when I gave it the module name manually, it is using the running kernel's libs from /lib/modules/2.4.18-64GB-SMP/ Watch: ccs001:/usr/src/linux # mk_initrd -k "vmlinuz" -i "initrd" -m aic7xxx -b "/boot" -d /dev/sda3 -s auto using "/dev/sda3" as root device (mounted on "/" as "") creating initrd "//boot/initrd" for kernel "//boot/vmlinuz" (2.4.18-64GB-SMP) module aic7xxx is "/lib/modules/2.4.18-64GB-SMP/kernel/drivers/scsi/aic7xxx/aic7xxx.o" - -> insmod aic7xxx It needs to be using /lib/modules/2.4.18-64GB-SMP/kernel/drivers/scsi/aic7xxx/aic7xxx.o I tried giving it the full path but it doens't seem to work that way: ccs001:/usr/src/linux # mk_initrd -k "vmlinuz" -i "initrd" -m "/lib/modules/2.4.18-grsec/kernel/drivers/scsi/aic7xxx/aic7xxx.o" -b "/boot" -d /dev/sda3 -s auto using "/dev/sda3" as root device (mounted on "/" as "") creating initrd "//boot/initrd" for kernel "//boot/vmlinuz" (2.4.18-64GB-SMP) no such module: /lib/modules/2.4.18-grsec/kernel/drivers/scsi/aic7xxx/aic7xxx.o How is one supposed to get mkinitrd to use the modules for the kernel you're actually setting up? - -- - ---------------------------------------------------- Jonathan Wilson System Administrator Cedar Creek Software http://www.cedarcreeksoftware.com -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE9JQbtQ5u80xXOLBcRAj0tAKDJhHdFayqnhT+dnjONeKUQW0tiFACeLG9T rNTjAChusFuNA64WL0XzQ4c= =uV0T -----END PGP SIGNATURE-----