Date: Fri, 18 Apr 2008 03:43:30 GMT From: Arthur Hartwig <arthur.hartwig@nokia.com> To: freebsd-gnats-submit@FreeBSD.org Subject: kern/122878: coretemp driver reports attach failure Message-ID: <200804180343.m3I3hU0r082221@www.freebsd.org> Resent-Message-ID: <200804180350.m3I3o1WC079635@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200804180343.m3I3hU0r082221>
