[opensuse] Fatal error: Could not load /lib/modules/....... /module.dep: No such file or dir

2007-03-25 Thread mikecoan
I am running opensuse 10.2 32bit. I need to compile the kernel with
CONFIG_USB_DEVICEFS enabled because of certain USB issues and vmware
running a Windows guest.

My current kernel is 2.16.18.8-0.1-default.

My goal was to to compile a kernel with the CONFIG_USB_DEVICEFS enabled
and call it 2.6.18.8-0.1-usb.

I did the following steps, with source and compiler loaded.

cd /usr/src/linux
make mrproper
make menuconfig and add the required usb support
make
make modules_install
make install
mkinitrd.

After doing these steps all appears to be in order. Boot contains config,
System.map, initrd, and vmliz files for 2.6.18.8-0.1-usb (as well as for
2.6.18.8-0.1-default)  Grub has entries for both the -default and -usb
kernels.  The -default entry boots and runs fine.

The -usb entry starts the boot, gets through various things and then gives
the error message

Fatal error Could not load /lib/modules/2.6.18.8-0.1-usb/modules.dep:  No
such files or directory

The file, however, does exist.  /ib/modules/2.16.8-0.1-usb/modules.dep
exists and is essentially identical to /lib/modules/2.6.18.8-0.1-default. 
the only difference is that 2.6.18.8-0.1-default contains a reference to
two vmware modules not yet contained in 2.6.18.8-0.1-usb.

I do notice that the /boot directory contains the following files

symsets-2.6.18.8-0.1-default.tar.gz
symtypes-2.6.18.8-0.1-default.gz
symvers-2.6.18.8-0.1-default.gz

for which there is no equivalent 2.6.18.8-01.1-usb

Any pointers would be appreciated

Mike



-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [opensuse] Fatal error: Could not load /lib/modules/....... /module.dep: No such file or dir

2007-03-25 Thread Anders Johansson
On Sunday 25 March 2007 17:42, [EMAIL PROTECTED] wrote:
 Any pointers would be appreciated

It might help if you posted your menu.lst. Could it perhaps be that your 
initrd entry for the -usb kernel refers to the standard initrd, and not 
the -usb?

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [opensuse] Fatal error: Could not load /lib/modules/....... /module.dep: No such file or dir

2007-03-25 Thread mikecoan
Anders,

 On Sunday 25 March 2007 17:42, [EMAIL PROTECTED] wrote:
 Any pointers would be appreciated

 It might help if you posted your menu.lst. Could it perhaps be that your
 initrd entry for the -usb kernel refers to the standard initrd, and not
 the -usb?


That is impressive.  That is exactly right.  I changed the menu.lst to
reference initrd-2.6.18.8.0.1-usb and it booted fine.  I never would hve
suspected that, although I suppose it would be logical to check menu.lst
after compiling a new kernel.

I am answering from home via Webmail, so I am not sure this will get
threaded properly.  i hope you see the response, Anders, because I am
grateful for such a quick and accurate response.

Mike


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]