From owner-freebsd-current@FreeBSD.ORG Sun Sep 16 17:48:04 2007 Return-Path: Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BE45916A419; Sun, 16 Sep 2007 17:48:04 +0000 (UTC) (envelope-from scottl@samsco.org) Received: from pooker.samsco.org (pooker.samsco.org [168.103.85.57]) by mx1.freebsd.org (Postfix) with ESMTP id 573E813C458; Sun, 16 Sep 2007 17:48:04 +0000 (UTC) (envelope-from scottl@samsco.org) Received: from [192.168.254.15] (ydesk.samsco.home [192.168.254.15]) (authenticated bits=0) by pooker.samsco.org (8.13.8/8.13.8) with ESMTP id l8GHm0N0080646; Sun, 16 Sep 2007 11:48:00 -0600 (MDT) (envelope-from scottl@samsco.org) Message-ID: <46ED6C50.4040104@samsco.org> Date: Sun, 16 Sep 2007 11:48:00 -0600 From: Scott Long User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.7.7) Gecko/20050416 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Ulrich Spoerlein References: <46E615C4.1010605@samsco.org> <20070916115427.GA1427@roadrunner.spoerlein.net> In-Reply-To: <20070916115427.GA1427@roadrunner.spoerlein.net> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH authentication, not delayed by milter-greylist-2.0.2 (pooker.samsco.org [192.168.254.1]); Sun, 16 Sep 2007 11:48:01 -0600 (MDT) X-Spam-Status: No, score=-1.4 required=5.5 tests=ALL_TRUSTED autolearn=failed version=3.1.8 X-Spam-Checker-Version: SpamAssassin 3.1.8 (2007-02-13) on pooker.samsco.org Cc: freebsd-scsi@FreeBSD.ORG, njl@FreeBSD.ORG, freebsd-current@FreeBSD.ORG Subject: Re: Retirement of CAM_QUIRK_NOSERIAL X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 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: Sun, 16 Sep 2007 17:48:04 -0000 Ulrich Spoerlein wrote: > On Mon, 10.09.2007 at 22:12:52 -0600, Scott Long wrote: > >>All, >> >>The attached patch should make CAM behave properly with regard to >>probing device serial numbers only when the device advertises that >>it supports it. It will hopefully eliminate the need for the >>CAM_QUIRK_NOSERIAL quirk (one instance is left because of an unrelated >>legacy problem that may or may not be possible to fix). This should >>especially benefit USB-UMASS devices, where the console output should >>be less noisy. It might even make more devices work out-of-the-box. > > > While this patch is working fine with my USB/FW HDD enclosure, it breaks > my MP3 USB stick > > kernel: umass0: on uhub5 > kernel: umass0: BBB reset failed, IOERROR > kernel: umass0: BBB bulk-in clear stall failed, IOERROR > kernel: umass0: BBB bulk-out clear stall failed, IOERROR Is this a regression of something that works without the patch, or is it something that has never worked? What happens if you use the NO_INQUIRY_EVPD quirk instead? > > This stick needs the SHUTTLE_INIT | NO_GETMAXLUN quirk. Perhaps there is some > interdependencies? Likely only to the extent that this is a pretty difficult device to deal with. > > The patch also, does not magically allow me to read retail DVDs through my > Plextor drive when attached via cd(4), but that is not the goal of the patch > anyway. Actually, I was hoping that it would =-) > > It's funny, though. If I quirk this Plextor DVD to NO_INQUIRY, it will attach > via da(4) (sic!) and suddenly all kinds of DVD media start working! > > umass0: on uhub5 > da0 at umass-sim0 bus 0 target 0 lun 0 > da0: < > Removable Direct Access SCSI-2 device > da0: 40.000MB/s transfers > da0: 3001MB (1536688 2048 byte sectors: 255H 63S/T 95C) > I'm honestly having a really hard time believing that a device could claim to support "SCSI" but not support a basic INQUIRY command. That's the one command that is absolutely essential to any SCSI device. What if you try the NO_INQUIRY_EVPD or FORCE_SHORT_INQUIRY quirks? Scott