[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: (1) initrd + aha1542 (2) /etc/mkinitrd/modules



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.

-- 
Jamin W. Collins



Reply to: