LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 04-05-2002, 11:29 AM   #1
jaycee999
Member
 
Registered: Mar 2002
Location: From: Nashville,Tn Currently: Massachusetts
Distribution: Slackware 9.0
Posts: 39

Rep: Reputation: 15
Where's my kernel source located???



Hello everyone!
There is actually more than one question.
I'm gonna try to install a USB cd-rw on my laptop that's running
Mandrake Linux 8.1. Sensing that all may not go well and I may need to update my kernel for driver support, I've been looking for my kernel source. Everything I read says that the kernel source should be in /usr/src/linux, but all I've got under /usr/src is /RPM and all the subdirectories under /RPM are empty. Where could the kernel source be? Are there any commands to help me locate it? If i did update the kernel would it be okay to unpack and configure the new one in /usr/src like the I've been reading?

Also, my current kernel is 2.4.8-26. If i were to upgrade to 2.4.18 would it be better to patch all the way up to .18 or just get the whole 2.4.18 kernel? What are the differences between the two, if any.

Sorry for all the questions. I'm a newbie.
Thanks for your previous and future help.
 
Old 04-05-2002, 11:36 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,384

Rep: Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963
ok, you need to install the kernel-sources rpm specifically, then it will be there.

i'd not personally recommend patching 10 versions, bit of a risk for a newbie, you can get the rpms for 2.4.18-6mdk from rpmfind.net tho, and they should install fine. BUT they've hardcoded in a REALLY nasty frambuffer logo type thing. to get rid of this i just took the config file from that rpm package, and compiled the original kernel source with it.. looks much better imho. but that's irrelevant!
 
Old 04-07-2002, 01:12 PM   #3
jaycee999
Member
 
Registered: Mar 2002
Location: From: Nashville,Tn Currently: Massachusetts
Distribution: Slackware 9.0
Posts: 39

Original Poster
Rep: Reputation: 15
Cool. Thanks for the info acid_kewpie. I appreciate it.
 
  


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
Where is kernel header files located? Oh Cisco Debian 1 10-22-2004 06:11 AM
Where is the linux kernel source code located in mandrake 10? SGFHK321 Linux - Newbie 6 07-12-2004 10:52 PM
Where are sndconfig and isapnp tools located in RHEL3 (ws) kernel version 2.4.21-4 ( k_c_kumar Red Hat 8 02-04-2004 11:57 AM
where should kernel be located killer_bunny Linux - Newbie 14 12-21-2003 06:10 PM
Mandrake 8.2: Where exactly is the Kernel located? Doalwa Linux - Newbie 2 05-10-2002 02:17 AM


All times are GMT -5. The time now is 11:39 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration