da(4) not attaching to USB drive

Matthias Apitz guru at unixarea.de
Sun Jan 23 18:29:30 UTC 2011


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 at unixarea.de> - w http://www.unixarea.de/


More information about the freebsd-usb mailing list