Subject: Re: Detaching live sd devices
To: Bill Studenmund <wrstuden@netbsd.org>
From: Pavel Cahyna <pavel.cahyna@st.mff.cuni.cz>
List: tech-kern
Date: 07/23/2005 08:45:49
On Fri, 22 Jul 2005 18:02:24 -0700, Bill Studenmund wrote:
> I am working on a SCSI HBA that can detach SCSI disks. Well, it can detach
> the SCSI bus, but sd's are the most common. ;-)
>
> Problem is that if there is a mounted file system when the detach happens,
> things blow up. As in panic().
Maybe it is the same problem as in my PR kern/20528 ?
Also, how is it possible that disconnecting an USB mass storage device is
supposed to work? (Judging from the fact that PR kern/24393 is closed.)
Shouldn't it have the same problem?
No ideas about fixing it, sorry...
Bye Pavel