Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 9 Jan 2008 13:42:15 GMT
From:      "Y.Okabe" <be_works_us@yahoo.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   i386/119491: padlock enable for new VIA C7 (CentaurHauls) cpuid 0x6d0
Message-ID:  <200801091342.m09DgFWI080004@www.freebsd.org>
Resent-Message-ID: <200801091350.m09Do1gY080276@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         119491
>Category:       i386
>Synopsis:       padlock enable for new VIA C7 (CentaurHauls) cpuid 0x6d0
>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 09 13:50:01 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Y.Okabe
>Release:        7.0-PRERELEASE
>Organization:
Japan
>Environment:
FreeBSD  7.0-PRERELEASE FreeBSD 7.0-PRERELEASE

CPU: VIA C7 Esther+RNG+AES+AES-CTR+SHA1+SHA256+RSA (1500.00-MHz 686-class CPU)
  Origin = "CentaurHauls"  Id = 0x6d0  Stepping = 0
  Features=0xa7c9bbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,CMOV,PAT,CLFLUSH,ACPI,MMX,FXSR,SSE,SSE2,TM,PBE>
  Features2=0x4181<SSE3,EST,TM2,xTPR>
>Description:
New VIA C7 (CentaurHauls) machine not detected VIA CPU feauture.

ex. GA-C7V7-CSI-RH-SI

dmesg reports follow line.

kernel> padlock0: No ACE Support.



>How-To-Repeat:
install GENERIC kernel for RENENG_7
>Fix:

pached for 2 files.


/usr/src/sys/i386/i386/initcpu.c

line 685 near 
#endif
                } else if (strcmp(cpu_vendor, "CentaurHauls") == 0) {
                        switch (cpu_id & 0xff0) {
                        case 0x690:
                                if ((cpu_id & 0xf) < 3)
                                        break;
                                /* fall through. */
                        case 0x6a0:
+                        case 0x6d0: // new cpu id patch
                                init_via();
                                break;
                        default:
                                break;
                        }


/usr/src/sys/i386/i386/identcpu.c 

line 586 near.
 

                                break;
                        goto via_common;
                case 0x6a0:
+                case 0x6d0: // new cpu id
                        strcpy(cpu_model, "VIA C7 Esther");
via_common:
                        do_cpuid(0xc0000000, regs);




>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200801091342.m09DgFWI080004>