Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 01 Feb 1997 11:57:44 -0500
From:      "John D. Smerdon" <jds@smerdon.livonia.mi.us>
To:        Steve Passe <smp@csn.net>
Cc:        smp@freebsd.org
Subject:   Re: Tyan Tomcat II SMP video problems 
Message-ID:  <3.0.32.19970201115741.00ad4210@smerdon.livonia.mi.us>

next in thread | raw e-mail | index | archive | help
>> I have a Tyan Tomcat II with 2/P133's and a Matrox Millennium
>> hanging during init.  The system is still running, so you can
>> telnet in.  Shutdown never completes.

I tried rebuilding kernels several times with no luck.  I then compiled a
kernel without APIC_IO and the system booted without any problems.
Entering `sysctl -w smp_active=2` worked, but entering `ps aux` causes panic:

<...>
current process = 5 (cpuidle0)
trapnumber = 29
panic (cpu#0) Unknown/Reserved Trap

I also removed MATH_EMULATE and increased NINTR to 24, per other recent
messages.

Searching through old SMP mail archives, I saw a message from Hidetoshi
Shimokawa (Sep 29, 1996) where he was having problems with another Tyan
board where the boot CPU was not #0.  He had patches to some initialization
code and termination code that made sure the correct CPU is doing the init
and termination.  This is not in the current sources.  Any chance this is
related?

mptable with and without APIC_IO is below.

mptable with APIC_IO:

>===========================================================================
====
>
>MPTable, version 2.0.6
>
> looking for EBDA pointer @ 0x040e, NOT found
> searching CMOS 'top of mem' @ 0x0009fc00 (639K)
> searching BIOS @ 0x000f0000
>
> MP FPS found in BIOS @ physical addr: 0x000f0c80
>
>---------------------------------------------------------------------------
----
>
>MP Floating Pointer Structure:
>
>  location:			BIOS
>  physical address:		0x000f0c80
>  signature:			'_MP_'
>  length:			16 bytes
>  version:			1.1
>  checksum:			0xf4
>  mode:				Virtual Wire
>
>---------------------------------------------------------------------------
----
>
>MP Config Table Header:
>
>  physical address:		0x000f0c94
>  signature:			'PCMP'
>  base table length:		292
>  version:			1.1
>  checksum:			0xa5
>  OEM ID:			'OEM00000'
>  Product ID:			'PROD00000000'
>  OEM table pointer:		0x00000000
>  OEM table size:		0
>  entry count:			28
>  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#
>		ExtINT	 conforms    conforms	     0	   0	      2	   0
>		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
>		INT	active-lo       level	     1	20:A	      2	  16
>		INT	active-lo       level	     1	19:A	      2	  17
>		INT	active-lo       level	     1	18:A	      2	  18
>		INT	active-lo       level	     1	17:A	      2	  19
>		SMI	 conforms    conforms	     0	   0	      2	  23
>--
>Local Ints:	Type	Polarity    Trigger	Bus ID	 IRQ	APIC ID	INT#
>		ExtINT	active-hi        edge	     0	   0	    255	   0
>		NMI	active-hi        edge	     0	   0	    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: Sat Feb  1 10:08:27 EST 1997
>    jds@p133.smerdon.livonia.mi.us:/usr/src/sys/compile/SMERDONSMPAPIC
>FreeBSD/SMP: Multiprocessor motherboard
> cpu0 (BSP): apic id: 0, version: 0x00030010
> cpu1 (AP):  apic id: 1, version: 0x00030010
> io0 (APIC): apic id: 2, version: 0x00170011
>Calibrating clock(s) relative to mc146818A clock ... i8254 clock: 1193121 Hz
>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 = 63594496 (62104K bytes)
>Probing for devices on PCI bus 0:
>chip0 <Intel 82439> rev 2 on pci0:0
>chip1 <Intel 82371SB PCI-ISA bridge> rev 1 on pci0:7:0
>chip2 <Intel 82371SB IDE interface> rev 0 on pci0:7:1
>vga0 <VGA-compatible display device> rev 1 int a irq 19 on pci0:17
>Freeing (NOT implimented) irq 10 for ISA cards.
>ahc0 <Adaptec 2940 Ultra SCSI host adapter> rev 0 int a irq 17 on pci0:19
>Freeing (NOT implimented) irq 11 for ISA cards.
>ahc0: aic7880 Wide Channel, SCSI Id=7, 16 SCBs
>ahc0 waiting for scsi devices to settle
>(ahc0:0:0): "Quantum XP34300W L912" type 0 fixed SCSI 2
>sd0(ahc0:0:0): Direct-Access 4101MB (8399520 512 byte sectors)
>ahc0:A:5: refuses WIDE negotiation.  Using 8bit transfers
>(ahc0:5:0): "TOSHIBA CD-ROM XM-3701TA 0236" type 5 removable SCSI 2
>cd0(ahc0:5:0): CD-ROM can't get the size
>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
>sio2 at 0x3e8-0x3ef irq 9 on isa
>sio2: type 16550A
>sio3: disabled, not probed.
>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
>uha0 not found at 0x330
>aha0 not found at 0x330
>aic0 not found at 0x340
>scd0 not found at 0x230
>1 3C5x9 board(s) on ISA found at 0x300
>ep0 at 0x300-0x30f irq 15 on isa
>ep0: aui/utp/bnc[*BNC*] address 00:a0:24:be:b8:c0
>npx0 on motherboard
>npx0: INT 16 interface
>apm0: disabled, not probed.
>joy0 at 0x201 on isa
>joy0: joystick
>sb0 at 0x220 irq 5 drq 1 on isa
>sb0: <SoundBlaster 16 4.13>
>sbxvi0 at 0x0 drq 5 on isa
>sbxvi0: <SoundBlaster 16 4.13>
>sbmidi0 at 0x330 on isa
> <SoundBlaster MPU-401>
>changing root device to sd0a
>Enabled INTs: 1, 2, 3, 4, 5, 6, 7, 8, 9, 15, 17, imen: 0x00fd7c01
>SMP: All idle procs online.
>
>===========================================================================
====
>
>

mptable without APIC_IO:

>===========================================================================
====
>
>MPTable, version 2.0.6
>
> looking for EBDA pointer @ 0x040e, NOT found
> searching CMOS 'top of mem' @ 0x0009fc00 (639K)
> searching BIOS @ 0x000f0000
>
> MP FPS found in BIOS @ physical addr: 0x000f0c80
>
>---------------------------------------------------------------------------
----
>
>MP Floating Pointer Structure:
>
>  location:			BIOS
>  physical address:		0x000f0c80
>  signature:			'_MP_'
>  length:			16 bytes
>  version:			1.1
>  checksum:			0xf4
>  mode:				Virtual Wire
>
>---------------------------------------------------------------------------
----
>
>MP Config Table Header:
>
>  physical address:		0x000f0c94
>  signature:			'PCMP'
>  base table length:		292
>  version:			1.1
>  checksum:			0xa5
>  OEM ID:			'OEM00000'
>  Product ID:			'PROD00000000'
>  OEM table pointer:		0x00000000
>  OEM table size:		0
>  entry count:			28
>  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#
>		ExtINT	 conforms    conforms	     0	   0	      2	   0
>		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
>		INT	active-lo       level	     1	20:A	      2	  16
>		INT	active-lo       level	     1	19:A	      2	  17
>		INT	active-lo       level	     1	18:A	      2	  18
>		INT	active-lo       level	     1	17:A	      2	  19
>		SMI	 conforms    conforms	     0	   0	      2	  23
>--
>Local Ints:	Type	Polarity    Trigger	Bus ID	 IRQ	APIC ID	INT#
>		ExtINT	active-hi        edge	     0	   0	    255	   0
>		NMI	active-hi        edge	     0	   0	    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: Sat Feb  1 11:29:34 EST 1997
>    root@p133.smerdon.livonia.mi.us:/usr/src/sys/compile/SMERDONSMP
>FreeBSD/SMP: Multiprocessor motherboard
> cpu0 (BSP): apic id: 0, version: 0x00030010
> cpu1 (AP):  apic id: 1, version: 0x00030010
> Warning: APIC I/O disabled
>Calibrating clock(s) relative to mc146818A clock ... i8254 clock: 1193122 Hz
>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 = 63602688 (62112K bytes)
>Probing for devices on PCI bus 0:
>chip0 <Intel 82439> rev 2 on pci0:0
>chip1 <Intel 82371SB PCI-ISA bridge> rev 1 on pci0:7:0
>chip2 <Intel 82371SB IDE interface> rev 0 on pci0:7:1
>vga0 <VGA-compatible display device> rev 1 int a irq 10 on pci0:17
>ahc0 <Adaptec 2940 Ultra SCSI host adapter> rev 0 int a irq 11 on pci0:19
>ahc0: aic7880 Wide Channel, SCSI Id=7, 16 SCBs
>ahc0 waiting for scsi devices to settle
>(ahc0:0:0): "Quantum XP34300W L912" type 0 fixed SCSI 2
>sd0(ahc0:0:0): Direct-Access 4101MB (8399520 512 byte sectors)
>ahc0:A:5: refuses WIDE negotiation.  Using 8bit transfers
>(ahc0:5:0): "TOSHIBA CD-ROM XM-3701TA 0236" type 5 removable SCSI 2
>cd0(ahc0:5:0): CD-ROM can't get the size
>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
>sio2 at 0x3e8-0x3ef irq 9 on isa
>sio2: type 16550A
>sio3: disabled, not probed.
>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
>uha0 not found at 0x330
>aha0 not found at 0x330
>aic0 not found at 0x340
>scd0 not found at 0x230
>1 3C5x9 board(s) on ISA found at 0x300
>ep0 at 0x300-0x30f irq 15 on isa
>ep0: aui/utp/bnc[*BNC*] address 00:a0:24:be:b8:c0
>npx0 on motherboard
>npx0: INT 16 interface
>apm0: disabled, not probed.
>joy0 at 0x201 on isa
>joy0: joystick
>sb0 at 0x220 irq 5 drq 1 on isa
>sb0: <SoundBlaster 16 4.13>
>sbxvi0 at 0x0 drq 5 on isa
>sbxvi0: <SoundBlaster 16 4.13>
>sbmidi0 at 0x330 on isa
> <SoundBlaster MPU-401>
>changing root device to sd0a
>SMP: All idle procs online.
>
>===========================================================================
====
>
>
>
--
John D. Smerdon;  Livonia, Michigan, USA;  Contents are my opinion.
Home: jds@smerdon.livonia.mi.us



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