Date: Fri, 19 Nov 1999 07:32:55 +0100 From: Jeroen Ruigrok/Asmodai <asmodai@wxs.nl> To: Byung Yang <freebsd@nowcool.dhs.org> Cc: freebsd-current@freebsd.org Subject: Re: cpu name Message-ID: <19991119073255.A37588@daemon.ninth-circle.org> In-Reply-To: <Pine.BSF.4.10.9911190244190.404-100000@nowcool.dhs.org> References: <Pine.BSF.4.10.9911190244190.404-100000@nowcool.dhs.org>
next in thread | previous in thread | raw e-mail | index | archive | help
-On [19991119 04:02], Byung Yang (freebsd@nowcool.dhs.org) wrote: >supped && made world a min ago: >check out the CPU: name >I am using AMD K6-2 333Mhz >----------------------------------------------------------- >CPU: \^E (334.40-MHz 586-class CPU) > Origin = "AuthenticAMD" Id = 0x580 Stepping = 0 > Features=0x8001bf<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8,MMX> > AMD Features=0x80000800<SYSCALL,3DNow!> I made world yesterday morning on two boxes, both are GenuineIntel and have no problems whatsoever. 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. -- Jeroen Ruigrok van der Werven/Asmodai asmodai(at)wxs.nl The BSD Programmer's Documentation Project <http://home.wxs.nl/~asmodai> Network/Security Specialist BSD: Technical excellence at its best I succeed him; no one could replace him. 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?19991119073255.A37588>