Date: Sat, 17 Jan 2009 14:11:16 +0100 From: Luigi Rizzo <rizzo@iet.unipi.it> To: Patrick Lamaizi?re <patfbsd@davenulle.org> Cc: freebsd-stable@freebsd.org, grarpamp <grarpamp@gmail.com> Subject: Re: USB devices fail to attach as umass scsi da[n] Message-ID: <20090117131116.GA75751@onelab2.iet.unipi.it> In-Reply-To: <20090117132020.370b841d@baby-jane> References: <d2e731a10901161144j50889051ka10c911214cb733a@mail.gmail.com> <20090117132020.370b841d@baby-jane>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Jan 17, 2009 at 01:20:20PM +0100, Patrick Lamaizi?re wrote: > Le Fri, 16 Jan 2009 14:44:59 -0500, > grarpamp <grarpamp@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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090117131116.GA75751>