Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 13 Feb 2003 10:42:17 +0900
From:      Hidetoshi Shimokawa <simokawa@sat.t.u-tokyo.ac.jp>
To:        "Daniel O'Connor" <doconnor@gsoft.com.au>
Cc:        FreeBSD Stable List <freebsd-stable@freebsd.org>, Hidetoshi Shimokawa <simokawa@freebsd.org>
Subject:   Re: sbp + drive enclosures
Message-ID:  <ybs8ywlrm6e.wl@ett.sat.t.u-tokyo.ac.jp>
In-Reply-To: <1045099783.398.20.camel@chowder.gsoft.com.au>
References:  <1045096485.398.14.camel@chowder.gsoft.com.au> <ybsadh1rnsz.wl@ett.sat.t.u-tokyo.ac.jp> <1045099783.398.20.camel@chowder.gsoft.com.au>

next in thread | previous in thread | raw e-mail | index | archive | help
At 13 Feb 2003 11:59:43 +1030,
Daniel O'Connor wrote:
> 
> On Thu, 2003-02-13 at 11:37, Hidetoshi Shimokawa wrote:
> > > Unfortunately when I disconnect it the firewire half seems to notice,
> > > but it doesn't notify the SCSI layer :(
> > This seems FAQ, I should add description to manpage..
> 
> Ahh, I read the 00README file, but I didn't see the FAQ.

Unfortunately, no FAQ yet ...

> > This is intentional because some drive might be
> > failed to be proved after bus reset. To prevent detaching
> > mounted filesystem, it's not detached at first bus reset.
> > After several bus reset it will notify to the SCSI layer.
> > Try 'fwcontrol -r' several times or don't worry about it too much :-)
> 
> Ahh.. Takes a few though. Is it possible to add a 'Really go away'
> command?

depends on how a user notifies to kernel.
sbp doesn't have a device node yet so i cannot do ioctl now.
I thinks the command should be issued from CAM layer but I don't know
what command should be used.

> > This behavier enables us active filesystem detaching and reattaching.
> > Even while the some process is writing/reading activily on the
> > filesystem it sould be safely detached and then reattached safely.
> 
> OK, I wasn't sure given my other problem ;)

It seems that I should put back some M_NOWAIT flags to malloc.
I'll send you patch later.

/\ Hidetoshi Shimokawa
\/  simokawa@sat.t.u-tokyo.ac.jp
PGP public key: http://www.sat.t.u-tokyo.ac.jp/~simokawa/pgp.html

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?ybs8ywlrm6e.wl>