From owner-freebsd-current@FreeBSD.ORG Mon Aug 31 16:19: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 6F95010656AA; Mon, 31 Aug 2009 16:19:28 +0000 (UTC) (envelope-from avg@icyb.net.ua) Received: from citadel.icyb.net.ua (citadel.icyb.net.ua [212.40.38.140]) by mx1.freebsd.org (Postfix) with ESMTP id 838A48FC26; Mon, 31 Aug 2009 16:19:27 +0000 (UTC) Received: from odyssey.starpoint.kiev.ua (alpha-e.starpoint.kiev.ua [212.40.38.101]) by citadel.icyb.net.ua (8.8.8p3/ICyb-2.3exp) with ESMTP id TAA13517; Mon, 31 Aug 2009 19:19:26 +0300 (EEST) (envelope-from avg@icyb.net.ua) Message-ID: <4A9BF80D.3070106@icyb.net.ua> Date: Mon, 31 Aug 2009 19:19:25 +0300 From: Andriy Gapon User-Agent: Thunderbird 2.0.0.22 (X11/20090724) MIME-Version: 1.0 To: Alexander Motin References: <4A97D0E1.6050001@icyb.net.ua> <4A97D32F.6070707@FreeBSD.org> <4A97D563.7010803@icyb.net.ua> <4A97DDC1.3030400@FreeBSD.org> In-Reply-To: <4A97DDC1.3030400@FreeBSD.org> X-Enigmail-Version: 0.95.7 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Cc: freebsd-current@FreeBSD.org Subject: Re: ada/ahci and smartmontools 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, 31 Aug 2009 16:19:28 -0000 on 28/08/2009 16:38 Alexander Motin said the following: > Andriy Gapon wrote: >> on 28/08/2009 15:53 Alexander Motin said the following: >>> Andriy Gapon wrote: >>>> Do smartmontools work with ada/ahci disks? >>>> Any tweaks/hacks to make it possible? >>> It needs new interface module. Somebody have to combine CAM API >>> smartmontools interface module used for SCSI devices and ATA SMART commands. >> So you mean it should practically be the same as existing ATA module, but instead >> of ATA ioctl it should use cam(3)? > > Yes. > Thinking out loud - maybe it's possible to support IOCATAREQUEST on ada devices and internally convert it to appropriate CAM command. -- Andriy Gapon