Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 05 Apr 2006 17:38:17 +0900
From:      Ganbold <ganbold@micom.mng.net>
To:        Peter Jeremy <peterjeremy@optushome.com.au>
Cc:        lydianconcepts@gmail.com, freebsd-current@freebsd.org, mjacob@freebsd.org
Subject:   Re: CPU class not configured problem in CURRENT
Message-ID:  <443381F9.3010504@micom.mng.net>
In-Reply-To: <20060405075841.GB699@turion.vk2pj.dyndns.org>
References:  <4431D4E5.3080507@micom.mng.net>	<20060404090837.GC683@turion.vk2pj.dyndns.org>	<44323B37.4040605@micom.mng.net>	<20060404101223.GH683@turion.vk2pj.dyndns.org>	<44336331.40909@micom.mng.net> <20060405075841.GB699@turion.vk2pj.dyndns.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Peter Jeremy wrote:
> On Wed, 2006-Apr-05 15:26:57 +0900, Ganbold wrote:
>   
>> FreeBSD 7.0-CURRENT #0: Tue Apr  4 01:16:20 ULAST 2006
>>   tsgan@asiatel.micom.mng.net:/usr/obj/usr/src/sys/GW
>> WARNING: WITNESS option enabled, expect reduced performance.
>> MPTable: <HP       PROLIANT    >
>> Timecounter "i8254" frequency 1193182 Hz quality 0
>> CPU: Intel(R) Xeon(TM) CPU 3.20GHz (Unknown-class CPU)
>> Origin = "GenuineIntel"  Id = 0xf43  Stepping = 3
>>
>> Features=0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>
>> Features2=0x641d<SSE3,RSVD2,MON,DS_CPL,CNTX-ID,CX16,<b14>>
>> AMD Features=0x20000000<LM>
>> Logical CPUs per core: 2
>> panic: CPU class not configured
>>     
>
> The Origin and Id look sane.  Checking printcpuinfo(), the
> 'Unknown-class' is printed because cpu_class is not valid.
> cpu_class is initialised based on 'cpu' which is set in
> i386/locore.s::identify_cpu
>
> Next request: Can you please print the 'cpu' and 'cpu_class' variables
> in DDB.
>   
Here is what I get when I reboot from FreeBSD-6.1-PRERELEASE after 
installing new CURRENT kernel:

mpt0: Unhandled Event Notify Frame. Event 0x30.
mpt1: Unhandled Event Notify Frame. Event 0x30.
Shutting down ACPI
Interrupt storm detected on "irq9:"; throttling interrupt source
Rebooting...
cpu_reset: Stopping other CPUs

Here is cpu and cpu_class variables after booting to CURRENT:

GDB: no debug ports present
KDB: debugger backends: ddb
KDB: current backend: ddb
Copyright (c) 1992-2006 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 7.0-CURRENT #1: Wed Apr  5 08:13:14 ULAST 2006
    root@asiatel.micom.mng.net:/usr/obj/usr/src/sys/GW
WARNING: WITNESS option enabled, expect reduced performance.
MPTable: <HP       PROLIANT    >
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Intel(R) Xeon(TM) CPU 3.20GHz (Unknown-class CPU)
  Origin = "GenuineIntel"  Id = 0xf43  Stepping = 3
  
Features=0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>
  Features2=0x641d<SSE3,RSVD2,MON,DS_CPL,CNTX-ID,CX16,<b14>>
  AMD Features=0x20000000<LM>
  Logical CPUs per core: 2
panic: CPU class not configured
cpuid = 0
KDB: enter: panic
[thread pid 0 tid 0 ]
Stopped at      kdb_enter+0x2b: nop    
db> trace
Tracing pid 0 tid 0 td 0xc0850118
kdb_enter(c0796a76) at kdb_enter+0x2b
panic(c07b3652,c0c20d74,c072eafc,c4ace4ec,c0829490) at panic+0x127
panicifcpuunsupported(c4ace4ec,c0829490,c0c20d88,c05c3d5e,0) at 
panicifcpuunsupported+0x23
cpu_startup(0,c1ec00,c1e000,0,c043d4e5) at cpu_startup+0x14
mi_startup() at mi_startup+0x96
begin() at begin+0x2c
db> p cpu
c08c7014
db> p cpu_class
c08c6f20
db> show pcpu
cpuid        = 0
curthread    = 0xc0850118: pid 0 ""
curpcb       = 0xc0c20d90
fpcurthread  = none
idlethread   = none
APIC ID      = 0
currentldt   = 0x50
spin locks held:
db> show allpcpu
Current CPU: 0

cpuid        = 0
curthread    = 0xc0850118: pid 0 ""
curpcb       = 0xc0c20d90
fpcurthread  = none
idlethread   = none
APIC ID      = 0
currentldt   = 0x50
spin locks held:
db>

Ganbold







Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?443381F9.3010504>