NetBSD Problem Report #42255

From www@NetBSD.org  Sat Oct 31 12:10:56 2009
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
	by www.NetBSD.org (Postfix) with ESMTP id 7063D63BA2A
	for <gnats-bugs@gnats.netbsd.org>; Sat, 31 Oct 2009 12:10:56 +0000 (UTC)
Message-Id: <20091031121055.ED57563B906@www.NetBSD.org>
Date: Sat, 31 Oct 2009 12:10:55 +0000 (UTC)
From: pallegra@gmail.com
Reply-To: pallegra@gmail.com
To: gnats-bugs@NetBSD.org
Subject: Add core i5 to cpuctl
X-Send-Pr-Version: www-1.0

>Number:         42255
>Category:       bin
>Synopsis:       Add core i5 to cpuctl
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    msaitoh
>State:          closed
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Sat Oct 31 12:15:00 +0000 2009
>Closed-Date:    Thu Dec 11 12:46:18 +0000 2014
>Last-Modified:  Thu Dec 11 12:46:18 +0000 2014
>Originator:     Pierre Allegraud
>Release:        amd64/current
>Organization:
>Environment:
NetBSD klarth.reseau 5.99.21 NetBSD 5.99.21 (GENERIC) #2: Mon Oct 26 18:30:17 CET 2009  root@klarth.reseau:/usr/obj/usr/src/sys/arch/amd64/compile/GENERIC amd64
>Description:
cpuctl identify 0 doesnt identify my Intel Core i5.

#cpuctl identify 0
cpu0: Intel Pentium Pro, II or III (686-class), 2675.08 MHz, id 0x106e5
>How-To-Repeat:

>Fix:
Index: arch/i386.c
===================================================================
RCS file: /cvsroot/src/usr.sbin/cpuctl/arch/i386.c,v
retrieving revision 1.20
diff -u -r1.20 i386.c
--- arch/i386.c	2 Oct 2009 13:54:01 -0000	1.20
+++ arch/i386.c	31 Oct 2009 12:04:59 -0000
@@ -253,7 +253,7 @@
 		  NULL,			NULL,
 		  "Core i7 (Nehalem)",	NULL,
 		  "Atom",		"XeonMP (Nehalem)",
-		   NULL,		NULL} },
+		  "Core i5 (Nehalem)",	NULL} },
 	{ /* End of list */
 	  0x00, { NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
 		  NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL} }

>Release-Note:

>Audit-Trail:

Responsible-Changed-From-To: bin-bug-people->msaitoh
Responsible-Changed-By: msaitoh@NetBSD.org
Responsible-Changed-When: Thu, 11 Dec 2014 12:46:18 +0000
Responsible-Changed-Why:
mine.


State-Changed-From-To: open->closed
State-Changed-By: msaitoh@NetBSD.org
State-Changed-When: Thu, 11 Dec 2014 12:46:18 +0000
State-Changed-Why:
This problem was fixed in both -current and netbsd-7.
cpuctl(7) has big difference between netbsd-6 and -current.
I would pullup some changes into netbsd-6.
Thanks.


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.