Subject: Re: hyperthreading and MP
To: None <current-users@netbsd.org>
From: MLH <mlh@goathill.org>
List: current-users
Date: 06/25/2004 17:11:50
cube@cubidou.net wrote:

> On Wed, Jun 23, 2004 at 02:04:48PM -0400, Steve Bellovin wrote:
>> I skimmed the discussion from a few months ago, but I never saw a firm
>> conclusion:  should a hyper-threaded CPU show up as a multiprocessor?
> 
> Yes.
> 
>> I have a new HP DC5000 with a hyper-threaded P4 CPU.  I have
>> hyper-threading enabled in the BIOS, and HTT does show up in the
>> feature list.  But only one CPU shows up.  Do I need to use ACPI?  I'm
> 
> Yes.

I have a new Intel D865GLC :

NetBSD 2.0_BETA (GENERIC.MP) #0: Wed Jun 23 14:00:35 CDT 2004
.
total memory = 2046 MB
avail memory = 1995 MB
BIOS32 rev. 0 found at 0xf0010
mainbus0 (root)
mainbus0: Intel MP Specification (Version 1.4) (         Springdale-G)
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: Intel Pentium 4 (686-class), 3391.60 MHz, id 0xf29
cpu0: features bfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR>
cpu0: features bfebfbff<PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX>
cpu0: features bfebfbff<FXSR,SSE,SSE2,SS,HTT,TM,SBF>
cpu0: I-cache 12K uOp cache 8-way, D-cache 8 KB 64b/line 4-way
cpu0: L2 cache 512 KB 64b/line 8-way
cpu0: ITLB 4K/4M: 64 entries
cpu0: DTLB 4K/4M: 64 entries
cpu0: calibrating local timer
cpu0: apic clock running at 199 MHz
cpu0: 16 page colors

I tried several times to build an acpi-enabled kernel for this and
it gets part-way through booting the kernel and hard-restarts back
to the bios.

Any suggestions on the proper way to enable acpi for this would be
welcome.