Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 10 Dec 2009 14:31:27 +0200
From:      Andriy Gapon <avg@icyb.net.ua>
To:        Alexander Best <alexbestms@wwu.de>
Cc:        Alexander Motin <mav@freebsd.org>, freebsd-current@freebsd.org
Subject:   Re: Testing CAM wrapper for ata(4) controller drivers
Message-ID:  <4B20EA1F.5080107@icyb.net.ua>
In-Reply-To: <permail-20091209230748f7e55a9d00005dca-a_best01@message-id.uni-muenster.de>
References:  <alpine.BSF.2.00.0912081753490.62215@ibyngvyr.purzvxnyf.bet> <permail-20091209230748f7e55a9d00005dca-a_best01@message-id.uni-muenster.de>

next in thread | previous in thread | raw e-mail | index | archive | help
on 10/12/2009 01:07 Alexander Best said the following:
> ah. i see. thanks for the hint. sorry mav for blaming ATA_CAM. ;) would be
> nice if this would be fixed at some point. i believe the problem also applies
> to tape drives, usb memory card readers, etc.? so generally speaking: any
> devices which allow new media insertion, but don't disconnect/re-attach
> from/to CAM.

Yes, we need to get some notification that media is changed and then trigger geom
action.  Right now there is no notification from hardware in most cases and there
is no support for handling that in drivers, AFAIK.  Maybe ahci driver starts to
add support for that.  So either something needs to poll media for changes or a
user has to trigger some action explicitly.  No magic.


-- 
Andriy Gapon



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