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

Re: mkinitrd problems



fai amd wrote:

> Hi
> 
> i am trying to create a initrd image that i can use for nfsboot for a
> fai process. i get this error and there is no "initrd*img" file created
> in the current directory. i am kind of clueless as to why it is
> happening. i would appreciate some help
> 
> modules below that the script complains of are compiled into the
> kernel.
> 
> uname -a
> Linux fai-amd64 2.6.15modules #1 Tue Mar 7 16:19:18 EST 2006 x86_64
> GNU/Linux
> 
> 
> #  mkinitrd -o ./initrd-2.6.15modules.img 2>&1 | tee log
> /usr/sbin/mkinitrd: add_modules_dep_2_5: modprobe failed
> FATAL: Module sg not found.
> FATAL: Module mptspi not found.
> FATAL: Module sd_mod not found.
> WARNING: This failure MAY indicate that your kernel will not boot!
> but it can also be triggered by needed modules being compiled into
> the kernel.
[big snip]

What modules are listed in your mkinitrd config file?  Look in the
folder /etc/mkinitrd.  If you compiled sg, mtpspi and sd_mod into your
kernel, then the modules can't be found.  So remove the reference from the
mkinitrd spec, and the image should build just fine.

Justin Guerin




Reply to: