From owner-freebsd-bugs@FreeBSD.ORG Sat Dec 4 22:30:24 2004 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6776F16A4CF for ; Sat, 4 Dec 2004 22:30:24 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 31F7843D5A for ; Sat, 4 Dec 2004 22:30:24 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.1/8.13.1) with ESMTP id iB4MUOXK095345 for ; Sat, 4 Dec 2004 22:30:24 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.1/8.13.1/Submit) id iB4MUOMT095344; Sat, 4 Dec 2004 22:30:24 GMT (envelope-from gnats) Resent-Date: Sat, 4 Dec 2004 22:30:24 GMT Resent-Message-Id: <200412042230.iB4MUOMT095344@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Shaun Jurrens Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0BA5A16A4CE for ; Sat, 4 Dec 2004 22:25:19 +0000 (GMT) Received: from www.freebsd.org (www.freebsd.org [216.136.204.117]) by mx1.FreeBSD.org (Postfix) with ESMTP id EC69E43D31 for ; Sat, 4 Dec 2004 22:25:18 +0000 (GMT) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.13.1/8.13.1) with ESMTP id iB4MPIDw071822 for ; Sat, 4 Dec 2004 22:25:18 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.13.1/8.13.1/Submit) id iB4MPIl9071820; Sat, 4 Dec 2004 22:25:18 GMT (envelope-from nobody) Message-Id: <200412042225.iB4MPIl9071820@www.freebsd.org> Date: Sat, 4 Dec 2004 22:25:18 GMT From: Shaun Jurrens To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-2.3 Subject: kern/74690: Patch: support for SanDisk 8-in-1 in umass.c X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 04 Dec 2004 22:30:24 -0000 >Number: 74690 >Category: kern >Synopsis: Patch: support for SanDisk 8-in-1 in umass.c >Confidential: no >Severity: serious >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sat Dec 04 22:30:23 GMT 2004 >Closed-Date: >Last-Modified: >Originator: Shaun Jurrens >Release: 5.3-STABLE >Organization: >Environment: FreeBSD dakota 5.3-STABLE FreeBSD 5.3-STABLE #24: Sat Dec 4 01:02:33 CET 2004 root@dakota:/usr/obj/usr/src/sys/DAKOTA64 amd64 >Description: Reliable hang at boot directly before cam device discovery without this patch. >How-To-Repeat: Buy a ImageMate 8 in 1, SanDisk, attach to a usb port, boot machine. >Fix: simple four-liner to add support for yet another SanDisk device... borrowed from the mailing lists and revised a bit. Haven't explored all of the possible quirky macros, but this works... This webform will munge the patch, but you get the idea... --- umass.c Sat Dec 4 23:08:16 2004 +++ umass.c.new Sat Dec 4 23:14:08 2004 @@ -417,6 +417,10 @@ UMASS_PROTO_SCSI | UMASS_PROTO_BBB, IGNORE_RESIDUE }, + { USB_VENDOR_SANDISK, USB_PRODUCT_SANDISK_SDDR88, RID_WILDCARD, + UMASS_PROTO_SCSI | UMASS_PROTO_BBB | NO_GETMAXLUN, + NO_TEST_UNIT_READY | IGNORE_RESIDUE + }, { USB_VENDOR_SCANLOGIC, USB_PRODUCT_SCANLOGIC_SL11R, RID_WILDCARD, UMASS_PROTO_ATAPI | UMASS_PROTO_BBB, NO_INQUIRY >Release-Note: >Audit-Trail: >Unformatted: