From owner-freebsd-usb@FreeBSD.ORG Sun Jan 23 18:29:30 2011 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DEF13106566B; Sun, 23 Jan 2011 18:29:29 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from ms16-1.1blu.de (ms16-1.1blu.de [89.202.0.34]) by mx1.freebsd.org (Postfix) with ESMTP id 71D338FC15; Sun, 23 Jan 2011 18:29:29 +0000 (UTC) Received: from [93.104.72.148] (helo=localhost.my.domain) by ms16-1.1blu.de with esmtpsa (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.69) (envelope-from ) id 1Ph4gp-0002Co-3F; Sun, 23 Jan 2011 19:29:27 +0100 Received: from localhost.my.domain (localhost [127.0.0.1]) by localhost.my.domain (8.14.4/8.14.3) with ESMTP id p0NITO9f016164; Sun, 23 Jan 2011 19:29:25 +0100 (CET) (envelope-from guru@unixarea.de) Received: (from guru@localhost) by localhost.my.domain (8.14.4/8.14.3/Submit) id p0NITNB6016163; Sun, 23 Jan 2011 19:29:23 +0100 (CET) (envelope-from guru@unixarea.de) X-Authentication-Warning: localhost.my.domain: guru set sender to guru@unixarea.de using -f Date: Sun, 23 Jan 2011 19:29:18 +0100 From: Matthias Apitz To: Hans Petter Selasky Message-ID: <20110123182918.GA16104@tinyCurrent> References: <20110122104239.GA4991@tinyCurrent> <20110122150835.GA5762@tinyCurrent> <201101231006.00289.hselasky@c2i.net> <201101231748.24599.hselasky@c2i.net> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <201101231748.24599.hselasky@c2i.net> X-Operating-System: FreeBSD 8.0-CURRENT (i386) User-Agent: Mutt/1.5.21 (2010-09-15) X-Con-Id: 51246 X-Originating-IP: 93.104.72.148 Cc: mav@freebsd.org, freebsd-usb@freebsd.org Subject: Re: da(4) not attaching to USB drive X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Matthias Apitz List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 23 Jan 2011 18:29:30 -0000 El día Sunday, January 23, 2011 a las 05:48:24PM +0100, Hans Petter Selasky escribió: > On Sunday 23 January 2011 10:06:00 Hans Petter Selasky wrote: > > Hi Mav, > > > > Do you know if there are any recent changes in the SCSI layer on FreeBSD > > that will affect USB SCSI devices? > > Another idea: > > Maybe your device is too late identifying itself. You could try: > > usbconfig -d X.Y set_config 0 > > Then: > > usbconfig -d X.Y set_config 1 > > After that the device has been plugged. usbconfig -d X.Y set_config 1 always gives usbconfig: could not set config index: Input/output error regardless if the disk is plugged in or not; today once it connected by its own, i.e. it was sitting pluged in and after a while it diconnected and connected again (without my action, I was reading some mail): ... Jan 23 18:10:03 tinyCurrent kernel: (probe0:umass-sim0:0:0:0): AutoSense failed Jan 23 18:10:03 tinyCurrent kernel: ugen4.3: at usbus4 (disconnected) Jan 23 18:10:03 tinyCurrent kernel: umass0: at uhub4, port 1, addr 3 (disconnected) Jan 23 18:10:05 tinyCurrent root: Unknown USB device: vendor 0x07ab product 0xfc8e bus uhub4 Jan 23 18:10:05 tinyCurrent kernel: ugen4.3: at usbus4 Jan 23 18:10:05 tinyCurrent kernel: umass0: on usbus4 Jan 23 18:10:05 tinyCurrent kernel: umass0: SCSI over Bulk-Only; quirks = 0x0000 Jan 23 18:10:06 tinyCurrent kernel: umass0:0:0:-1: Attached to scbus0 Jan 23 18:11:16 tinyCurrent kernel: (probe0:umass-sim0:0:0:0): AutoSense failed Jan 23 18:11:16 tinyCurrent kernel: ugen4.3: at usbus4 (disconnected) Jan 23 18:11:16 tinyCurrent kernel: umass0: at uhub4, port 1, addr 3 (disconnected) and now it connects with success by its own: Jan 23 18:11:18 tinyCurrent kernel: ugen4.3: at usbus4 Jan 23 18:11:18 tinyCurrent kernel: umass0: on usbus4 Jan 23 18:11:18 tinyCurrent kernel: umass0: SCSI over Bulk-Only; quirks = 0x0000 Jan 23 18:11:18 tinyCurrent root: Unknown USB device: vendor 0x07ab product 0xfc8e bus uhub4 Jan 23 18:11:19 tinyCurrent kernel: umass0:0:0:-1: Attached to scbus0 Jan 23 18:11:19 tinyCurrent kernel: da0 at umass-sim0 bus 0 scbus0 target 0 lun 0 Jan 23 18:11:19 tinyCurrent kernel: da0: Fixed Direct Acc ess SCSI-2 device Jan 23 18:11:19 tinyCurrent kernel: da0: 40.000MB/s transfers Let me know if you need more debug output Thx matthias -- Matthias Apitz t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211 e - w http://www.unixarea.de/