LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Kernel source update (https://www.linuxquestions.org/questions/linux-newbie-8/kernel-source-update-226251/)

edgefield 09-03-2004 03:14 PM

Kernel source update
 
I have Suse 9.1 (the sigle disk instilation personal version.)

I need to install a driver so i can get on the internet, however it required the kernel source.

How do i add the source to the existing kernel.?

Is ther a setup or do i simplily exreact and place.?

Where can i get this source as it is not on the cd?

NLR 09-03-2004 03:17 PM

Have you checked the /usr/src/< Kernel Version Here > directory? This is where the kernel source files should be. I do also believe that Suse comes with the source, most distros do.

Andrew

edgefield 09-03-2004 03:23 PM

no, its not there


it was left out to save space

NLR 09-03-2004 03:30 PM

What is the version of the kernel you are running?

Andrew

NLR 09-03-2004 03:33 PM

This should be what your looking for:

ftp://ftp.nluug.nl/pub/os/Linux/dist...7.104.i586.rpm

Andrew

edgefield 09-03-2004 03:33 PM

i belive it is 2.6.4

edgefield 09-03-2004 03:35 PM

but that says 2.6.5, will it work, and how do i use it?

NLR 09-03-2004 03:42 PM

if your kernel is 2.6.4 no it will not work... Hold on well I do some research really quick

Andrew

NLR 09-03-2004 03:44 PM

do a uname -r and tell me what it says... I need to be sure we have the right kernel version

edgefield 09-03-2004 03:49 PM

2.6.4-52-defalt

I found a source matching that (well almost 2.6.4-54) on the parent directory of that url u gave me.

I still dont know how to install.

NLR 09-03-2004 03:56 PM

The source must be the of the same relase your kernel is, or modules will not compile right. That one you found will not work... Let me look some more...

Andrew

edgefield 09-03-2004 03:58 PM

Found ithere


will that work

NLR 09-03-2004 03:59 PM

What your looking for is this:
ftp://mirror.switch.ch/mirror/suse/s....4-52.i586.rpm

To use this download it, and than cd into the dir you downloaded it to, than run

Code:

rpm -i kernel-default-2.6.4-52.i586.rpm
You than should have the source in /usr/src/

Andrew

NLR 09-03-2004 03:59 PM

Yes yours will work too

Andrew

edgefield 09-03-2004 04:00 PM

thanks for your help & patiants.


All times are GMT -5. The time now is 08:33 AM.