atom feed5 messages in org.freebsd.freebsd-stableRe: USB devices fail to attach as uma...
FromSent OnAttachments
grarpampJan 16, 2009 11:44 am 
Patrick LamaizièreJan 17, 2009 4:20 am 
Luigi RizzoJan 17, 2009 5:06 am 
per...@pluto.rain.comJan 17, 2009 4:14 pm 
Luigi RizzoJan 17, 2009 4:47 pm 
Subject:Re: USB devices fail to attach as umass scsi da[n]
From:Luigi Rizzo (riz@iet.unipi.it)
Date:Jan 17, 2009 5:06:06 am
List:org.freebsd.freebsd-stable

On Sat, Jan 17, 2009 at 01:20:20PM +0100, Patrick Lamaizi?re wrote:

Le Fri, 16 Jan 2009 14:44:59 -0500, grarpamp <grar@gmail.com> a ?crit :

GENERIC, RELENG_7 a few days past the 7.1 release. SuperMicro 370DER motherboard, most recent bios. The Nikon is set to mass storage. The RCA has no such option. Both have the latest firmware.

By the way, the RCA records natively in mp3 format. Handy as most seem to use some closed format. Worth a try if you need one.

# camcontrol devl - should be: (pass2,da2) when attach is complete scbus2 on umass-sim0 bus 0: < RCA_TKCF2494_US 1.00> at scbus2 target 0 lun 0 (da2,pass2)

# dmesg - reordered a bit umass0: <RCA RCA_TKCF2494_US USB DEVICE, class 0/0, rev 1.10/1.00, addr 2> on uhub0 umass0:2:0:-1: Attached to scbus2 pass2 at umass-sim0 bus 0 target 0 lun 0 pass2: < RCA_TKCF2494_US 1.00> Removable Direct Access SCSI-0 device pass2: 1.000MB/s transfers GEOM: da2 at umass-sim0 bus 0 target 0 lun 0 new disk da2 da2: < RCA_TKCF2494_US 1.00> Removable Direct Access SCSI-0 device da2: 1.000MB/s transfers da2: 122MB (251136 512 byte sectors: 64H 32S/T 122C)

(da2:umass-sim0:0:0:0): Synchronize cache failed, status == 0x4, scsi status == 0x0

You can try to add a quirk for this device : http://www.root.org/~nate/freebsd/scsi/quirks.html

[not sure if this is uptodate, i did it in the past (RELENG_5/6) for my mp3 player]

I would start with a DA_Q_NO_SYNC_CACHE quirk.

also, to apply quirks without rebuilding a kernel you can use the recent 'kldpatch' port -- the man page contains an example for umass.ko that should cover your case (by changing the numbers of course)

cheers luigi