Welcome to Linux Forums! With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.
Find the answer to your Linux question:
New to Linux Forums? Register here for free!
    Linux Forums > GNU Linux Zone > The Linux Kernel > hyper threading is disabled.

Forgot Password?
 The Linux Kernel   Compiling, theory, programming or other discussion about the linux kernel

Site Navigation
Linux Articles
Linux Forums
Linux Downloads
Linux Hosting
Free Magazines
Job Board
IRC Chat
RSS Feeds


Linux Forum Topics
Linux Forums
Your Distro
Linux Resources
GNU Linux Zone
The Community
Reply
 
Thread Tools Display Modes
Old 10-27-2006   #1 (permalink)
Just Joined!
 
brugh's Avatar
 
Join Date: Oct 2006
Posts: 3
Unhappy hyper threading is disabled.

the weirdest thing.. i have a P4 CPU in my machine. it has hyper threading enabled (it shows 'ht'-flag in /proc/cpuinfo, x86info and dmidecode). but it will not enable hyperthreading. /var/log/messages shows kernel: Hyper-threading is disabled at boottime. i boot a SMP kernel, latest centos version (i think that's 2.6.9-42.0.3.ELsmp

i looked at the kernel code and see that the message can only appear if the kernel at least tries to detect hyperthreading so i know i boot the right kernel. but why won't it show 2 processors in /proc/cpuinfo, or top, or anywhere.. is it a kernel HT bug or a BIOS bug? is there anything i need to paste here for people to look at?
please help
brugh is offline  


Reply With Quote
Old 10-30-2006   #2 (permalink)
Just Joined!
 
Join Date: Oct 2006
Posts: 25
Do you have acpi support enabled? also acpi=ht as a boot option may help if so.
gettyUp is offline   Reply With Quote
Old 10-30-2006   #3 (permalink)
Just Joined!
 
brugh's Avatar
 
Join Date: Oct 2006
Posts: 3
Quote:
Originally Posted by gettyUp
Do you have acpi support enabled? also acpi=ht as a boot option may help if so.
bios says i have acpi enabled. i'll try that option (thought i tried the lot of 'm since i checked the kernelsource) and will let you know.

here's some snippets from dmesg:
...
ACPI: Processor [CPU0] (supports C1, 8 throttling states)
...
ACPI: (supports S0 S1 S3 S4 S5)
ACPI wakeup devices:
PCI0 HUB COM1 USB1 USB2 USB3 USB4 EUSB PBTN
...

and from /var/log/messages:
...
Oct 26 20:21:59 lnx kernel: CPU: Trace cache: 12K uops, L1 D cache: 16K
Oct 26 20:21:59 lnx kernel: CPU: L2 cache: 1024K
Oct 26 20:21:59 lnx kernel: CPU: Hyper-Threading is disabled
Oct 26 20:21:59 lnx kernel: Intel machine check architecture supported.
Oct 26 20:21:59 lnx kernel: Intel machine check reporting enabled on CPU#0.
Oct 26 20:21:59 lnx kernel: CPU0: Intel P4/Xeon Extended MCE MSRs (12) available
Oct 26 20:21:59 lnx kernel: CPU0: Thermal monitoring enabled
Oct 26 20:21:59 lnx kernel: Enabling fast FPU save and restore... done.
Oct 26 20:21:59 lnx kernel: Enabling unmasked SIMD FPU exception support... done.
Oct 26 20:21:59 lnx kernel: Checking 'hlt' instruction... OK.
Oct 26 20:21:59 lnx kernel: CPU0: Intel(R) Pentium(R) 4 CPU 2.80GHz stepping 01
Oct 26 20:21:59 lnx kernel: per-CPU timeslice cutoff: 2925.18 usecs.
...
brugh is offline   Reply With Quote
Old 10-31-2006   #4 (permalink)
Just Joined!
 
Join Date: Oct 2006
Posts: 25
I know its not CentOS docs, but I would check your kernel configs and see if you have any of these options missing.

http://gentoo-wiki.com/ACPI_Intel_865_and_875
gettyUp is offline   Reply With Quote
Old 11-01-2006   #5 (permalink)
Just Joined!
 
brugh's Avatar
 
Join Date: Oct 2006
Posts: 3
Angry

Quote:
Originally Posted by gettyUp
I know its not CentOS docs, but I would check your kernel configs and see if you have any of these options missing.

http://gentoo-wiki.com/ACPI_Intel_865_and_875
hmm that looked like a good option so i tried it. recompiled kernel, new initrd, but still only one CPU. *huge disapointed sigh*

then i did a grep 'acpi=' on arch/i386/kernel/setup.c for any options i hadn't tried yet:

else if (!memcmp(from, "acpi=off", ) {
else if (!memcmp(from, "acpi=force", 10)) {
else if (!memcmp(from, "acpi=strict", 11)) {
else if (!memcmp(from, "acpi=ht", 7)) {
else if (!memcmp(from, "pci=noacpi", 10)) {
else if (!memcmp(from, "acpi=noirq", 10)) {
else if (!memcmp(from, "acpi_sci=edge", 13))
else if (!memcmp(from, "acpi_sci=level", 14))
else if (!memcmp(from, "acpi_sci=high", 13))
else if (!memcmp(from, "acpi_sci=low", 12))
else if (!memcmp(from, "acpi_skip_timer_override", 24))

tried almost all of them.. no hyperthreading.... how come when i put a windows CD in there it shows me 2 processors and with linux there's no way to get it to work! i hate it when that happens. only thing i can think of is to try an original kernel.org kernel. but CentOS uses a 2.6.9 with a lot of own patches which i would really want to use, specially since software i use on there is ready-built for redhat EL4. please advice
brugh is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Free Magazines
Run Your Own Web Server Using Linux & Apache - Free 191 Page Preview
Learn about everything you'll need to build and maintain your Linux servers, and to deploy Web applications to them.
subscribe
Open Source Security Myths Dispelled
Dispel the five major myths surrounding Open Source Security and gain the tools necessary to make a truly informed decision for your IT organization
subscribe
InformationWeek
InformationWeek is the only newsweekly you'll need to stay on top of the latest developments in information technology.
subscribe



All times are GMT. The time now is 08:55 AM.






© 2000 - 2009 - All Rights Reserved - Property of  MAS Media

Content Relevant URLs by vBSEO 3.3.0 RC2