Re: Kernel built with new GCC panics immediately

From: Don Lewis <truckman_at_FreeBSD.org>
Date: Fri, 11 Jul 2003 11:44:38 -0700 (PDT)
On 11 Jul, Shizuka Kudo wrote:
> 
> --- Lukas Ertl <l.ertl_at_univie.ac.at> 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_at_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                                                          
Received on Fri Jul 11 2003 - 09:44:51 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:14 UTC