Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 23 Jan 2011 19:29:18 +0100
From:      Matthias Apitz <guru@unixarea.de>
To:        Hans Petter Selasky <hselasky@c2i.net>
Cc:        mav@freebsd.org, freebsd-usb@freebsd.org
Subject:   Re: da(4) not attaching to USB drive
Message-ID:  <20110123182918.GA16104@tinyCurrent>
In-Reply-To: <201101231748.24599.hselasky@c2i.net>
References:  <20110122104239.GA4991@tinyCurrent> <20110122150835.GA5762@tinyCurrent> <201101231006.00289.hselasky@c2i.net> <201101231748.24599.hselasky@c2i.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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: <Freecom> 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: <Freecom> at usbus4
Jan 23 18:10:05 tinyCurrent kernel: umass0: <Bulk Only Interface> 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: <Freecom> 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: <Freecom> at usbus4
Jan 23 18:11:18 tinyCurrent kernel: umass0: <Bulk Only Interface> 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: <Freecom Hard Drive XS 1.00> 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 <guru@unixarea.de> - w http://www.unixarea.de/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20110123182918.GA16104>