From owner-freebsd-current@FreeBSD.ORG Wed Apr 5 08:39:00 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B394F16A400; Wed, 5 Apr 2006 08:39:00 +0000 (UTC) (envelope-from ganbold@micom.mng.net) Received: from publicd.ub.mng.net (publicd.ub.mng.net [202.179.0.88]) by mx1.FreeBSD.org (Postfix) with ESMTP id 022B443D45; Wed, 5 Apr 2006 08:38:09 +0000 (GMT) (envelope-from ganbold@micom.mng.net) Received: from [202.179.0.164] (helo=[192.168.0.18]) by publicd.ub.mng.net with esmtpa (Exim 4.60 (FreeBSD)) (envelope-from ) id 1FR3cF-000LQw-Ap; Wed, 05 Apr 2006 17:43:51 +0900 Message-ID: <443381F9.3010504@micom.mng.net> Date: Wed, 05 Apr 2006 17:38:17 +0900 From: Ganbold User-Agent: Thunderbird 1.5 (X11/20060202) MIME-Version: 1.0 To: Peter Jeremy 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> In-Reply-To: <20060405075841.GB699@turion.vk2pj.dyndns.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: lydianconcepts@gmail.com, freebsd-current@freebsd.org, mjacob@freebsd.org Subject: Re: CPU class not configured problem in CURRENT X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 Apr 2006 08:39:00 -0000 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: >> 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 >> Features2=0x641d> >> AMD Features=0x20000000 >> 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: 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 Features2=0x641d> AMD Features=0x20000000 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