Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 29 Mar 2005 01:10:54 -0700 (MST)
From:      "M. Warner Losh" <imp@bsdimp.com>
To:        phk@phk.freebsd.dk
Cc:        ticso@cicely.de
Subject:   Re: Reattach/redetect allways connected umass device - is it possible ? 
Message-ID:  <20050329.011054.68136294.imp@bsdimp.com>
In-Reply-To: <30956.1112011996@critter.freebsd.dk>
References:  <20050328114633.GZ14532@cicely12.cicely.de> <30956.1112011996@critter.freebsd.dk>

next in thread | previous in thread | raw e-mail | index | archive | help
In message: <30956.1112011996@critter.freebsd.dk>
            "Poul-Henning Kamp" <phk@phk.freebsd.dk> writes:
: In message <20050328114633.GZ14532@cicely12.cicely.de>, Bernd Walter writes:
: 
: >> camcontrol detach da0; camcontrol rescan all 
: >> helps, but, it should be much better if it will be issued automatically.
: >
: >Yes - GEOM seems to ignore media change signals from drives.
: >I've added PHK to the recipient list - maybe he has an idea about this
: >problem.
: 
: No, GEOM doesn't ignore any such thing, because as far as I know
: GEOM doesn't get any such thing to ignore in the first place.

The usb dongles don't appear to 'generate media gone on walkabout
events' as far as I've seen.  However, we should investigate the
possibility of querying the status for at each open, and updating the
geometry, et al, if it has changed.  This kind of polling would be
'lazy' so it wouldn't interfere with other parts of the system, but it
would likely be sufficient (since eject in the middle of I/O will
generate an I/O error).

Warner



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