Date: Tue, 24 Nov 1998 14:32:18 -0600 (CST) From: Joe Greco <jgreco@solaria.sol.net> To: freebsd-smp@freeebsd.org Subject: Help, cannot make HP Vectra XU work Message-ID: <199811251405.IAA29741@aurora.sol.net>
index | next in thread | raw e-mail
Hello,
I have an HP Vectra XU (2 x PP200, 160MB RAM) that I am having some trouble
getting to work under FreeBSD 3.0R SMP.
This board worked under one of the late summer 3.0 SNAP's with a smaller
amount of memory. If the details are significant, I can dig them up.
Using the values specified by "mptable", I built a kernel... but all it
does is:
-------------------------------------------------------------------------------
Booting 0:da(0,a)kernel @ 0x100000
text=0xe7000 data=0x15000 bss=0x1ac44
symbols=[+0x3bc+0x4+0x13a94+0x4+0x1c5db]
total=0x247077 entry point=0x100000
BIOS basemem (638K) != RTC basemem (640K), setting to BIOS value
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-RELEASE #2: Tue Nov 24 14:10:50 CST 1998
root@:/usr/src/sys/compile/SMP-QUORISTAN
Timecounter "i8254" frequency 1193182 Hz cost 3529 ns
CPU: Pentium Pro (686-class CPU)
Origin = "GenuineIntel" Id = 0x619 Stepping=9
Features=0xf9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV>
real memory = 167772160 (163840K bytes)
avail memory = 160706560 (156940K bytes)
Programming 16 pins in IOAPIC #0
IOAPIC #0 intpint 1 -> irq -1
IOAPIC #0 intpint 2 -> irq -1
IOAPIC #0 intpint 3 -> irq -1
IOAPIC #0 intpint 4 -> irq -1
IOAPIC #0 intpint 5 -> irq -1
IOAPIC #0 intpint 6 -> irq -1
IOAPIC #0 intpint 7 -> irq -1
IOAPIC #0 intpint 8 -> irq -1
IOAPIC #0 intpint 9 -> irq -1
IOAPIC #0 intpint 10 -> irq -1
IOAPIC #0 intpint 11 -> irq -1
IOAPIC #0 intpint 12 -> irq -1
IOAPIC #0 intpint 13 -> irq -1
IOAPIC #0 intpint 14 -> irq -1
IOAPIC #0 intpint 15 -> irq -1
[lockup]
-------------------------------------------------------------------------------
I then commented out the options specified by MPTABLE and got this far:
-------------------------------------------------------------------------------
Booting 0:da(0,a)kernel @ 0x100000
text=0xe7000 data=0x15000 bss=0x1ad44
symbols=[+0x2bc+0x4+0x13a94+0x4+0x1c5db]
total=0x247077 entry point=0x100000
BIOS basemem (638K) != RTC basemem (640K), setting to BIOS value
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-RELEASE #1: Tue Nov 24 13:53:35 CST 1998
root@:/usr/src/sys/compile/SMP-QUORISTAN
Timecounter "i8254" frequency 1193182 Hz cost 3532 ns
CPU: Pentium Pro (686-class CPU)
Origin = "GenuineIntel" Id = 0x619 Stepping=9
Features=0xfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV>
real memory = 167772160 (163840K bytes)
avail memory = 160706560 (156940K bytes)
Programming 16 pins in IOAPIC #0
IOAPIC #0 intpint 1 -> irq -1
IOAPIC #0 intpint 2 -> irq -1
IOAPIC #0 intpint 3 -> irq -1
IOAPIC #0 intpint 4 -> irq -1
IOAPIC #0 intpint 5 -> irq -1
IOAPIC #0 intpint 6 -> irq -1
IOAPIC #0 intpint 7 -> irq -1
IOAPIC #0 intpint 8 -> irq -1
IOAPIC #0 intpint 9 -> irq -1
IOAPIC #0 intpint 10 -> irq -1
IOAPIC #0 intpint 11 -> irq -1
IOAPIC #0 intpint 12 -> irq -1
IOAPIC #0 intpint 13 -> irq -1
IOAPIC #0 intpint 14 -> irq -1
IOAPIC #0 intpint 15 -> irq -1
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: 16, version: 0x000f0011, at 0xfec00000
Probing for devices on PCI bus 0:
chip0: <Intel 82378IB PCI to ISA bridge> rev 0x88 on pci0.0.0
Freeing (NOT implemented) redirected ISA irq 14.
Freeing (NOT implemented) redirected ISA irq 9.
ahc0: <Adaptec aic7880 Ultra SCSI adapter> rev 0x00 int a irq 255 on
pci0.2.0
create_intr: requested irq255 too high, limit is 23
Freeing (NOT implemented) redirected ISA irq 11.
vga0: <Matrox MGA 2064W graphics accelerator> rev 0x01 int a irq 255 on
pci0.11.0
Freeing (NOT implemented) redirected ISA irq 11.
de0: <Digital 21140 Fast Ethernet> rev 0x12 int a irq 255 on pci0.14.0
create_intr: requested irq255 too high, limit is 23
de0: couldn't map interrupt
chip1: <Intel 82453KX/GX (Orion) PCI memory controller> rev 0x04 on
pci0.20.0
chip2: <Intel 82454KX/GX (Orion) host to PCI bridge> rev 0x04 on pci0.25.0
Probing for devices on the ISA bus:
sc0 at 0x60-0x6f irq 1 on motherboard
sc0: VGA color <16 virtual consoles, flags=0x0>
Freeing (NOT implemented) redirected ISA irq 1.
create_intr: requested irq31 too high, limit is 23
ed0 not found at 0x280
sio0 at 0x3f8-0x3ff irq 4 flags 0x10 on isa
sio0: type 16550A, console
Freeing (NOT implemented) redirected ISA irq 4.
create_intr: requested irq31 too high, limit is 23
sio1 at 0x2f8-0x2ff irq 3 on isa
sio1: type 16550A
Freeing (NOT implemented) redirected ISA irq 3.
create_intr: requested irq31 too high, limit is 23
sio2: configured irq 5 not in bitmap of probed irqs 0
sio2 not found at 0x3e8
sio3: configured irq 9 not in bitmap of probed irqs 0
sio3 not found at 0x2e8
lpt0 at 0x378-0x37f irq 7 on isa
lpt0: Interrupt-driven port
lp0: TCP/IP capable interface
Freeing (NOT implemented) redirected ISA irq 7.
create_intr: requested irq31 too high, limit is 23
psm0 not found at 0x60
fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa
fdc0: FIFO enabled, 8 bytes threshold
fd0: 1.44MB 3.5in
Freeing (NOT implemented) redirected ISA irq 6.
create_intr: requested irq31 too high, limit is 23
wdc1 at 0x170-0x177 irq 15 on isa
wdc1: unit 0 (atapi): <HITACHI CDR-8130/0021>, removable, accel, dma, iordy
wcd0: 1377/2755Kb/sec, 128Kb cache, audio play, 255 volume levels, ejectable
tray
wcd0: 120mm data/audio disc loaded, unlocked
Freeing (NOT implemented) redirected ISA irq 15.
create_intr: requested irq31 too high, limit is 23
npx0 on motherboard
npx0: INT 16 interface
create_intr: requested irq255 too high, limit is 23
Fatal trap 12: page fault while in kernel mode
mp_lock = 00000002; cpuid = 0; lapic.id = 01000000
fault virtual address = 0x5f5e5d5c
fault code = supervisor write, page not present
instruction pointer = 0x8:0xf01b5624
stack pointer = 0x10:0xf0222f64
frame pointer = 0x10:0xf0222f90
code segment = base 0x0, limit 0xfffff, type 0x1b
= DPL 0, pres 1, def32 1, gran 1
processor eflags = resume, IOPL = 0
current process = 0 (swapper)
interrupt mask = <- SMP: XXX
trap number = 12
panic: page fault
mp_lock = 00000002; cpuid = 0; lapic.id = 01000000
syncing disks... done
Automatic reboot in 15 seconds - press a key on the console to abort
--> Press a key on the console to reboot <--
-------------------------------------------------------------------------------
The config file I'm using (comment out the four mptable options to get
the second boot trial):
-------------------------------------------------------------------------------
#
# SMP-QUORISTAN -- Smp machine with WD/AHx/NCR/BTx family disks
#
# For more information read the handbook part System Administration ->
# Configuring the FreeBSD Kernel -> The Configuration File.
# The handbook is available in /usr/share/doc/handbook or online as
# latest version from the FreeBSD World Wide Web server
# <URL:http://www.FreeBSD.ORG/>
#
# An exhaustive list of options and more detailed explanations of the
# device lines is present in the ./LINT configuration file. If you are
# in doubt as to the purpose or necessity of a line, check first in LINT.
#
# $Id: SMP-QUORISTAN,v 1.17 1998/10/16 04:44:05 peter Exp $
machine "i386"
# SMP does NOT support 386/486 CPUs.
#cpu "I386_CPU"
#cpu "I486_CPU"
cpu "I586_CPU"
cpu "I686_CPU"
ident SMP-QUORISTAN
maxusers 160
# Create a SMP capable kernel (mandatory options):
options SMP # Symmetric MultiProcessor Kernel
options APIC_IO # Symmetric (APIC) I/O
# Optional, these are the defaults:
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
# Lets always enable the kernel debugger for SMP.
#options DDB
# SMP shouldn't need x87 emulation, disable by default.
#options MATH_EMULATE #Support for x87 emulation
options INET #InterNETworking
options FFS #Berkeley Fast Filesystem
options FFS_ROOT #FFS usable as root device [keep this!]
#options MFS #Memory Filesystem
#options MFS_ROOT #MFS usable as root device, "MFS" req'ed
#options NFS #Network Filesystem
#options NFS_ROOT #NFS usable as root device, "NFS" req'ed
#options MSDOSFS #MSDOS Filesystem
options "CD9660" #ISO 9660 Filesystem
#options "CD9660_ROOT" #CD-ROM usable as root. "CD9660" req'ed
options PROCFS #Process filesystem
options "COMPAT_43" #Compatible with BSD 4.3 [KEEP THIS!]
options SCSI_DELAY=5000 #Be pessimistic about Joe SCSI device
options UCONSOLE #Allow users to grab the console
#options FAILSAFE #Be conservative
options USERCONFIG #boot -c editor
#options VISUAL_USERCONFIG #visual boot -c editor
options IPFIREWALL #firewall
options IPFIREWALL_VERBOSE #print information about
#options IPFIREWALL_FORWARD #enable xparent proxy support
options "IPFIREWALL_VERBOSE_LIMIT=100" #limit verbosity
options IPFIREWALL_DEFAULT_TO_ACCEPT #allow everything by default
#config kernel root on wd0
config kernel root on da0
controller isa0
#controller eisa0
controller pci0
controller fdc0 at isa? port "IO_FD1" bio irq 6 drq 2 vector fdintr
disk fd0 at fdc0 drive 0
#disk fd1 at fdc0 drive 1
# Unless you know very well what you're doing, leave ft0 at drive 2, or
# remove the line entirely if you don't need it. Trying to configure
# it on another unit might cause surprises, see PR kern/7176.
#tape ft0 at fdc0 drive 2
options "CMD640" # work around CMD640 chip deficiency
#controller wdc0 at isa? port "IO_WD1" bio irq 14 vector wdintr
#disk wd0 at wdc0 drive 0
#disk wd1 at wdc0 drive 1
controller wdc1 at isa? port "IO_WD2" bio irq 15 vector wdintr
#disk wd2 at wdc1 drive 0
#disk wd3 at wdc1 drive 1
options ATAPI #Enable ATAPI support for IDE bus
options ATAPI_STATIC #Don't do it as an LKM
device wcd0 #IDE CD-ROM
#device wfd0 #IDE Floppy (e.g. LS-120)
# A single entry for any of these controllers (ncr, ahb, ahc, amd) is
# sufficient for any number of installed devices.
controller ncr0
#controller amd0
#controller ahb0
controller ahc0
#controller isp0
# This controller offers a number of configuration options, too many to
# document here - see the LINT file in this directory and look up the
# dpt0 entry there for much fuller documentation on this.
#controller dpt0
#controller adv0 at isa? port ? cam irq ?
#controller adw0
#controller bt0 at isa? port ? cam irq ?
#controller aha0 at isa? port ? cam irq ?
#controller uha0 at isa? port "IO_UHA0" bio irq ? drq 5 vector uhaintr
#controller aic0 at isa? port 0x340 bio irq 11 vector aicintr
#controller nca0 at isa? port 0x1f88 bio irq 10 vector ncaintr
#controller nca1 at isa? port 0x350 bio irq 5 vector ncaintr
#controller sea0 at isa? bio irq 5 iomem 0xc8000 iosiz 0x2000 vector seaintr
controller scbus0
device da0
device sa0
device pass0
device cd0 #Only need one of these, the code dynamically grows
#device wt0 at isa? port 0x300 bio irq 5 drq 1 vector wtintr
#device mcd0 at isa? port 0x300 bio irq 10 vector mcdintr
#controller matcd0 at isa? port 0x230 bio
#device scd0 at isa? port 0x230 bio
# syscons is the default console driver, resembling an SCO console
device sc0 at isa? port "IO_KBD" conflicts tty irq 1 vector scintr
# Enable this and PCVT_FREEBSD for pcvt vt220 compatible console driver
#device vt0 at isa? port "IO_KBD" conflicts tty irq 1 vector pcrint
#options XSERVER # support for X server
#options FAT_CURSOR # start with block cursor
# If you have a ThinkPAD, uncomment this along with the rest of the PCVT lines
#options PCVT_SCANSET=2 # IBM keyboards are non-std
device npx0 at isa? port "IO_NPX" irq 13 vector npxintr
#
# Laptop support (see LINT for more options)
#
device apm0 at isa? disable flags 0x31 # Advanced Power Management
# PCCARD (PCMCIA) support
#controller card0
#device pcic0 at card?
#device pcic1 at card?
device sio0 at isa? port "IO_COM1" flags 0x10 tty irq 4 vector siointr
device sio1 at isa? port "IO_COM2" tty irq 3 vector siointr
device sio2 at isa? port "IO_COM3" tty irq 5 vector siointr
device sio3 at isa? port "IO_COM4" tty irq 9 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
# Order is important here due to intrusive probes, do *not* alphabetize
# this list of network interfaces until the probes have been fixed.
# Right now it appears that the ie0 must be probed before ep0. See
# revision 1.20 of this file.
device de0
device de1
device de2
device de3
#device fxp0
#device tl0
#device tx0
#device vx0
#device xl0
device ed0 at isa? port 0x280 net irq 10 iomem 0xd8000 vector edintr
#device ie0 at isa? port 0x300 net irq 10 iomem 0xd0000 vector ieintr
#device ep0 at isa? port 0x300 net irq 10 vector epintr
#device ex0 at isa? port? net irq? vector exintr
#device fe0 at isa? port 0x300 net irq ? vector feintr
#device le0 at isa? port 0x300 net irq 5 iomem 0xd0000 vector le_intr
#device lnc0 at isa? port 0x280 net irq 10 drq 0 vector lncintr
#device ze0 at isa? port 0x300 net irq 10 iomem 0xd8000 vector zeintr
#device zp0 at isa? port 0x300 net irq 10 iomem 0xd8000 vector zpintr
#device cs0 at isa? port 0x300 net irq ? vector csintr
pseudo-device loop
pseudo-device ether
pseudo-device sl 1
pseudo-device ppp 1
pseudo-device tun 1
pseudo-device pty 16
pseudo-device gzip # Exec gzipped a.out's
# KTRACE enables the system-call tracing facility ktrace(2).
# This adds 4 KB bloat to your kernel, and slightly increases
# the costs of each syscall.
options KTRACE #kernel tracing
# This provides support for System V shared memory.
#
options SYSVSHM
# The `bpfilter' pseudo-device enables the Berkeley Packet Filter. Be
# aware of the legal and administrative consequences of enabling this
# option. The number of devices determines the maximum number of
# simultaneous BPF clients programs runnable.
pseudo-device bpfilter 4 #Berkeley packet filter
pseudo-device vn #Vnode driver (turns a file into a device)
-------------------------------------------------------------------------------
The output of "mptable" from a kernel.GENERIC:
-------------------------------------------------------------------------------
===============================================================================
MPTable, version 2.0.15
-------------------------------------------------------------------------------
MP Floating Pointer Structure:
location: BIOS
physical address: 0x000f97e0
signature: '_MP_'
length: 16 bytes
version: 1.1
checksum: 0x0d
mode: Virtual Wire
-------------------------------------------------------------------------------
MP Config Table Header:
physical address: 0x000f97f0
signature: 'PCMP'
base table length: 236
version: 1.1
checksum: 0xe0
OEM ID: 'HP '
Product ID: 'XX '
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
1 0x11 BSP, usable 6 1 0 0xfbff
0 0x11 AP, usable 6 1 0 0xfbff
--
Bus: Bus ID Type
1 ISA
0 PCI
--
I/O APICs: APIC ID Version State Address
16 0x11 usable 0xfec00000
--
I/O Ints: Type Polarity Trigger Bus ID IRQ APIC ID PIN#
INT conforms conforms 1 1 255 1
INT conforms conforms 1 0 255 2
INT conforms conforms 1 3 255 3
INT conforms conforms 1 4 255 4
INT conforms conforms 1 5 255 5
INT conforms conforms 1 6 255 6
INT conforms conforms 1 7 255 7
INT conforms conforms 1 8 255 8
INT conforms conforms 1 9 255 9
INT conforms conforms 1 10 255 10
INT conforms conforms 1 11 255 11
INT conforms conforms 1 12 255 12
INT conforms conforms 1 13 255 13
INT conforms conforms 1 14 255 14
INT conforms conforms 1 15 255 15
--
Local Ints: Type Polarity Trigger Bus ID IRQ APIC ID PIN#
NMI conforms conforms 1 2 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
===============================================================================
-------------------------------------------------------------------------------
This is sort of disappointing, wanted to use this machine as my new
Quake/Quake2 server. :-( I'm really not sure what to try next.
If anyone has any bright ideas, ...
... Joe
-------------------------------------------------------------------------------
Joe Greco - Systems Administrator jgreco@ns.sol.net
Solaria Public Access UNIX - Milwaukee, WI 414/342-4847
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-smp" in the body of the message
home |
help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199811251405.IAA29741>
