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."
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!