From owner-freebsd-smp Sun Mar 2 20:19:58 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id UAA27414 for smp-outgoing; Sun, 2 Mar 1997 20:19:58 -0800 (PST) Received: from fly.HiWAAY.net (root@fly.HiWAAY.net [208.147.154.56]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id UAA27396 for ; Sun, 2 Mar 1997 20:19:31 -0800 (PST) Received: from bonsai.hiwaay.net by fly.HiWAAY.net; (8.8.4/1.1.8.2/21Sep95-1003PM) id WAA19720; Sun, 2 Mar 1997 22:19:27 -0600 (CST) Message-ID: <331A0A95.41C67EA6@hiwaay.net> Date: Sun, 02 Mar 1997 17:17:41 -0600 From: Steve Price X-Mailer: Mozilla 3.01 (X11; I; FreeBSD 3.0-CURRENT i386) MIME-Version: 1.0 To: freebsd-smp@freefall.freebsd.org CC: sprice@hiwaay.net Subject: Problems with Dual PPRO 180 SuperMicro P6DNE Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-smp@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Hi all, I just got my new computer at work and have been trying to get a SMP kernel running on it and am having no luck. I have tried using a kernel (and associated userland cruft) from -current as of today, -current just before the Lite2 merge and RELENG_2_2. Without APIC_IO and SMP_INVLTLB, everything seems to go good until I 'sysctl -w kern.smp_active=2'. From here simple things like ls(1) and more(1) work, but make(1) and cvs(1) crash and drop into the debugger. With APIC_IO and SMP_INVLTLB, everything comes up but nothing displays on the screen after the 'SMP: All idle procs online.' message. I cooked up the following script to test if it was really alive. root[~]# cat > get-info #!/bin/sh /home/steve/misc/mptable -verbose -dmesg > mptable.out uname -a > uname.out root[~]# I logged in as root and blindly typed ./get-info and here's what I get after I reboot with a different kernel so that I can see the output. root[~]# cat mptable.out =============================================================================== MPTable, version 2.0.6 looking for EBDA pointer @ 0x040e, found, searching EBDA @ 0x0009fc00 searching CMOS 'top of mem' @ 0x0009f800 (638K) searching default 'top of mem' @ 0x0009fc00 (639K) searching BIOS @ 0x000f0000 MP FPS found in BIOS @ physical addr: 0x000fb070 ------------------------------------------------------------------------------- MP Floating Pointer Structure: location: BIOS physical address: 0x000fb070 signature: '_MP_' length: 16 bytes version: 1.1 checksum: 0x11 mode: Virtual Wire ------------------------------------------------------------------------------- MP Config Table Header: physical address: 0x000f5330 signature: 'PCMP' base table length: 268 version: 1.1 checksum: 0x47 OEM ID: 'INTEL ' Product ID: '440FX ' OEM table pointer: 0x00000000 OEM table size: 0 entry count: 25 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 1 0x11 BSP, usable 6 1 7 0xfbff 0 0x11 AP, usable 6 1 7 0xfbff -- Bus: Bus ID Type 0 PCI 1 ISA -- I/O APICs: APIC ID Version State Address 2 0x11 usable 0xfec00000 -- I/O Ints: Type Polarity Trigger Bus ID IRQ APIC ID INT# ExtINT conforms conforms 1 0 2 0 INT conforms conforms 1 1 2 1 INT conforms conforms 1 0 2 2 INT conforms conforms 1 3 2 3 INT conforms conforms 1 4 2 4 INT conforms conforms 1 5 2 5 INT conforms conforms 1 6 2 6 INT conforms conforms 1 7 2 7 INT active-hi edge 1 8 2 8 INT conforms conforms 1 9 2 9 INT conforms conforms 1 10 2 10 INT conforms conforms 1 11 2 11 INT conforms conforms 1 12 2 12 INT conforms conforms 1 13 2 13 INT conforms conforms 1 14 2 14 INT conforms conforms 1 15 2 20 INT active-lo level 0 17:A 2 16 SMI conforms conforms 1 0 2 23 -- Local Ints: Type Polarity Trigger Bus ID IRQ APIC ID INT# ExtINT conforms conforms 0 0:A 255 0 NMI conforms conforms 0 0:A 255 1 ------------------------------------------------------------------------------- # SMP kernel config file options: options SMP # Symmetric MultiProcessor Kernel options APIC_IO # Symmetric (APIC) I/O 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 options SMP_INVLTLB # #options SMP_PRIVPAGES # BROKEN, DO NOT use! #options SMP_AUTOSTART # BROKEN, DO NOT use! #options SERIAL_DEBUG # com port debug output ------------------------------------------------------------------------------- dmesg output: Copyright (c) 1992-1996 FreeBSD Inc. Copyright (c) 1982, 1986, 1989, 1991, 1993 The Regents of the University of California. All rights reserved. FreeBSD 3.0-SMP #0: Sun Mar 2 13:10:17 CST 1997 steve@bonsai.hiwaay.net:/tmp/smp/sys/compile/SMPGENERIC FreeBSD/SMP: Multiprocessor motherboard cpu0 (BSP): apic id: 1, version: 0x00040011 cpu1 (AP): apic id: 0, version: 0x00040011 io0 (APIC): apic id: 2, version: 0x00170011 Calibrating clock(s) relative to mc146818A clock ... i8254 clock: 1193300 Hz CPU: Pentium Pro (686-class CPU) Origin = "GenuineIntel" Id = 0x617 Stepping=7 Features=0xfbff,MTRR,PGE,MCA,CMOV> real memory = 67108864 (65536K bytes) avail memory = 62578688 (61112K bytes) Probing for devices on PCI bus 0: chip0 rev 2 on pci0:0:0 chip1 rev 1 on pci0:7:0 chip2 rev 0 on pci0:7:1 vga0 rev 1 int a irq 16 on pci0:17:0 Freeing (NOT implimented) irq 11 for ISA cards. Probing for devices on the ISA bus: sc0 at 0x60-0x6f irq 1 on motherboard sc0: VGA color <16 virtual consoles, flags=0x0> sio0 at 0x3f8-0x3ff irq 4 on isa sio0: type 16550A sio1 at 0x2f8-0x2ff irq 3 on isa sio1: type 16550A lpt0 at 0x378-0x37f irq 7 on isa lpt0: Interrupt-driven port lp0: TCP/IP capable interface fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa fdc0: NEC 72065B fd0: 1.44MB 3.5in wdc0 at 0x1f0-0x1f7 irq 14 on isa wdc0: unit 0 (wd0): wd0: 3067MB (6281856 sectors), 6232 cyls, 16 heads, 63 S/T, 512 B/S wdc0: unit 1 (wd1): wd1: 3663MB (7502544 sectors), 7443 cyls, 16 heads, 63 S/T, 512 B/S wdc1 at 0x170-0x177 irq 15 on isa wdc1: unit 0 (atapi): <685A/8.4D>, removable, dma, iordy wcd0: 1171Kb/sec, 120Kb cache, audio play, 255 volume levels, ejectable tray wcd0: no disc inside, unlocked npx0 on motherboard npx0: INT 16 interface Enabled INTs: 1, 2, 3, 4, 6, 7, 8, 14, 15, imen: 0x00ff3e21 SMP: All idle procs online. =============================================================================== root[~]# cat uname.out FreeBSD bonsai.hiwaay.net 3.0-SMP FreeBSD 3.0-SMP #0: Sun Mar 2 13:10:17 CST 1997 steve@bonsai.hiwaay.net:/tmp/smp/sys/compile/SMPGENERIC i386 root[~]# Anybody have any ideas what I might be doing wrong? Thanks, Steve