LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   broken link in /lib/modules/2.6.8-2-386 (https://www.linuxquestions.org/questions/debian-26/broken-link-in-lib-modules-2-6-8-2-386-a-504019/)

jojotx0 11-22-2006 04:17 PM

broken link in /lib/modules/2.6.8-2-386
 
I've been contemplating this for a little while.

I installed the kernel headers and kernel source a few weeks ago, and on install it created everything it needed. But for some strange reason the link /lib/modules/2.6.8-2-386/source links to "/home/horms/tmp/debian-kernel-test/kernel-image-2.6.8-i386/kernel-image-2.6.8-i386-2.6.8/install-386"
This doesn't not exist, and never has.
Any one know why reinstalling, or reconfiguring the packages doesn't fix it. Or why this is even happening?

I really need to fix this, because with out fixing it, I can't install ALSA drivers. (tried the debian alsa packages, but it can't find my card...intel8x0)

titopoquito 11-23-2006 05:22 AM

On my Slackware machine /lib/modules/2.6.17.13/source is just a symlink to /usr/src/linux-2.6.17.13. It will probably be a packaging error I guess? I would remove the source symlink and create the right one for your kernel source folder.

nx5000 11-23-2006 09:46 AM

This "source" link is supposed to point to the source tree which was used to compile your kernel (hormes seems to be the debian person that did it)
If you compile your own kernel from source, this link will point to the kernel source root.

In general, installing drivers doesn't need this link because you only need kernel-headers. This is done automatically if u use module-assistant (you should use this for alsa)
If you really need the source (in rare case) then apt-get install kernel-source-2.6.8 (don't have the name in mind) and check that the source link points to /usr/src/linux-source-2.6.8.

jojotx0 11-25-2006 08:58 AM

Thank you for your help. :)

I decided to use module-assistant. I like it. :)


All times are GMT -5. The time now is 07:23 AM.