From owner-freebsd-bugs@FreeBSD.ORG Fri Jun 6 22:50:11 2003 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 BA58537B401 for ; Fri, 6 Jun 2003 22:50:11 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id C7EFE43FA3 for ; Fri, 6 Jun 2003 22:50:10 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.9/8.12.9) with ESMTP id h575oAUp070479 for ; Fri, 6 Jun 2003 22:50:10 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.9/8.12.9/Submit) id h575oAZi070478; Fri, 6 Jun 2003 22:50:10 -0700 (PDT) Resent-Date: Fri, 6 Jun 2003 22:50:10 -0700 (PDT) Resent-Message-Id: <200306070550.h575oAZi070478@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, Bruce Nourish Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5B78E37B401 for ; Fri, 6 Jun 2003 22:41:32 -0700 (PDT) Received: from rs2.luxsci.com (rs2.luxsci.com [209.61.189.139]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9D12843FA3 for ; Fri, 6 Jun 2003 22:41:31 -0700 (PDT) (envelope-from bjan@kode187.net) Received: from euler.kode187.net (ip68-110-89-156.ph.ph.cox.net [68.110.89.156]) (authenticated bits=0) by rs2.luxsci.com (8.12.9/8.12.9) with ESMTP id h575fSBA018035 for ; Sat, 7 Jun 2003 00:41:29 -0500 Received: by euler.kode187.net (sSMTP sendmail emulation); Fri, _d Jun 2003 23:41:17 -0700 Message-Id: <200306070541.h575fSBA018035@rs2.luxsci.com> From: "Bruce Nourish" To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: kern/53005: USB IntelligentStick SCSI DA quirk X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Bruce Nourish List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Date: Sat, 07 Jun 2003 05:50:12 -0000 X-Original-Date: Fri, _d Jun 2003 23:41:17 -0700 X-List-Received-Date: Sat, 07 Jun 2003 05:50:12 -0000 >Number: 53005 >Category: kern >Synopsis: USB IntelligentStick SCSI DA quirk >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Jun 06 22:50:10 PDT 2003 >Closed-Date: >Last-Modified: >Originator: Bruce Nourish >Release: FreeBSD 4.8-RELEASE i386 >Organization: >Environment: System: FreeBSD euler.kode187.net 4.8-RELEASE FreeBSD 4.8-RELEASE #5: Fri Jun 6 11:35:24 MST 2003 root@euler.kode187.net:/usr/obj/usr/src/sys/THINKER i386 Stock FreeBSD 4.8. >Description: The USB IntelligentStick pen drive, marketed by Power Quotient International, Inc, needs a quirks entry in /usr/src/sys/cam/scsi/scsi_da.c. >How-To-Repeat: Insert pen drive. Type fdisk /dev/da0. Observe console. >Fix: Patch follows, hope it is okay - I'm new to FreeBSD and I'm not quite sure what to diff against - current or 4.8. I diffed against 4.8. --- scsi_da.c.orig Fri Jun 6 14:56:04 2003 +++ scsi_da.c Fri Jun 6 14:56:49 2003 @@ -440,6 +440,16 @@ */ {T_DIRECT, SIP_MEDIA_REMOVABLE, "SanDisk", "ImageMate*", "*"}, /*quirks*/ DA_Q_NO_6_BYTE + }, + { + /* + * USB IntelligentStick, Power Quotient International, Inc. + * Tested by Bruce Nourish + * Drive does not like cache sync or 6 byte commands. + */ + {T_DIRECT, SIP_MEDIA_REMOVABLE, "USB Card", + "IntelligentStick", "*"}, + /*quirks*/ DA_Q_NO_6_BYTE|DA_Q_NO_SYNC_CACHE } }; >Release-Note: >Audit-Trail: >Unformatted: