LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices


Reply
  Search this Thread
Old 09-25-2008, 06:32 AM   #1
Anton_G
LQ Newbie
 
Registered: Sep 2008
Location: Ukraine, Kyiv
Posts: 2

Rep: Reputation: 0
Kernel for Intel Atom N270: Processor family, SMP


Hi, I'm configuring vanilla kernel 2.6.27-rc6 on Asus EEE 901 netbook running gentoo.

Here is /proc/cpuinfo:
Quote:
processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 28
model name : Intel(R) Atom(TM) CPU N270 @ 1.60GHz
stepping : 2
cpu MHz : 1600.000
cache size : 512 KB
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 10
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx constant_tsc pni monitor ds_cpl est tm2 ssse3 xtpr lahf_lm
bogomips : 3203.25
clflush size : 64
The question is, what processor family should I select in kernel?

According to gentoo wiki safe Cflags for Intel Atom N270 are:
Quote:
CHOST="i686-pc-linux-gnu"
CFLAGS="-march=prescott -O2 -pipe -fomit-frame-pointer"
CXXFLAGS="${CFLAGS}"
Pentium 4 (Prescott) has the same -march, as well as similar "flags" in /proc/cpuinfo. On the other hand, default Xandros that comes with eee901 uses
Quote:
CONFIG_MPENTIUMM=y
So, I'm not sure what to choose. Linux starts with "Pentium M" as well as with "Pentium 4" without errors.

I have also discovered, that default Xandros uses
Quote:
# CONFIG_SMP is not set
It's a bit strange for me, as Atom actually has HyperThreading support. Why has Asus chosen to disable it?

It's my first custom kernel and I have no clear idea of what does these options actually mean. I will appreciate any help with this questions. If there are links to info about what is hidden under each of them, I would gladly read it.

Thanks, Anton

PS Sorry for my English.

Last edited by Anton_G; 09-25-2008 at 06:34 AM. Reason: Link to gentoo wiki
 
Old 09-26-2008, 12:17 AM   #2
Dj.r4iDeN
LQ Newbie
 
Registered: Jul 2008
Location: NY
Distribution: slackware 12.1
Posts: 19

Rep: Reputation: 1
im sure its not P4 or M

atom is new Processor
 
Old 09-26-2008, 04:49 AM   #3
Anton_G
LQ Newbie
 
Registered: Sep 2008
Location: Ukraine, Kyiv
Posts: 2

Original Poster
Rep: Reputation: 0
Okay, but there is no option "Atom" in kernel config. One have to choose between existing processor families. But what is the closest one? What should I take into account choosing it?
 
Old 04-15-2009, 09:47 AM   #4
lylemwood
Member
 
Registered: Jan 2008
Location: Toronto, Canada
Distribution: Slackware, CentOS
Posts: 47

Rep: Reputation: 18
Core2 is the way to go according to the kernel config and my working ATOM

Gents,

I just recompiled my stock Slackware install kernel with Core2 selected due to the help for the CPU type in the kernel config.

Go to the Core2 and select help or just read below if you're in xconfig and you'll see:

"Select this for Intel Core 2 and new Core 2 Xeons ... You can distinguish newer from older Xeons by the CPU family in /proc/cpuinfo. Newer ones have 6 and older ones 15..."

Taking a hunch and assuming I could always back out by having both selectable on boot up with LILO, I selected the Core2/newer Xeon option, took off Generic X86 support, and then made my other mods and recompiled, deployed, booted, and it's running fine now.

Just putting my modules in as necessary and I'll be off to the races in no time!

Good luck,

HTH,

Lyle M. Wood
 
Old 08-20-2010, 07:21 AM   #5
lylemwood
Member
 
Registered: Jan 2008
Location: Toronto, Canada
Distribution: Slackware, CentOS
Posts: 47

Rep: Reputation: 18
Talking Atom now a kernel CPU type option

Hello all,

I recently rebuilt my ATOM-powered Aspire ONE and noticed that ATOM is now a CPU type that is selectable.

If you've updated your kernels recently or reinstalled, please ensure you view all options.

I'm pretty sure this thread is dead, but I just wanted to bring everyone into the loop in case they haven't had a chance.

Enjoy!
 
1 members found this post helpful.
  


Reply

Tags
atom, kernel



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 01:24 PM
Intel Atom and MSI Wind, which kernel should I use? Romanus81 Slackware 7 08-31-2008 10:43 AM
Correct processor family kernel option for Intel Core Duo (T2400) dizzi Slackware 7 06-22-2007 03:29 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 - Software > Linux - Kernel

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