Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 Dec 1999 13:30:28 -0800
From:      "Ken Pugsley" <kpugsley@dns1.sjcoe.net>
To:        freebsd-questions@freebsd.org
Subject:   CPU 1 lockup and strange mptable output on ALR 2-processor machine
Message-ID:  <199912132134.NAA02607@dns1.sjcoe.net>

next in thread | raw e-mail | index | archive | help
I posted this message on freebsd-smp also...sorry for the bandwidth suck but
since I didn't get a reply there I thought I'd try here...
---------

I'm experiencing trouble with an older (yet new to me) ALR 2-way P133
machine.  It seems to run fine with only one processor, but when I try to
bring it up with a SMP kernel I get periodic crashes that seem to be
attributed to processor 1 (more detail below).  It seems to be only MP1.1
compliant, I can't find any settings in the BIOS for MP1.4.  BTW: I'm using
FreeBSD 3.3-RELEASE.

The SMP kernel tends to stay up for 6-15 hours between crashes, and I've not
been able to come up with any repeatable conditions to cause it.  I run this
machine predominantly as a web server (less than 5000 hits/day), with a
number of associated scripts (all in perl).  On crashing, I get messages on
the screen, but not in the log files...

I've tried a number of builds and options.  When compiled with the
NO_F00F_HACK flag in a SMP kernel, the system will generally reboot itself
after crashing, but otherwise it behaves no better.  Unfortunately I'm out
of ideas to try and beyond my limited knowledge, so I'm hoping someone can
help me.

One other strange thing is the output from mptable.  I do not get any output
regarding "MP Config Base Table Entries".  Is that normal for a system like
this?

Anyone able to help me on this?  Am I simply going to have to let that
second processor sit limp and lifeless?  Any info or help greatly
appreciated!


Some details on crashes:

below is some of the output on the screen from one crash that seems relevant
(this is from a kernel without the NO_F00F_HACK option):

CPU reset called on CPU#1
CPU reset: Stopping other CPUs
panic: apic_ipi was stuck
mp_lock=0.000002; cpuid=1 lapic.id=01000000
instruction pointer   = 0x8:0xc0194838
stack pointer         = 0x10: 0xc370a680
frame pointer         = 0x10: 0xc370a6c8
code segment          = base 0x0, limit 0xfffff, type 0x1b
                        DPL 0, pres=1, def32 1, gran 1
processor eflags      = interupt enabled, IOPL=0
current process       = 7802 (perl)
interupt mask         = net tty boi cam  <-SMP.XXX
trap number           = 29
panic:  unknown/reserved trap
mp_lock = 01000002; cpuid=1 lapic.id=01000000
boot() called on CPU# 1
Automatic reboot in 15 seconds
Rebooting...
cpu_reset called on CPU#1
cpu_reset: stopping other CPUs
cpu_reset: Restarting BSP
cpu_reset_proxy: Grabbed mp lock for BSP


mptable output (while using my "semistable" SMP kernel):

mptable -dmesg -verbose

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

MPTable, version 2.0.15

 looking for EBDA pointer @ 0x040e, found, searching EBDA @ 0x0009fc00

 MP FPS found in Extended BIOS Data Area @ physical addr: 0x0009fc30

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

MP Floating Pointer Structure:

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

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

  MP default config type: 6

   bus: EISA+PCI, APIC: Integrated

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

# 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=2                  # number of busses
#options                NAPIC=1                 # number of IO APICs
#options                NINTR=24                # number of INTs

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

dmesg output:

Copyright (c) 1992-1999 FreeBSD Inc.
Copyright (c) 1982, 1986, 1989, 1991, 1993
        The Regents of the University of California. All rights reserved.
FreeBSD 3.3-RELEASE #0: Mon Nov 29 15:12:14 PST 1999
    root@lhscience.lincolnusd.k12.ca.us:/usr/src/sys/compile/SMP4LHS1
Timecounter "i8254"  frequency 1193182 Hz
CPU: Pentium/P54C (586-class CPU)
  Origin = "GenuineIntel"  Id = 0x52b  Stepping = 11
  Features=0x3bf<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8,APIC>
real memory  = 41943040 (40960K bytes)
config> di sio1
No such device: sio1
Invalid command or syntax.  Type `?' for help.
config> di sio0
No such device: sio0
Invalid command or syntax.  Type `?' for help.
config> di ppc0
No such device: ppc0
Invalid command or syntax.  Type `?' for help.
config> di zp0
No such device: zp0
Invalid command or syntax.  Type `?' for help.
config> di ze0
No such device: ze0
Invalid command or syntax.  Type `?' for help.
config> di lnc0
No such device: lnc0
Invalid command or syntax.  Type `?' for help.
config> di le0
No such device: le0
Invalid command or syntax.  Type `?' for help.
config> di ie0
No such device: ie0
Invalid command or syntax.  Type `?' for help.
config> di fe0
No such device: fe0
Invalid command or syntax.  Type `?' for help.
config> di ex0
No such device: ex0
Invalid command or syntax.  Type `?' for help.
config> di ep0
No such device: ep0
Invalid command or syntax.  Type `?' for help.
config> di ed0
No such device: ed0
Invalid command or syntax.  Type `?' for help.
config> di cs0
No such device: cs0
Invalid command or syntax.  Type `?' for help.
config> di wt0
No such device: wt0
Invalid command or syntax.  Type `?' for help.
config> di wdc1
No such device: wdc1
Invalid command or syntax.  Type `?' for help.
config> di scd0
No such device: scd0
Invalid command or syntax.  Type `?' for help.
config> di mcd0
No such device: mcd0
Invalid command or syntax.  Type `?' for help.
config> di matcdc0
No such device: matcdc0
Invalid command or syntax.  Type `?' for help.
config> di bt0
No such device: bt0
Invalid command or syntax.  Type `?' for help.
config> di aha0
No such device: aha0
Invalid command or syntax.  Type `?' for help.
config> di adv0
No such device: adv0
Invalid command or syntax.  Type `?' for help.
config> q
avail memory = 38567936 (37664K bytes)
Programming 16 pins in IOAPIC #0
FreeBSD/SMP: Multiprocessor motherboard
 cpu0 (BSP): apic id:  0, version: 0x00030010, at 0xfee00000
 cpu1 (AP):  apic id:  1, version: 0x00030010, at 0xfee00000
 io0 (APIC): apic id:  2, version: 0x000f0011, at 0xfec00000
Preloaded elf kernel "kernel" at 0xc023b000.
Preloaded userconfig_script "/boot/kernel.conf" at 0xc023b09c.
eisa0: <ALR301 (System Board)>
Probing for devices on the EISA bus
Probing for devices on PCI bus 0:
chip0: <Intel 82434NX (Neptune) PCI cache memory controller> rev 0x11 on
pci0.0.0
chip1: <Intel 82375EB PCI-EISA bridge> rev 0x05 on pci0.2.0
xl0: <3Com 3c905B-TX Fast Etherlink XL> rev 0x30 int a irq 9 on pci0.15.0
xl0: Ethernet address: 00:50:da:72:b7:71
xl0: autoneg complete, link status good (half-duplex, 10Mbps)
Probing for PnP devices:
Probing for devices on the ISA bus:
sc0 on isa
sc0: VGA color <16 virtual consoles, flags=0x0>
atkbdc0 at 0x60-0x6f on motherboard
atkbd0 irq 1 on isa
psm0 irq 12 on isa
psm0: model Generic PS/2 mouse, device ID 0
fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa
fdc0: FIFO enabled, 8 bytes threshold
fd0: 1.44MB 3.5in
wdc0 at 0x1f0-0x1f7 irq 14 on isa
wdc0: unit 0 (wd0): <QUANTUM FIREBALL1080A>
wd0: 1039MB (2128896 sectors), 2112 cyls, 16 heads, 63 S/T, 512 B/S
vga0 at 0x3b0-0x3df maddr 0xa0000 msize 131072 on isa
npx0 on motherboard
npx0: INT 16 interface
stray irq 7
APIC_IO: Testing 8254 interrupt delivery
APIC_IO: routing 8254 via pin 2
changing root device to wd0s1a
SMP: AP CPU #1 Launched!

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

--
Ken Pugsley (kpugsley@sjcoe.net)
Chemsitry Instructor
Lincoln High School
Stockton, CA




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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199912132134.NAA02607>