Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 Feb 1997 00:16:44 -0700 (MST)
From:      Ade Barkah <mbarkah@hemi.com>
To:        freebsd-smp@freebsd.org
Subject:   Neptune woes...
Message-ID:  <199702190716.AAA09778@hemi.com>

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

This is a followup to an old message I sent. I have an Asus PCI/I
P54NP4D with two Pentium-133s, running -current from a couple
of days before the Lite/2 merge, with SMP kernel from the same
date (Feb 8 or so.) mptable appended below for reference.

Things run pretty well, except:

1) On a warm boot, the machine hangs during startup, right after:

| npx0 on motherboard
| npx0: INT 16 interface
| Enabled INTs: 1, 2, 3, 4, 6, 7, 8, 10, 15, imen: 0x00ff7a21

(hangs here, int 13 is missing, imen value different from below)

after hitting the 'reset' key (or power cycle) the machine boots 
up fine. The corresponding lines:

| npx0 on motherboard
| npx0: INT 16 interface
| stray irq 13
| Enabled INTs: 1, 2, 3, 4, 6, 7, 8, 10, 13, 15, imen: 0x00ff5a21


2) Not sure if it's ok or not, but on shutdown/halt, the machine
   prints:

| boot() called on cpu#1
| oops, I'm on cpu#1, I need to be on cpu#0!
| SMP: cpu#1 freezing
|
| Syncing disks... done

Thanks!

-Ade
-------------------------------------------------------------------
Inet: mbarkah@hemi.com - HEMISPHERE ONLINE - <http://www.hemi.com/>;
-------------------------------------------------------------------

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

MPTable, version 2.0.5

 looking for EBDA pointer @ 0x040e, NOT found
 searching CMOS 'top of mem' @ 0x0009fc00 (639K)
 searching BIOS @ 0x000f0000

 MP FPS found in BIOS @ physical addr: 0x000f98a0

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

MP Floating Pointer Structure:

  location:			BIOS
  physical address:		0x000f98a0
  signature:			'_MP_'
  length:			16 bytes
  version:			1.1
  checksum:			0x48
  mode:				Virtual Wire

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

MP Config Table Header:

  physical address:		0x000f98b4
  signature:			'PCMP'
  base table length:		228
  version:			1.1
  checksum:			0x5c
  OEM ID:			'ASUSTEK1'
  Product ID:			'P54NIP400000'
  OEM table pointer:		0x00000000
  OEM table size:		0
  entry count:			20
  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	 0x11	 BSP, usable	 5	 2	 1	 0x07bf
		 1	 0x11	 AP, usable	 5	 2	 1	 0x07bf
--
Bus:		Bus ID	Type
		 0	 ISA   
		 1	 PCI   
--
I/O APICs:	APIC ID	Version	State		Address
		 2	 0x11	 usable		 0xfec00000
--
I/O Ints:	Type	Polarity    Trigger	Bus ID	 IRQ	APIC ID	INT#
		INT	 conforms    conforms	     0	   1	      2	   1
		INT	 conforms    conforms	     0	   0	      2	   2
		INT	 conforms    conforms	     0	   3	      2	   3
		INT	 conforms    conforms	     0	   4	      2	   4
		INT	 conforms    conforms	     0	   5	      2	   5
		INT	 conforms    conforms	     0	   6	      2	   6
		INT	 conforms    conforms	     0	   7	      2	   7
		INT	 conforms    conforms	     0	   8	      2	   8
		INT	 conforms    conforms	     0	   9	      2	   9
		INT	 conforms    conforms	     0	  10	      2	  10
		INT	 conforms    conforms	     0	  11	      2	  11
		INT	 conforms    conforms	     0	  12	      2	  12
		INT	 conforms    conforms	     0	  13	      2	  13
		INT	 conforms    conforms	     0	  14	      2	  14
		INT	 conforms    conforms	     0	  15	      2	  15
--
Local Ints:	Type	Polarity    Trigger	Bus ID	 IRQ	APIC ID	INT#

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

# 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=15		# 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 Feb  9 12:53:58 MST 1997
    root@unagi.barkah.org:/usr2/src/sys/compile/KERNEL
FreeBSD/SMP: Multiprocessor motherboard
 cpu0 (BSP): apic id: 0, version: 0x00030010
 cpu1 (AP):  apic id: 1, version: 0x00030010
 io0 (APIC): apic id: 2, version: 0x000f0011
Calibrating clock(s) relative to mc146818A clock ... i8254 clock: 1252558 Hz
1252558 Hz differs from default of 1193182 Hz by more than 1%
CPU: Pentium (586-class CPU)
  Origin = "GenuineIntel"  Id = 0x52c  Stepping=12
  Features=0x3bf<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8,APIC>
real memory  = 67108864 (65536K bytes)
avail memory = 62472192 (61008K bytes)
Probing for devices on PCI bus 0:
chip0 <Intel 82434NX (Neptune) PCI cache memory controller> rev 17 on pci0:0
chip1 <Intel 82378IB PCI-ISA bridge> rev 136 on pci0:2
ahc0 <Adaptec 2940 Ultra SCSI host adapter> rev 0 int a irq 15 on pci0:4
ahc0: aic7880 Single Channel, SCSI Id=7, 16 SCBs
(ahc0:0:0): "SEAGATE ST11200N 8334" type 0 fixed SCSI 2
sd0(ahc0:0:0): Direct-Access 1005MB (2059140 512 byte sectors)
(ahc0:1:0): "HP 2.13 GB #A1 9002" type 0 fixed SCSI 2
sd1(ahc0:1:0): Direct-Access 2033MB (4165272 512 byte sectors)
(ahc0:4:0): "HP HP35480A 1133" type 1 removable SCSI 2
st0(ahc0:4:0): Sequential-Access density code 0x13,  drive empty
(ahc0:6:0): "TOSHIBA CD-ROM XM-3501TA 2564" type 5 removable SCSI 2
cd0(ahc0:6:0): CD-ROM can't get the size
vga0 <VGA-compatible display device> rev 1 on pci0:5
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 0x278-0x27f 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
1 3C5x9 board(s) on ISA found at 0x300
ep0 at 0x300-0x30f irq 10 on isa
ep0: aui/utp/bnc[*UTP*] address 00:a0:24:a3:3f:b0
npx0 on motherboard
npx0: INT 16 interface
stray irq 13
Enabled INTs: 1, 2, 3, 4, 6, 7, 8, 10, 13, 15, imen: 0x00ff5a21
SMP: All idle procs online.
SMP: Starting 1st AP!
SMP: AP CPU #1 LAUNCHED!!  Starting Scheduling...
SMP: TADA! CPU #1 made it into the scheduler!.
SMP: All 2 CPU's are online!

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




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