Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 Mar 1997 20:38:55 +0100 (MET)
From:      Paul van der Zwan <paulz@olivetti.nl>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   kern/3026: shutting down with mounted mfs causes trap 12
Message-ID:  <199703181938.UAA01115@trantor.olivetti.nl>
Resent-Message-ID: <199703181950.LAA22668@freefall.freebsd.org>

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

>Number:         3026
>Category:       kern
>Synopsis:       shutting down with mounted mfs causes trap 12
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Mar 18 11:50:01 PST 1997
>Last-Modified:
>Originator:     Paul van der Zwan
>Organization:
None
>Release:        FreeBSD 2.2-RELEASE i386
>Environment:

2.2 ctm up to 209.

Kernel config :
 
#
#
#	$Id: trantor,v 1.5 1997/03/14 13:11:03 paulz Exp paulz $
#

machine		"i386"
cpu		"I586_CPU"
ident		trantor
maxusers	10
options         CHILD_MAX=128


options		INET			#InterNETworking
options		FFS			#Berkeley Fast Filesystem
#options		NFS			#Network Filesystem
options		MFS			#Memory File System
#options	FDESC			#File descriptor filesystem
#options	KERNFS			#Kernel filesystem
#options	MSDOSFS			#MSDOS Filesystem
#options	"CD9660"		#ISO 9660 Filesystem
options		PROCFS			#Process filesystem
options		"COMPAT_43"		#Compatible with BSD 4.3
options		"SCSI_DELAY=5"		#Be pessimistic about Joe SCSI device
#options	BOUNCE_BUFFERS		#include support for DMA bounce buffers
options		UCONSOLE		#Allow users to grab the console
#options		MROUTING			# Multicast routing


options		SYSVSHM
options		SYSVSEM
options		SYSVMSG

config		kernel	root on wd0 

controller	isa0
controller	pci0

controller	fdc0	at isa? port "IO_FD1" bio irq 6 drq 2 vector fdintr
disk		fd0	at fdc0 drive 0

controller	ahc0
controller	scbus0
device		sd0
device		st0
device		cd0	#Only need one of these, the code dynamically grows
#options         SCSI_REPORT_GEOMETRY


# syscons is the default console driver, resembling an SCO console
device		sc0	at isa? port "IO_KBD" tty irq 1 vector scintr
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 7 vector lptintr

device de0

pseudo-device	loop
pseudo-device	ether
pseudo-device   tun        4
pseudo-device	log
pseudo-device   vn         4 	#Vnode driver (turns a file into a device)
pseudo-device	pty	   64
#pseudo-device	gzip			# Exec gzipped a.out's
pseudo-device	bpfilter   4       #Berkeley packet filter
pseudo-device	snp	   4       #Snoop device - to look at pty/vty/etc..

# Audio drivers: `snd', `sb', `pas', `gus', `pca'
controller	snd0
device sb0      at isa? port 0x220 irq 5 conflicts drq 1 vector sbintr
device sbxvi0   at isa? drq 5
device sbmidi0  at isa? port 0x330
device opl0     at isa? port 0x388

#device          joy0    at isa? port "IO_GAME"

# KTRACE enables the system-call tracing facility ktrace(2).
options		KTRACE			#kernel tracing

#options		DDB

/etc/fstab:

/dev/sd0a			/		ufs	rw 1 1
/dev/sd0s1b			none		swap	sw 0 0
/dev/sd0s1b			/tmp		mfs	rw,noexec,nodev,nosuid 0 0
proc				/proc		procfs	rw 0 0
kern				/kern		kernfs	rw,union,noauto 0 0
/dev/cd0a			/cdrom		cd9660	ro,noauto 0 0

>Description:

When using halt or reboot the system panics (trap 12 in kernel mode),
if you use shutdown you get a message that not all procs could be
killed and you get a shell.
ps shows mount_mfs still running, but umounting /tmp fails because
it is busy.


>How-To-Repeat:
>Fix:

Temp fix is not  mounting /tmp.


>Audit-Trail:
>Unformatted:



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