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:40:21 +0200
    To: Poul-Henning Kamp <phk@phk.freebsd.dk>
    
    

    On Mon, Mar 28, 2005 at 03:33:38PM +0200, Poul-Henning Kamp wrote:
    > In message <20050328131318.GC14532@cicely12.cicely.de>, Bernd Walter writes:
    > >On Mon, Mar 28, 2005 at 02:13:16PM +0200, Poul-Henning Kamp wrote:
    > >> 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.
    > >
    > >At least with (most) SCSI devices you get a media changed exception
    > >on the first access after that.
    >
    > Yes, but sane people would argue that is one turn too late in the
    > game, whouldn' they ?

    Ack.

    > We should get an async event as soon as the media disappears.

    Well - the without a request the drive has no transaction handle to
    contact the host.
    And we don't always have a physcial SCSI bus - e.g. USB devices
    can't contact the host without the host issuing a transfer.
    If you want media change events earlier we have to explizitly ask
    the devices.

    -- 
    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 ?"

    Relevant Pages

    • Re: Report claims 16.4% of all Xbox 360 consoles will fail
      ... >>>>> host drops mainly before the match would even start. ... >> primary weapons) but once in a while I will use the P90 and RPD. ... >> This host thing is making me hate the game and it was the single ... your level and then get the gold weapons, and what is the advantage to ...
      (alt.games.video.xbox)
    • Re: Call of Duty 4, which is better?
      ... No lag on PSN vs lagfest on LIVE. ... But then again, PSN doesn't have the online players that XBL has, not that is is an excuse, but I wonder how well PSN would hold up (or the game servers that are provided from whoever) if they had the masses that XBL has. ... Personally, I have experienced lag only once in MP on XBL, and that was when the host finally lost connection, everyone lagged also because of that. ...
      (alt.games.video.xbox)
    • Re: Call of Duty 4, which is better?
      ... No lag on PSN vs lagfest on LIVE. ... But then again, PSN doesn't have the online players that XBL has, not that is is an excuse, but I wonder how well PSN would hold up (or the game servers that are provided from whoever) if they had the masses that XBL has. ... Personally, I have experienced lag only once in MP on XBL, and that was when the host finally lost connection, everyone lagged also because of that. ...
      (alt.games.video.xbox)
    • Re: Call of Duty 4, which is better?
      ... No lag on PSN vs lagfest on LIVE. ... But then again, PSN doesn't have the online players that XBL has, not that is is an excuse, but I wonder how well PSN would hold up (or the game servers that are provided from whoever) if they had the masses that XBL has. ... Personally, I have experienced lag only once in MP on XBL, and that was when the host finally lost connection, everyone lagged also because of that. ...
      (alt.games.video.xbox)
    • Re: Call of Duty 4, which is better?
      ... But then again, PSN doesn't have the online players that XBL has, not that is is an excuse, but I wonder how well PSN would hold up (or the game servers that are provided from whoever) if they had the masses that XBL has. ... Personally, I have experienced lag only once in MP on XBL, and that was when the host finally lost connection, everyone lagged also because of that. ... Another friend of mien told me he is going to play Uncharted and Assassin's Creed until IW gets this game fixed. ...
      (alt.games.video.xbox)