LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices


Reply
  Search this Thread
Old 09-16-2003, 06:54 AM   #1
GingerPrince
LQ Newbie
 
Registered: Sep 2003
Location: Manchester
Distribution: RedHat 9.0
Posts: 8

Rep: Reputation: 0
RH9.0 Kernel Source 2.4.20-9 doesn't appear to install


Hi.

I'm trying to update the kernel that comes with rh9.0 2.4.20-8 to 2.4.20-9 and i've downloaded the binary rpm and the source rpm. I installed the binary rpm and can boot it but my NVIDIA fx5200 fails to load because the drivers i downloaded need to be rebuilt for 20-9. (they work fine on 20-8). When the driver script starts running it detects that it needs to rebuild some interface layer for the 20.9 kernel and trys to do so. It then reports that it can't find the kernel source. I can't find it anywhere either. I can find the 20-9 binaries no probs, and as i say, i can boot that version into text mode.

When I try to install the src rpm i do a 'rpm -ivh <package>'. It appears to work ok. it moans about some key not being correct but it still unpacks it all ok. I get the same moan about the binary but it works fine.

any help would be much appreciated.

Matt
 
Old 09-16-2003, 07:24 AM   #2
cnjohnson
Member
 
Registered: Nov 2002
Location: Nashville
Distribution: FreeBSD, Linux, OS-X
Posts: 544

Rep: Reputation: 30
What is the exact name of the kernel source file you installed?

Cheers--
Charles
 
Old 09-16-2003, 07:26 AM   #3
GingerPrince
LQ Newbie
 
Registered: Sep 2003
Location: Manchester
Distribution: RedHat 9.0
Posts: 8

Original Poster
Rep: Reputation: 0
The binary rpm was kernel-2.4.20-20.9.athlon.rpm and the src rpm was kernel-2.4.20-20.9.src.rpm.
 
Old 09-16-2003, 07:36 AM   #4
cnjohnson
Member
 
Registered: Nov 2002
Location: Nashville
Distribution: FreeBSD, Linux, OS-X
Posts: 544

Rep: Reputation: 30
Ooops. You grabbed the wrong one, I am thinking. I believe you want the one named something like

kernel-source-2.4.20-20.9.athlon.rpm

What you grabbed was the sources needed to build the RPM, the SRPM so called. It does have the kernel sources in it, but it puts then is a different set of directories (check our usr/src/linux-2.4/SRPM, or something like that).

Look for the other one "kernel-source-whatever" and see if that isn't what you wanted.

Cheers--
Charles
 
Old 09-16-2003, 07:43 AM   #5
misc
Senior Member
 
Registered: Apr 2003
Distribution: Red Hat + Fedora
Posts: 1,084

Rep: Reputation: 54
kernel-source-2.4.20-20.9.i386.rpm is the one you want. Install it and browse through "rpm -ql kernel-source | less".
 
Old 09-16-2003, 10:36 AM   #6
GingerPrince
LQ Newbie
 
Registered: Sep 2003
Location: Manchester
Distribution: RedHat 9.0
Posts: 8

Original Poster
Rep: Reputation: 0
thanks lads. are you sure it's the i386 flavour i need and not the athlon/i686 or something flavour? whats the difference between the i686 and athlon anyway?
 
Old 09-16-2003, 10:54 AM   #7
misc
Senior Member
 
Registered: Apr 2003
Distribution: Red Hat + Fedora
Posts: 1,084

Rep: Reputation: 54
There is no kernel-source binary rpm for .athlon or .i686.

The included kernel source code is generic and the same for the different x86 compatible architectures. Red Hat's kernel config files are included, too. Just have a look at the package contents.
 
Old 09-16-2003, 12:53 PM   #8
cnjohnson
Member
 
Registered: Nov 2002
Location: Nashville
Distribution: FreeBSD, Linux, OS-X
Posts: 544

Rep: Reputation: 30
You will have to look. The Athlon may be just a "386" in diguise just like the Pentium. My P4 gets the same 386 Kernel that, well, 386's do. If I want the kernel "optimized" for the P4, I have to get the 386 sources and build the kernel myself.

So, you'll have to look around and see if there is a native Athlon kernel source; otherwise I would think that the '386' would do. YMMV.

Cheers--
Charles

Last edited by cnjohnson; 09-16-2003 at 12:55 PM.
 
Old 09-16-2003, 02:43 PM   #9
locutus233
Member
 
Registered: Aug 2003
Location: South Surrey, BC
Distribution: Redhat, Gentoo
Posts: 47

Rep: Reputation: 15
try looking in /usr/src/

for the kernel source files
 
Old 09-21-2003, 03:24 AM   #10
sm0epm
LQ Newbie
 
Registered: Sep 2003
Location: Sweden
Distribution: RH9, RH7.3, WIN98, WIN XP
Posts: 1

Rep: Reputation: 0
Did you succeed to install om RH9?

Hi folks,

I have just started configure my new box with an ASUS P4P800deluxe mainboard, a NVIDIA fx5200 graphics and dual boot for winxp and RH9 with GRUB. Running CPU P4 2.4/800.

After some initial problems with the screen communication I succeeded by downloading the display driver from NVIDIA website and editing in the xconfig file.

But - now I have problems with the network connection and the audio neither of them work.

I have tried to download the source rpm and also to patch the kernel with the patch file that is provided on their site but with no success. My kernel 2.4.20-8.

If you are up and running, how did you fix the problem?

Regards from Stockholm,
Ebbe
 
  


Reply



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
trying to find/install kernel-source or kernel-headers timsch75 Slackware 3 10-22-2005 09:17 AM
10.1 install kernel and kernel-source different - build fails Feebles Mandriva 2 06-10-2005 06:58 PM
RH9 2.4.20-31.9 kernel source missing hosehead72 Red Hat 2 09-21-2004 02:16 AM
RH9 2.4.22 kernel source install trouble bitamois Linux - Newbie 4 05-14-2004 03:22 PM
How to install Quake 2 and Frozen Bubble source? (rh9) RedHatMasta Linux - Software 1 01-22-2004 06:29 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat

All times are GMT -5. The time now is 09:43 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
Open Source Consulting | Domain Registration