From owner-freebsd-stable@FreeBSD.ORG Sat Jan 17 13:06:02 2009 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2B495106564A for ; Sat, 17 Jan 2009 13:06:02 +0000 (UTC) (envelope-from luigi@onelab2.iet.unipi.it) Received: from onelab2.iet.unipi.it (onelab2.iet.unipi.it [131.114.9.129]) by mx1.freebsd.org (Postfix) with ESMTP id E2C418FC0C for ; Sat, 17 Jan 2009 13:06:01 +0000 (UTC) (envelope-from luigi@onelab2.iet.unipi.it) Received: by onelab2.iet.unipi.it (Postfix, from userid 275) id BA58473098; Sat, 17 Jan 2009 14:11:16 +0100 (CET) Date: Sat, 17 Jan 2009 14:11:16 +0100 From: Luigi Rizzo To: Patrick Lamaizi?re Message-ID: <20090117131116.GA75751@onelab2.iet.unipi.it> References: <20090117132020.370b841d@baby-jane> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20090117132020.370b841d@baby-jane> User-Agent: Mutt/1.4.2.3i Cc: freebsd-stable@freebsd.org, grarpamp Subject: Re: USB devices fail to attach as umass scsi da[n] X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 17 Jan 2009 13:06:02 -0000 On Sat, Jan 17, 2009 at 01:20:20PM +0100, Patrick Lamaizi?re wrote: > Le Fri, 16 Jan 2009 14:44:59 -0500, > grarpamp 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: > 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