From owner-cvs-all Sun May 19 16:12:59 2002 Delivered-To: cvs-all@freebsd.org Received: from apollo.backplane.com (apollo.backplane.com [216.240.41.2]) by hub.freebsd.org (Postfix) with ESMTP id C3D4037B408; Sun, 19 May 2002 16:12:54 -0700 (PDT) Received: from apollo.backplane.com (localhost [127.0.0.1]) by apollo.backplane.com (8.12.3/8.9.1) with ESMTP id g4JNCshU098353; Sun, 19 May 2002 16:12:54 -0700 (PDT) (envelope-from dillon@apollo.backplane.com) Received: (from dillon@localhost) by apollo.backplane.com (8.12.3/8.12.3/Submit) id g4JNCsKs098352; Sun, 19 May 2002 16:12:54 -0700 (PDT) Date: Sun, 19 May 2002 16:12:54 -0700 (PDT) From: Matthew Dillon Message-Id: <200205192312.g4JNCsKs098352@apollo.backplane.com> To: "Kenneth D. Merry" Cc: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG Subject: Re: cvs commit: src/sys/cam/scsi scsi_da.c References: <200205192159.g4JLxSx22676@freefall.freebsd.org> <20020519170221.A51589@panzer.kdm.org> Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG :We have code to detect devices that don't work with 6 byte commands; a :quirk shouldn't be necessary. : :What error does this device return when you issue a 6 byte command? : :Ken :-- :Kenneth Merry :ken@kdm.org It returns a general I/O error, but the CAM debug code does not report any errors. I was not able to test the USB device under -current at all... none of my current machines are running a USB chipset that either -current or -stable is happy with, so I cannot refute your assertion on -current. Still, -current has the NO_6 quirks for all the other USB card readers so presumably it is still required. On -stable it is definitely required. The real issue here is not so much the SCSI spec... these are not actual SCSI devices, they are pseudo-SCSI devices and there are a lot of things missing or hacked or just plain broken in regards to their adherence to either the SCSI or ATA specs. I'm certain the reason CAM/SCSI cannot figure out that a 10 byte command is required for these devices is simply due to that fact. -Matt Matthew Dillon To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message