Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 21 Nov 1999 08:24:10 -0500
From:      "Jason Craig" <nemesys@home.com>
To:        "FreeBSD SMP" <freebsd-smp@freebsd.org>
Cc:        "Matthew N. Dodd" <winter@jurai.net>
Subject:   panic: APIC RTC != 8
Message-ID:  <002c01bf3423$b22f3080$d3b17018@wlfdle1.on.wave.home.com>

next in thread | raw e-mail | index | archive | help
Hey folks,

I am having a bit of a problem compiling a new SMP kernel for this dual proc
IBM PC Server 320.  I have been working with Matthew on the MCA support of
this machine, and it boots fine with a single proc kernel.  Here's what I
see when I try and boot with the multi proc kernel:

<SNIP>
lpt0: <generic printer> on ppbus 0
lpt0: Interrupt-driven port
ppi0: <generic parallel i/o> on ppbus 0
panic: APIC RTC != 8
mp_lock = 00000002; cpuid = 0; lapic.id = 00000000

syncing disks...
done
Automatic reboot in 15 seconds - press a key on the console to abort


Mathew mentioned I should also include a dump of my mptable.  Here it is:


============================================================================
===

MPTable, version 2.0.15

----------------------------------------------------------------------------
---

MP Floating Pointer Structure:

  location:   EBDA
  physical address:  0x0009f1e0
  signature:   '_MP_'
  length:   16 bytes
  version:   1.1
  checksum:   0xb9
  mode:    Virtual Wire

----------------------------------------------------------------------------
---

MP Config Table Header:

  physical address:  0x0009f1f0
  signature:   'PCMP'
  base table length:  276
  version:   1.1
  checksum:   0x60
  OEM ID:   'IBM     '
  Product ID:   '8640 PCI/MCA'
  OEM table pointer:  0x00000000
  OEM table size:  0
  entry count:   26
  local APIC address:  0xfee00000
  extended table length: 0
  extended table checksum: 0

----------------------------------------------------------------------------
---

MP Config Base Table Entries:

--
Processors: APIC ID Version State  Family Model Step Flags
   0  0x10  BSP, usable  5  2  5  0x03bf
   1  0x10  AP, usable  5  2  5  0x03bf
--
Bus:  Bus ID Type
   0  PCI
   1  MCA
   2  ISA
--
I/O APICs: APIC ID Version State  Address
   2  0x10  usable   0xfec00000
--
I/O Ints: Type Polarity    Trigger Bus ID  IRQ APIC ID PIN#
  ExtINT active-hi        edge      1    0       2    0
  INT active-hi        edge      1    1       2    1
  INT active-hi        edge      1    0       2    2
  INT active-lo       level      1    3       2    3
  INT active-lo       level      1    4       2    4
  INT active-lo       level      1    5       2    5
  INT active-lo       level      1    6       2    6
  INT active-hi       level      1    7       2    7
  INT active-hi        edge      1    8       2    8
  INT active-lo       level      1    9       2    9
  INT active-lo       level      1   10       2   10
  INT active-lo       level      1   11       2   11
  INT active-hi        edge      1   12       2   12
  INT active-lo        edge      1   13       2   13
  INT active-lo       level      1   14       2   14
  INT active-lo       level      1   15       2   15
  INT active-lo       level      0  4:A       2   15
  INT active-lo       level      0 12:A       2   11
--
Local Ints: Type Polarity    Trigger Bus ID  IRQ APIC ID PIN#
  ExtINT active-hi        edge      0  0:A     255    0
  NMI active-hi        edge      0  0:A     255    1

----------------------------------------------------------------------------
---

# SMP kernel config file options:


# Required:
options  SMP   # Symmetric MultiProcessor Kernel
options  APIC_IO   # Symmetric (APIC) I/O

# Optional (built-in defaults will work in most cases):
#options  NCPU=2   # number of CPUs
#options  NBUS=3   # number of busses
#options  NAPIC=1   # number of IO APICs
#options  NINTR=24  # number of INTs

============================================================================
===


When I configured my kernel, I used the following:

# To make an SMP kernel, the next two are needed
options         SMP                     # Symmetric MultiProcessor Kernel
options         APIC_IO                 # Symmetric (APIC) I/O
# Optionally these may need tweaked, (defaults shown):
options         NCPU=2                  # number of CPUs
options         NBUS=4                  # number of busses
options         NAPIC=1                 # number of IO APICs
options         NINTR=24                # number of INTs


Any thoughts on this problem?



Jason



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-smp" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?002c01bf3423$b22f3080$d3b17018>