You are not logged in.

#1 2009-05-10 13:52:46

wsduvall
Member
From: Blacksburg
Registered: 2009-02-05
Posts: 54
Website

Kernel modules not found on boot

Hey guys,

This happened awhile ago, during the switch from 2.6.28 to 2.6.29 (I think those numbers are right). Heres what happens. When I boot, I get the following message.

modprobe: FATAL: Could not load /lib/modules/2.6.29-ARCH/modules.dep

Then it gives me some stuff about how /dev/sda1 and /dev/sda2 don't exist and how it can't build my RAID. I'm assuming that this is because the drives in the modules arn't getting loaded.

I used a Arch LiveCD to boot the server and rebuild the RAID and LVM and chrooted into the system. I then updated the entire system, hopeing this would rebuild my modules. Then I notice the following error:

FATAL: Hook raid-partitions not found.

I then changed raid-partitions to raid and regenerated the image. I also checked, and /lib/modules/2.6.29-ARCH/modules.dep does in fact exist. So I'm not really sure what the problem is. Any thoughts?

Last edited by wsduvall (2009-05-10 13:53:47)


My 5 node 9 CPU cluster: www.amenrecluster.com
OS: Arch Linux
Machines:Fujitsu T4210 and IBM eServer xSeries 335

Offline

#2 2009-05-18 10:36:27

yyfiona1211
Member
From: Hong Kong
Registered: 2009-03-19
Posts: 4

Re: Kernel modules not found on boot

I'm having LVM2 on top of RAID 0.
After adding the hooks mdadm and lvm2 BEFORE filesystems, I regenerated the initramfs image by "mkinitcpio -g /boot/kernel26.img"

Here are the error messages:
mdadm: metadata format 1.00 unknown, ignored.
modprobe: FATAL: Could not load /lib/modules/2.6.29-ARCH/modules.dep
modprobe: FATAL: Could not load /lib/modules/2.6.29-ARCH/modules.dep
mdadm: error opening /dev/md0: No such device or address

and the rest tells me my computer cannot determine /dev/volumegroup/logical_volume_of_root

Any help? I've been using RAID for a while only, LVM2 for half a year... they give me a headache every time I install any Linux OS from an existing Linux

Last edited by yyfiona1211 (2009-05-18 11:28:32)

Offline

#3 2009-05-19 11:06:37

yyfiona1211
Member
From: Hong Kong
Registered: 2009-03-19
Posts: 4

Re: Kernel modules not found on boot

Problem solved

Here are the HOOKS I put in my /etc/mkinitcpio.conf

HOOKS="base udev raid mdadm lvm2 autodetect pata scsi sata filesystems"

I regenerated the kernel26.img using the command "mkinitcpio -g /boot/kernel26.img -k 2.6.16-ARCH" (since I'm dualbooting, currently in Ubuntu 9.04, and I installed Arch from inside Ubuntu.)

That's it. Hope this helps. Sorry I'm not good at computer jargon when it comes to technical stuff.

Offline

Board footer

Powered by FluxBB