Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Apr 1998 01:08:08 -0700 (PDT)
From:      Julian Elischer <julian@whistle.com>
To:        Jonathan Hanna <pangolin@rogers.wave.ca>
Cc:        Andrzej Bialecki <abial@nask.pl>, freebsd-current@FreeBSD.ORG
Subject:   RE: Ouch... (DEVFS)
Message-ID:  <Pine.BSF.3.95.980422010218.18643B-100000@current1.whistle.com>
In-Reply-To: <XFMail.980421234636.pangolin@rogers.wave.ca>

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

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 <pangolin@rogers.wave.ca>
> 
> 
> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.95.980422010218.18643B-100000>