From owner-freebsd-stable Sat Mar 18 15:25:51 2000 Delivered-To: freebsd-stable@freebsd.org Received: from turtle.looksharp.net (cc360882-a.strhg1.mi.home.com [24.2.221.22]) by hub.freebsd.org (Postfix) with ESMTP id 63A6F37B618 for ; Sat, 18 Mar 2000 15:25:46 -0800 (PST) (envelope-from bandix@looksharp.net) Received: from localhost (bandix@localhost) by turtle.looksharp.net (8.9.3/8.9.3) with ESMTP id SAA64588; Sat, 18 Mar 2000 18:25:41 -0500 (EST) (envelope-from bandix@looksharp.net) Date: Sat, 18 Mar 2000 18:25:41 -0500 (EST) From: "Brandon D. Valentine" To: Patrick Gardella Cc: Matt Heckaman , "Brian O'Shea" , FreeBSD-STABLE Subject: Re: SMP oddity In-Reply-To: <38D4059B.AAE12834@whetstonelogic.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Well, the diff didn't work on my 3.4-RELEASE system via patch. However, I found the 4 lines the diff wanted to remove and did it myself and it works beautifully. I imagine it is just a change in the file under RELENG_3 since 3.4-RELEASE came out that altered the line numbers patch was looking for. Anyway, here are my results followed by a diff from my 3.4-RELEASE system to prove that the changes are identical to the one yours suggested: --- dyrnwyn# uname -a FreeBSD dyrnwyn.prydain.net 3.4-RELEASE FreeBSD 3.4-RELEASE #1: Sun Mar 12 14:00:20 CST 2000 bandix@dyrnwyn.prydain.net:/usr/src/sys/compile/DYRNWYN i386 dyrnwyn# dmesg | grep CPU CPU: Pentium/P55C (586-class CPU) SMP: AP CPU #1 Launched! --- dyrnwyn# uname -a FreeBSD dyrnwyn.prydain.net 3.4-RELEASE FreeBSD 3.4-RELEASE #2: Sat Mar 18 17:07:31 CST 2000 bandix@dyrnwyn.prydain.net:/usr/src/sys/compile/DYRNWYN i386 dyrnwyn# dmesg | grep CPU CPU: Pentium/P55C (232.67-MHz 586-class CPU) SMP: AP CPU #1 Launched! --- *** identcpu.c.orig Sat Mar 18 17:02:14 2000 --- identcpu.c Sat Mar 18 17:03:53 2000 *************** *** 504,524 **** #endif #if defined(I586_CPU) case CPUCLASS_586: - #ifndef SMP printf("%d.%02d-MHz ", (tsc_freq + 4999) / 1000000, ((tsc_freq + 4999) / 10000) % 100); - #endif printf("586"); break; #endif #if defined(I686_CPU) case CPUCLASS_686: - #ifndef SMP printf("%d.%02d-MHz ", (tsc_freq + 4999) / 1000000, ((tsc_freq + 4999) / 10000) % 100); - #endif printf("686"); break; #endif --- 504,520 ---- ------------------------------------------------------------- | -Brandon D. Valentine bandix at looksharp.net | bandix on EFnet IRC BVRiker on AIM ------------------------------------------------------------- | "...and as for hackers, we note that all of those known to | The Register are so strapped financially that seizing their | property would be tantamount to squeezing blood from a | stone." -- The Register, 02/17/2000 ------------------------------------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message