Subject: Re: 2.0 MP and piixide lost interrupts
To: Peter Eisch <peter@boku.net>
From: Matt SF <spore@psibercom.org>
List: port-i386
Date: 03/24/2005 16:26:28
On Thu, Mar 24, 2005 at 02:51:12PM -0600, Peter Eisch wrote:
> But I can't get a 2.0 kernel with MP via ACPI to link.
> 
> ...
> --- libcompat.a ---
>       build  compat/libcompat.a
> --- vers.o ---
>      create  vers.c
>     compile  NOSCSI/vers.o
> --- netbsd ---
>        link  NOSCSI/netbsd
> pci_machdep.o(.text+0x2a): In function `pci_attach_hook':
> : undefined reference to `mpacpi_pci_attach_hook'
> *** [netbsd] Error code 1
> 1 error
> 
> ------------------
> Obviously that's with the ACPI_PCI_FIXUP defined, among others.
> For fun, I tried a -current GENERIC.MPACPI on a 2.0 userland and had console
> issues (it couldn't find a console).  I've just started messing around with
> grub on this same system, so the console issue may be of my own creating.
> peter

yep I had the same complile errors.  I asked someone to take a look at 
thsi situation and he was able to produce a bootable kernel for me using 
the 3.99.1 current code, using the GENERIC.MPACPI config and  
un-commenting ACPI_PCI_FIXUP.

interestingly enough, it also 'sees' the HT dual core of the Intel CPUs:


total memory = 1023 MB
avail memory = 991 MB
BIOS32 rev. 0 found at 0xffe90
mainbus0 (root)
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: Intel (686-class), 2800.28 MHz, id 0xf41
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: features2 641d<SSE3,MONITOR,DS-CPL,CID,xTPR>
cpu0: features3 20100000<EM64T>
cpu0: "Intel(R) Xeon(TM) CPU 2.80GHz"
cpu0: I-cache 12K uOp cache 8-way
cpu0: L2 cache 1 MB 64B/line 8-way
cpu0: ITLB 4K/4M: 64 entries
cpu0: DTLB 4K/4M: 64 entries
cpu0: running without thermal monitor!
cpu0: calibrating local timer
cpu0: apic clock running at 200 MHz
cpu0: 32 page colors
cpu1 at mainbus0: apid 6 (application processor)
cpu1: starting
cpu1: Intel (686-class), 2800.11 MHz, id 0xf41
cpu1: features bfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR>
cpu1: features bfebfbff<PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX>
cpu1: features bfebfbff<FXSR,SSE,SSE2,SS,HTT,TM,SBF>
cpu1: features2 641d<SSE3,MONITOR,DS-CPL,CID,xTPR>
cpu1: features3 20100000<EM64T>
cpu1: "Intel(R) Xeon(TM) CPU 2.80GHz"
cpu1: I-cache 12K uOp cache 8-way
cpu1: L2 cache 1 MB 64B/line 8-way
cpu1: ITLB 4K/4M: 64 entries
cpu1: DTLB 4K/4M: 64 entries
cpu1: running without thermal monitor!
[...]
cpu2: CPU 1 running
cpu3: CPU 7 running
cpu1: CPU 6 running


etc etc.  the dmesg is long of course so someone please let me know 
if they would like the entire thing posted.

-- 
-------------------------------------------------------------------------