Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 22 Jun 1997 21:20:58 -0500 (CDT)
From:      Lars Fredriksen <lars@fredriks-1.pr.mcs.net>
To:        dyson@dyson.iquest.net
Cc:        root@dyson.iquest.net, freebsd-smp@freebsd.org
Subject:   SMP kernel hung...more info
Message-ID:  <199706230220.VAA00305@fredriks-1.pr.mcs.net>

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

Hi John,
	I just booted the SMP kernel and broke into the debugger when
it got hung (after saying that all 2 cpus are online). Well it isn't
actually the kernel per se that is hung. It is in the smp_idleloop.

The problem is that one of the rc scripts is running swapon and it
is hung - on wait channel 0xf0b60a00 (i'll try to find out what this
is)

I have 2 scsi controllers in my system; a 2940 and a 2944.

Here is the config file:

Anything here ring a bell??

Lars

#
# GENERICAH -- Generic machine with WD/AHx/NCR family disks
#
#	$Id: GENERIC,v 1.47 1995/08/18 11:26:16 jkh Exp $
#

machine		"i386"
#cpu		"I386_CPU"
#cpu		"I486_CPU"
cpu		"I586_CPU"
cpu		"I686_CPU"
ident		"LUDVIG_30_PRO_SMP"
maxusers	30

options		INET			#InterNETworking
options		FFS			#Berkeley Fast File System
options		NFS			#Network File System
options		MSDOSFS			#Msdos file system
options		"CD9660"		#CD ISO9660 File System
options		PROCFS			#Process File System
options		DEVFS			#Device File System
options		"COMPAT_43"		#Compatible with BSD 4.3
options		PERFMON			#Pentium Pro performance counters
options         MROUTING                # Multicast routing
options		"SCSI_DELAY=15"		#Be pessimistic about Joe SCSI device
options		SCSIDEBUG		#Turn on debugging ability for SCSI
options		UCONSOLE		#X Console support
options		"FAT_CURSOR"		#block cursor in syscons or pccons
options		DDB			#Kernel debugger
options		USER_LDT		#allow user-level control of i386 ldt
options		"IBCS2"			#Run SCO stuff
options		"MAXMEM=131072"		#128Mb
options         "AUTO_EOI_1"
options		COMPAT_LINUX
options		KTRACE
options		LINUX
options		USERCONFIG		#boot -c editor
options		VISUAL_USERCONFIG	#visual boot -c editor
options		SYSVSHM
options		SYSVSEM
options		SYSVMSG
options		IPFIREWALL
options		AHC_TAGENABLE
options		AHC_SCBPAGING_ENABLE
options		AHC_ALLOW_MEMIO

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

# Useful:
options		SMP_AUTOSTART		# start the additional CPUs during boot

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

# Currently unusable:
#options		SMP_PRIVPAGES		# BROKEN: architecture problem

#
# Rogue SMP hardware:
#

# Tyan Tomcat II:
#options                SMP_TIMER_NC            # 8254 NOT connected to APIC

# SuperMicro P6DNE:
options                SMP_TIMER_NC            # 8254 NOT connected to APIC

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
disk		fd1	at fdc0 drive 1


controller	ahc0	
controller	ahc1	
controller	scbus0  at ahc0
controller	scbus1  at ahc1

disk		sd0	at scbus1 target 0 unit 0
#disk		sd1 	at scbus0 target 1
tape		st0 	at scbus1 target 2
tape		st1 	at scbus1 target 5

device		sd0	#Only need one of these, the code dynamically grows
device		st0
device		cd0	

device		de0

device		sc0	at isa? port "IO_KBD" tty irq 1 vector scintr
#device          mse0    at isa? port 0x23c tty irq 9 vector mseintr
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 5 vector lptintr

# Other standard PC hardware: `lpt', `mse', `psm', `sio', etc.
# psm: PS/2 mouse port [note: conflicts with sc0/vt0, thus "conflicts" keywd]
device		psm0	at isa? port "IO_KBD" conflicts tty irq 12 vector psmintr
# Options for psm:
#  options		PSM_NO_RESET  for the `psm' driver

device ed0 at isa? port 0x300 net irq 10 iomem 0xd8000 vector edintr

# Sound device drivers for Gus PnP Pro
controller	snd0

device          gus0     at isa? vector gusintr

# dgb: Digiboard PC/Xi and PC/Xe series driver (ALPHA QUALITY!)
#device		dgb0	at isa? port 0x110 flags 2 irq 15 iomem 0xfc0000 iosiz 16385 tty

pseudo-device	loop
pseudo-device	ether
pseudo-device	log
pseudo-device	sl	2
pseudo-device	ppp	2
pseudo-device	tun	2
pseudo-device	vn
pseudo-device	bpfilter	1
pseudo-device	pty	32
pseudo-device	snp	2
pseudo-device	speaker

-- 
-------------------------------------------------------------------
Lars Fredriksen		fredriks@mcs.com		(home)
			lars@fredriks-1.pr.mcs.net	(home-home)



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