LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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-18-2003, 01:13 PM   #1
LooseCanon
Member
 
Registered: Aug 2003
Location: Canada
Distribution: RH, Fedora, Debian
Posts: 128

Rep: Reputation: 15
no i686 kernel source?


I just took a gander at Red Hat site and checked for i686 kernel source rpm but didn't find anything? If I use the "kernel-2.4.20-20.9.i686.rpm" as an update to my 20.6 kernel can I safely use the i386 kernel source or is everything gonna be messed up?

Right now running uname -m I get "i686".

I'm afraid that if I use i386 kernel source then I'll be getting problems compiling programs later - true?
 
Old 09-18-2003, 02:49 PM   #2
Andronik
Member
 
Registered: Sep 2003
Location: Estonia Tartu
Distribution: Debian, edition depends on what i run it, wheezy on main box.
Posts: 91

Rep: Reputation: 15
Wink i am just newb

But you should read a bit about compiling the kernel.

Short answer, kernel source contains code maturity and platform specific options, i386 is just one of them, for older intel platform machines, left there mostly for compatibility purposes.
Use 686 if you are on x86 processor better than pentium MMX, but do your homework first.
 
Old 09-18-2003, 05:08 PM   #3
LooseCanon
Member
 
Registered: Aug 2003
Location: Canada
Distribution: RH, Fedora, Debian
Posts: 128

Original Poster
Rep: Reputation: 15
hmm.. RH9 installation put in i686 by default - 2.4.20-20.6 .. Before updating I checked the kernel arch using "uname -m" and that's what the output was --> i686. (I'm running a P4 2.5GHz 533FSB & 1.5G's DDR333 RAM).

I used the 20.9 update rpm (i686) but now that I want to get the kernel sources I'm stumped.

What can I use for kernel source?
 
Old 09-18-2003, 05:13 PM   #4
wapcaplet
LQ Guru
 
Registered: Feb 2003
Location: Colorado Springs, CO
Distribution: Gentoo
Posts: 2,018

Rep: Reputation: 48
I am fairly certain that the kernel source is not specific to any particular architecture. If you download the sources from kernel.org, you can compile them for whatever architecture you want (386, 486, athlon, or whatever).

Even if you do compile for 386, it will still work fine on your 686. I don't know of any problems you'd run into by having a 386-optimized kernel. It might run a tiny bit faster if it's optimized for your architecture, but they are compatible.
 
Old 09-18-2003, 05:22 PM   #5
LooseCanon
Member
 
Registered: Aug 2003
Location: Canada
Distribution: RH, Fedora, Debian
Posts: 128

Original Poster
Rep: Reputation: 15
thanks wapcaplet.

I may stick with RH's kernel source files - don't want anything to be messed up if I get the true kernel from kernel.org... Lord knows RH tweaked the kernel enough to make something not work if I got anything other than their kernel stuff...
 
  


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
2.6.11-6mdk-i686-up-4GB kernel source install Grasshopper Mandriva 2 07-11-2005 02:36 PM
2.6.9-5.EL-hugemem-i686, 2.6.9-5.EL-i686, 2.6.9-5.EL-smp-i686 , Which? arsham Linux - General 2 05-07-2005 11:21 PM
2.6.9-5.EL-hugemem-i686, 2.6.9-5.EL-i686, 2.6.9-5.EL-smp-i686 , Which? arsham Linux - Enterprise 1 05-07-2005 07:20 PM
compiling from source with i686 optimizations ganja_guru Linux - Software 6 11-08-2004 09:26 AM
I need kernel source 2.4.20-20.9 i686 Peit Linux - General 8 10-10-2003 03:41 AM

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

All times are GMT -5. The time now is 09:19 PM.

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