From owner-freebsd-ports@FreeBSD.ORG Sun May 9 00:42:50 2004 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B3E7216A4CE for ; Sun, 9 May 2004 00:42:50 -0700 (PDT) Received: from mtiwmhc13.worldnet.att.net (mtiwmhc13.worldnet.att.net [204.127.131.117]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3E67043D64 for ; Sun, 9 May 2004 00:42:50 -0700 (PDT) (envelope-from j.e.drews@worldnet.att.net) Received: from [12.74.141.14] (14.st.louis-104-105rs.mo.dial-access.att.net[12.74.141.14]) by worldnet.att.net (mtiwmhc13) with SMTP id <20040509074248113006sad0e>; Sun, 9 May 2004 07:42:49 +0000 From: Jonathan To: FreeBSD ports In-Reply-To: <1083129282.20619.18.camel@mobile.silbsd.org> References: <1083129282.20619.18.camel@mobile.silbsd.org> Content-Type: text/plain Message-Id: <1084088668.227.27.camel@mobile.silbsd.org> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.6 Date: Sun, 09 May 2004 02:44:28 -0500 Content-Transfer-Encoding: 7bit Subject: Re: vinvalbuf panic while shutting down X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 09 May 2004 07:42:50 -0000 FreeBSD 5.2-CURRENT #0: Sat May 8 17:45:59 CDT 2004 Hi: I gte a kernel panic when I deliberately remove a umass storage device that is still mounted. The machine panics after the halt command. I recopied these messages. umass0: at uhb1 port 2 (addr 2) disconnected (pass0:umass-sim0:0:0:0): lost device (pass0:umass-sim0:0:0:0): removing device entry (pass0:umass-sim0:0:0:0): lost device umass0: detached Fatal trap 12: page fault while in kernel mode fault virtual address =0xb9a558c0 fault code = supervisor write, page not present instruction pointer = 0x8:0xc04437cb stack pointer = 0x10:0xd6bebaa8 frame pointer = 0x10:0xd6bebaac code segement = base 0x0, limit 0xfffff, type 0x1b = DPL 0, pres 1, def32 1, gran 1 processor eflags = interrupt enabled, resume, IOPL = 0 current process = 1 (init) trap number = 12 panic: page fault at line 815 in file /usr/src/sys/i386/i386/trap.c On Wed, 2004-04-28 at 00:14, Jonathan wrote: > uname: 5.2-CURRENT #0: Sun Apr 25 22:37 CDT > i386 > compiled using std make.conf ( only -O for optimization) > > > While shutting down my FreeBSD laptop, I got this panic: > > panic: vinvalbuf: dirty bufs > at line 921 in file /usr/src/sys/kern/vfs_subr.c > > I had just detached a USB mass storage device (umass) and then given the > command "halt", when the panic happened. I may have forgotten to do > umount /mnt, which may have caused the panic ? FreeBSD CURRENT has > worked fine beside this first panic.