Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 Jun 1997 18:10:54 +0100 (BST)
From:      Stephen Roome <steve@visint.co.uk>
To:        smp@freebsd.org
Subject:   Weird segfaults etc..
Message-ID:  <Pine.BSF.3.95.970627175942.20047A-100000@dylan.visint.co.uk>

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

I've just upgraded (?) to 3.0-970618-SNAP with SMP, and I'm getting weird
errors this time (last time I supped it down on top of current about 2
months ago it was rock solid).

I tend to be getting stuff like, cc1: died with internal signal 10 or 11
quite often. I saw a similar problem on a standard 2.2.2 machine, but only
once, this happens more regularly while trying to build kernels and the
like.

I can't find anything about this in the bugs list at the website and
thought someone might have a clue?

Anyway, here's the mptable output, I think mptable might be screwing up,
because I sure as hell put SMP_AUTOSTART in the kernel, and it did it as
well.

(I booted with -v so it should give enough info below to explain
the hardware which is a GA586-DX(Rev 3B) + 2*P133, fxp0, graphics and
memory (32MB) -- minimalist enough ?)

mptable -dmesg -verbose ...

Ta..

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

MPTable, version 2.0.11

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

 MP FPS found in BIOS @ physical addr: 0x000f0dd0

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

MP Floating Pointer Structure:

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

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

MP Config Table Header:

  physical address:		0x000f0de4
  signature:			'PCMP'
  base table length:		292
  version:			1.1
  checksum:			0x2e
  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	 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	 conforms    conforms	     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	  15
		INT	active-lo       level	     0	 8:A	      2	  16
		INT	active-lo       level	     0	 9:A	      2	  17
		INT	active-lo       level	     0	10:A	      2	  18
		INT	active-lo       level	     0	12:A	      2	  19
		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:


# 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

# Currently broken:
#options		SMP_PRIVPAGES		# BROKEN, DO NOT use!

# 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-970618-SNAP #0: Thu Jun 26 18:29:33 BST 1997
    root@yakko.visint.co.uk:/usr/src/sys/compile/YAKKO
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) ... i8254 clock: 1193581 Hz
CLK_USE_I8254_CALIBRATION not specified - using default frequency
CPU: Pentium (586-class CPU)
  Origin = "GenuineIntel"  Id = 0x52c  Stepping=12
  Features=0x3bf<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8,APIC>
real memory  = 33554432 (32768K bytes)
avail memory = 30830592 (30108K bytes)
pci_open(1):	mode 1 addr port (0x0cf8) is 0x8000005c
pci_open(1a):	mode1res=0x80000000 (0x80000000)
pci_cfgcheck:	device 0 [class=060000] [hdr=00] is there (id=12508086)
Probing for devices on PCI bus 0:
found->	vendor=0x8086, dev=0x1250, revid=0x03
	class=06-00-00, hdrtype=0x00, mfdev=0
chip0: <Intel 82439> rev 0x03 on pci0.0.0
found->	vendor=0x8086, dev=0x7000, revid=0x01
	class=06-01-00, hdrtype=0x00, mfdev=1
chip1: <Intel 82371SB PCI to ISA bridge> rev 0x01 on pci0.7.0
found->	vendor=0x8086, dev=0x7010, revid=0x00
	class=01-01-80, hdrtype=0x00, mfdev=0
chip2: <Intel 82371SB IDE interface> rev 0x00 on pci0.7.1
	I/O Recovery Timing: 8-bit 3.5 clocks, 16-bit 3.5 clocks
	Extended BIOS: disabled
	Lower BIOS: disabled
	Coprocessor IRQ13: disabled
	Mouse IRQ12: disabled
	Interrupt Routing: A: , B: , C: , D: 
		MB0: , MB1: 
Freeing (NOT implemented) redirected PCI irq 15.
found->	vendor=0x8086, dev=0x1229, revid=0x01
	class=02-00-00, hdrtype=0x00, mfdev=0
	intpin=a, irq=18
	map[0]: type 3, range 32, base e1100000, size 12
	map[1]: type 4, range 32, base 00006400, size  5
	map[2]: type 1, range 32, base e1000000, size 20
fxp0: <Intel EtherExpress Pro 10/100B Ethernet> rev 0x01 int a irq 18 on pci0.10.0
fxp0: Ethernet address 00:a0:c9:2f:85:41
bpf: fxp0 attached
found->	vendor=0x1002, dev=0x5654, revid=0x48
	class=03-00-00, hdrtype=0x00, mfdev=0
	map[0]: type 1, range 32, base e0000000, size 24
	map[1]: type 4, range 32, base 00006500, size  8
vga0: <VGA-compatible display device> rev 0x48 on pci0.11.0
Freeing (NOT implemented) redirected PCI irq 11.
found->	vendor=0x9004, dev=0x8078, revid=0x00
	class=01-00-00, hdrtype=0x00, mfdev=0
	intpin=a, irq=19
	map[0]: type 4, range 32, base 00006000, size  8
	map[1]: type 1, range 32, base e1101000, size 12
ahc0: <Adaptec aic7880 Ultra SCSI host adapter> rev 0x00 int a irq 19 on pci0.12.0
ahc0: Reading SEEPROM...checksum error
ahc0: No SEEPROM available
ahc0: Using left over BIOS settings
ahc0: aic7880 Wide Channel, SCSI Id=7, 16 SCBs
ahc0: Resetting Channel A
ahc0: Downloading Sequencer Program...ahc0: 369 instructions downloaded
Done
ahc0: Probing channel A
ahc0: waiting for scsi devices to settle
scbus0 at ahc0 bus 0
ahc0: target 0 synchronous at 10.0MHz, offset = 0xf
sd0 at scbus0 target 0 lun 0
sd0: <QUANTUM FIREBALL_TM3200S 300X> type 0 fixed SCSI 2
sd0: Direct-Access 3067MB (6281856 512 byte sectors)
sd0: with 6810 cyls, 5 heads, and an average 184 sectors/track
ahc0: target 1 synchronous at 10.0MHz, offset = 0xf
sd1 at scbus0 target 1 lun 0
sd1: <QUANTUM FIREBALL_TM3200S 300X> type 0 fixed SCSI 2
sd1: Direct-Access 3067MB (6281856 512 byte sectors)
sd1: with 6810 cyls, 5 heads, and an average 184 sectors/track
Probing for devices on the ISA bus:
sc0: the current keyboard controller command byte 0047
kbdio: RESET_KBD return code:00fa
kbdio: RESET_KBD status:00aa
sc0 at 0x60-0x6f irq 1 on motherboard
sc0: BIOS video mode:3
sc0: VGA registers upon power-up
50 18 10 00 10 00 03 00 02 67 5f 4f 50 82 55 81 
bf 1f 00 4f 0e 0f 00 00 ff ff 9c 8e 8f 28 1f 96 
b9 a3 ff 00 01 02 03 04 05 14 07 38 39 3a 3b 3c 
3d 3e 3f 0c 00 0f 08 00 00 00 00 00 10 0e 00 ff 
sc0: video mode:24
sc0: VGA registers for mode:24
50 18 10 00 10 00 03 00 02 67 5f 4f 50 82 55 81 
bf 1f 00 4f 0d 0e 00 00 00 00 9c 8e 8f 28 1f 96 
b9 a3 ff 00 01 02 03 04 05 14 07 38 39 3a 3b 3c 
3d 3e 3f 0c 00 0f 08 00 00 00 00 00 10 0e 00 ff 
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
bpf: lp0 attached
lpt1 not found
fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa
fdc0: NEC 72065B
fd0: 1.44MB 3.5in
npx0 on motherboard
npx0: INT 16 interface
imasks: bio c0080040, tty c304009a, net c304009a
BIOS Geometries:
 0:03fe3f20 0..1022=1023 cylinders, 0..63=64 heads, 1..32=32 sectors
 1:03fe3f20 0..1022=1023 cylinders, 0..63=64 heads, 1..32=32 sectors
 0 accounted for
Device configuration finished.
Considering FFS root f/s.
configure() finished.
Enabled INTs: 1, 2, 3, 4, 6, 7, 8, 18, 19, imen: 0x00f3fe21
bpf: tun0 attached
bpf: sl0 attached
bpf: lo0 attached
sd0s1: type 0xa5, start 0, end = 6281855, size 6281856 
sd0s1: C/H/S end 391/6/63 (172871) != end 6281855: invalid
SMP: All idle procs online.
SMP: *** AUTO *** 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!

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


Steve Roome - Vision Interactive Ltd.
Tel:+44(0)117 9730597 Home:+44(0)976 241342
WWW: http://dylan.visint.co.uk/




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.95.970627175942.20047A-100000>