From owner-freebsd-current@FreeBSD.ORG Wed Apr 2 15:51:43 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 682F837B404 for ; Wed, 2 Apr 2003 15:51:43 -0800 (PST) Received: from rootlabs.com (root.org [67.118.192.226]) by mx1.FreeBSD.org (Postfix) with SMTP id 3C4AC43FBF for ; Wed, 2 Apr 2003 15:51:42 -0800 (PST) (envelope-from nate@rootlabs.com) Received: (qmail 12604 invoked by uid 1000); 2 Apr 2003 23:51:43 -0000 Date: Wed, 2 Apr 2003 15:51:43 -0800 (PST) From: Nate Lawson To: Juli Mallett In-Reply-To: <20030331193755.A60987@FreeBSD.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: freebsd-scsi@FreeBSD.org cc: freebsd-current@FreeBSD.org Subject: Re: Odd issues with USB SmartMedia Reader/Writer (PNY) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Apr 2003 23:51:43 -0000 On Mon, 31 Mar 2003, Juli Mallett wrote: > I have a PNY USB SmartMedia reader which works excellently with 5.x > with 8M media, but which blows up with 32M media. I'd assume this is > due to improper geometry or something, but I really have no idea. > Insert-reinsert produces no change in results, etc. Below are bits > from dmesg, with the smaller then the larger. It's likely the 32M media is a different chipset than the 8M. Please see this page: http://www.root.org/~nate/freebsd/quirks.html Then read the quirks sections of the listed files to get an idea of how the quirks are used. > %%% --> With the 32M SmartMedia > umass0: Alcor Mass Storage Device, rev 1.10/1.00, addr 5 > umass0: Get Max Lun not supported (STALLED) > umass0:0:0:-1: Attached to scbus0 as device 0 > pass0 at umass-sim0 bus 0 target 0 lun 0 > pass0: Removable Direct Access SCSI-0 device > pass0: 1.000MB/s transfers > GEOM: new disk da0 > (da0:umass-sim0:0:0:0): error 6 > (da0:umass-sim0:0:0:0): Unretryable Error I'd try a scsi_da.c quirk of DA_Q_NO_6_BYTE first. You can just use "Generic", "*", "*" to start with. -Nate