Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 9 Mar 2004 20:54:58 +0000
From:      Bin Ren <br260@cam.ac.uk>
To:        Doom Neine <shockwavebsd@yahoo.com>
Cc:        Current FreeBSD <freebsd-current@freebsd.org>
Subject:   Re: garbage string as cpu identifier
Message-ID:  <06D0C7CB-720C-11D8-BBA4-000A9576014E@cam.ac.uk>
In-Reply-To: <20040309180326.42561.qmail@web13126.mail.yahoo.com>
References:  <20040309180326.42561.qmail@web13126.mail.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 9 Mar 2004, at 18:03, Doom Neine wrote:

> hello all,
> doug white pointed out that my cpu string being garbaged was  
> interesting, i noticed it but i didn't think it was a big deal.

I personally find this very interesting indeed.

> Timecounter "i8254" frequency 1193182 Hz quality 0
>
> CPU:  
> \M-5\M^@f\M-A\M-a\^P\M-~\M-C\M-h\M-7\M^?fY\M-1\^Z\M^J\M-C\M-~\M-H\M- 
> h\M-<I\M-h)Hr\M-)\M^@\M-e\M-x\M^@\M-E\^Hs\M-!\M-C\M-h% (1833.14-MHz  
> 686-class CPU)
>
> Origin = "AuthenticAMD" Id = 0x6a0 Stepping = 0
>
> Features=0x383fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE 
> ,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE>
>
> AMD Features=0xc0400000<AMIE,DSP,3DNow!>

After digging around, I locate the origin as 'cpuid()' functions.
Here, please answer a few questions:

1) What's your CPU option in kernel configuration file: I686_CPU
or I386_CPU? I guess yours is I686_CPU.

2) What's the specific model of your CPU? AMD Duron or Athlon?
What's the speed?

With your these answers, I could write a small patch. If you're
willing to try that, let's see how it goes.

Cheers,
Bin



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?06D0C7CB-720C-11D8-BBA4-000A9576014E>