From owner-freebsd-scsi@FreeBSD.ORG Mon Jan 13 11:06:52 2014 Return-Path: Delivered-To: freebsd-scsi@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 5E05C695 for ; Mon, 13 Jan 2014 11:06:52 +0000 (UTC) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 499281158 for ; Mon, 13 Jan 2014 11:06:52 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id s0DB6qaU095976 for ; Mon, 13 Jan 2014 11:06:52 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id s0DB6pbC095973 for freebsd-scsi@FreeBSD.org; Mon, 13 Jan 2014 11:06:51 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 13 Jan 2014 11:06:51 GMT Message-Id: <201401131106.s0DB6pbC095973@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: gnats set sender to owner-bugmaster@FreeBSD.org using -f From: FreeBSD bugmaster To: freebsd-scsi@FreeBSD.org Subject: Current problem reports assigned to freebsd-scsi@FreeBSD.org X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Jan 2014 11:06:52 -0000 Note: to view an individual PR, use: http://www.freebsd.org/cgi/query-pr.cgi?pr=(number). The following is a listing of current problems submitted by FreeBSD users. These represent problem reports covering all versions including experimental development code and obsolete releases. S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/184059 scsi [mps] mps SCSI driver causes FreeBSD to hang during bo o kern/179932 scsi [ciss] ciss i/o stall problem with HP Bl Gen8 (and HP o kern/178795 scsi [mps] MSI for mps driver doesn't work under vmware o kern/165982 scsi [mpt] mpt instability, drive resets, and losses on Fre o kern/165740 scsi [cam] SCSI code must drain callbacks before free f kern/162256 scsi [mpt] QUEUE FULL EVENT and 'mpt_cam_event: 0x0' o docs/151336 scsi Missing documentation of scsi_ and ata_ functions in c o kern/148083 scsi [aac] Strange device reporting o kern/144648 scsi [aac] Strange values of speed and bus width in dmesg o kern/142351 scsi [mpt] LSILogic driver performance problems o kern/134488 scsi [mpt] MPT SCSI driver probes max. 8 LUNs per device o kern/130621 scsi [mpt] tranfer rate is inscrutable slow when use lsi213 f kern/129602 scsi [ahd] ahd(4) gets confused and wedges SCSI bus f kern/123674 scsi [ahc] ahc driver dumping o sparc/121676 scsi [iscsi] iscontrol do not connect iscsi-target on sparc 15 problems total. From owner-freebsd-scsi@FreeBSD.ORG Mon Jan 13 17:58:52 2014 Return-Path: Delivered-To: scsi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 57F3DDD9 for ; Mon, 13 Jan 2014 17:58:52 +0000 (UTC) Received: from mta05.bitpro.no (mta05.bitpro.no [92.42.64.202]) by mx1.freebsd.org (Postfix) with ESMTP id D201A1720 for ; Mon, 13 Jan 2014 17:58:51 +0000 (UTC) Received: from mail.lockless.no (mail.lockless.no [46.29.221.38]) by mta05.bitpro.no (Postfix) with ESMTPS id 5F76F17FC91 for ; Mon, 13 Jan 2014 18:58:48 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by mail.lockless.no (Postfix) with ESMTP id 83F4F8EF062 for ; Mon, 13 Jan 2014 18:59:36 +0100 (CET) X-Virus-Scanned: by amavisd-new-2.6.4 (20090625) (Debian) at lockless.no Received: from mail.lockless.no ([127.0.0.1]) by localhost (mail.lockless.no [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id GB5f1k9456BN for ; Mon, 13 Jan 2014 18:59:35 +0100 (CET) Received: from laptop015.home.selasky.org (cm-176.74.213.204.customer.telag.net [176.74.213.204]) by mail.lockless.no (Postfix) with ESMTPSA id 3750C8EEF91 for ; Mon, 13 Jan 2014 18:59:35 +0100 (CET) Message-ID: <52D42999.20101@bitfrost.no> Date: Mon, 13 Jan 2014 18:59:53 +0100 From: Hans Petter Selasky Organization: Bitfrost A/S User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:24.0) Gecko/20100101 Thunderbird/24.1.0 MIME-Version: 1.0 To: scsi@freebsd.org Subject: Fwd: usb/185747: Patcf that fix support for USB key "Kingston DT 101 G2" References: <201401131501.s0DF1jln066335@oldred.freebsd.org> In-Reply-To: <201401131501.s0DF1jln066335@oldred.freebsd.org> X-Forwarded-Message-Id: <201401131501.s0DF1jln066335@oldred.freebsd.org> Content-Type: multipart/mixed; boundary="------------050906090309080403080607" X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Jan 2014 17:58:52 -0000 This is a multi-part message in MIME format. --------------050906090309080403080607 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit -------- Original Message -------- Subject: usb/185747: Patcf that fix support for USB key "Kingston DT 101 G2" Resent-Date: Mon, 13 Jan 2014 15:10:01 GMT Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-usb@FreeBSD.org Date: Mon, 13 Jan 2014 15:01:45 GMT From: Olivier Cochard To: freebsd-gnats-submit@FreeBSD.org >Number: 185747 >Category: usb >Synopsis: Patcf that fix support for USB key "Kingston DT 101 G2" >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-usb >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Jan 13 15:10:00 UTC 2014 >Closed-Date: >Last-Modified: >Originator: Olivier Cochard >Release: 10.0-RC5 >Organization: >Environment: >Description: FreeBSD 10.0 didn't support anymore Kingston DT 101 G2 (I belevied that 9.1 supported it, but didn't have 9.1 for checking). >How-To-Repeat: Error message when USB key inserted: ugen2.5: at usbus2 umass0: on usbus2 umass0: SCSI over Bulk-Only; quirks = 0x0100 umass0:6:0:-1: Attached to scbus6 da0 at umass-sim0 bus 0 scbus6 target 0 lun 0 da0: Removable Direct Access SCSI-2 device da0: Serial Number 0013729B6F4BC0B0B562C5A3 da0: 40.000MB/s transfers da0: 1910MB (3913664 512 byte sectors: 255H 63S/T 243C) da0: quirks=0x2 (da0:umass-sim0:0:0:0): got CAM status 0x50 (da0:umass-sim0:0:0:0): fatal error, failed to attach to device da0 at umass-sim0 bus 0 scbus6 target 0 lun 0 da0: s/n 0013729B6F4BC0B0B562C5A3 detached (da0:umass-sim0:0:0:0): Periph destroyed >Fix: Apply the patch attached. Note: I've try with "DA_Q_NO_SYNC_CACHE" only first but it didn't work, then I've try with "DA_Q_NO_PREVENT" in place, but it still didn't work. At last I've used both "DA_Q_NO_SYNC_CACHE|DA_Q_NO_PREVENT" (without idea of what I'm doing, I've just read the other quirks)… and It's worked :-) Patch attached with submission follows: Index: sys/cam/scsi/scsi_da.c =================================================================== --- sys/cam/scsi/scsi_da.c (révision 259389) +++ sys/cam/scsi/scsi_da.c (copie de travail) @@ -508,6 +508,14 @@ }, { /* + * Kingston DataTraveler 2.0 USB Flash memory. + * PR: moi meme + */ + {T_DIRECT, SIP_MEDIA_REMOVABLE, "Kingston", "DT 101 G2", + "*"}, /*quirks*/ DA_Q_NO_SYNC_CACHE|DA_Q_NO_PREVENT + }, + { + /* * Creative MUVO Slim mp3 player (USB) * PR: usb/86131 */ >Release-Note: >Audit-Trail: >Unformatted: --------------050906090309080403080607 Content-Type: text/plain; charset=us-ascii; name="Attached Message Part" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="Attached Message Part" X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZnJlZWJz ZC11c2JAZnJlZWJzZC5vcmcgbWFpbGluZyBsaXN0Cmh0dHA6Ly9saXN0cy5mcmVlYnNkLm9y Zy9tYWlsbWFuL2xpc3RpbmZvL2ZyZWVic2QtdXNiClRvIHVuc3Vic2NyaWJlLCBzZW5kIGFu eSBtYWlsIHRvICJmcmVlYnNkLXVzYi11bnN1YnNjcmliZUBmcmVlYnNkLm9yZyIK --------------050906090309080403080607--