Date: Tue, 18 Oct 2005 11:26:49 -0400 From: Jung-uk Kim <jkim@FreeBSD.org> To: obrien@FreeBSD.org Cc: cvs-all@FreeBSD.org, cvs-src@FreeBSD.org, Gleb Smirnoff <glebius@FreeBSD.org>, Eric Anholt <eta@lclark.edu>, src-committers@FreeBSD.org Subject: Re: cvs commit: src/sys/amd64/amd64 identcpu.c src/sys/i386/i386 identcpu.c Message-ID: <200510181126.52097.jkim@FreeBSD.org> In-Reply-To: <20051018152043.GC84920@dragon.NUXI.org> References: <200510160858.j9G8wR9v045670@repoman.freebsd.org> <20051018065659.GD59364@cell.sick.ru> <20051018152043.GC84920@dragon.NUXI.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200510181126.52097.jkim>