You are not logged in.

#1 2011-02-21 02:26:24

unilx
Member
From: Fredericton,Canada
Registered: 2009-10-01
Posts: 183

modprobe:FATAL:Could not load modules.dep

When i create a custom kernel and reboot i get this error:

 modprobe:FATAL:Could not load /lib/modules/2.6.38-rc5/modules.dep:no such file or directory

This is my modules.dep file:

kernel/arch/x86/kernel/test_nx.ko:
kernel/drivers/scsi/scsi_wait_scan.ko:
kernel/drivers/bluetooth/btusb.ko: kernel/net/bluetooth/bluetooth.ko
kernel/net/netfilter/xt_mark.ko:
kernel/net/bluetooth/bluetooth.ko:
kernel/net/bluetooth/l2cap.ko: kernel/net/bluetooth/bluetooth.ko kernel/lib/crc16.ko
kernel/net/bluetooth/sco.ko: kernel/net/bluetooth/bluetooth.ko
kernel/net/bluetooth/rfcomm/rfcomm.ko: kernel/net/bluetooth/l2cap.ko kernel/net/bluetooth/bluetooth.ko kernel/lib/crc16.ko
kernel/net/bluetooth/bnep/bnep.ko: kernel/net/bluetooth/l2cap.ko kernel/lib/crc16.ko kernel/net/bluetooth/bluetooth.ko
kernel/net/bluetooth/hidp/hidp.ko: kernel/net/bluetooth/l2cap.ko kernel/lib/crc16.ko kernel/net/bluetooth/bluetooth.ko
kernel/lib/crc16.ko:

The modules.dep file is there:

[unilx@Online 2.6.38-rc5]$ pwd
/lib/modules/2.6.38-rc5
[unilx@Online 2.6.38-rc5]$ ls
build   modules.alias      modules.builtin      modules.ccwmap  modules.dep.bin  modules.ieee1394map  modules.isapnpmap  modules.order   modules.seriomap  modules.symbols      modules.usbmap
kernel  modules.alias.bin  modules.builtin.bin  modules.dep     modules.devname  modules.inputmap     modules.ofmap      modules.pcimap  modules.softdep   modules.symbols.bin  source
[unilx@Online 2.6.38-rc5]$ 

When i use "make xconfig" to make a new /usr/src/linux-2.6.37-ARCH/.config file am i making a mistake on the configuration?
Is there a guide on how to configure the .config file?


14) Build a ramdisk if necessary (Recommended)

When i type in "mkinitcpio -k 2.6.38-rc5-ARCHMOD -g /boot/kernel26-2.6.38-rc5-ARCHMOD.img" i get this error:

[unilx@Online linux-2.6.38-rc5]$ sudo mkinitcpio -k 2.6.38-rc5-ARCHMOD -g /boot/kernel26-2.6.38-rc5-ARCHMOD.img
:: Begin build
:: Parsing hook [base]
:: Parsing hook [udev]
:: Parsing hook [autodetect]
FATAL: Could not load /lib/modules/2.6.38-rc5-ARCHMOD/modules.dep: No such file or directory
find: `/lib/modules/2.6.38-rc5-ARCHMOD': No such file or directory
:: Parsing hook [pata]
:: Parsing hook [scsi]
:: Parsing hook [sata]
:: Parsing hook [filesystems]
:: Generating image '/boot/kernel26-2.6.38-rc5-ARCHMOD.img'...SUCCESS
[unilx@Online linux-2.6.38-rc5]$ 

Offline

#2 2011-02-21 02:42:17

falconindy
Developer
From: New York, USA
Registered: 2009-10-22
Posts: 4,111
Website

Re: modprobe:FATAL:Could not load modules.dep

There's a naming issue somewhere in here. modprobe fails looking for the directory /lib/modules/2.6.38-rc5-ARCHMOD, but your $PWD when you run `ls' appears to be /lib/modules/2.6.38-rc5/.

Offline

Board footer

Powered by FluxBB