From owner-freebsd-bugs Tue Mar 18 11:50:09 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id LAA22686 for bugs-outgoing; Tue, 18 Mar 1997 11:50:09 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id LAA22668; Tue, 18 Mar 1997 11:50:07 -0800 (PST) Resent-Date: Tue, 18 Mar 1997 11:50:07 -0800 (PST) Resent-Message-Id: <199703181950.LAA22668@freefall.freebsd.org> Resent-From: gnats (GNATS Management) Resent-To: freebsd-bugs Resent-Reply-To: FreeBSD-gnats@freefall.FreeBSD.org, paulzn@olivetti.nl Received: from wall.olivetti.nl (inetgate.olsy.nl [193.67.10.65]) by freefall.freebsd.org (8.8.5/8.8.5) with SMTP id LAA22110 for ; Tue, 18 Mar 1997 11:39:58 -0800 (PST) Received: (from nobody@localhost) by wall.olivetti.nl (8.6.12/8.6.9) id UAA00447 for ; Tue, 18 Mar 1997 20:39:55 +0100 Received: from oli1.olivetti.nl(192.87.20.30) by wall.olivetti.nl via smap (V1.3) id sma000445; Tue Mar 18 20:39:53 1997 Received: from olivaw.olivetti.nl by oli1.olivetti.nl with bsmtp (Smail3.1.28.1 #6) id m0w74jg-000Qf9C; Tue, 18 Mar 97 20:39 MET Received: from trantor.olivetti.nl by olivaw.olivetti.nl with smtp (Smail3.1.28.1 #5) id m0w74iA-000SKzC; Tue, 18 Mar 97 20:38 MET Received: (from paulz@localhost) by trantor.olivetti.nl (8.8.5/8.8.5) id UAA01115; Tue, 18 Mar 1997 20:38:55 +0100 (MET) Message-Id: <199703181938.UAA01115@trantor.olivetti.nl> Date: Tue, 18 Mar 1997 20:38:55 +0100 (MET) From: Paul van der Zwan Reply-To: paulzn@olivetti.nl To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: kern/3026: shutting down with mounted mfs causes trap 12 Sender: owner-bugs@freebsd.org X-Loop: FreeBSD.org Precedence: bulk >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: