Subject: Re: detachable device: stuck in biowait
To: Bill Studenmund <email@example.com>
From: Ferry Sutanto <firstname.lastname@example.org>
Date: 01/29/2002 21:28:07
--- Bill Studenmund <email@example.com> wrote:
> > I notice that although config_detach has finished,
> > kernel still tries to write by calling either
> > or bwrite. I put little hack (a global flag ==
> true if
> > device has gone) which will bail out if the device
> > gone and I called brelse to clean up the buffer.
> > exit with EIO error, but the csh (shell) hangs.
> > anybody have this problem before ?
> That sounds like the right kind of premise - if the
> device is gone, in the
> i/o routine, fail.
> Not sure why the csh fails. Where was its current
The current directory is the mounted directory of the
compact flash. I am suspecting that there is a buffer
which I didn't clean correctly ?
Another question. By printing out the address of the
vnode, I notice that the vnode that returned by
vfinddev() routine is different from the vnode used
for writing all during the write. Is this the
suspected behaviour ?
Do You Yahoo!?
Great stuff seeking new owners in Yahoo! Auctions!