Latest LQ Deal: Latest LQ Deals
Go Back > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Debian This forum is for the discussion of Debian Linux.


  Search this Thread
Old 11-22-2006, 05:17 PM   #1
Registered: Mar 2004
Distribution: Debian Lenny
Posts: 181

Rep: Reputation: 30
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)
Old 11-23-2006, 06:22 AM   #2
Senior Member
Registered: Jul 2004
Location: Lower Rhine region, Germany
Distribution: Slackware64 14.2 and current, SlackwareARM current
Posts: 1,640

Rep: Reputation: 144Reputation: 144
On my Slackware machine /lib/modules/ is just a symlink to /usr/src/linux- 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.
Old 11-23-2006, 10:46 AM   #3
Senior Member
Registered: Sep 2005
Location: Out
Posts: 3,307

Rep: Reputation: 57
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.
Old 11-25-2006, 09:58 AM   #4
Registered: Mar 2004
Distribution: Debian Lenny
Posts: 181

Original Poster
Rep: Reputation: 30
Thank you for your help.

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


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
X broken [debian 2.6.8-2-386 stable+nVidiaGeForce2MX400+via] pyxel Linux - Software 0 12-15-2005 11:38 AM
No /lib/modules/2.6.10-5-386/build kheno Ubuntu 1 05-25-2005 09:46 AM
Slack9 - no PPP (can't open dependencies file /lib/modules/2.4.18/modules.dep) bluehz Slackware 1 05-04-2003 03:32 PM
Re: modprobe: Note: /etc/modules.conf is more recent than lib/modules/2.4.9/modules.d Andy.M Linux - General 1 01-24-2002 02:50 AM
Re: modprobe: Note: /etc/modules.conf is more recent than lib/modules/2.4.9/modules.d Andy.M Linux - Newbie 2 01-24-2002 02:40 AM > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 01:54 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration