From owner-freebsd-current@FreeBSD.ORG Thu Dec 10 12:31:35 2009 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F1131106568D; Thu, 10 Dec 2009 12:31:35 +0000 (UTC) (envelope-from avg@icyb.net.ua) Received: from citadel.icyb.net.ua (citadel.icyb.net.ua [212.40.38.140]) by mx1.freebsd.org (Postfix) with ESMTP id 0A1668FC17; Thu, 10 Dec 2009 12:31:34 +0000 (UTC) Received: from odyssey.starpoint.kiev.ua (alpha-e.starpoint.kiev.ua [212.40.38.101]) by citadel.icyb.net.ua (8.8.8p3/ICyb-2.3exp) with ESMTP id OAA15211; Thu, 10 Dec 2009 14:31:27 +0200 (EET) (envelope-from avg@icyb.net.ua) Message-ID: <4B20EA1F.5080107@icyb.net.ua> Date: Thu, 10 Dec 2009 14:31:27 +0200 From: Andriy Gapon User-Agent: Thunderbird 2.0.0.23 (X11/20091206) MIME-Version: 1.0 To: Alexander Best References: In-Reply-To: X-Enigmail-Version: 0.95.7 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: Alexander Motin , freebsd-current@freebsd.org Subject: Re: Testing CAM wrapper for ata(4) controller drivers X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Dec 2009 12:31:36 -0000 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