LinuxQuestions.org
Register a domain and help support LQ
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 03-25-2009, 11:26 AM   #1
trist007
Senior Member
 
Registered: May 2008
Distribution: Slackware
Posts: 1,027

Rep: Reputation: 69
Which cpu family should I select when rebuilding kernel...


Code:
[trist007@darkstar:~] $ cat /proc/cpuinfo
processor	: 0
vendor_id	: AuthenticAMD
cpu family	: 17
model		: 3
model name	: AMD Turion(tm) X2 Ultra Dual-Core Mobile ZM-80
stepping	: 1
cpu MHz		: 2100.063
cache size	: 1024 KB
physical id	: 0
siblings	: 2
core id		: 0
cpu cores	: 2
apicid		: 0
initial apicid	: 0
fdiv_bug	: no
hlt_bug		: no
f00f_bug	: no
coma_bug	: no
fpu		: yes
fpu_exception	: yes
cpuid level	: 1
wp		: yes
flags		: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt rdtscp lm 3dnowext 3dnow constant_tsc pni cx16 lahf_lm cmp_legacy svm extapic cr8_legacy 3dnowprefetch osvw skinit
bogomips	: 4200.12
clflush size	: 64
power management: ts ttp tm stc 100mhzsteps hwpstate

processor	: 1
vendor_id	: AuthenticAMD
cpu family	: 17
model		: 3
model name	: AMD Turion(tm) X2 Ultra Dual-Core Mobile ZM-80
stepping	: 1
cpu MHz		: 2100.063
cache size	: 1024 KB
physical id	: 0
siblings	: 2
core id		: 1
cpu cores	: 2
apicid		: 1
initial apicid	: 1
fdiv_bug	: no
hlt_bug		: no
f00f_bug	: no
coma_bug	: no
fpu		: yes
fpu_exception	: yes
cpuid level	: 1
wp		: yes
flags		: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt rdtscp lm 3dnowext 3dnow constant_tsc pni cx16 lahf_lm cmp_legacy svm extapic cr8_legacy 3dnowprefetch osvw skinit
bogomips	: 4200.73
clflush size	: 64
power management: ts ttp tm stc 100mhzsteps hwpstate
Code:
[trist007@darkstar:/usr/src/linux/arch] $ ls
Kconfig  arm    blackfin  frv    i386  m32r  m68knommu  mn10300  powerpc  sh     sparc64  x86
alpha    avr32  cris      h8300  ia64  m68k  mips       parisc   s390     sparc  um       xtensa
1. When overviewing the kernel config, under processor type and feature--Processor family, which processor family should I select for my current processor?

2. I am currently using i386, but I am wondering if I should be selecting another processor family, and what the advantages/disadvantages of doing so would be?

3. Also, all of my packages are in i386 arch. So when I rebuild, will I still be able to use those if I choose a different processor family?

4. Just to understand, if I did choose another processor family, once I make bzImage && make modules && make modules_install, I would go to /usr/src/linux/arch and select the dir that corresponds to the processor family that I chose right? Cause I've always been using i386. So if I changed to a different processor family, when downloading a package, I would have to make sure and get the arch that matches the one that I changed to? Would I still be able to install i386 arch packages?

Last edited by trist007; 03-25-2009 at 11:44 AM.
 
Old 03-25-2009, 11:58 AM   #2
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Willoughby, Ohio
Distribution: linuxdebian
Posts: 7,232
Blog Entries: 5

Rep: Reputation: 190Reputation: 190
If you wish to change to a different processor family other than i386, you will need to have Hardware for that family..


Here are a few examples of where you might find these architectures.

m68k = Motorola CPU - Apple Mac classic
PowerPC = Apple Power Macintosh
mips = maybe your Linksys broadband router..
arm = This is in my Sharp Zaurus Handheld
Sparc64 = Sun Servers
sparc = Sun Servers
ia64 = Intel Itanium CPU - NOT x86 compatible
s390 = IBM Mainframe
alpha = DEC Alpha Servers and workstations


So no you don't want to change that if you plan on having things work.
 
Old 03-25-2009, 01:24 PM   #3
Quakeboy02
Senior Member
 
Registered: Nov 2006
Distribution: Debian Squeeze 2.6.32.9 SMP AMD64
Posts: 3,275

Rep: Reputation: 126Reputation: 126
You should probably select one of the AMD processors. My guess would be K8 if it's a 64 bit processor (whether or not you use 64-bit kernel). I use K8 with my Phenom.
 
  


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
What processor family does my CPU (intel celeron) belong to? neilcpp Linux - Hardware 2 09-18-2008 02:24 PM
Rebuilding kernel, /lib/modules/*kernel version* not appearing khaos83 Red Hat 2 01-14-2008 04:28 AM
Kernel rebuilding nsampath Linux - Kernel 1 09-05-2006 06:11 AM
rebuilding kernel jmarsh Linux - Software 2 04-04-2003 09:09 PM
kernel compile - cpu family ixion Linux - General 7 01-20-2003 03:07 PM


All times are GMT -5. The time now is 03:29 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration