LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-02-2004, 07:26 AM   #1
PeRKoniX
LQ Newbie
 
Registered: Aug 2004
Posts: 8

Rep: Reputation: 0
Question Fedore Kernel Source location??


Hi,

I trying to install a driver on Fedora, When I run 'make config' it asks for the Kernel source location. Where can I find that???
 
Old 11-02-2004, 07:41 AM   #2
paicolman
Member
 
Registered: Sep 2004
Location: Switzerland
Distribution: Fedora Core 2
Posts: 48

Rep: Reputation: 16
/usr/src/<your linux dist>

where <your linux dist> is something like "linux-2.6.8-..."

just an advice of a newbie who has compiled and recompiled the kernel: Be aware of what you do, and try to do a make xcongif or make gconfig or whatever instead of make config. with xconfig, gconfig, etc. you get a nice GUI to select the options with config only, you get hundreds of promts to be answered by yes/n/m...

Which driver are you installing?
 
Old 11-02-2004, 07:52 AM   #3
PeRKoniX
LQ Newbie
 
Registered: Aug 2004
Posts: 8

Original Poster
Rep: Reputation: 0
Quote:
Originally posted by paicolman
/usr/src/<your linux dist>

where <your linux dist> is something like "linux-2.6.8-..."

just an advice of a newbie who has compiled and recompiled the kernel: Be aware of what you do, and try to do a make xcongif or make gconfig or whatever instead of make config. with xconfig, gconfig, etc. you get a nice GUI to select the options with config only, you get hundreds of promts to be answered by yes/n/m...

Which driver are you installing?
Its a driver for a wireless nic, and the Directory /usr/src/linux-2.6.... does not exist. there's no Folder that begins with linux, and the folders that are there are all empty.
 
Old 11-02-2004, 08:04 AM   #4
paicolman
Member
 
Registered: Sep 2004
Location: Switzerland
Distribution: Fedora Core 2
Posts: 48

Rep: Reputation: 16
No folders under /usr/src/ ?
I think that your kernel sources are not installed yet, it gets installed if you select all the "development" packages. It can be installed with yum or apt-get, I think, but I don't know exactly how, sorry...
 
Old 11-02-2004, 08:11 AM   #5
PeRKoniX
LQ Newbie
 
Registered: Aug 2004
Posts: 8

Original Poster
Rep: Reputation: 0
This Is my current src directory structure:

.:
. .. redhat

./redhat:
. .. BUILD RPMS SOURCES SPECS SRPMS

./redhat/BUILD:
. ..

./redhat/RPMS:
. .. athlon i386 i486 i586 i686 noarch

./redhat/RPMS/athlon:
. ..

./redhat/RPMS/i386:
. ..

./redhat/RPMS/i486:
. ..

./redhat/RPMS/i586:
. ..

./redhat/RPMS/i686:
. ..

./redhat/RPMS/noarch:
. ..

./redhat/SOURCES:
. ..

./redhat/SPECS:
. ..

./redhat/SRPMS:
. ..

There are no files in any of the directory, I will now try installe Development packages(if I can find them).
 
Old 11-02-2004, 08:52 AM   #6
looseCannon
Member
 
Registered: Dec 2003
Location: Little Rock, AR
Distribution: Fedora Core 2, AIX, HP-UX, Solaris, Whitebox
Posts: 193

Rep: Reputation: 31
As root run 'yum install kernel-source'. This will pull down the source for the latest kernel. Of course, this will do you no good if you don't intend to run the newest kernel. If you need an older version of the kernel source you can go to http://download.fedora.redhat.com/pu...pdates/2/i386/ to find and download it.
 
Old 11-02-2004, 10:00 AM   #7
PeRKoniX
LQ Newbie
 
Registered: Aug 2004
Posts: 8

Original Poster
Rep: Reputation: 0
I installed the kernel source of the newest fedora linux distr. but I still got errors and all things going terrable wrong,... here's a thread I started earlier this year:
http://www.linuxquestions.org/questi...ighlight=rt400

I gave up hope... I asked a friend if he could help me and I showed the above thread to him and he said to me that the problem was probably a to old kernel and that I should install Fedora. So I did and it still doesn't work.

When I look in the driver directory of the CD, i find rt2400.o isn't there a way to install it manually or something cause I don't trust the supplied install script at all.
 
  


Reply


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
Kernel Source Location alltime Linux - General 2 10-18-2005 01:21 AM
kernel source location in fedora pwardy Fedora 13 07-12-2005 03:56 AM
Location of kernel source Echo Kilo Linux - General 2 12-19-2004 07:15 PM
kernel source location on Sid 1madstork Debian 8 12-04-2004 09:04 AM
location of kernel source joe_sixpack Linux - General 2 02-19-2004 04:45 AM


All times are GMT -5. The time now is 06:32 AM.

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