Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 31 Jan 1997 12:07:45 +0300 (MSK)
From:      bag@sinbin.demos.su (Alex G. Bulushev)
To:        smp@csn.net (Steve Passe)
Cc:        mishania@demos.su, freebsd-smp@freebsd.org
Subject:   Re: troubles with smp kernel
Message-ID:  <199701310907.MAA14659@sinbin.demos.su>
In-Reply-To: <199701301941.MAA18244@clem.systemsix.com> from "Steve Passe" at Jan 30, 97 12:41:32 pm

next in thread | previous in thread | raw e-mail | index | archive | help
> >options SMP_INVLTLB
> 
> again, 2.0.6 will print this as well as all other new options in their
> suggested state, ie enabled/commented/default value.
> 

This is output of mptable 2.0.6, dmesg for kernel without mp_machdep.c patch,
but with all recomended options ... system very unstable ...
regulary after rebooting fsck stopped on drive sd2 cheking with message:

cannot alloc 4177922 bytes for lncntp

OR

cannot alloc 2088961 bytes for typemap

and then write: RUN fsck MANUALLY

this is kmem allocation error i think ... not hardware ...


   Alex.

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

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: 0x000f60b0

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

MP Floating Pointer Structure:

  location:			BIOS
  physical address:		0x000f60b0
  signature:			'_MP_'
  length:			16 bytes
  version:			1.4
  checksum:			0x8b
  mode:				Virtual Wire

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

MP Config Table Header:

  physical address:		0x000f5caa
  signature:			'PCMP'
  base table length:		268
  version:			1.4
  checksum:			0xf9
  OEM ID:			'OEM00000'
  Product ID:			'PROD00000000'
  OEM table pointer:		0x00000000
  OEM table size:		0
  entry count:			25
  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
		 1	 0x11	 BSP, usable	 6	 1	 6	 0xfbff
		 0	 0x11	 AP, usable	 6	 1	 7	 0xfbff
--
Bus:		Bus ID	Type
		 0	 PCI   
		 1	 PCI   
		 2	 PCI   
		 3	 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	     3	   0	      2	   0
		INT	 conforms    conforms	     3	   1	      2	   1
		INT	 conforms    conforms	     3	   0	      2	   2
		INT	 conforms    conforms	     3	   3	      2	   3
		INT	 conforms    conforms	     3	   4	      2	   4
		INT	 conforms    conforms	     3	   5	      2	   5
		INT	 conforms    conforms	     3	   6	      2	   6
		INT	 conforms    conforms	     3	   7	      2	   7
		INT	 conforms    conforms	     3	   8	      2	   8
		INT	 conforms    conforms	     3	  14	      2	  14
		INT	 conforms    conforms	     3	  15	      2	  15
		INT	active-lo       level	     1	 4:A	      2	  19
		INT	active-lo       level	     1	 5:A	      2	  16
		INT	active-lo       level	     0	10:A	      2	  18
		INT	active-lo       level	     2	 4:A	      2	  16
		INT	active-lo       level	     2	 5:A	      2	  17
--
Local Ints:	Type	Polarity    Trigger	Bus ID	 IRQ	APIC ID	INT#
		ExtINT	active-hi        edge	     3	   0	    255	   0
		NMI	active-hi        edge	     3	   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=4			# 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:

%\^A%\^A%\^A%\^A%\^D\^A%\^T\^A\^E$\^A\^E4\^A%D\^A\^ET\^A%d\^A\^Et\^E\^A\^E\^X\^A%\^X\^A%\^E\^A\^Ed\^Q\^A%ty\^Ey%\^M\^A\^E\^A%\^A%ĉ%\^A%\^A%\^A%\^Dv\^E\^T\^A%$\^A%4\^A%D\^A%Tj%d\^A\^Et\^A%\^^\^A%\^A%\^A%\^A%\^A%\^A%\^D\^_\^A%\^T\^_\^A%d\^V\^A%r%\^V\^Agd\^Agt\^A%\^A%\^Ag\^A%g\^A%x%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: Fri Jan 31 01:47:53 MSK 1997
    mishania@fyllefrossa.demos.su:/arc1/src/sys-SMP/compile/FYLLEFROSSA
FreeBSD/SMP: Multiprocessor motherboard
 cpu0 (BSP): apic id: 1, version: 0x00040011
 cpu1 (AP):  apic id: 0, version: 0x00040011
 io0 (APIC): apic id: 2, version: 0x00170011
Calibrating clock(s) relative to mc146818A clock ... i8254 clock: 1193158 Hz
CPU: Pentium Pro (686-class CPU)
  Origin = "GenuineIntel"  Id = 0x616  Stepping=6
  Features=0xfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,<b11>,MTRR,PGE,MCA,CMOV>
real memory  = 268435456 (262144K bytes)
avail memory = 257298432 (251268K bytes)
Probing for devices on PCI bus 0:
chip0 <Intel 82440FX (Natoma) PCI and memory controller> rev 2 on pci0:0
chip1 <Intel 82371SB PCI-ISA bridge> rev 1 on pci0:1:0
chip2 <Intel 82371SB IDE interface> rev 0 on pci0:1:1
chip3 <DEC 21050 PCI-PCI bridge> rev 2 on pci0:9
de0 <Digital 21041 Ethernet> rev 17 int a irq 18 on pci0:10
Freeing (NOT implimented) irq 12 for ISA cards.
de0: 21041 [10Mb/s] pass 1.1
de0: address 00:00:c0:74:8c:dc
chip4 <DEC 21050 PCI-PCI bridge> rev 2 on pci0:12
Freeing (NOT implimented) irq 12 for ISA cards.
Probing for devices on PCI bus 1:
ahc0 <Adaptec 3940 Ultra SCSI host adapter> rev 0 int a irq 19 on pci1:4
Freeing (NOT implimented) irq 9 for ISA cards.
ahc0: aic7880 Wide Channel A, SCSI Id=7, 16 SCBs
ahc0 waiting for scsi devices to settle
(ahc0:0:0): "SEAGATE ST32550W 0016" type 0 fixed SCSI 2
sd0(ahc0:0:0): Direct-Access 2047MB (4194058 512 byte sectors)
(ahc0:1:0): "SEAGATE ST19171W 0017" type 0 fixed SCSI 2
sd1(ahc0:1:0): Direct-Access 8683MB (17783112 512 byte sectors)
(ahc0:2:0): "SEAGATE ST19171W 0017" type 0 fixed SCSI 2
sd2(ahc0:2:0): Direct-Access 8683MB (17783112 512 byte sectors)
ahc1 <Adaptec 3940 Ultra SCSI host adapter> rev 0 int a irq 16 on pci1:5
Freeing (NOT implimented) irq 11 for ISA cards.
ahc1: aic7880 Wide Channel B, SCSI Id=7, 16 SCBs
ahc1 waiting for scsi devices to settle
ahc1: Someone reset channel A
Probing for devices on PCI bus 2:
ahc2 <Adaptec 3940 Ultra SCSI host adapter> rev 0 int a irq 19 on pci2:4
Freeing (NOT implimented) irq 11 for ISA cards.
ahc2: aic7880 Wide Channel A, SCSI Id=7, 16 SCBs
ahc2 waiting for scsi devices to settle
ahc2: Someone reset channel A
ahc3 <Adaptec 3940 Ultra SCSI host adapter> rev 0 int a irq 16 on pci2:5
Freeing (NOT implimented) irq 10 for ISA cards.
ahc3: aic7880 Wide Channel B, SCSI Id=7, 16 SCBs
ahc3 waiting for scsi devices to settle
ahc3: Someone reset channel A
Probing for devices on the ISA bus:
sc0 at 0x60-0x6f irq 1 on motherboard
sc0: VGA color <16 virtual consoles, flags=0x0>
fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa
fdc0: NEC 72065B
npx0 on motherboard
npx0: INT 16 interface
changing root device to sd0a
Enabled INTs: 1, 2, 6, 8, 16, 18, 19, imen: 0x00f2feb9
de0: enabling 10baseT port
WARNING: / was not properly dismounted.
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?199701310907.MAA14659>