From owner-freebsd-current@FreeBSD.ORG Mon Jun 29 11:24:07 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 A77B3106566C for ; Mon, 29 Jun 2009 11:24:07 +0000 (UTC) (envelope-from mav@FreeBSD.org) Received: from cmail.optima.ua (cmail.optima.ua [195.248.191.121]) by mx1.freebsd.org (Postfix) with ESMTP id 2C00E8FC14 for ; Mon, 29 Jun 2009 11:24:06 +0000 (UTC) (envelope-from mav@FreeBSD.org) Received: from [212.86.226.226] (account mav@alkar.net HELO mavbook.mavhome.dp.ua) by cmail.optima.ua (CommuniGate Pro SMTP 5.2.9) with ESMTPSA id 247067595; Mon, 29 Jun 2009 14:24:03 +0300 Message-ID: <4A48A44C.3030303@FreeBSD.org> Date: Mon, 29 Jun 2009 14:23:56 +0300 From: Alexander Motin User-Agent: Thunderbird 2.0.0.21 (X11/20090405) MIME-Version: 1.0 To: Scott Long , =?UTF-8?B?VWxyaWNoIFNww7ZybGVpbg==?= , 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> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit 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 11:24:07 -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. > > 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. -- Alexander Motin