Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 Aug 2006 01:27:09 +0600 (YEKST)
From:      Stanislav Sedov <ssedov@mbsd.msk.ru>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        erik@smluc.org
Subject:   ports/102452: [PATCH] sysutils/x86info: read Centino MSRs for cpu model 13
Message-ID:  <20060823192709.6FD8A12024@fonon.realnet>
Resent-Message-ID: <200608232130.k7NLUKG0065771@freefall.freebsd.org>

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

>Number:         102452
>Category:       ports
>Synopsis:       [PATCH] sysutils/x86info: read Centino MSRs for cpu model 13
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Aug 23 21:30:18 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Stanislav Sedov
>Release:        FreeBSD 7.0-CURRENT i386
>Organization:
MBSD labs, Inc.
>Environment:
System: FreeBSD fonon.realnet 7.0-CURRENT FreeBSD 7.0-CURRENT #1: Wed Aug  2 21:44:37 MSD
>Description:
 - X86info will not read MSRs for centrino cpu model 13.

I'll submit this patch to original developer as well.

The following files was added:
- files/patch-Intel_info.c

Copy of this message was sent to (erik@smluc.org).

>How-To-Repeat:
>Fix:

--- x86info-1.18_1.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/sysutils/x86info/Makefile /var/tmp/x86info/Makefile
--- /usr/ports/sysutils/x86info/Makefile	Tue Aug 15 20:38:05 2006
+++ /var/tmp/x86info/Makefile	Thu Aug 24 01:25:45 2006
@@ -7,6 +7,7 @@
 
 PORTNAME=	x86info
 PORTVERSION=	1.18
+PORTREVISION=	1
 CATEGORIES=	sysutils
 MASTER_SITES=	http://www.codemonkey.org.uk/projects/x86info/ \
 		${MASTER_SITE_SOURCEFORGE}
diff -ruN --exclude=CVS /usr/ports/sysutils/x86info/files/patch-Intel_info.c /var/tmp/x86info/files/patch-Intel_info.c
--- /usr/ports/sysutils/x86info/files/patch-Intel_info.c	Thu Jan  1 05:00:00 1970
+++ /var/tmp/x86info/files/patch-Intel_info.c	Thu Aug 24 01:25:25 2006
@@ -0,0 +1,11 @@
+--- Intel/info.c.orig	Thu Aug 24 01:24:35 2006
++++ Intel/info.c	Thu Aug 24 01:25:13 2006
+@@ -35,7 +35,7 @@
+ 	if (show_msr) {
+ 		if (cpu->family==0xf)
+ 			dump_p4_MSRs(cpu);
+-		if (cpu->family==0x6 && cpu->model==9)
++		if (cpu->family==0x6 && (cpu->model == 9 || cpu->model == 13))
+ 			dump_centrino_MSRs(cpu);
+ 	}
+ 
--- x86info-1.18_1.patch ends here ---

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



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