From owner-freebsd-current Thu Nov 18 23:25:39 1999 Delivered-To: freebsd-current@freebsd.org Received: from smtp03.wxs.nl (smtp03.wxs.nl [195.121.6.37]) by hub.freebsd.org (Postfix) with ESMTP id 3BD7715592 for ; Thu, 18 Nov 1999 23:25:34 -0800 (PST) (envelope-from asmodai@wxs.nl) Received: from daemon.ninth-circle.org ([195.121.196.97]) by smtp03.wxs.nl (Netscape Messaging Server 3.61) with ESMTP id AAA4642; Fri, 19 Nov 1999 08:25:33 +0100 Received: (from asmodai@localhost) by daemon.ninth-circle.org (8.9.3/8.9.3) id HAA37638; Fri, 19 Nov 1999 07:32:56 +0100 (CET) (envelope-from asmodai) Date: Fri, 19 Nov 1999 07:32:55 +0100 From: Jeroen Ruigrok/Asmodai To: Byung Yang Cc: freebsd-current@freebsd.org Subject: Re: cpu name Message-ID: <19991119073255.A37588@daemon.ninth-circle.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0pre3i In-Reply-To: Organisation: Ninth-Circle Enterprises Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG -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 > AMD Features=0x80000800 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 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