From owner-freebsd-stable@FreeBSD.ORG Sat Feb 26 03:25:04 2005 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D8B1816A4CF for ; Sat, 26 Feb 2005 03:25:04 +0000 (GMT) Received: from cowbert.2y.net (d46h180.public.uconn.edu [137.99.46.180]) by mx1.FreeBSD.org (Postfix) with SMTP id 38F0C43D5A for ; Sat, 26 Feb 2005 03:25:04 +0000 (GMT) (envelope-from sirmoo@cowbert.2y.net) Received: (qmail 307 invoked by uid 1001); 26 Feb 2005 03:25:01 -0000 Date: Fri, 25 Feb 2005 22:25:01 -0500 From: "Peter C. Lai" To: freebsd-usb@freebsd.org, freebsd-hackers@freebsd.org, freebsd-stable@freebsd.org Message-ID: <20050226032500.GA265@cowbert.2y.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.6i Subject: sandisk cruzer mini quirks [failure] on RELENG_4 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 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, 26 Feb 2005 03:25:05 -0000 I have a 512mb version of the SanDisk Cruzer Mini keychain drive. ProductId = 0x5150 (VendorID=0x0781). I am unable to correctly get it to stop crashing the system when using cp(1) to copy large files to it. I patched /usr/src/sys/dev/usb/umass.c as: if (UGETW(dd->idVendor) == USB_VENDOR_SANDISK && (UGETW(dd->idProduct) == 0x5150) { sc->proto = UMASS_PROTO_SCSI | UMASS_PROTO_BBB; sc->quirks |= IGNORE_RESIDUE; } which is the same quirks patch that USB_PRODUCT_SANDISK_SDCZ2_256 (the cruzer mini 256mb) uses. However, this fails to rectify the problem. Notably dd(1) transfers files fine. This is on a RELENG_4 system, cvsup yesterday. Any ideas? thanks, pete -- Peter C. Lai University of Connecticut Dept. of Molecular and Cell Biology Yale University School of Medicine SenseLab | Research Assistant http://cowbert.2y.net/