Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 18 Apr 1998 17:29:55 -0400 (EDT)
From:      Rick Lotoczky <rickl@ic.net>
To:        smp@FreeBSD.ORG
Subject:   SMP Problems
Message-ID:  <XFMail.980418172955.rickl@ic.net>

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

I noticed a problem booting since Torr's last round of changes to pci.c and
mapic.c.  I was using a P6DOF motherboard which reated quite well to Torr's
changes (e.g. they worked well. I added them from the posted patch).  I
then switched to a Micronics W6Li motherboard (the P6DOF had stability problems
with RAM > 64MB) and now the system does not get beyond the clock attach test.
I am enclosing the mptable but the dmesg dump is from a working kernel
before Torr's changes.  The reason for the dmesg output is that I could not
get one for the failed kernel.

I found that by using the sources prior to Torr's committed changes (without
adding them as a patch)the smp kernel boots without problem.

Rick


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

MPTable, version 2.0.15

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

 MP FPS found in BIOS @ physical addr: 0x000f62b0

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

MP Floating Pointer Structure:

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

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

MP Config Table Header:

  physical address:             0x0009fd60
  signature:                    'PCMP'
  base table length:            284
  version:                      1.4
  checksum:                     0x12
  OEM ID:                       'INTEL   '
  Product ID:                   '440FX       '
  OEM table pointer:            0x00000000
  OEM table size:               0
  entry count:                  27
  local APIC address:           0xfee00000
  extended table length:        144
  extended table checksum:      16

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

MP Config Base Table Entries:

--
Processors:     APIC ID Version State           Family  Model   Step    Flags
                 1       0x11    BSP, usable     6       1       7       0xfbff
                 0       0x11    AP, usable      6       1       9       0xfbff
--
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 PIN#
                ExtINT  active-hi        edge        1     0          2    0
                INT     active-hi        edge        1     1          2    1
                INT     active-hi        edge        1     0          2    2
                INT     active-hi        edge        1     3          2    3
                INT     active-hi        edge        1     4          2    4
                INT     active-hi        edge        1     5          2    5
                INT     active-hi       level        1     6          2    6
                INT     active-hi       level        1     7          2    7
                INT     active-hi        edge        1     8          2    8
                INT     active-hi       level        1     9          2    9
                INT     active-hi       level        1    10          2   10
                INT     active-hi       level        1    11          2   11
                INT     active-hi       level        1    12          2   12
                INT     active-hi       level        1    14          2   14
                INT     active-hi       level        1    15          2   15
                SMI     active-hi       level        1    23          2   23
                INT     active-lo       level        0   7:D          2   19
                INT     active-lo       level        0   8:A          2   18
                INT     active-lo       level        0  15:A          2   19
                INT     active-lo       level        0  16:A          2   18
--
Local Ints:     Type    Polarity    Trigger     Bus ID   IRQ    APIC ID PIN#
                ExtINT  active-hi        edge        1     0        255    0
                NMI     active-hi        edge        1     0        255    1

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

MP Config Extended Table Entries:

--

 bus ID: 0 address type: I/O address
 address base: 0x0
 address range: 0x10000
--

 bus ID: 0 address type: memory address
 address base: 0x8000000
 address range: 0xf4800000
--

 bus ID: 0 address type: prefetch address
 address base: 0xfc800000
 address range: 0x1000000
--

 bus ID: 0 address type: memory address
 address base: 0xfd800000
 address range: 0x2800000
--

 bus ID: 0 address type: memory address
 address base: 0xa0000
 address range: 0x20000
--

 bus ID: 0 address type: memory address
 address base: 0xd8000
 address range: 0x4000
--

 bus ID: 1 bus info: 0x01 parent bus ID: 0--

 bus ID: 0 address modifier: add
 predefined range: 0x00000000--

 bus ID: 0 address modifier: add
 predefined range: 0x00000001
-------------------------------------------------------------------------------

# 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

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



Copyright (c) 1992-1998 FreeBSD Inc.
Copyright (c) 1982, 1986, 1989, 1991, 1993
        The Regents of the University of California. All rights reserved.
FreeBSD 3.0-CURRENT #0: Wed Apr  1 16:35:50 EST 1998
    root@lurch.rickl.org:/.2/usr/src/sys/compile/smp
Timecounter "i8254"  frequency 1193064 Hz  cost 39 ns
CPU: Pentium Pro (686-class CPU)
  Origin = "GenuineIntel"  Id = 0x617  Stepping=7
  Features=0xfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV>
real memory  = 134217728 (131072K bytes)
avail memory = 128126976 (125124K bytes)
FreeBSD/SMP: Multiprocessor motherboard
 cpu0 (BSP): apic id:  1, version: 0x00040011, at 0xfee00000
 cpu1 (AP):  apic id:  0, version: 0x00040011, at 0xfee00000
 io0 (APIC): apic id:  2, version: 0x00170011, at 0xfec00000
Probing for devices on PCI bus 0:
chip0: <Intel 82440FX (Natoma) PCI and memory controller> rev 0x02 on pci0.0.0
chip1: <Intel 82371SB PCI to ISA bridge> rev 0x01 on pci0.7.0
ide_pci0: <Intel PIIX3 Bus-master IDE controller> rev 0x00 on pci0.7.1
chip2: <Intel 82371SB USB host controller> rev 0x01 int d irq 19 on pci0.7.2
ahc0: <Adaptec aic7880 Ultra SCSI host adapter> rev 0x00 int a irq 18 on
pci0.8.0
ahc0: aic7880 Wide Channel, SCSI Id=7, 16/255 SCBs
ahc0: waiting for scsi devices to settle
scbus0 at ahc0 bus 0
ahc0: target 0 Tagged Queuing Device
sd0 at scbus0 target 0 lun 0
sd0: <SEAGATE ST32550W SUN2.1G 0416> type 0 fixed SCSI 2
sd0: Direct-Access 2048MB (4194995 512 byte sectors)
ahc0: target 1 Tagged Queuing Device
sd1 at scbus0 target 1 lun 0
sd1: <IBM DCAS-34330W S65A> type 0 fixed SCSI 2
sd1: Direct-Access 4134MB (8467200 512 byte sectors)
ahc0: target 2 Tagged Queuing Device
sd2 at scbus0 target 2 lun 0
sd2: <QUANTUM XP32275W LXY4> type 0 fixed SCSI 2
sd2: Direct-Access 2170MB (4445380 512 byte sectors)
ahc0: target 3 Tagged Queuing Device
sd3 at scbus0 target 3 lun 0
sd3: <QUANTUM FIREBALL_TM2110S 300X> type 0 fixed SCSI 2
sd3: Direct-Access 2014MB (4124736 512 byte sectors)
ncr0: <ncr 53c815 fast10 scsi> rev 0x04 int a irq 19 on pci0.15.0
ncr0: waiting for scsi devices to settle
scbus1 at ncr0 bus 0
st0 at scbus1 target 3 lun 0
st0: <HP HP35480A T603> type 1 removable SCSI 2
st0: Sequential-Access 
st0: 5.0 MB/s (200 ns, offset 8)
density code 0x13,  drive empty
pt0 at scbus1 target 4 lun 0
pt0: <HP C2520A 3503> type 3 fixed SCSI 2
pt0: Processor 
worm0 at scbus1 target 6 lun 0
worm0: <HP C4324/C4325 1.27> type 5 removable SCSI 2
worm0: Write-Once 
vga0: <Number Nine Imagine 128 graphics accelerator> rev 0x02 int a irq 18 on
pci0.16.0
Probing for PnP devices:
CSN 1 Vendor ID: CTL00f0 [0xf0008c0e] Serial 0xffffffff
pcm1 (SB16pnp <SB16 PnP> sn 0xffffffff) at 0x220-0x22f irq 7 drq 1 flags 0x13
on isa
CSN 2 Vendor ID: TCM5094 [0x94506d50] Serial 0x24798fd2
Probing for devices on the ISA bus:
sc0 at 0x60-0x6f irq 1 on motherboard
sc0: VGA color <8 virtual consoles, flags=0x0>
psm0 at 0x60-0x64 irq 12 on motherboard
psm0: model GlidePoint, device ID 0
sio0 at 0x3f8-0x3ff irq 4 on isa
sio0: type 16550A
sio1 at 0x2f8-0x2ff irq 3 flags 0x20000 on isa
sio1: type ST16650A
sio2 at 0x3e8-0x3ef irq 5 flags 0x20000 on isa
sio2: type ST16650A
lpt0 at 0x3bc-0x3c3 on isa
lpt1 at 0x378-0x37f on isa
pcm0 not probed due to drq conflict with pcm1 at 1
fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa
fdc0: FIFO enabled, 8 bytes threshold
fd0: 1.44MB 3.5in
wdc0 at 0x1f0-0x1f7 irq 14 flags 0xa0ffa0ff on isa
wdc0: unit 0 (wd0): <WDC AC32500H>, DMA, 32-bit, multi-block-16
wd0: 2441MB (4999680 sectors), 4960 cyls, 16 heads, 63 S/T, 512 B/S
1 3C5x9 board(s) on ISA found at 0x330
ep0 at 0x330-0x33f irq 10 on isa
ep0: aui/utp/bnc[*UTP*] address 00:a0:24:79:8f:d2
npx0 on motherboard
npx0: INT 16 interface
APIC_IO: Testing 8254 interrupt delivery
APIC_IO: routing 8254 via pin 2
changing root device to sd0s1a
SMP: AP CPU #1 Launched!
WARNING: / was not properly dismounted.




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?XFMail.980418172955.rickl>