LinuxQuestions.org
Visit Jeremy's Blog.
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 12-06-2003, 04:20 PM   #1
amayer
LQ Newbie
 
Registered: Dec 2003
Location: Philadelphia
Posts: 8

Rep: Reputation: 0
install/configure kernel sources questions


Hi,

I'm trying to install the drivers for a wireless adaptor (D-Link 120d with Prism 2 chipset?? ) on my SuSE Personal 9.0. To do that, I need the "configured" kernel sources. I downloaded the kernel-sources-2.4.21-144.src.rpm from SuSE's ftp server. I put this file in my home directory, and rpm -Uvh 'ed the file, and I think it unpacked. (I see some files in /usr/src/packages/SOURCES). There are also a lot of .tar.bz2 files.

I need to know what to do now. Are the kernel sources configured? Do I need to unzip those other tar's? Is there a program or command I should run now to configure the kernel source tree? I've been searching for a while on the 'Net now, but have not been successful here.

TIA,

Ash
 
Old 12-06-2003, 04:28 PM   #2
h/w
Senior Member
 
Registered: Mar 2003
Location: New York, NY
Distribution: Debian Testing
Posts: 1,286

Rep: Reputation: 46
till someone who uses rpm-based distros writes back ...

if you see a .bz2 file with the kernel descrip, then you will have to work on that. i believe "rpm -Uvh" on a source rpm goes and just unzips and places it in the right dir.

the kernel gets installed if you had done it on a binary rpm, not one which was src rpm.

look at the redhat.com manuals, or the kernel-howto on tldp.org.

i had posted this too: http://www.linuxquestions.org/questi...hreadid=122367

i wouldnt suggest following what i said (but maybe da_one's cos his is tried n tested?) until you have gone thro either suse or redhat manuals for installing kernel from src rpm (it wont be much different, if at all, but i dont want you getting stuck someplace and having a headache.)

Last edited by h/w; 12-06-2003 at 04:30 PM.
 
Old 12-06-2003, 05:30 PM   #3
amayer
LQ Newbie
 
Registered: Dec 2003
Location: Philadelphia
Posts: 8

Original Poster
Rep: Reputation: 0
I I tried that tldp Kernel HOWTO earlier, but it's been removed for updating.

I don't know if I made it clear enough, I'm not trying to compile the kernel, I just need the kernel sources to install my device driver.
 
Old 12-06-2003, 08:05 PM   #4
h/w
Senior Member
 
Registered: Mar 2003
Location: New York, NY
Distribution: Debian Testing
Posts: 1,286

Rep: Reputation: 46
ok. where is your source tree? under /usr/src/ in a folder called linux?
 
Old 12-07-2003, 10:32 AM   #5
amayer
LQ Newbie
 
Registered: Dec 2003
Location: Philadelphia
Posts: 8

Original Poster
Rep: Reputation: 0
what's there of my source tree, just what i rpm'd, is in a folder /usr/src/packages/SOURCES. It just got put there.
 
Old 12-07-2003, 11:20 AM   #6
amayer
LQ Newbie
 
Registered: Dec 2003
Location: Philadelphia
Posts: 8

Original Poster
Rep: Reputation: 0
Also, there is no folder called /usr/src/linux. I have gathered from what I have read that this is created as a link at some stage in the process
 
  


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
need to install full kernel sources? vbguru12000 Debian 9 10-25-2005 01:33 PM
Install kernel sources? cheesekeeper Fedora 2 02-04-2005 06:05 AM
Help!!! Cannot install the kernel sources!!! RJARRRPCGP Linux - Newbie 3 02-15-2004 10:14 PM
I didn't install full kernel sources? nutshell Linux - General 6 05-08-2003 12:44 PM
How do I install the kernel sources?? justiceisblind Linux - Newbie 12 03-11-2002 12:36 PM


All times are GMT -5. The time now is 11:02 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