From owner-cvs-all Sun May 19 21:29:17 2002 Delivered-To: cvs-all@freebsd.org Received: from mail.speakeasy.net (mail12.speakeasy.net [216.254.0.212]) by hub.freebsd.org (Postfix) with ESMTP id 4C5D037B400 for ; Sun, 19 May 2002 21:29:07 -0700 (PDT) Received: (qmail 13201 invoked from network); 20 May 2002 04:29:05 -0000 Received: from unknown (HELO server.baldwin.cx) ([216.27.160.63]) (envelope-sender ) by mail12.speakeasy.net (qmail-ldap-1.03) with DES-CBC3-SHA encrypted SMTP for ; 20 May 2002 04:29:05 -0000 Received: from laptop.baldwin.cx (laptop.baldwin.cx [192.168.0.4]) by server.baldwin.cx (8.11.6/8.11.6) with ESMTP id g4K4T7F88586; Mon, 20 May 2002 00:29:07 -0400 (EDT) (envelope-from jhb@FreeBSD.org) Message-ID: X-Mailer: XFMail 1.5.2 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <200205192312.g4JNCsKs098352@apollo.backplane.com> Date: Mon, 20 May 2002 00:28:51 -0400 (EDT) From: John Baldwin To: Matthew Dillon Subject: Re: cvs commit: src/sys/cam/scsi scsi_da.c Cc: cvs-all@FreeBSD.ORG, cvs-committers@FreeBSD.ORG, "Kenneth D. Merry" 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 On 19-May-2002 Matthew Dillon wrote: > >: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. No, those are just stale and need to be removed. > 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. It's b/c umass has no way of telling CAM: "hey, don't send 6 byte commands to USB ATA or UFI devices" -- John Baldwin <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message