From owner-freebsd-current Wed Apr 22 01:17:31 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id BAA24124 for freebsd-current-outgoing; Wed, 22 Apr 1998 01:17:31 -0700 (PDT) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from alpo.whistle.com (alpo.whistle.com [207.76.204.38]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id IAA24116 for ; Wed, 22 Apr 1998 08:17:29 GMT (envelope-from julian@whistle.com) Received: (from daemon@localhost) by alpo.whistle.com (8.8.5/8.8.5) id BAA00602; Wed, 22 Apr 1998 01:13:34 -0700 (PDT) Received: from current1.whistle.com(207.76.205.22) via SMTP by alpo.whistle.com, id smtpd000599; Wed Apr 22 08:13:28 1998 Date: Wed, 22 Apr 1998 01:08:08 -0700 (PDT) From: Julian Elischer To: Jonathan Hanna cc: Andrzej Bialecki , freebsd-current@FreeBSD.ORG Subject: RE: Ouch... (DEVFS) In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG can you get this to happen in single user mode? (manual mounts?) > > > > _panic > > _wdcontrol > > _wdintr > > Xresume14() > > --- interrupt > > vec14 > > _pmap_enter > > _vm_fault > > _trap_pfault > > calltrap > > --- trap > > > > Same here. It happens when I mount both an msdos and an ffs slice from > the same disk. I tracked it a little in an earlier version of DEVFS/SLICE: I can't make it happen here. does it still happen to you now and are you using wd or sd? > > I don't know how things are supposed to work but > it seems that msdos_unmount is calling wdsclose via VOP_CLOSE, > setting the du->dk_state to CLOSE. > Later an ffs_unmout is done, which tries an operation on > the now closed disk and panics. THEORETICALLY du (ah you must be usinf wd) should only be modified by the LAST close, but you've given me something to look at. > > I am mounting msdos on wd1s1 > and ufs on wd1s2a,e,f,g. I use sd0s1 an sd0s2a and it all works.. I'll go look at the wd driver and slice_base.c some more. > > > Jonathan Hanna > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-current" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message