[ILUG] initrd creation problems

Darragh Bailey felix at compsoc.nuigalway.ie
Thu Jul 30 17:39:05 IST 2009


On Fri, Jul 24, 2009 at 05:41:19PM +0100, Pete McEvoy wrote:
> Hi.
> Have a box in a datacentre that wont boot past the initrd. Have booted
> it with a knoppix cd, chrooted and tried to install a kernel - it hangs
> calling mkinitramfs-kpkg. If I run mkinitramfs with sh -x i see it
> hanging on:
> 
> modprobe --set-version=2.6.26-1-686 --ignore-install --show-depends
> ehci-hcd awk '/^insmod/ { print $2 }'
> 
> It also does this when trying generate an initrd for one of the
> installed, previously working kernels.
> 
> I dont really know enough about initrds to troubleshoot this further -
> could anyone offer any suggestions?

I suspect that you are missing a | symbol in what you included there,
just before the awk command. If not, there should be one there,
otherwise the awk part isn't going to do anything.

Have you tried running just the modprobe section, i.e.:
# modprobe --set-version=2.6.26-1-686 --ignore-install --show-depends ehci-hcd

add a '-v', to get a more verbose output. If it's modprobe that's
hanging try verifying the integrity of that package that installed the
modprobe binary.

-- 
Darragh

"Nothing is foolproof to a sufficiently talented fool."



More information about the ILUG mailing list