Hello, 5.3-STABLE refuses to recognize my VIA C3 CPU, it panics immediately after the loader with CPU class not configured Last known working kernel is from Sun Nov 7 16:27:23 CET 2004, it recognizes the CPU as CPU: VIA C3 Samuel 2 (601.37-MHz 686-class CPU) Origin = "CentaurHauls" Id = 0x673 Stepping = 3 Features=0x803035<FPU,DE,TSC,MSR,MTRR,PGE,MMX> The new kernel says it's an "unknown class" CPU. I haven't changed my kernel config since I built the old kernel, so maybe I have overlooked some new option for VIA CPUs, but I couldn't find a change at first glance. Any ideas? thanks, le
On Thu, 6 Jan 2005 23:36:43 +0100, Lukas Ertl <lukas.ertl@gmail.com> wrote:> 5.3-STABLE refuses to recognize my VIA C3 CPU, it panics immediately > after the loader with > > CPU class not configuredNevermind. It seems I now explicitely need cpu I686_CPU in my kernel. thanks, le
Am 06.01.2005 um 23:36 schrieb Lukas Ertl:> Hello, > > 5.3-STABLE refuses to recognize my VIA C3 CPU, it panics immediately > after the loader with > > CPU class not configured > > Last known working kernel is from Sun Nov 7 16:27:23 CET 2004, it > recognizes the CPU as > > CPU: VIA C3 Samuel 2 (601.37-MHz 686-class CPU) > Origin = "CentaurHauls" Id = 0x673 Stepping = 3 > Features=0x803035<FPU,DE,TSC,MSR,MTRR,PGE,MMX> > > The new kernel says it's an "unknown class" CPU. I haven't changed my > kernel config since I built the old kernel, so maybe I have overlooked > some new option for VIA CPUs, but I couldn't find a change at first > glance.FWIW, this is working for me: FreeBSD diesel.lassitu.de 5.3-STABLE FreeBSD 5.3-STABLE #0: Wed Dec 22 18:45:26 CET 2004 CPU: VIA C3 Samuel 2 (532.64-MHz 686-class CPU) Origin = "CentaurHauls" Id = 0x673 Stepping = 3 Features=0x803035<FPU,DE,TSC,MSR,MTRR,PGE,MMX> (it's a Lexware barebone.) I have this in my kernel config: machine i386 cpu I686_CPU and no CPUTYPE set in make.conf. HTH, Stefan -- Stefan Bethke <stb@lassitu.de> Fon +49 170 346 0140
On Thu, 2005-Jan-06 23:36:43 +0100, Lukas Ertl wrote:>5.3-STABLE refuses to recognize my VIA C3 CPU, it panics immediately >after the loader with > >CPU class not configured > >Last known working kernel is from Sun Nov 7 16:27:23 CET 2004, it >recognizes the CPU as > >CPU: VIA C3 Samuel 2 (601.37-MHz 686-class CPU) > Origin = "CentaurHauls" Id = 0x673 Stepping = 3 > Features=0x803035<FPU,DE,TSC,MSR,MTRR,PGE,MMX> > >The new kernel says it's an "unknown class" CPU.The exact message may help diagnose what has gone wrong.> I haven't changed my >kernel config since I built the old kernel, so maybe I have overlooked >some new option for VIA CPUs, but I couldn't find a change at first >glance.FWIW, I can't see anything that has changed. Assuming you've double-checked the obvious things (like both kernels really were built using the same config file and you're updating along the correct branch), I'd suggest you either need to do a binary search between 7th November and now to work out what broke, or (if "boot -d" enters the debugger early enough) spend some time with DDB working out why the CPU ident code no longer works for you. The relevant files are: /sys/i386/i386/identcpu.c /sys/i386/i386/initcpu.c /sys/i386/i386/locore.s -- Peter Jeremy