From owner-freebsd-current@FreeBSD.ORG Mon Jun 29 15:25:28 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 4120110656D7; Mon, 29 Jun 2009 15:25:28 +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 E8D958FC16; Mon, 29 Jun 2009 15:25:27 +0000 (UTC) (envelope-from scottl@samsco.org) Received: from phobos.local (pooker.samsco.org [168.103.85.57]) by pooker.samsco.org (8.14.2/8.14.2) with ESMTP id n5TFPJce047491; Mon, 29 Jun 2009 09:25:19 -0600 (MDT) (envelope-from scottl@samsco.org) Message-ID: <4A48DCDF.9010104@samsco.org> Date: Mon, 29 Jun 2009 09:25:19 -0600 From: Scott Long User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X; en-US; rv:1.8.1.13) Gecko/20080313 SeaMonkey/1.1.9 MIME-Version: 1.0 To: Scott Long , Alexander Motin , freebsd-current@freebsd.org References: <4A4517BE.9040504@FreeBSD.org> <200906271419.49329.pieter@degoeje.nl> <4A464EED.3070700@FreeBSD.org> <4A465F8C.4030901@samsco.org> <20090629105556.GB72094@acme.spoerlein.net> In-Reply-To: <20090629105556.GB72094@acme.spoerlein.net> X-Enigmail-Version: 0.95.6 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-4.5 required=3.8 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.1.8 X-Spam-Checker-Version: SpamAssassin 3.1.8 (2007-02-13) on pooker.samsco.org Cc: 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 15:25:28 -0000 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. > > Hi Scott, > > 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. Scott