From owner-freebsd-usb@FreeBSD.ORG Sat May 5 17:00:14 2007 Return-Path: X-Original-To: freebsd-usb@freebsd.org Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id CB04116A404 for ; Sat, 5 May 2007 17:00:14 +0000 (UTC) (envelope-from scottl@samsco.org) Received: from pooker.samsco.org (pooker.samsco.org [168.103.85.57]) by mx1.freebsd.org (Postfix) with ESMTP id 845C613C455 for ; Sat, 5 May 2007 17:00:14 +0000 (UTC) (envelope-from scottl@samsco.org) Received: from phobos.samsco.home (phobos.samsco.home [192.168.254.11]) (authenticated bits=0) by pooker.samsco.org (8.13.8/8.13.8) with ESMTP id l45H00IN078761; Sat, 5 May 2007 11:00:00 -0600 (MDT) (envelope-from scottl@samsco.org) Message-ID: <463CB80B.10003@samsco.org> Date: Sat, 05 May 2007 10:59:55 -0600 From: Scott Long User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X; en-US; rv:1.8.1.2pre) Gecko/20070111 SeaMonkey/1.1 MIME-Version: 1.0 To: Hans Petter Selasky References: <20070504180628.B14D845042@ptavv.es.net> <200705051510.39046.hselasky@c2i.net> In-Reply-To: <200705051510.39046.hselasky@c2i.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH authentication, not delayed by milter-greylist-2.0.2 (pooker.samsco.org [168.103.85.57]); Sat, 05 May 2007 11:00:01 -0600 (MDT) X-Spam-Status: No, score=-1.4 required=5.5 tests=ALL_TRUSTED autolearn=failed version=3.1.8 X-Spam-Checker-Version: SpamAssassin 3.1.8 (2007-02-13) on pooker.samsco.org Cc: freebsd-usb@freebsd.org, Kevin Oberman Subject: Re: New USB drivers X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 May 2007 17:00:14 -0000 Hans Petter Selasky wrote: > On Friday 04 May 2007 20:06, Kevin Oberman wrote: >> I have now been running the Hans Petter's USB drivers for about a week >> and they have been working pretty well. >> >> That said, I have seen two things that concern me. >> >> 1. Today I connected a USB disk to the system. It ran fine, but then I >> dismounted it (using nautilus and hald), the window informing me that >> the device could be safely removed popped up and I unplugged the >> drive. >> >> At that point, my system live-locked. I did see some updates to >> windows, but I could not change focus to a different window nor could >> I move to a different desktop. I tried CTRL-ALT-BS to kill X, but it >> would not work. I tried CTRL-ALT-DEL to reboot the system. No joy. >> >> The system was at least partly alive as the disk activity LED would >> flash now and then. I eventually had to power-cycle it. :-( As a >> result I have pretty much no information to help track this one down. > > This is a problem in the CAM layer. It does not really support detaching the > SIM I think. > > Scott: When will this issue be fixed ? > I've tested pulling USB drives in the MPSAFE CAM stack in 7-CURRENT. It's not as solid as I would like, but it does work most of the time. I'll continue to work on it, but it's not my highest priority unfortunately. And, I'll say it again, what needs to happen is for the umass driver to be split into a SIM that attaches to each USB bus, and a target that attaches when the umass device is inserted. If no one else does it, I'll probably wind up rewriting the driver myself to do that. Scott