From owner-cvs-src@FreeBSD.ORG Tue Oct 18 15:27:08 2005 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8377416A41F; Tue, 18 Oct 2005 15:27:08 +0000 (GMT) (envelope-from jkim@FreeBSD.org) Received: from anuket.mj.niksun.com (gwnew.niksun.com [65.115.46.162]) by mx1.FreeBSD.org (Postfix) with ESMTP id 148AB43D46; Tue, 18 Oct 2005 15:27:05 +0000 (GMT) (envelope-from jkim@FreeBSD.org) Received: from niksun.com (anuket [10.70.0.5]) by anuket.mj.niksun.com (8.13.1/8.13.1) with ESMTP id j9IFYuxr003794; Tue, 18 Oct 2005 11:34:56 -0400 (EDT) (envelope-from jkim@FreeBSD.org) From: Jung-uk Kim To: obrien@FreeBSD.org Date: Tue, 18 Oct 2005 11:26:49 -0400 User-Agent: KMail/1.6.2 References: <200510160858.j9G8wR9v045670@repoman.freebsd.org> <20051018065659.GD59364@cell.sick.ru> <20051018152043.GC84920@dragon.NUXI.org> In-Reply-To: <20051018152043.GC84920@dragon.NUXI.org> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="euc-kr" Content-Transfer-Encoding: 7bit Message-Id: <200510181126.52097.jkim@FreeBSD.org> X-Virus-Scanned: ClamAV devel-20050919/1142/Tue Oct 18 03:21:37 2005 on anuket.mj.niksun.com X-Virus-Status: Clean Cc: cvs-all@FreeBSD.org, cvs-src@FreeBSD.org, Gleb Smirnoff , Eric Anholt , src-committers@FreeBSD.org Subject: Re: cvs commit: src/sys/amd64/amd64 identcpu.c src/sys/i386/i386 identcpu.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Oct 2005 15:27:08 -0000 On Tuesday 18 October 2005 11:20 am, David O'Brien wrote: > On Tue, Oct 18, 2005 at 10:56:59AM +0400, Gleb Smirnoff wrote: > > On Mon, Oct 17, 2005 at 08:59:02PM -0700, David O'Brien wrote: > > D> Why is this not clear? > > D> > > D> CPU: Dual Core AMD Opteron(tm) Processor 280 (2392.92-MHz > > K8-class CPU) > > ... > > > D> > When maintaining hundreds of systems in server > > D> > room, people usually forget what lives inside the computer > > cases. And D> > when one needs to tell what is the motherboard > > and how many sockets D> > and fans it has, he should be capable > > to do this without opening D> > the case. > > D> > > D> The above dmesg doesn't tell this to you? > > > > Only after you have explained it. If I am a new FreeBSD user, I > > won't understand that I have two sockets with two dual core CPUs. > > You will understand you have dual-core CPU's - I don't see how you > could misunderstand: > Dual Core AMD Opteron(tm) Processor 280 (2392.92-MHz K8-class > CPU) > > What is missing is the information of how many sockets you have in > the machine. Jkim's patch doesn't fix that. That's not I wanted to 'fix.' I wanted to give more information. That's all. OTOH, you can get the number of existing sockets and populated sockets via SMBIOS. I have done that before and it is quite easy to implement in src/sys/boot/i386/libi386/smbios.c. Jung-uk Kim