From owner-freebsd-usb@FreeBSD.ORG Sat May 5 13:10:56 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 EE67216A402 for ; Sat, 5 May 2007 13:10:56 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe01.swip.net [212.247.154.1]) by mx1.freebsd.org (Postfix) with ESMTP id 8E42F13C459 for ; Sat, 5 May 2007 13:10:56 +0000 (UTC) (envelope-from hselasky@c2i.net) X-Cloudmark-Score: 0.000000 [] Received: from [81.191.58.152] (account mc467741@c2i.net HELO [192.168.1.123]) by mailfe01.swip.net (CommuniGate Pro SMTP 5.1.7) with ESMTPA id 461994153; Sat, 05 May 2007 15:10:54 +0200 From: Hans Petter Selasky To: freebsd-usb@freebsd.org Date: Sat, 5 May 2007 15:10:38 +0200 User-Agent: KMail/1.9.5 References: <20070504180628.B14D845042@ptavv.es.net> In-Reply-To: <20070504180628.B14D845042@ptavv.es.net> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200705051510.39046.hselasky@c2i.net> Cc: Scott Long , 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 13:10:57 -0000 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 ? > > 2. I use dd to mirror my system disk on a weekly basis. I track the > performance of dd during this operation and, with no other changes > than the USB stack being added to the kernel, the average transfer > rate dropped from 17.43 MB to 17.15 MB. Not huge, but quite > noticeable when copying an 80 GB drive. > > I run this in single-user mode with no partitions mounted (except > root mounted read-only), so USB previously had not even been loaded, > so the old drivers may have had even a greater impact. And the > difference may not be the USB stack, but nothing else was changed. > > It will take more time to tell if there is a real problem here, but I > wanted to provide a little (very little, I admit) information on my > experience. Ok. > > Thanks, Hans, for all of your work on this. You're welcome. There will be more USB stack changes coming soon. --HPS