Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 18 Mar 2000 18:25:41 -0500 (EST)
From:      "Brandon D. Valentine" <bandix@looksharp.net>
To:        Patrick Gardella <patrick@whetstonelogic.com>
Cc:        Matt Heckaman <matt@ARPA.MAIL.NET>, "Brian O'Shea" <boshea@ricochet.net>, FreeBSD-STABLE <FreeBSD-STABLE@FreeBSD.ORG>
Subject:   Re: SMP oddity
Message-ID:  <Pine.BSF.4.21.0003181819001.64559-100000@turtle.looksharp.net>
In-Reply-To: <38D4059B.AAE12834@whetstonelogic.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0003181819001.64559-100000>