Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 05 May 2004 10:11:47 +0200
From:      Eirik Oeverby <ltning@anduin.net>
To:        Eirik Oeverby <ltning@anduin.net>
Cc:        current@freebsd.org
Subject:   Re: Enabling my second CPU
Message-ID:  <4098A1C3.2090306@anduin.net>
In-Reply-To: <4098A00F.6010600@anduin.net>
References:  <4098A00F.6010600@anduin.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Whopps, forgot the output from 'mptable -dmesg'
Sorry,
/Eirik

===============================================================================

MPTable, version 2.0.15

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

MP Floating Pointer Structure:

   location:                     BIOS
   physical address:             0x000f4b00
   signature:                    '_MP_'
   length:                       16 bytes
   version:                      1.4
   checksum:                     0x7d
   mode:                         Virtual Wire

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

MP Config Table Header:

   physical address:             0x000f1400
   signature:                    'PCMP'
   base table length:            284
   version:                      1.4
   checksum:                     0x79
   OEM ID:                       'OEM00000'
   Product ID:                   'PROD00000000'
   OEM table pointer:            0x00000000
   OEM table size:               0
   entry count:                  27
   local APIC address:           0xfee00000
   extended table length:        0
   extended table checksum:      0

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

MP Config Base Table Entries:

--
Processors:     APIC ID Version State           Family  Model   Step 
Flags
                  0       0x11    BSP, usable     6       4       4 
   0xfbff
                  1       0x11    AP, unusable    6       4       4 
   0xfbff
--
Bus:            Bus ID  Type
                  0       PCI
                  1       PCI
                  2       PCI
                  3       ISA
--
I/O APICs:      APIC ID Version State           Address
                  2       0x11    usable          0xfec00000
--

I/O Ints:
Type    Polarity    Trigger     Bus ID   IRQ    APIC ID PIN#
INT     active-lo       level        2   0:D          2   19
INT     active-lo       level        0   7:B          2   17
INT     active-lo       level        1   5:A          2   17
INT     active-lo       level        2   9:A          2   17
ExtINT   conforms    conforms        3     0          2    0
INT      conforms    conforms        3     1          2    1
INT      conforms    conforms        3     0          2    2
INT      conforms    conforms        3     3          2    3
INT      conforms    conforms        3     4          2    4
INT      conforms    conforms        3     5          2    5
INT      conforms    conforms        3     6          2    6
INT      conforms    conforms        3     7          2    7
INT     active-hi        edge        3     8          2    8
INT      conforms    conforms        3     9          2    9
INT      conforms    conforms        3    12          2   12
INT      conforms    conforms        3    13          2   13
INT      conforms    conforms        3    14          2   14
INT      conforms    conforms        3    15          2   15
--
Local Ints:
Type    Polarity    Trigger     Bus ID   IRQ    APIC ID PIN#
ExtINT   conforms    conforms        0   0:A        255    0
NMI      conforms    conforms        0   0:A        255    1

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

dmesg output:

Copyright (c) 1992-2004 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
         The Regents of the University of California. All rights reserved.
FreeBSD 5.2-CURRENT #12: Tue May  4 16:12:21 CEST 2004
     root@eirik.unicore.no:/usr/obj/usr/src/sys/EIRIK
Preloaded elf kernel "/boot/kernel/kernel" at 0xc07fb000.
Preloaded elf module "/boot/kernel/if_fxp.ko" at 0xc07fb1f4.
ACPI APIC Table: <AMD2P  AWRDACPI>
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: AMD Athlon(tm) processor (1400.06-MHz 686-class CPU)
   Origin = "AuthenticAMD"  Id = 0x644  Stepping = 4
 
Features=0x183fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR>
   AMD Features=0xc0440000<RSVD,AMIE,DSP,3DNow!>
real memory  = 1073676288 (1023 MB)
avail memory = 1045348352 (996 MB)
MADT: Forcing active-lo polarity and level trigger for IRQ 9
ioapic0 <Version 1.1> irqs 0-23 on motherboard
random: <entropy source, Software, Yarrow>
Pentium Pro MTRR support enabled
acpi0: <AMD2P AWRDACPI> on motherboard
acpi0: [GIANT-LOCKED]
pcibios: BIOS version 2.10
Found $PIR table, 11 entries at 0xc00fdec0
acpi0: Power Button (fixed)
acpi0: Sleep Button (fixed)
Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x608-0x60b on acpi0
acpi_cpu0: <CPU> on acpi0
acpi_cpu1: <CPU> on acpi0
device_probe_and_attach: acpi_cpu1 attach returned 6
acpi_button0: <Power Button> on acpi0
acpi_button1: <Sleep Button> on acpi0
pcib0: <ACPI Host-PCI bridge> port 0x6e0-0x6ff,0x600-0x6df,0xcf8-0xcff 
on acpi0
pci0: <ACPI PCI bus> on pcib0
agp0: <AMD 762 host to AGP bridge> port 0xec00-0xec03 mem 
0xf7000000-0xf7000fff,0xe8000000-0xefffffff at device 0.0 on pci0
agp0: Reserved 0x8000000 bytes for rid 0x10 type 3 at 0xe8000000
agp0: Reserved 0x1000 bytes for rid 0x14 type 3 at 0xf7000000
pcib1: <ACPI PCI-PCI bridge> at device 1.0 on pci0
pci1: <ACPI PCI bus> on pcib1
pci1: <display, VGA> at device 5.0 (no driver attached)
isab0: <PCI-ISA bridge> at device 7.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <AMD 768 UDMA100 controller> port 
0xe000-0xe00f,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 7.1 on pci0
atapci0: Reserved 0x10 bytes for rid 0x20 type 4 at 0xe000
atapci0: Reserved 0x8 bytes for rid 0x10 type 4 at 0x1f0
atapci0: Reserved 0x1 bytes for rid 0x14 type 4 at 0x3f6
ata0: at 0x1f0 irq 14 on atapci0
atapci0: Reserved 0x8 bytes for rid 0x18 type 4 at 0x170
atapci0: Reserved 0x1 bytes for rid 0x1c type 4 at 0x376
ata1: at 0x170 irq 15 on atapci0
pci0: <bridge, PCI-unknown> at device 7.3 (no driver attached)
pci0: <multimedia, audio> at device 7.5 (no driver attached)
pcib2: <ACPI PCI-PCI bridge> at device 16.0 on pci0
pci2: <ACPI PCI bus> on pcib2
ohci0: <OHCI (generic) USB controller> mem 0xf6020000-0xf6020fff irq 19 
at device 0.0 on pci2
ohci0: Reserved 0x1000 bytes for rid 0x10 type 3 at 0xf6020000
ohci0: [GIANT-LOCKED]
usb0: OHCI version 1.0, legacy support
usb0: <OHCI (generic) USB controller> on ohci0
usb0: USB revision 1.0
uhub0: AMD OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 4 ports with 4 removable, self powered
fxp0: <Intel 82551 Pro/100 Ethernet> port 0xd000-0xd03f mem 
0xf6000000-0xf601ffff,0xf6021000-0xf6021fff irq 17 at device 9.0 on pci2
fxp0: Reserved 0x1000 bytes for rid 0x10 type 3 at 0xf6021000
miibus0: <MII bus> on fxp0
inphy0: <i82555 10/100 media interface> on miibus0
inphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
fxp0: Ethernet address: 00:0c:76:ac:6a:48
fxp0: [GIANT-LOCKED]
fdc0: <Enhanced floppy controller (i82077, NE72065 or clone)> port 
0x3f7,0x3f0-0x3f5 irq 6 drq 2 on acpi0
fdc0: FIFO enabled, 8 bytes threshold
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
sio0 port 0x3f8-0x3ff irq 4 on acpi0
sio0: type 16550A
sio1 port 0x2f8-0x2ff irq 3 on acpi0
sio1: type 16550A
ppc0 port 0x778-0x77b,0x378-0x37f irq 7 on acpi0
ppc0: Generic chipset (EPP/NIBBLE) in COMPATIBLE mode
ppbus0: <Parallel port bus> on ppc0
plip0: <PLIP network interface> on ppbus0 

lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
ppi0: <Parallel I/O> on ppbus0
atkbdc0: <Keyboard controller (i8042)> port 0x64,0x60 irq 1 on acpi0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: [GIANT-LOCKED]
psm0: model IntelliMouse, device ID 3
acpi_cpu1: <CPU> on acpi0
device_probe_and_attach: acpi_cpu1 attach returned 6
cpu0 on motherboard
npx0: [FAST]
npx0: <math processor> on motherboard
npx0: INT 16 interface
orm0: <Option ROMs> at iomem 0xcc000-0xcd7ff,0xc0000-0xc87ff on isa0
pmtimer0 on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
Timecounter "TSC" frequency 1400057104 Hz quality 800
Timecounters tick every 10.000 msec
ad0: 38166MB <WDC WD400BB-32CLB0> [77545/16/63] at ata0-master UDMA100
acd0: CDROM <FX4830T> at ata1-master PIO4

Mounting root from ufs:/dev/ad0s1a
WARNING: / was not properly dismounted
vmmon: Module vmmon: registered with major=200 minor=0 tag=$Name: 
build-570 (3.2.x mvm) $
vmmon: Module vmmon: initialized
vmnet1: Ethernet address: 00:bd:cd:4d:00:01
fxp0: promiscuous mode enabled
vmnet1: promiscuous mode enabled
pci0: driver added
pci0:7:3: reprobing on driver added
pci0:7:5: reprobing on driver added
pcm0: <AMD-768> port 0xe800-0xe83f,0xe400-0xe4ff irq 17 at device 7.5 on 
pci0
pcm0: Reserved 0x100 bytes for rid 0x10 type 4 at 0xe400
pcm0: Reserved 0x40 bytes for rid 0x14 type 4 at 0xe800
pcm0: [GIANT-LOCKED]
pcm0: <Avance Logic ALC200 AC97 Codec>
pci1: driver added
pci1:5:0: reprobing on driver added
pci2: driver added


Eirik Oeverby wrote:
 > Hi,
> 
> I've bumped into a rather curious problem - not really FreeBSD specific, 
> but I was still hoping some wizard could help me solve it.
> 
> I've recently changed from an Asus A7M266-D board to a MSI K7D Master-L 
> board, due to the Asus dying on me. I'm running with dual Athlon 1.4ghz 
> CPUs (non-MP, just plain old Athlon CPUs), and with the Asus this was no 
> problem at all. Performance was fine, both CPUs were utilized well, and 
> all was good.
> Now with the MSI board, the BIOS complains on bootup that the CPUs I'm 
> using aren't MP-capable, and that it has disabled one and is running in 
> UNIprocessor mode.
> As you will see in the output from mptable(1) below, the 2nd CPU is 
> found, but marked as 'unusable'. Now obviously since I was using the 
> same two CPUs on the Asus board, they *do* work in dual mode, and the 
> chipsets on the two motherboards are exactly the same. Thus there's no 
> good reason (from my POV) why the BIOS is disabling my 2nd CPU and 
> ruining my fun..
> 
> Does anyone know a way to get around this? Perhaps to force-enable the 
> 2nd CPU in the kernel or something? I've read reports that Windows XP 
> actually recognizes and uses both CPUs despite what the BIOS says, which 
> to me is an indication that it should be possible somehow. I also 
> suspect that the actual check in the BIOS could be disabled by some 
> hackery in the BIOS flash file, however I'd like to try other options 
> first.
> 
> If anyone think they can help, it'd be most appreciated!
> 
> With best regards,
> /Eirik
> _______________________________________________
> freebsd-current@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4098A1C3.2090306>