From owner-freebsd-current@FreeBSD.ORG Mon Jun 29 12:54:19 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 BEE4A1065673; Mon, 29 Jun 2009 12:54:19 +0000 (UTC) (envelope-from uqs@spoerlein.net) Received: from acme.spoerlein.net (cl-43.dus-01.de.sixxs.net [IPv6:2a01:198:200:2a::2]) by mx1.freebsd.org (Postfix) with ESMTP id F3AE68FC17; Mon, 29 Jun 2009 12:54:18 +0000 (UTC) (envelope-from uqs@spoerlein.net) Received: from acme.spoerlein.net (localhost.spoerlein.net [127.0.0.1]) by acme.spoerlein.net (8.14.3/8.14.3) with ESMTP id n5TCsHWE019421 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 29 Jun 2009 14:54:17 +0200 (CEST) (envelope-from uqs@spoerlein.net) Received: (from uqs@localhost) by acme.spoerlein.net (8.14.3/8.14.3/Submit) id n5TCsHCo019420; Mon, 29 Jun 2009 14:54:17 +0200 (CEST) (envelope-from uqs@spoerlein.net) Date: Mon, 29 Jun 2009 14:54:17 +0200 From: Ulrich =?utf-8?B?U3DDtnJsZWlu?= To: Alexander Motin Message-ID: <20090629125417.GC72094@acme.spoerlein.net> Mail-Followup-To: 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> <4A48A44C.3030303@FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <4A48A44C.3030303@FreeBSD.org> User-Agent: Mutt/1.5.20 (2009-06-14) Cc: 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 12:54:20 -0000 On Mon, 29.06.2009 at 14:23:56 +0300, Alexander Motin wrote: > 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? > > I don't know much about USB storages and protocols used there, but I > think it is the ATA->SCSI protocol conversion done by ATA->USB adapter > limits functionality. If this is correct: > http://en.wikipedia.org/wiki/USB_mass_storage_device_class > , it is impossible to avoid this conversion in common case. Thanks for the link! I guess my next external HDD will have an eSATA interface then :/ Cheers, Ulrich Spörlein -- http://www.dubistterrorist.de/