Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 04 Mar 1999 16:55:51 +0800
From:      Vadim Stanovov <vvs@blpk.irtel.ru>
To:        "freebsd-smp@FreeBSD.org" <freebsd-smp@FreeBSD.org>
Subject:   ALR Q-SMP configuration
Message-ID:  <36DE4A96.9ECBA89E@blpk.irtel.ru>

next in thread | raw e-mail | index | archive | help
Tell me please, what wrong in my configuration ( and brain too :) ?

mptable output:

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

MPTable, version 2.0.15

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

MP Floating Pointer Structure:

  location:   EBDA
  physical address:  0x0009fc30
  signature:   '_MP_'
  length:   16 bytes
  version:   1.1
  checksum:   0xd9
  mode:    PIC

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

MP Config Table Header:

  physical address:  0x0009fc45
  signature:   'PCMP'
  base table length:  236
  version:   1.1
  checksum:   0x35
  OEM ID:   'ALR     '
  Product ID:   'Revolut QSMP'
  OEM table pointer:  0x00000000
  OEM table size:  0
  entry count:   21
  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  0x 1  BSP, usable  5  2  5  0x0181
   1  0x 1  AP, usable  5  2  5  0x0181
--
Bus:  Bus ID Type
   0  EISA
   1  PCI
--
I/O APICs: APIC ID Version State  Address
   2  0x01  usable   0xfec00000
--
I/O Ints: Type Polarity    Trigger Bus ID  IRQ APIC ID PIN#
  ExtINT  conforms    conforms      0    0       2    0
  INT  conforms    conforms      0    1       2    1
  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   14       2   14
  INT  conforms    conforms      0   15       2   15
--
Local Ints: Type Polarity    Trigger Bus ID  IRQ APIC ID PIN#
  ExtINT  conforms    conforms      0    0     255    0
  NMI  conforms    conforms      0    0     255    1

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

# SMP kernel config file options:


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

# 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

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

dmesg output with one-processor kernel:

 Copyright (c) 1992-1999 FreeBSD Inc.
 Copyright (c) 1982, 1986, 1989, 1991, 1993
 The Regents of the University of California. All rights reserved.
 FreeBSD 3.1-RELEASE #0: Thu Mar  4 09:19:53 IS 1999
 Timecounter "i8254"  frequency 1193182 Hz
 Timecounter "TSC"  frequency 100000304 Hz
 CPU: Pentium/P54C (100.00-MHz 586-class CPU)
 Origin = "GenuineIntel"  Id = 0x525  Stepping=5
 Features=0x1bf<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8>
 real memory  = 117440512 (114688K bytes)
 avail memory = 111607808 (108992K bytes)
 Preloaded elf kernel "kernel" at 0xf0269000.
 eisa0: <ALRa341 (System Board)>
 Probing for devices on the EISA bus
 Probing for devices on PCI bus 0:
 chip0: <Host to PCI bridge (vendor=1045 device=c832)> rev 0x01 on
pci0.16.0
 ahc0: <Adaptec 2940 Ultra SCSI adapter> rev 0x00 int a irq 9 on
pci0.17.0
 ahc0: aic7880 Wide Channel A, SCSI Id=7, 16/255 SCBs
 xl0: <3Com 3c905B Fast Etherlink XL 10/100BaseTX> rev 0x24 int a irq 11
on pci0.18.0
 xl0: Ethernet address: 00:a0:24:aa:30:52
 xl0: selecting 10baseT transceiver, half duplex
 Probing for devices on the ISA bus:
 sc0 on isa
 sc0: VGA color <16 virtual consoles, flags=0x0>
 atkbdc0 at 0x60-0x6f on motherboard
 atkbd0 irq 1 on isa
 psm0 not found
 sio0 at 0x3f8-0x3ff irq 4 flags 0x10 on isa
 sio0: type 16550A
 sio1 at 0x2f8-0x2ff irq 3 on isa
 sio1: type 16550A
 fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa
 fdc0: FIFO enabled, 8 bytes threshold
 fd0: 1.44MB 3.5in
 ppc0 at 0x378 irq 7 on isa
 ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
 nlpt0: <generic printer> on ppbus 0
 nlpt0: Interrupt-driven port
 ppi0: <generic parallel i/o> on ppbus 0
 plip0: <PLIP network interface> on ppbus 0
 vga0 at 0x3b0-0x3df maddr 0xa0000 msize 131072 on isa
 npx0 on motherboard
 npx0: INT 16 interface
 Intel Pentium detected, installing workaround for F00F bug
 Waiting 15 seconds for SCSI devices to settle
 sa0 at ahc0 bus 0 target 2 lun 0
 sa0: <HP HP35480A T503> Removable Sequential Access SCSI-2 device
 sa0: 5.0MB/s transfers (5.0MHz, offset 8)
 da1 at ahc0 bus 0 target 6 lun 0
 da1: <QUANTUM XP32275W LXY4> Fixed Direct Access SCSI-2 device
 da1: 40.0MB/s transfers (20.0MHz, offset 8, 16bit), Tagged Queueing
Enabled
 da1: 2170MB (4445380 512 byte sectors: 255H 63S/T 276C)
 da0 at ahc0 bus 0 target 0 lun 0
 da0: <SEAGATE ST34572W 0784> Fixed Direct Access SCSI-2 device
 da0: 40.0MB/s transfers (20.0MHz, offset 8, 16bit), Tagged Queueing
Enabled
 da0: 4340MB (8888924 512 byte sectors: 255H 63S/T 553C)
 changing root device to da0s1a
 cd0 at ahc0 bus 0 target 5 lun 0
 cd0: <NEC CD-ROM DRIVE:502 2.0y> Removable CD-ROM SCSI-2 device
 cd0: 8.64MB/s transfers (8.64MHz, offset 15)

dmesg output with two-processor kernel:

 Copyright (c) 1992-1999 FreeBSD Inc.
 Copyright (c) 1982, 1986, 1989, 1991, 1993
 The Regents of the University of California. All rights reserved.
 FreeBSD 3.1-RELEASE #0: Thu Mar  4 10:34:01 IS 1999
 Timecounter "i8254"  frequency 1193182 Hz
 Timecounter "TSC"  frequency 100000304 Hz
 CPU: Pentium/P54C (100.00-MHz 586-class CPU)
 Origin = "GenuineIntel"  Id = 0x525  Stepping=5
 Features=0x1bf<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8>
 real memory  = 117440512 (114688K bytes)
 avail memory = 111493120 (108880K bytes)
 Programming 16 pins in IOAPIC #0
 AP #1 (PHY# 1) failed!
 panic y/n?  [y] panic: bye-bye
 mp-lock=00000001; cpuid=0; lapic.id=00000000
 Debugger ("panic")
 Stopped at 0xf01cc333; movl $0,0xf021d2fc

kernel config:

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

# Optional, these are the defaults plus 1:
options  NCPU=2   # number of CPUs
options  NBUS=2   # number of busses
options  NAPIC=1   # number of IO APICs
options  NINTR=15  # number of INTs

# Lets always enable the kernel debugger for SMP.
options         DDB
-------

Vadim Stanovov, <vvs@blpk.irtel.ru>




To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-smp" in the body of the message




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