Re: Reattach/redetect allways connected umass device - is it possible ?

From: Bernd Walter (ticso_at_cicely12.cicely.de)
Date: 03/28/05

  • Next message: Bernd Walter: "Re: Reattach/redetect allways connected umass device - is it possible ?"
    Date: Mon, 28 Mar 2005 15:04:51 +0200
    To: Vladimir Grebenschikov <vova@fbsd.ru>
    
    

    On Mon, Mar 28, 2005 at 04:58:31PM +0400, Vladimir Grebenschikov wrote:
    > ? ??, 28/03/2005 ? 14:13 +0200, Poul-Henning Kamp ?????:
    > > 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.
    >
    > So, let's imagine following situation:
    >
    > We get SCSI BUS with removable da device.
    > device detected as da0 and not mounted.
    > Device disconnected from SCSI bus.
    > And finally, another device with different geometry connected with same
    > SCIS ID.

    This ist not a *media* exchange - this is a *device* and in
    this case even a scbus exchange.

    > Please describe how to suppose detect geometry change in this case ?

    This is a completely different case.
    You get a new device and GEOM gets a new device event.

    That your device didn't get disconnected is your problem.
    You won't see the new device as long as the old device blocks the
    USB event thread.

    -- 
    B.Walter                   BWCT                http://www.bwct.de
    bernd@bwct.de                                  info@bwct.de
    _______________________________________________
    freebsd-current@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-current
    To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
    

  • Next message: Bernd Walter: "Re: Reattach/redetect allways connected umass device - is it possible ?"