Re: Detecting CPU Type

2007-07-10 Thread Rob

Olivier Regnier wrote:

I searching to find information about my CPU type.
i have this: CPU: Mobile AMD Sempron(tm) Processor 2800+ (1600.06-Mhz 686-class 
CPU)
I must configure my CPUTYPE?= in /etc/make.conf.
I'ts i686 (686-class) or i386 ?


i386 is the architecture;  it includes all the similar processors including 
the 486, Pentiums, Athlon, etc.   Other architectures are completely different hardware, 
eg Sun's SPARC.

The 686-class is the specific processor within the i386 architecture.  if you 
look in /usr/share/examples/etc/make.conf you'll see a list of options for 
CPUTYPE.  athlon-xp might be the closest to your cpu.  However, some folks here 
recommend against using overly specific cpu optimization.  You can go safe and 
just use pentium4

 -RW

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Detecting CPU Type

2007-07-10 Thread Momchil Ivanov
On Tuesday 10 July 2007 21:54:43 Olivier Regnier wrote:
 Hi everyone,

 I searching to find information about my CPU type.

 With the following command:
 # dmesg | grep -i cpu
 i have this: CPU: Mobile AMD Sempron(tm) Processor 2800+ (1600.06-Mhz
 686-class CPU)
 but with a
 # uname -m
 i have i386.

 I must configure my CPUTYPE?= in /etc/make.conf.
 I'ts i686 (686-class) or i386 ?

 Can you give me information please ?

 Thank you.

 Olivier Regnier

Hi Olivier,

from the manual page of uname(1) you can see what the -m option shows you, 
namely the platform on which you are running FreeBSD:

 -m  Write the type of the current hardware platform to standard out-
 put.
 
This page gives information on what kind of platforms does FreeBSD run 
http://www.freebsd.org/platforms/

-- 
PGP KeyID: 0x3118168B
Keyserver: pgp.mit.edu
Key fingerprint BB50 2983 0714 36DC D02E  158A E03D 56DA 3118 168B
  


pgpWIVoklXlLD.pgp
Description: PGP signature


Re: Detecting CPU Type

2007-07-10 Thread RW
On Tue, 10 Jul 2007 16:42:33 -0400
Rob [EMAIL PROTECTED] wrote:

 Olivier Regnier wrote:
  I searching to find information about my CPU type.
  i have this: CPU: Mobile AMD Sempron(tm) Processor 2800+
  (1600.06-Mhz 686-class CPU) I must configure my CPUTYPE?=
  in /etc/make.conf. I'ts i686 (686-class) or i386 ?
 
 i386 is the architecture;  it includes all the similar processors
 including the 486, Pentiums, Athlon, etc.   Other architectures are
 completely different hardware, eg Sun's SPARC.
 
 The 686-class is the specific processor within the i386
 architecture.  if you look in /usr/share/examples/etc/make.conf
 you'll see a list of options for CPUTYPE.  athlon-xp might be the
 closest to your cpu.  However, some folks here recommend against
 using overly specific cpu optimization.  You can go safe and just use
 pentium4



I'm not sure that is safe, Athlons, Sempron etc are back-compatible to
686 i.e. Pentium Pro, which is way before Intel developed the Pentium4.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Detecting CPU Type

2007-07-10 Thread Garrett Cooper

RW wrote:

On Tue, 10 Jul 2007 16:42:33 -0400
Rob [EMAIL PROTECTED] wrote:

  

Olivier Regnier wrote:


I searching to find information about my CPU type.
i have this: CPU: Mobile AMD Sempron(tm) Processor 2800+
(1600.06-Mhz 686-class CPU) I must configure my CPUTYPE?=
in /etc/make.conf. I'ts i686 (686-class) or i386 ?
  

i386 is the architecture;  it includes all the similar processors
including the 486, Pentiums, Athlon, etc.   Other architectures are
completely different hardware, eg Sun's SPARC.

The 686-class is the specific processor within the i386
architecture.  if you look in /usr/share/examples/etc/make.conf
you'll see a list of options for CPUTYPE.  athlon-xp might be the
closest to your cpu.  However, some folks here recommend against
using overly specific cpu optimization.  You can go safe and just use
pentium4



I'm not sure that is safe, Athlons, Sempron etc are back-compatible to
686 i.e. Pentium Pro, which is way before Intel developed the Pentium4.
  

   Use athlon-xp (hyphen or no hyphen? I forget..).
-Garrett
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Detecting CPU type without dmesg

2006-03-22 Thread Andrey V. Semyonov

Nathan Butcher wrote:

Here's a curly question:- How can you detect the CPU type (make, model,
and rated speed) on a running FreeBSD server without using dmesg?

I can't shut this machine off to check BIOS messages, and neither can I
check dmesg (it seems that a pile of network dmesg logging has rotated
the kernel initialization log part off into the sunset).

Is there a way to check CPU processor make and model type at all now?
I'm starting to wish that FreeBSD would save the kernel initialization
log in a place where it couldn't get lost (sort of like /proc in Linux
but without the fanciness that entails)... or perhaps there is such a
Valhalla in FreeBSD and I can't see it for the forest?


You may try:
# less /var/run/dmesg.boot
The boot-stage dmesg is always saved there.


Also, try to use linprocfs(5) and mount_linprocfs(8). The linux-style 
hardware description is there.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Detecting CPU type without dmesg

2006-03-22 Thread lars
Nathan Butcher [EMAIL PROTECTED] wrote:
 Hi everyone,
 
 Here's a curly question:- How can you detect the CPU type (make, model,
 and rated speed) on a running FreeBSD server without using dmesg?
 
 I can't shut this machine off to check BIOS messages, and neither can I
 check dmesg (it seems that a pile of network dmesg logging has rotated
 the kernel initialization log part off into the sunset).
 
 Is there a way to check CPU processor make and model type at all now?
 I'm starting to wish that FreeBSD would save the kernel initialization
 log in a place where it couldn't get lost (sort of like /proc in Linux
 but without the fanciness that entails)... or perhaps there is such a
 Valhalla in FreeBSD and I can't see it for the forest?
 
 Help much appreciated
 
 Nathan
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
 
You could use dmidecode, it's in the Ports.

hth
lars.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Detecting CPU type without dmesg

2006-03-22 Thread Andrew Pantyukhin
On 3/22/06, lars [EMAIL PROTECTED] wrote:
 Nathan Butcher [EMAIL PROTECTED] wrote:
  Hi everyone,
 
  Here's a curly question:- How can you detect the CPU type (make, model,
  and rated speed) on a running FreeBSD server without using dmesg?
 
  I can't shut this machine off to check BIOS messages, and neither can I
  check dmesg (it seems that a pile of network dmesg logging has rotated
  the kernel initialization log part off into the sunset).
 
  Is there a way to check CPU processor make and model type at all now?
  I'm starting to wish that FreeBSD would save the kernel initialization
  log in a place where it couldn't get lost (sort of like /proc in Linux
  but without the fanciness that entails)... or perhaps there is such a
  Valhalla in FreeBSD and I can't see it for the forest?
 
  Help much appreciated
 
  Nathan
  ___
  freebsd-questions@freebsd.org mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to [EMAIL PROTECTED]
 
 You could use dmidecode, it's in the Ports.

Also sysutils/x86info
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]