LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-02-2013, 10:46 AM   #1
slacker_
Member
 
Registered: Aug 2013
Distribution: Arch, Debian, Slackware
Posts: 333

Rep: Reputation: 3
First time building a kernel, what processor family do I choose for my T42?


So there's always ever been "484" or "686" for preconfigured kernels, to my knowledge. I'm building a kernel for the first time on my own for a slackware 14 install, and in the Kernel Configuration, there's a processor family list with 486 already selected, but my specific processor for the T42 Thinkpad I'm using is a Pentium M which is also an option on the list.

My confusion comes from the 486 option stating
Quote:
CONFIG_M486

This is the processor type of your CPU
and the Pentium M option stating
Quote:
Select this for Intel Pentium M (not Pentium-4 M) notebook chips.
My processor is definitely Pentium M, but the 486 processor has worked fine in the past. Further, the choice will also wind up affecting certain packages that are cpu-family specific and I don't know if something that works for 486 will work if I choose Pentium M.

As you can see, I'm quite confused. Can anyone offer any insight here?
 
Old 09-02-2013, 11:05 AM   #2
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,290

Rep: Reputation: 378Reputation: 378Reputation: 378Reputation: 378
In general, either choice should be safe. You might see slightly better performance if you build for the 686 or Pentium M architecture, but it will probably be pretty minor. You should not see any software compatibility problems regardless of which architecture you choose. The only difference is which assembler instructions the compiler will be allowed to generate when building the kernel. A kernel containing only 486 compatible instructions will happily run userspace programs containing instructions introduced with more modern processors. The only thing is that a 32 bit kernel can't run 64 bit user space software, generally, but since the Pentium M is a 32 bit chip and can't run 64 bit software anyways, this should not be a big concern.
 
1 members found this post helpful.
Old 09-02-2013, 11:06 AM   #3
j_v
Member
 
Registered: Oct 2011
Distribution: Slackware64
Posts: 364

Rep: Reputation: 67
There is no harm in using the 486, as it should run on most any i486 and later processor. If you are sure that your processor type, then compiling it for that specific type could give you better performance. You just have to realize that that kernel will not run on other processor types like the 486 built kernel can.

<edit> btmiller's post is more concise. I must have been writing mine when that was posted. </edit>

Last edited by j_v; 09-02-2013 at 11:08 AM.
 
1 members found this post helpful.
Old 09-02-2013, 11:07 AM   #4
slacker_
Member
 
Registered: Aug 2013
Distribution: Arch, Debian, Slackware
Posts: 333

Original Poster
Rep: Reputation: 3
Ah, brilliant. Ok, well I'll just stick to 486 then. If I'm feeling adventurous later on I may reconfigure and try out the Pentium M option. Thank you for the insight!
 
Old 09-02-2013, 11:09 AM   #5
slacker_
Member
 
Registered: Aug 2013
Distribution: Arch, Debian, Slackware
Posts: 333

Original Poster
Rep: Reputation: 3
Quote:
Originally Posted by javogel View Post
You just have to realize that that kernel will not run on other processor types like the 486 built kernel can.
If I'm building it for a Pentium M processor, what difference would it make if the Pentium M kernel wouldn't run on other processors?
 
Old 09-02-2013, 11:15 AM   #6
j_v
Member
 
Registered: Oct 2011
Distribution: Slackware64
Posts: 364

Rep: Reputation: 67
Quote:
Originally Posted by slacker_ View Post
If I'm building it for a Pentium M processor, what difference would it make if the Pentium M kernel wouldn't run on other processors?
Basicly, I think of disaster recovery. If your Pentium-M got fried and the replacement that you find that is compatable with your motherboard/bios isn't a Pentium-M, you will have to have a compatable kernel to boot. A way to ensure that is to keep a 486 one installed even though using the Pentium-M kernel. Also, for disaster recovery, a copy of the install medium can be of real help (ie, kernel won't boot).
 
Old 09-02-2013, 09:04 PM   #7
slacker_
Member
 
Registered: Aug 2013
Distribution: Arch, Debian, Slackware
Posts: 333

Original Poster
Rep: Reputation: 3
Ah, ok that makes sense. Ok. Well, like I said I think I'll just stick to the 486 for now and when I'm feeling adventurous I'll maybe check out the Pentium M option.
 
  


Reply

Tags
kernel, processor, slackware 14



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
[SOLVED] Which processor family choice when compiling kernel spoovy Slackware 17 02-15-2011 05:36 AM
Info on Pentium Processor Family Kernel 2.6.29 splurben Linux - Kernel 10 05-07-2009 06:08 PM
kernel processor family influence ? ofpeled Linux - Kernel 5 12-10-2008 01:41 AM
Optimizing Kernel - Processor Family Type BlackSheep024 Ubuntu 1 06-14-2007 07:16 AM
Pentium M processor family on kernel config jrdioko Linux - Hardware 4 08-14-2005 10:14 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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