Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 8 Jul 1997 22:24:04 +0300
From:      Antti-Pekka Liedes <apl@hutcs.cs.hut.fi>
To:        Steve Passe <smp@csn.net>
Cc:        freebsd-smp@FreeBSD.ORG
Subject:   Re: FreeBSD SMP on Soyo 5TH5?
Message-ID:  <19970708222404.45819@hutcs.cs.hut.fi>
In-Reply-To: <199707081839.MAA24927@Ilsa.StevesCafe.com>; from Steve Passe on Tue, Jul 08, 1997 at 12:39:41PM -0600
References:  <19970708210545.00117@hutcs.cs.hut.fi> <199707081839.MAA24927@Ilsa.StevesCafe.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Jul 08, 1997 at 12:39:41PM -0600, Steve Passe wrote:
> Hi,
> 
> > Has anyone got FreeBSD SMP to work on a Soyo 5TH5 board?  I have one of
> > these boards, equipped with two brand new pentiums (166 and 200MHz,
> > currently running at only 100MHz), NCR SCSI-controller, SMC EtherPower
> 
> why only 100?  does the board show instability @ 166?
> 

No, I just had a 100MHz Pentium as one CPU earlier, and I just haven't
configured the board for 166MHz yet.

> ---
> > 10/100, Matrox Millenium, and SB32 soundcard.  I have tried several
> > combinations of kernel options, each failing with quite a random looking
> > results (the "best" result was to get both CPUs into the scheduler, but
> > immediatly when the system began to run rc, I get a screen full of "I'm in
> > cpu #1 and should be in #0" messages and panic).  I'm not in FreeBSD right
> > now, so I don't have dmesg or mptable output handy, but I can get those if
> > needed to solve the problem.
> 
> We definately need both: do "mptable -dmesg > outfile" from a UP kernel.
> Do any messages PRECEED the "I'm in cpu #1 and should be in #0" messages?
> 

I can't tell if anything preceeded the messages because they filled my
screen way too fast.  In the end there was a "timeout waiting for cpu #0"
message, then failed disk sync and finally panic.

Oh, I tried to change all IRQs to legacy ISA in BIOS, this produced
different results:
The kernel itself finished booting, in the end it said that both
processors are in the scheduler.  It did fscks from rc-files, but ifconfig
caused a "page fault in kernel mode".

Ok, I was using NT when I wrote my first mail, so I didn't have these, but
here they are, I've tried exactly these kernel options as well as some
other combinations, without much success.


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

MPTable, version 2.0.12

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

MP Floating Pointer Structure:

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

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

MP Config Table Header:

  physical address:		0x000f0d34
  signature:			'PCMP'
  base table length:		292
  version:			1.1
  checksum:			0xd5
  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	14:A	      2	  16
		INT	active-lo       level	     1	15:A	      2	  17
		INT	active-lo       level	     1	16: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:


# Required:
options		SMP			# Symmetric MultiProcessor Kernel
options		APIC_IO			# Symmetric (APIC) I/O

# Useful:
#options		SMP_AUTOSTART		# start the additional CPUs during boot

# 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

# Rogue hardware:
#
#  Tyan Tomcat II:
#options		SMP_TIMER_NC		# 
#
#  SuperMicro P6DNE:
#options		SMP_TIMER_NC		# 

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

dmesg output:

Copyright (c) 1992-1997 FreeBSD Inc.
Copyright (c) 1982, 1986, 1989, 1991, 1993
	The Regents of the University of California. All rights reserved.
FreeBSD 3.0-CURRENT #0: Tue Jul  8 16:28:11 EET DST 1997
    apl@apocalypse.tky.hut.fi:/var/src/sys/compile/APOCALYPSE
CPU: Pentium (99.65-MHz 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)
Physical memory hole(s):
avail memory = 63037440 (61560K bytes)
DEVFS: ready for devices
Probing for devices on PCI bus 0:
chip0: <Intel 82439> rev 0x03 on pci0.0.0
chip1: <Intel 82371SB PCI to ISA bridge> rev 0x01 on pci0.7.0
chip2: <Intel 82371SB IDE interface> rev 0x00 on pci0.7.1
vga0: <VGA-compatible display device> rev 0x01 int a irq 9 on pci0.14.0
ncr0: <ncr 53c810 scsi> rev 0x01 int a irq 9 on pci0.15.0
ncr0: waiting for scsi devices to settle
scbus0 at ncr0 bus 0
scbus0 target 0 lun 0: 5.0 MB/s (200 ns, offset 8)
sd0 at scbus0 target 0 lun 0
sd0: <IBM DSAS-3540 S47W> type 0 fixed SCSI 2
sd0: Direct-Access 
sd0: 10.0 MB/s (100 ns, offset 8)
522MB (1070496 512 byte sectors)
sd1 at scbus0 target 5 lun 0
sd1: <QUANTUM FIREBALL_TM3200S 300X> type 0 fixed SCSI 2
sd1: Direct-Access 
sd1: 10.0 MB/s (100 ns, offset 8)
3067MB (6281856 512 byte sectors)
sd2 at scbus0 target 6 lun 0
sd2: <QUANTUM FIREBALL_TM3200S 300X> type 0 fixed SCSI 2
sd2: Direct-Access 
sd2: 10.0 MB/s (100 ns, offset 8)
3067MB (6281856 512 byte sectors)
de0: <Digital 21140A Fast Ethernet> rev 0x20 int a irq 11 on pci0.17.0
de0: SMC 9334BDT 21140A [10-100Mb/s] pass 2.0
de0: address 00:00:c0:30:46:f9
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
psm0 at 0x60-0x64 irq 12 on motherboard
psm0: device ID 0
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 1 (atapi): <CD820E.1v78b9108/1.03>, removable, dma, iordy
wcd0: 859/1375Kb/sec, 240Kb cache, audio play, 255 volume levels, ejectable tray
wcd0: 120mm data disc loaded, unlocked
sb0 at 0x220-0x22f irq 5 drq 1 on isa
sb0: <SoundBlaster 16 4.13>
sbxvi0 at 0x220-0x22f irq 5 drq 5 on isa
sbxvi0: <SoundBlaster 16 4.13>
sbmidi0 at 0x330-0x331 irq 5 on isa
sbmidi0: <SoundBlaster 16 MPU-401>
npx0 on motherboard
npx0: INT 16 interface
DEVFS: ready to run
ccd0-3: Concatenated disk drivers
WARNING: / was not properly dismounted.
de0: enabling 10baseT port

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



> --
> Steve Passe	| powered by 
> smp@csn.net	|            Symmetric MultiProcessor FreeBSD
> 

-- 
Antti-Pekka Liedes  * apl@IRC        apl@iki.fi *  In two hells there's
JMT 6 B 406         *      apl@cs.hut.fi        *  one hell too many
02150  ESPOO        * apl@apocalypse.tky.hut.fi *     - Lucifer
+358 - 9 - 468 3121 * +358 - 40 - 5873 593      *        (in God's Army)



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