Skip site navigation (1)Skip section navigation (2)
Date:      19 Nov 1999 13:12:30 +0200
From:      Ville-Pertti Keinonen <will@iki.fi>
To:        Jeroen Ruigrok/Asmodai <asmodai@wxs.nl>
Cc:        freebsd@nowcool.dhs.org, freebsd-current@freebsd.org
Subject:   Re: cpu name
Message-ID:  <867ljelopt.fsf@not.demophon.com>
In-Reply-To: Jeroen Ruigrok/Asmodai's message of "19 Nov 1999 09:25:57 %2B0200"
References:  <Pine.BSF.4.10.9911190244190.404-100000@nowcool.dhs.org> <19991119073255.A37588@daemon.ninth-circle.org.newsgate.clinet.fi>

next in thread | previous in thread | raw e-mail | index | archive | help

Jeroen Ruigrok/Asmodai <asmodai@wxs.nl> writes:

> Looking at /usr/src/sys/i386/i386/identcpu.c I see that the 0x580 is:
> 
> case 0x580:
> 	strcat(cpu_model, "K6-2");
> 	break;
> 
> Which gets copied into:
> 
> printf("CPU: ");
> strncpy(cpu_model, i386_cpus[cpu].cpu_name, sizeof cpu_model);
> 
> But I can't find anything remotely related that would corrupt the
> strncpy to print \^E.

Look again, the AMD identification can fill cpu_model using cpuid.

The code doesn't appear to have changed lately, so if there is a
problem it's probably a matter of some processor being incorrectly
identified as supporting the feature.  Or the processor is broken.

Does anyone know whether the processor in question should report its
name?


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?867ljelopt.fsf>