LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Enterprise Linux Forums > Linux - Enterprise
User Name
Password
Linux - Enterprise This forum is for all items relating to using Linux in the Enterprise.

Notices


Reply
  Search this Thread
Old 07-10-2005, 01:19 PM   #1
louisb
Member
 
Registered: Aug 2003
Posts: 199

Rep: Reputation: 15
Question: Kernel build i386 vs i686


I am running Red Hat Enterprise Linux 4 AS. I'm trying to update my kernel based upon the new release publised by Red Hat. My hardware is dual Pentium II 333 mhz mounted on and Intel motherboard. Everything works just fine.

First I could not get the kernel to build from Red Hat source rpms by just doing a simple rebuild. As follows:

rpmbuild --rebuild kernel-2.6.9-11.EL.src.rpm
Installing kernel-2.6.9-11.EL.src.rpm
error: Architecture is not included: i386

I get the above error message.

I later tried the rebuild option with the target i386 and got the very same mesage as above. As follows:

rpmbuild --rebuild --target i386 kernel-2.6.9-11.EL.src.rpm
Installing kernel-2.6.9-11.EL.src.rpm
Building target platforms: i386
Building for target i386
error: Architecture is not included: i386

I changed the target platform to i686 and the kernel is building as I create this post.

My question is what's the difference between i386 and i686 for the Kernel build? I did not have to specify a target for other source rpms that I built from Red Hat.

Does anyone know why Red Hat did not include i386 as a build platform in the source RPM?

Shoud I be concerned about applying the i686 rpms to my systems? If so what are the issues?

Thanks
 
Old 07-10-2005, 01:31 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
why would you WANT to build an enterprise kernel base don a i386 function set? it's one thing for RPM makers to dish out a "one size fits all" i386 rpm for everone on intel compatible cpus, but compiling it yourself for an enterprise level machine makes no sense to me.
 
Old 07-10-2005, 01:39 PM   #3
louisb
Member
 
Registered: Aug 2003
Posts: 199

Original Poster
Rep: Reputation: 15
I'm not sure I understand you repsone? Can you please be more clear? I'm learning Linux and I decided to use Red Hat, since what Companies used in my area.

What do you suggest for building the kernel?

Thanks
 
Old 07-10-2005, 01:39 PM   #4
masand
LQ Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Rep: Reputation: 69
this is from the kernel compilation window
***************
386 (M386)

This is the processor type of your CPU. This information is used for
optimizing purposes. In order to compile a kernel that can run on
all x86 CPU types (albeit not optimally fast), you can specify
"386" here.

The kernel will not necessarily run on earlier architectures than
the one you have chosen, e.g. a Pentium optimized kernel will run on
a PPro, but not necessarily on a i486.

Here are the settings recommended for greatest speed:
- "386" for the AMD/Cyrix/Intel 386DX/DXL/SL/SLC/SX, Cyrix/TI
486DLC/DLC2, UMC 486SX-S and NexGen Nx586. Only "386" kernels
will run on a 386 class machine.
- "486" for the AMD/Cyrix/IBM/Intel 486DX/DX2/DX4 or
SL/SLC/SLC2/SLC3/SX/SX2 and UMC U5D or U5S.
- "586" for generic Pentium CPUs lacking the TSC
(time stamp counter) register.
- "Pentium-Classic" for the Intel Pentium.
- "Pentium-MMX" for the Intel Pentium MMX.
- "Pentium-Pro" for the Intel Pentium Pro.
- "Pentium-II" for the Intel Pentium II or pre-Coppermine Celeron.
- "Pentium-III" for the Intel Pentium III or Coppermine Celeron.
- "Pentium-4" for the Intel Pentium 4 or P4-based Celeron.
- "K6" for the AMD K6, K6-II and K6-III (aka K6-3D).
- "Athlon" for the AMD K7 family (Athlon/Duron/Thunderbird).
- "Crusoe" for the Transmeta Crusoe series.
- "Efficeon" for the Transmeta Efficeon series.
- "Winchip-C6" for original IDT Winchip.
- "Winchip-2" for IDT Winchip 2.
- "Winchip-2A" for IDT Winchips with 3dNow! capabilities.
- "CyrixIII/VIA C3" for VIA Cyrix III or VIA C3.
- "VIA C3-2 for VIA C3-2 "Nehemiah" (model 9 and above).

If you don't know what to do, choose "386

*******************
since i have a P3 CPU so i compile a kernel optimized for a P3 processor

regards
 
Old 07-10-2005, 04:13 PM   #5
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
i really find it odd that so few people seem to know what a 386 is... but then pentiums have been around for what... 12 years now? guess it's understandable really. But then I am too young to have actually known about 386's when they were around, i just backfilled it all.
 
Old 02-11-2007, 09:41 PM   #6
glatisant
LQ Newbie
 
Registered: Feb 2007
Posts: 1

Rep: Reputation: 0
Thanks! That just helped me too.

Thanks to all for posting the question and the replies. Finding this thread just saved me a lot of frustration. You all rock!
 
  


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
Kernel question, i386 vs. i686 PaganHippie Ubuntu 4 08-31-2005 05:17 PM
i386 kernel vs i686 does it matter? DJOtaku Linux - General 4 08-26-2005 02:19 PM
install package i386 on computer with kernel i686 xround Linux - Software 5 08-20-2004 06:11 AM
Help! Installed the i686 kernel & glibc packages instead of the i386 version penguin_powered Linux - Newbie 3 04-11-2004 11:45 PM
is celeron 500 an i686 ? if so how to move from i386 to i686 raft Linux - Hardware 1 12-22-2003 06:58 AM

LinuxQuestions.org > Forums > Enterprise Linux Forums > Linux - Enterprise

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