Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 17 Dec 1996 16:06:12 +0200 (EET)
From:      "Bror 'Count' Heinola" <count@key.sms.fi>
To:        freebsd-smp@freebsd.org
Subject:   Success! ...well, not really
Message-ID:  <199612171406.QAA05468@key.sms.fi>

next in thread | raw e-mail | index | archive | help
	I'm a proud owner of a Tyan Titan Pro S1668 ATX dual Ppro
	motherboard with two PPro 180MHz CPU's.

	I installed 2.2-ALPHA and then cvsup'd -current on top of that,
	did make world, compiled a uniprocessor kernel and SMP kernel.

	The machine runs just fine with both kernels when the second
	cpu is disabled, however, when I enable the second CPU it
	works, but whenever I try to "make" something, it immediately
	bombs with a panic like this (btw, is there a way of saving a
	panic output in short of writing it down by hand?) :

Fatal trap 12: page fault while in kernel mode
cpunumber = 0
fault virtual address   = 0xfffbeff4
fault code              = supervisor read, page not present
instruction pointer     = 0x8:0xf0176c13
stack pointer           = 0x10:0xefbffe94
frame pointer           = 0x10:0xefbffeb0
code segment            = base 0x0, limit 0xfffff, type ox1b
                        = dpl 0, pres 1, def32 1, gran 1
processor eflags        = interrupt enabled, resume, IOPL = 0
current process         = 190 (sh)
interrupt mask          =
trap number             = 12
panic (cpu#0): page fault
boot() called on cpu#0

	I'll include the current SMP kernel config along with latest
	dmesg output below.

FreeBSD 3.0-SMP #0: Tue Dec 17 15:18:11 EET 1996
    count@bhe0.sms.fi:/usr/src/sys-SMP/compile/BHE0SMP
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: 1193059 Hz
CPU: Pentium Pro (686-class CPU)
  Origin = "GenuineIntel"  Id = 0x617  Stepping=7
  Features=0xfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,<b11>,MTRR,PGE,MCA,CMOV>
real memory  = 33554432 (32768K bytes)
Physical memory hole(s):
avail memory = 31240192 (30508K 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:7:0
chip2 <Intel 82371SB IDE interface> rev 0 on pci0:7:1
vga0 <VGA-compatible display device> rev 48 int a irq 17 on pci0:13
Freeing (NOT implimented) irq 9 for ISA cards.
ahc0 <Adaptec 2940 Ultra SCSI host adapter> rev 0 int a irq 16 on pci0:14
Freeing (NOT implimented) irq 11 for ISA cards.
ahc0: aic7880 Single Channel, SCSI Id=7, 16 SCBs
ahc0: target 0 Tagged Queuing Device
(ahc0:0:0): "IBM DORS-32160    !# WA3E" type 0 fixed SCSI 2
sd0(ahc0:0:0): Direct-Access 2063MB (4226725 512 byte sectors)
(ahc0:6:0): "TOSHIBA CD-ROM XM-5401TA 3115" type 5 removable SCSI 2
cd0(ahc0:6:0): CD-ROM 
cd0(ahc0:6:0): NOT READY asc:4,1
cd0(ahc0:6:0):  Logical unit is in process of becoming ready
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
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, 3 buttons?
fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa
fdc0: NEC 72065B
fd0: 1.44MB 3.5in
1 3C5x9 board(s) on ISA found at 0x300
ep0 at 0x300-0x30f irq 10 on isa
ep0: aui/utp/bnc[*UTP*] address 00:20:af:43:1f:b0
npx0 on motherboard
npx0: INT 16 interface
Enabled INTs: 1, 2, 3, 4, 6, 7, 8, 10, 12, 16, imen: 0x00feea21
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!

machine         "i386"
cpu             "I686_CPU"
ident           BHESMP
maxusers        10

options         INET                    #InterNETworking
options         FFS                     #Berkeley Fast Filesystem
options         "CD9660"                #ISO 9660 Filesystem
options         PROCFS                  #Process filesystem
options         "COMPAT_43"             #Compatible with BSD 4.3 [KEEP THIS!]
options         UCONSOLE                #Allow users to grab the console
options         USERCONFIG              #boot -c editor
options         VISUAL_USERCONFIG       #visual boot -c editor
options         HARDFONTS
options         XSERVER
options         "AUTO_EOI1"
options         "AUTO_EOI2"
options         DUMMY_NOPS
options         "MAXMEM=131072"
options         AHC_TAGENABLE
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


config          kernel  root on sd0

controller      isa0
controller      pci0

controller      fdc0    at isa? port "IO_FD1" bio irq 6 drq 2 vector fdintr
disk            fd0     at fdc0 drive 0

controller      ahc0
controller      scbus0
device          sd0
device          cd0     #Only need one of these, the code dynamically grows
device          sc0     at isa? port "IO_KBD" tty irq 1 vector scintr
device          npx0    at isa? port "IO_NPX" irq 13 vector npxintr
device          sio0    at isa? port "IO_COM1" tty irq 4 vector siointr
device          sio1    at isa? port "IO_COM2" tty irq 3 vector siointr
device          lpt0    at isa? port? tty irq 7 vector lptintr
device          psm0    at isa? port "IO_KBD" conflicts tty irq 12 vector psmintr
device ep0 at isa? port 0x300 net irq 10 vector epintr

pseudo-device   loop
pseudo-device   ether
pseudo-device   log
pseudo-device   pty     64
pseudo-device   gzip            # Exec gzipped a.out's
pseudo-device   bpfilter        4




-- 
Bror 'Count' Heinola # Santa Monica Software # Email: bror@sms.fi
Isokaari 27 A2	     # Technical Support     # IRC: Count
FI-00200 HELSINKI    # Cisco / Ascend	     # NIC: BH271
+358-40-523-2171     # +358-9-613-8911	     # Are you defective?



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