From nobody  Sun Nov  1 14:56:29 1998
Received: (from nobody@localhost)
          by hub.freebsd.org (8.8.8/8.8.8) id OAA20701;
          Sun, 1 Nov 1998 14:56:29 -0800 (PST)
          (envelope-from nobody)
Message-Id: <199811012256.OAA20701@hub.freebsd.org>
Date: Sun, 1 Nov 1998 14:56:29 -0800 (PST)
From: rv@fore.com
To: freebsd-gnats-submit@freebsd.org
Subject: 3.0-RELEASE panics with standard SMP kernel from /sys/i386/conf/SMP-GENERIC
X-Send-Pr-Version: www-1.0

>Number:         8532
>Category:       kern
>Synopsis:       3.0-RELEASE panics with standard SMP kernel from /sys/i386/conf/SMP-GENERIC
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Nov  1 15:00:00 PST 1998
>Closed-Date:    Fri Jul 16 01:41:08 PDT 1999
>Last-Modified:  Fri Jul 16 01:41:40 PDT 1999
>Originator:     Rajesh Vaidheeswarran
>Release:        3.0-RELEASE
>Organization:
>Environment:
FreeBSD linux.eng.fore.com 3.0-RELEASE FreeBSD 3.0-RELEASE #0: Sun Nov  1 15:27:24 EST 1998     bash@freebsd.eng.fore.com:/usr/src/sys/compile/FB30  i386
>Description:
On boot, the kernel falls into ddb with the following panic,

panic: pmap_botostrap: no local apic!
mp_lock = 00000001; cpuid = 0; lapic.id = 00000000
Debugger("panic")
Stopped at      _Debugger+0x35: movb    $0,_in_Debugger.98
db>

I am using a Micron Millenia Mme with one Pentium 200Mhz, 160Mb RAM and
nothing fancy.

I would like to know what is the supported architecture to run the
SMP kernel on.

Also, when will there be a version of SMP FreeBSD that will run on a 
run-of-the-mill PC?

Thanks

>How-To-Repeat:
On a generic PC platform load 3.0, and (as root)
cd /sys/i386/conf/
config SMP-GENERIC
cd ../../compile/SMP-GENERIC
make depend; make ; make install
reboot

>Fix:

>Release-Note:
>Audit-Trail:

From: "Steve Friedrich" <SteveFriedrich@Hot-Shot.com>
To: "freebsd-gnats-submit@FreeBSD.ORG" <freebsd-gnats-submit@FreeBSD.ORG>,
        "rv@fore.com" <rv@fore.com>
Cc:  Subject: Re: kern/8532: 3.0-RELEASE panics with standard SMP kernel from /sys/i386/conf/SMP-GENERIC
Date: Sun, 01 Nov 1998 19:05:42 -0500

 On Sun, 1 Nov 1998 14:56:29 -0800 (PST), rv@fore.com wrote:
 
 >I am using a Micron Millenia Mme with one Pentium 200Mhz, 160Mb RAM and
 >nothing fancy.
 
 I think SMP kernels REQUIRE at least 2 CPUs.  See
 http://www.freebsd.org/~fsmp/SMP/SMP.html
 
 Follow the link to getting started
 http://www.freebsd.org/~fsmp/SMP/getstarted.html
 and you'll see:
 Important facts:
 
      The FreeBSD SMP kernel is BETA LEVEL software, use with caution! 
      The motherboard must be Intel MP Spec. 1.1 or 1.4 compatible. 
      The SMP kernel WILL NOT WORK on a uniprocessor motherboard. 
 
 This is ambigious.  But I think I read that it requires 2 CPUs
 somewhere else...  You might email to the guy who was maintaining these
 pages for clarification...
 
 
 Unix systems measure "uptime" in years, Winblows measures it in minutes.
 
 

From: Peter Wemm <peter@netplex.com.au>
To: rv@fore.com
Cc: freebsd-gnats-submit@FreeBSD.ORG
Subject: Re: kern/8532: 3.0-RELEASE panics with standard SMP kernel from /sys/i386/conf/SMP-GENERIC 
Date: Mon, 02 Nov 1998 09:15:44 +0800

 rv@fore.com wrote:
 [..]
 
 > panic: pmap_botostrap: no local apic!
   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
 > I am using a Micron Millenia Mme with one Pentium 200Mhz, 160Mb RAM and
 > nothing fancy.
 > 
 > I would like to know what is the supported architecture to run the
 > SMP kernel on.
 > 
 > Also, when will there be a version of SMP FreeBSD that will run on a 
 > run-of-the-mill PC?
 
 You cannot run a SMP kernel on a uniprocessor motherboard - it is missing 
 too much support hardware, the local and IO APICs in particular.
 
 The interrupt mechanism is extensively different when compiled in APIC_IO 
 mode, it is not practical to have one kernel architecture that works on 
 both UP and SMP motherboards, the differences are too great.
 
 Also, it's worth noting that the motherboard will disable the on-cpu local
 apic unless it's SMP capable.  I think I've heard that some SMP
 motherboards will do this too if there is only one cpu, but I am not sure 
 about that.
 
 Cheers,
 -Peter
 
 
State-Changed-From-To: open->closed 
State-Changed-By: n_hibma 
State-Changed-When: Fri Jul 16 01:41:08 PDT 1999 
State-Changed-Why:  
Peter Wemm <peter@netplex.com.au> gave a definite answer. 
>Unformatted:
