kern/122878: coretemp driver reports attach failure

Arthur Hartwig arthur.hartwig at nokia.com
Fri Apr 18 03:50:02 UTC 2008


>Number:         122878
>Category:       kern
>Synopsis:       coretemp driver reports attach failure
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Apr 18 03:50:01 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Arthur Hartwig
>Release:        6.3 & 7.0
>Organization:
Nokia
>Environment:
>Description:
If kernel is built with coretemp driver and run on Celeron M based system a coretemp attach failure is reported.
>How-To-Repeat:

>Fix:
In coretemp_identify() in dev/coretemp/coretemp.c check the cpu supports CPUID 6 before executing CPUID 6:

Change

!       /* Check that CPUID is supported and the vendor is Intel.*/
!       if (cpu_high == 0 || strcmp(cpu_vendor, "GenuineIntel"))
                return;
to
!       /* Check that CPUID 0x06 is supported and the vendor is Intel.*/
!       if (cpu_high < 6 || strcmp(cpu_vendor, "GenuineIntel"))
                return;


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


More information about the freebsd-bugs mailing list