LinuxQuestions.org
Support LQ: Use code LQCO20 and save 20% on CrossOver Office
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook
User Name
Password
Linux - Laptop and Netbook Having a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).

Notices

Reply
 
LinkBack Search this Thread
Old 06-22-2004, 12:56 AM   #1
eric_2004
LQ Newbie
 
Registered: May 2004
Posts: 6

Rep: Reputation: 0
linux update


Hi,

I have linux RH7.3 (kernel 2.4.18-3) on my inspiron 8600. But I can not get the whole thing work properly( like Ethernet, Wireless LAN, CD/DVD writer..), So I figured it would help to upgrade. I then upgrade to RH9.0 (kernel 2.4.20-6). The funny thing is in the /usr/src directory, I could not see a linux-2.4.20-6. But lots of head file should be here to compile the broadcom 4400 ethernet driver. Where is the file that should be here?

Thanks.

-Eric
 
Old 06-22-2004, 03:03 AM   #2
hw-tph
Senior Member
 
Registered: Sep 2003
Location: Sweden
Distribution: Debian
Posts: 3,032

Rep: Reputation: 56
You need to install the corresponding kernel-source package (kernel-source-2.4.20-6.i386.rpm ?).

Håkan
 
Old 06-22-2004, 11:45 AM   #3
eric_2004
LQ Newbie
 
Registered: May 2004
Posts: 6

Original Poster
Rep: Reputation: 0
Hi, Hakan,

I tried to run

rpm -Uvh Kernel-source-2.4.20-6.rpm,

but nothing happened. It just say: kernel-2.4.20-6 already installed already.

Anyway can I find just the source code (not the rpm ) to put there?

Thanks.

-Eric
 
Old 06-22-2004, 06:10 PM   #4
hw-tph
Senior Member
 
Registered: Sep 2003
Location: Sweden
Distribution: Debian
Posts: 3,032

Rep: Reputation: 56
What exactly do you have in your /usr/src directory? Most drivers and applications that require the Linux source code will expect to find it in /usr/src/linux - i.e. not in /usr/src/linux-2.4.20-6 or something like that. Since you can have several different kernel source trees installed at the same time, is custom to create a symbolic link called /usr/src/linux, pointing to the actual directory where the source of the currently used kernel is stored. If you do not have this symlink you can create it using ln -s /usr/src/linux-whatever-your-source-dir-is /usr/src/linux, or if I might guess ln -s /usr/src/linux-2.4.20-6 /usr/src/linux. This way other applications should be able to find the source.


Håkan
 
Old 06-23-2004, 12:16 PM   #5
eric_2004
LQ Newbie
 
Registered: May 2004
Posts: 6

Original Poster
Rep: Reputation: 0
HaKan,

That is what I said in post #1, I can not find the directory /usr/src/linux-2.4.20-6, so I can not make a symbolic link between linux and linux-2.4.20-6. (The linux-2.4.20-6 does not exist)

-Eric
 
Old 10-07-2004, 01:06 PM   #6
eriznik
LQ Newbie
 
Registered: Oct 2004
Posts: 1

Rep: Reputation: 0
I have a very similar problem. I am trying to install drivers for a wlan device. Makefile tries to include a file called '.config' and the path on which the Makefile looks for '.config' is

/lib/modules/2.4.20-6/build

where 'build' is a link to

/usr/src/linux-2.4.20-6

The latter does not exist. The only thing in /usr/src are two directories; 'debug' and 'redhat'. 'debug' is empty and 'redhat' contians a bunch of empty subdirectories. If fact, I can't find this '.config' file anywhere. Any suggestions? Thanks.

E
 
Old 10-07-2004, 02:46 PM   #7
hw-tph
Senior Member
 
Registered: Sep 2003
Location: Sweden
Distribution: Debian
Posts: 3,032

Rep: Reputation: 56
You should install the kernel source package that matches your installed kernel. If you are running linux-2.4.20-6 then the source directory will most likely be /usr/src/linux-2.4.20-6.


Håkan
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
redhat linux update databse's type and utility like windows update services kamii47 Linux - General 1 04-18-2005 05:50 AM
Help me update my linux os mljohns4 Linux - General 2 02-12-2004 12:09 PM
Linux Update - Necessary?? jt1020 Linux - General 10 06-06-2003 05:42 AM
Linux Update?? jt1020 Linux - General 5 04-28-2003 03:31 PM
update linux 7.3 tszhim Linux - General 6 02-28-2003 09:39 AM


All times are GMT -5. The time now is 04:55 PM.

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
Open Source Consulting | Domain Registration