From owner-freebsd-current@FreeBSD.ORG Fri Jul 11 11:44:51 2003 Return-Path: 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 F119437B401 for ; Fri, 11 Jul 2003 11:44:50 -0700 (PDT) Received: from gw.catspoiler.org (217-ip-163.nccn.net [209.79.217.163]) by mx1.FreeBSD.org (Postfix) with ESMTP id E1ADA43F85 for ; Fri, 11 Jul 2003 11:44:48 -0700 (PDT) (envelope-from truckman@FreeBSD.org) Received: from FreeBSD.org (mousie.catspoiler.org [192.168.101.2]) by gw.catspoiler.org (8.12.9/8.12.9) with ESMTP id h6BIicM7018465; Fri, 11 Jul 2003 11:44:43 -0700 (PDT) (envelope-from truckman@FreeBSD.org) Message-Id: <200307111844.h6BIicM7018465@gw.catspoiler.org> Date: Fri, 11 Jul 2003 11:44:38 -0700 (PDT) From: Don Lewis To: shizukakudo_99@yahoo.com In-Reply-To: <20030711181348.3345.qmail@web11403.mail.yahoo.com> MIME-Version: 1.0 Content-Type: TEXT/plain; charset=us-ascii cc: current@FreeBSD.org cc: l.ertl@univie.ac.at Subject: Re: Kernel built with new GCC panics immediately X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 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: Fri, 11 Jul 2003 18:44:51 -0000 On 11 Jul, Shizuka Kudo wrote: > > --- Lukas Ertl wrote: >> Hi there, >> >> just wanted to report that a kernel built with the new gcc panics >> immediately when booting. I've seen this on two machines. Panic and reboot >> happens fast that I couldn't get the panic message. > > Same here for an AMD Athlon & a Pentium III. The panic message for AMD is: > > Copyright (c) 1992-2003 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.1-CURRENT #20030712: Sat Jul 12 01:35:44 HKT 2003 > root@shizuka.gundumv.com:/usr/obj/usr/src/sys/SHIZUKA > Preloaded elf kernel "/boot/kernel/kernel" at 0xc058a000. > Preloaded elf module "/boot/kernel/acpi.ko" at 0xc058a1f4. > Timecounter "i8254" frequency 1193182 Hz > CPU: AMD Unknown (286-class CPU) ^^^ That's quite a downgrade ;-) This smells like a problem in either printcpuinfo(), lowcore.s, or the interface between them. > Origin = "AuthenticAMD" Stepping = 0 > panic: CPU class not configured > Debugger("panic") > Stopped at Debugger+0x54: xchgl %ebx,in_Debugger.0 > db> trace > Debugger(c03f6b71,c0470000,c0408af7,c05acd4c,100) at Debugger+0x54 > panic(c0408af7,c05acd80,c03aaff7,c0262967,c0577880) at panic+0xd5 > panicifcpuunsupported(c0262967,c0577880,0,c040705f,c05acd68) at panicifcpuunsup > orted+0x1b > cpu_startup(0,5a9000,5a9c00,5a9000,0) at cpu_startup+0x17 > mi_startup() at mi_startup+0xb5 > begin() at begin+0x2c