Date: Wed, 23 Jan 2008 00:00:32 -0500 (EST) From: Michael Proto <mike@jellydonut.org> To: FreeBSD-gnats-submit@FreeBSD.org Subject: i386/119913: VIA CPU mis-detected in kernel Message-ID: <200801230500.m0N50Wu0026936@socrates.localnet> Resent-Message-ID: <200801230530.m0N5U049072752@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 119913 >Category: i386 >Synopsis: VIA CPU mis-detected in kernel >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-i386 >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Jan 23 05:30:00 UTC 2008 >Closed-Date: >Last-Modified: >Originator: Michael Proto >Release: FreeBSD 6.3-RELEASE i386 >Organization: >Environment: System: FreeBSD socrates.localnet 6.3-RELEASE FreeBSD 6.3-RELEASE #8: Mon Jan 21 00:42:19 EST 2008 root@socrates.localnet:/usr/obj/usr/src/sys/SOCRATES i386 >Description: I have a VIA Esther CPU that is not being properly detected by the kernel. Upon boot of GENERIC, I see the following for my CPU: CPU: VIA/IDT Unknown (1200.01-MHz 686-class CPU) Origin = "CentaurHauls" Id = 0x6d0 Stepping = 0 Features=0xa7c9baff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,APIC,SEP,MTRR,PGE,CMOV,PAT,CLFLUSH,ACPI,MMX,FXSR,SSE,SSE2,TM,PBE> Features2=0x4181<SSE3,EST,TM2,xTPR> This should be a VIA Esther CPU. By applying the following patch the CPU is correctly detected: CPU: VIA C7 Esther+RNG+AES+AES-CTR+SHA1+SHA256+RSA (1200.01-MHz 686-class CPU) Origin = "CentaurHauls" Id = 0x6d0 Stepping = 0 Features=0xa7c9baff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,APIC,SEP,MTRR,PGE,CMOV,PAT,CLFLUSH,ACPI,MMX,FXSR,SSE,SSE2,TM,PBE> Features2=0x4181<SSE3,EST,TM2,xTPR> >How-To-Repeat: Boot GENERIC on this CPU, purchased as a soldiered-on component of the Jetway J7F4K1G2E motherboard from e-itx.com >Fix: Apply the following patch: --- sys/i386/i386/identcpu.c.old 2008-01-04 03:44:43.000000000 -0500 +++ sys/i386/i386/identcpu.c 2008-01-01 10:34:25.000000000 -0500 @@ -564,6 +564,8 @@ goto via_common; case 0x6a0: strcpy(cpu_model, "VIA C7 Esther"); + case 0x6d0: + strcpy(cpu_model, "VIA C7 Esther"); via_common: do_cpuid(0xc0000000, regs); i = regs[0]; >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200801230500.m0N50Wu0026936>