Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 02 Feb 1997 11:23:05 -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.19970202112303.00908e80@smerdon.livonia.mi.us>

next in thread | raw e-mail | index | archive | help
At 09:58 PM 2/1/97 -0700, Steve Passe wrote:
>so the question is why a kernel with APIC_IO *and* SMP_INVLTLB doesn't...
>can you verify that this is true, ie have you tried that combination?

That was the first one I tried.  I tried it again with the ep0 on irq 12
and the same things happened.  

I also just noticed that the time stops.  /var/log/messages has everything
at the same time and a `date` keeps returning the same time.

The system boots normally until the "SMP: All idle procs online." message
is displayed.  The system appears to hang, but is really running and not
updating the video.  I can blindly type and login or telnet in from another
system.  Enabling the second processor causes the screen to display other
messages in the booting sequence, but then the video seems to hang again.
The telnet session continues to work.  Doing a `shutdown -r now` never
completes, although the telnet session is still active.

>could you document for us how one determines whether they have the "new and
>improved" module?  serial #, model #, ???

The FAQ at the Tyan site (http://www.tyan.com/html/tomcat.html) lists the
correct model numbers as:

	256K Module S1543-PB256 
	512K Module S1543-PB512A

The Tomcat III has the cache soldered on the board.

>this was a shot in the dark.  I seem to remember someone claiming that tyan
>had a problem with reassigning 14 & 15 as they are "reserved" for the 2 IDE
>channels.  since the IDE circuits are in the same chip as the 8259 ICUs
>it is possible that there are some limitations, but I have no concrete
>facts either way.

The manual lists irq 14 for the "Hard Disk Adapter" and 9-12, and 15 as
available.  The Matrox and the 2940 now share irq 11 when booting with the
APIC_IO/SMP_INVLTLB disabled.  

Here is the mptable output with APIC_IO/SMP_INVLTLB enabled:

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

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: Sun Feb  2 10:07:55 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: 1193120 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 11 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 12 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, 12, 17, imen: 0x00fdec01
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.19970202112303.00908e80>