Date: Mon, 30 Jun 2003 13:53:01 +0200 From: Lars =?iso-8859-1?Q?K=F6ller?= <Lars.Koeller@Uni-Bielefeld.DE> To: freebsd-questions@freebsd.org, freebsd-smp@freebsd.org Subject: SMP kernel hanging after testing 8254 intr delivery (RELENG_4) Message-ID: <200306301153.h5UBr1W01568@rayadm.hrz.uni-bielefeld.de>
index | next in thread | raw e-mail
[-- Attachment #1 --]
--------
Hi experts,
I need urgently help or a patch for FreeBSD-4-STABLE on a
Fujitsu-Siemens RX300 hardware:
- The non-SMP kernel runs well
- With the SMP kernel a lockup occur after the 8254 interrupt
delivery is tested:
.......
APIC_IO: Testing 8254 interrupt delivery
I've checked with hyper threading enabled/disabled.
attached is the kernel configuration.
Thanks and best regards
Lars
--
E-Mail: Lars.Koeller@Uni-Bielefeld.DE \ Lars Köller
lkoeller@FreeBSD.org \ CC University of
PGP: http://www.uk.pgp.net/pgpnet/wwwkeys.html \ Bielefeld, Germany
Key-ID: A430D499 \ Tel: +49 521 106 4964
----------- FreeBSD, what else? ---- http://www.freebsd.org -------------
[-- Attachment #2 --]
####################################################################
# VSCAN kernel config file
#
machine "i386"
cpu "I686_CPU"
ident VSCAN-FSC
maxusers 0
#####################################################################
# The root device and filesystem type can be compiled in;
# this provides a fallback option if the root device cannot
# be correctly guesst by the bootstrap code, or an override if
# the RB_DFLTROOT flag (-r) is specified when booting the kernel.
#
options ROOTDEVNAME=\"ufs:da0s1a\"
#####################################################################
# To make an SMP kernel, the next two are needed
options SMP # Symmetric MultiProcessor Kernel
options APIC_IO # Symmetric (APIC) I/O
#####################################################################
# This allows you to actually store this configuration file into
# the kernel binary itself, where it may be later read by saying:
# strings /kernel | grep ^___ | sed -e 's/^___//' > MYKERNEL
#
options INCLUDE_CONFIG_FILE # Include this file in kernel
options USERCONFIG #boot -c editor
options VISUAL_USERCONFIG #visual boot -c editor
#####################################################################
# Lets always enable the kernel debugger for SMP.
#
options DDB
#####################################################################
# KTRACE enables the system-call tracing facility ktrace(2).
#
options KTRACE #kernel tracing
#####################################################################
# POSIX P1003.1B
#
# Real time extensions added int the 1993 Posix
# P1003_1B: Infrastructure
# _KPOSIX_PRIORITY_SCHEDULING: Build in _POSIX_PRIORITY_SCHEDULING
# _KPOSIX_VERSION: Version kernel is built for
#
options P1003_1B
options _KPOSIX_PRIORITY_SCHEDULING
#####################################################################
# Further options: network, FS, Console, SYSV-Shmem, ....
#
options INET #InterNETworking
options "COMPAT_43" #Compatible with BSD 4.3
options ICMP_BANDLIM #Rate limit bad replies
options TCP_DROP_SYNFIN #drop TCP packets with SYN+FIN
options IPFIREWALL #firewall
options IPFIREWALL_VERBOSE #print info about dropped packets
options IPFIREWALL_VERBOSE_LIMIT=100 #limit verbosity
options IPFIREWALL_DEFAULT_TO_ACCEPT #allow everything by default
options DUMMYNET #"dummynet" bandwidth limiter
options BRIDGE #bridging between ethernet cards
options NMBCLUSTERS=16384
options FFS #Berkeley Fast Filesystem
options FFS_ROOT #FFS usable as root device [keep this!]
options SOFTUPDATES #Improving fs speed and security
options EXT2FS
#Read .../../ufs/ffs/README.softupdates
options PROCFS #Process filesystem
options QUOTA #enable disk quotas
options SYSVSHM #System V shared memory support
options SYSVSEM #System V Semophore support
options SYSVMSG #System V Message support
options MAXCONS=12 #Number of max. allowed virt. consoles
options SC_HISTORY_SIZE=512 #number of history buffer lines
options CONSPEED=19200 #default speed for console
options BREAK_TO_DEBUGGER #BREAK on console goes to DDB
options XSERVER #include code for XFree86
options UCONSOLE #Allow ordinary users to take the
options VESA #Support for VESA video modes
options KBD_INSTALL_CDEV #install a CDEV entry in /dev
options PQ_CACHESIZE=512 #color for 512k/16k cache
#####################################################################
# ISA devices
#####################################################################
device isa
#####################################################################
#
# Notes on APM
# The flags takes the following meaning for apm0:
# 0x0040 Use the segment limits that the BIOS reports.
# 0x0020 Statclock is broken.
# 0x0011 Limit APM protocol to 1.1 or 1.0
# 0x0010 Limit APM protocol to 1.0
# If `options VM86' is set, V86 mode is used in APM initialization
# instead of real mode. VM86 is recommended if you want to use APM.
#
device apm0 at isa?
#####################################################################
# Floppy
#
device fdc0 at isa? port IO_FD1 irq 6 drq 2
device fd0 at fdc0 drive 0
device fd1 at fdc0 drive 1
#####################################################################
# atkbdc0 controlls both the keyboard and the PS/2 mouse
#
device atkbdc0 at isa? port IO_KBD
device atkbd0 at atkbdc? irq 1
device psm0 at atkbdc? irq 12
#####################################################################
# The video card driver.
#
device vga0 at isa?
# Splash screen at start up! Screen savers require this too.
pseudo-device splash
#####################################################################
# syscons is the default console driver, resembling an SCO console
#
device sc0 at isa? flags 0x100
device npx0 at nexus? port IO_NPX irq 13
#####################################################################
# sio1 (dcf-77)
# serial console
#
# Serial (COM) ports
device sio0 at isa? port IO_COM1 flags 0x10 irq 4
device sio1 at isa? port IO_COM2 irq 3
#####################################################################
# Parallel-Port Bus
#
# Anscheinend mit "net" statt "tty" Probleme mit gehechselten Zeilen
# beim Drucken
#
# vpo Iomega Zip Drive
# Requires SCSI disk support ('scbus' and 'da'), best
# performance is achieved with ports in EPP 1.9 mode.
# nlpt Parallel Printer, use _instead_ of lpt0
# plip Parallel network interface
# ppi General-purpose I/O ("Geek Port")
# pps Pulse per second Timing Interface
# lpbb Philips official parallel port I2C bit-banging interface
#
#device ppc0 at isa? irq 7
#device ppbus
#device vpo
#device lpt
#device plip
#device ppi
#####################################################################
# PCI devices
#####################################################################
device pci0
#####################################################################
# SCSI Controllers
# A single entry for any of these controllers (ncr, ahb, ahc) is
# sufficient for any number of installed devices.
#
device ahc # AHA29160 and onboard AIC7xxx devices
device ahd
device asr
options SCSI_DELAY=10000 # Delay (in ms) before probing SCSI
#####################################################################
# SCSI peripherals und für ZIP-Drives
# Only one of each of these is needed, they are dynamically allocated.
#
device scbus
device da # Access (disks)
device sa # Access (tape etc)
device cd # CD
device pass # Passthrough device (direct SCSI)
#device da0 at scbus0 target 0
#device da1 at scbus0 target 1
#device sa0 at scbus0 target 6
#device cd1 at scbus0 target 5
#####################################################################
# ATA and ATAPI devices
#
device ata0 at isa? port IO_WD1 irq 14
device ata1 at isa? port IO_WD2 irq 15
device ata
device atadisk # ATA disk drives
device atapicd # ATAPI CDROM drives
device atapifd # ATAPI floppy drives
device atapist # ATAPI tape drives
options ATA_STATIC_ID #Static device numbering
#####################################################################
# Network Card
#
device miibus
#device xl # 3Com 3c90x (``Boomerang'', ``Cyclone'')
#device fxp # Intel PRO/100 S
#device em # Intel PRO/1000 GBit adapter (``Wiseman'')
device bge # Broadcom BCM570x (``Tigon III'')
#####################################################################
# USB support
device uhci
device ohci
device usb
device ugen
device uhid
device ukbd
device ulpt
device umass
device ums
device uscanner
#####################################################################
# Useful pseudo devices
#####################################################################
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
pseudo-device bpf 4 #Berkeley packet filter
pseudo-device vn #Vnode driver (turns a file into a device)
pseudo-device snp 3 #Snoop device - to look at pty/vty/etc..
pseudo-device md # Memory "disks"
pseudo-device gif 4 # IPv6 and IPv4 tunneling
pseudo-device faith 1 # IPv6-to-IPv4 relaying (translation)
home |
help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200306301153.h5UBr1W01568>
