From owner-freebsd-current@FreeBSD.ORG Mon Mar 28 13:33:50 2005 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9081716A4CE; Mon, 28 Mar 2005 13:33:50 +0000 (GMT) Received: from critter.freebsd.dk (f170.freebsd.dk [212.242.86.170]) by mx1.FreeBSD.org (Postfix) with ESMTP id DB9CF43D46; Mon, 28 Mar 2005 13:33:49 +0000 (GMT) (envelope-from phk@critter.freebsd.dk) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.13.3/8.13.1) with ESMTP id j2SDXcti031971; Mon, 28 Mar 2005 15:33:38 +0200 (CEST) (envelope-from phk@critter.freebsd.dk) To: ticso@cicely.de From: "Poul-Henning Kamp" In-Reply-To: Your message of "Mon, 28 Mar 2005 15:13:19 +0200." <20050328131318.GC14532@cicely12.cicely.de> Date: Mon, 28 Mar 2005 15:33:38 +0200 Message-ID: <31970.1112016818@critter.freebsd.dk> Sender: phk@critter.freebsd.dk cc: "current@freebsd.org" cc: Vladimir Grebenschikov cc: "Matthew N. Dodd" cc: freebsd-mobile@freebsd.org cc: Julian Elischer Subject: Re: Reattach/redetect allways connected umass device - is it possible ? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 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: Mon, 28 Mar 2005 13:33:50 -0000 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 ? We should get an async event as soon as the media disappears. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence.