On Mon, Feb 17, 2003 at 15:40:29 -0600, Jamin W. Collins wrote: > On Mon, Feb 17, 2003 at 11:10:46PM +0200, Shaul Karl wrote: > > 1. initrd + aha1542 > > I am failing to convert a kernel with aha1542 builtin into an initrd > > one because of the aha1542 module. > > I had a similar problem a while back. IIRC, the aha1542 module requires > the isa-pnp module, and the default mkinitrd scripts ignore it. > > I managed to get it working by doing the following (I think): > > /etc/mkinitrd/modules: > isa-pnp > aha1542 aha1542=0x130 > > /etc/mkinitrd/mkinitrd.conf: > MODULES=most > > /etc/mkinitrd/scripts/inst-pnp: > #!/bin/sh > mkdir $INITRDDIR/$MODULEDIR/kernel/drivers/pnp > cp $MODULEDIR/kernel/drivers/pnp/isa-pnp.o \ > $INITRDDIR/$MODULEDIR/kernel/drivers/pnp/ > > It's been a while since I recompiled a kernel for this box. I also try > a patch for mkinitrd that added a "dep" option for MODULES. If the > above doesn't work, let me know and I'll forward the patch along. >
Thank you. I modified /etc/mkinitrd/mkinitrd.conf to have MODULES=all in order to get the isa-pnp module in the image. However the aha1542 module still doesn't load. As before, insmod it manually gives the maeesage /lib/modules/2.4.20-5.custom586.4/kernel/arch/cpuid.o/aha1542=0x134: Not a directory Googling groups for "aha1542 cpuid" shows that this module has some history with regard to the cpuid. -- Shaul Karl, [EMAIL PROTECTED] e t -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]