On 4/26/05, Paul Kain <[EMAIL PROTECTED]> wrote:
> #1) Does it exist?
> 
> slocate modules.dep
> 
> gentoo root # slocate modules.dep
> /usr/share/man/man5/modules.dep/5/gz
> 
> #2) Can you create it?
> 
> gentoo root # depmod -a slocate modules.dep
> WARNING: couldn't open directory /lib/modules/2.6.11-gentoo-r3: no
> such file or directory
> FATAL: could not open  /lib/modules/2.6.11-gentoo-r3/modules.dep.temp
> for writing: No such file or directory
> 
> I uess thats bad huh ?

Very bad, but my command was inaccurate according to this email.
Please try once more:

depmod -a

and then do 

ls /lib/modules/2.6.11-gentoo-r3. slocate wouldn't have worked unless
you did another updatedb. ls will always work

One more command you should post back is just 

ls -la /lib/modules


I think that you missed a step when you built your kernel

1) make menuconfig

to set up the kernel and create .config

2) make

to build the kernel

3) make modules_install

to install the modules. This creates the directory
/lib/modules/2.6.11-gentoo-r3 for this kernel. I think you did not do
this step or the directory would be there.

4) mount boot;cp arch/i386/boot/bzImage /boot/XXX; vi grub.conf/etc.

There is one other possibilitiy. Please do 

ls -al /usr/src

If you linux link is set incorrectly I don't know what happens in this case.

This problem should be very easy to figure out and fix.

Cheers,
Mark

-- 
gentoo-user@gentoo.org mailing list

Reply via email to