Linux - KernelThis forum is for all discussion relating to the Linux kernel.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hi
We have compiled kernel 2.6.30 from source code.But this kernel can not detect all core of cpu's.
on our system there are 2 cpu's and every cpu has 2 cores.but in /proc/cpuinfo there are 2 cpu's and every cpu has one core!!
I could not solve this problem yet.
- Did you set the correct cpu (Processor family)
- Did you try setting mps tables (Enable MPS table)
- Did you change the Maximum number of CPU default (which is 8)
Maybe you can find a hint in the output of dmesg or /var/log/boot (or alike, if it exists).
And I do assume you rebooted after making the changes, recompiling and placing of the System.map and kernel image.
- Did you set the correct cpu (Processor family)
- Did you try setting mps tables (Enable MPS table)
- Did you change the Maximum number of CPU default (which is 8)
Maybe you can find a hint in the output of dmesg or /var/log/boot (or alike, if it exists).
And I do assume you rebooted after making the changes, recompiling and placing of the System.map and kernel image.
Hope this helps.
Thanks for your reply.
I answer your questions in order you asked:
- CPU is E5502 xeon - Dual Core.
- I did not find such setting on kernel. target kernel is 2.6.30.9 - Official kernel.
- This option is default.
I just downloaded 2.6.30.9 from kernel.org and checked for Enable MPS table: It is available under: Processor type and features -> Enable MPS table.
I do assume, looking at the CPU, that you have a X86_64 setup (BTW: the above setting is available with both x86 and x86_64).
You mention the cpu setting being: E5502 xeon - Dual Core. Do I assume correct that you choose Core 2/newer Xeon?
The E5502/Nehalem is not mentioned in the help part. Maybe you need to switch to Generic-x86-64
You haven't said if linux ran successfully before (with its default kernel). If that is the case, start that linux version and have a look at the output of /proc/cpuinfo to see if everything is ok, or if you still have missing cores.
You didn't say anything about checking the output of dmesg either. A lot of important info can be found there. The output of dmesg from your default linux (the one with the default kernel) can also be of great help, assuming that everything works ok.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.