From owner-freebsd-current@FreeBSD.ORG Mon Jun 29 16:47:38 2009 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 C1B4B106564A for ; Mon, 29 Jun 2009 16:47:38 +0000 (UTC) (envelope-from dan@dan.emsphone.com) Received: from email1.allantgroup.com (email1.emsphone.com [199.67.51.115]) by mx1.freebsd.org (Postfix) with ESMTP id BCD708FC0A for ; Mon, 29 Jun 2009 16:47:37 +0000 (UTC) (envelope-from dan@dan.emsphone.com) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by email1.allantgroup.com (8.14.0/8.14.0) with ESMTP id n5TGCR6b083408 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Mon, 29 Jun 2009 11:12:28 -0500 (CDT) (envelope-from dan@dan.emsphone.com) Received: from dan.emsphone.com (smmsp@localhost [127.0.0.1]) by dan.emsphone.com (8.14.3/8.14.3) with ESMTP id n5TGCRU6004825 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Mon, 29 Jun 2009 11:12:27 -0500 (CDT) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.14.3/8.14.3/Submit) id n5TGCQNP004821; Mon, 29 Jun 2009 11:12:26 -0500 (CDT) (envelope-from dan) Date: Mon, 29 Jun 2009 11:12:25 -0500 From: Dan Nelson To: Scott Long Message-ID: <20090629161225.GJ76275@dan.emsphone.com> References: <4A4517BE.9040504@FreeBSD.org> <200906271419.49329.pieter@degoeje.nl> <4A464EED.3070700@FreeBSD.org> <4A465F8C.4030901@samsco.org> <20090629105556.GB72094@acme.spoerlein.net> <4A48DCDF.9010104@samsco.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <4A48DCDF.9010104@samsco.org> X-OS: FreeBSD 7.2-STABLE User-Agent: Mutt/1.5.19 (2009-01-05) X-Virus-Scanned: ClamAV version 0.94.1, clamav-milter version 0.94.1 on email1.allantgroup.com X-Virus-Status: Clean X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.0.2 (email1.allantgroup.com [199.67.51.78]); Mon, 29 Jun 2009 11:12:28 -0500 (CDT) X-Scanned-By: MIMEDefang 2.45 Cc: Alexander Motin , freebsd-current@freebsd.org Subject: Re: RFC: ATA to CAM integration patch 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: Mon, 29 Jun 2009 16:47:39 -0000 In the last episode (Jun 29), Scott Long said: > Ulrich Spörlein wrote: > > On Sat, 27.06.2009 at 12:06:04 -0600, Scott Long wrote: > >> Alexander Motin wrote: > >>> This is not a problem. ATA disks does not have SCSI INQUIRY command. > >>> They use own IDENTIFY instead. inquiry should work for ATAPI devices, > >>> as they are SCSI deep inside. > >> This is really the big missing piece in camcontrol; we need to add > >> support for getting the IDENT info and getting/setting various > >> attributes, as well as sending ATA commands over passthrough. > > > > not sure if this is related, but I always wondered why tools like > > smartctl never work with USB attached ATA disks. Is it missing support > > in our drivers and smartctl or is it simply impossible? > > The possibility depends on several hardware and software factors. If the > USB disk enclosure was speaking ATA all the way up to the umass driver, > then it could be possible to add some extra intelligence to the driver to > make SMART work. However, if the enclosure chip is speaking anything > else, then probably not. As an alternative, you might try to the ata-usb > module instead and see if that works. It also depends heavily on which USB bridge chip is in your external enclosure. See these links for a table of known good/bad enclosures: http://smartmontools.wiki.sourceforge.net/USB http://smartmontools.wiki.sourceforge.net/overview_USB-Support -- Dan Nelson dnelson@allantgroup.com