Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 01-31-2007, 07:56 PM   #1
LQ Newbie
Registered: Dec 2006
Posts: 4

Rep: Reputation: 0
mad wifi drivers installation error

/bin/sh: line 0: cd: /lib/modules/ No such file or directory *** /lib/modules/ is missing, please set KERNELPATH. Stop

i was trying to install the drivers for my atheros card on my slackware 11.0 partition and i get this error. when i try the "make" command i get that error. Anyone seen this before?
Old 01-31-2007, 08:49 PM   #2
LQ Guru
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1291Reputation: 1291Reputation: 1291Reputation: 1291Reputation: 1291Reputation: 1291Reputation: 1291Reputation: 1291Reputation: 1291
Yup, it means you don't have the kernel source installed or linked properly. Install it and make sure it does the following:

Originally Posted by H_TeXMeX_H
The kernel source is needed to compile kernel modules (such as nvidia or ati proprietary display drivers, and other things). Usually scripts look through one or all of the following paths:

/lib/modules/`uname -r`/build
/lib/modules/`uname -r`/source
/usr/src/linux-`uname -r`
So depending on how the script is made it may or may not find the kernel source. It's probably best to have the source symlinked from one of the above to all the others (usually kernel source is in '/usr/src/linux-`uname -r`' and symlinked to the other places)
Old 01-31-2007, 11:42 PM   #3
Registered: Dec 2005
Location: ~
Distribution: Slackware -current, OpenBSD
Posts: 452

Rep: Reputation: 43 may help


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
mad wifi on FC5 2.6.16-1.2096_FC5 dehavik Linux - Hardware 19 05-07-2006 04:32 PM
FC1 rhythmbox error : "Failed to create mad element; Check your installation." marco75 Fedora 4 03-03-2005 03:28 PM
alsa installation driving me mad BBB Linux - Hardware 14 11-21-2004 05:18 PM
Drivers for Mad Dog 5-in-1 jheis Linux - Hardware 0 03-03-2004 02:03 PM
:mad: Installation prob :mad: soodvarun Red Hat 0 09-12-2003 01:44 AM > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 07:05 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration