From owner-freebsd-current@FreeBSD.ORG Wed Oct 21 14:47:29 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 11164106568F; Wed, 21 Oct 2009 14:47:29 +0000 (UTC) (envelope-from sfourman@gmail.com) Received: from mail-yw0-f178.google.com (mail-yw0-f178.google.com [209.85.211.178]) by mx1.freebsd.org (Postfix) with ESMTP id AAA8D8FC21; Wed, 21 Oct 2009 14:47:27 +0000 (UTC) Received: by ywh8 with SMTP id 8so5963329ywh.3 for ; Wed, 21 Oct 2009 07:47:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=oCijSw8l253SNmdVo3JvqpucfE6xzhQLbc6R2+vv6g4=; b=AvV1SlsyZ71eoR6hYCwWaOnaTTsPOZ3AJYqEzKwG4cqUJt6ljgW8p5wW1WrWQnBKFB BYRyzAbrZrG5xxJO9JwGzpe4GtwjdDC3aSdtXovds3+kCeKvvxmpx4aDT0yaOw8BlYZa meh0N7vIyVlPSaY+x0IFq7yQHLVV8Xj02E8fQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=SYkoNr4xBmikQ59J47nuL3TnsDKTXKHZgUSF8Zfmz6upApZGONYQZYvdQWu/QkQowh xov4pa3MDMrUVJSfEj6Axuq7HSpy0MPmSNAtISr6C4wCNyrJS0xDhSx7ZVdIVi++7gum Xd8U8tt8t3584gLtfWy/BYpoKAzw8pzDQXVbU= MIME-Version: 1.0 Received: by 10.151.2.1 with SMTP id e1mr13297223ybi.70.1256136447296; Wed, 21 Oct 2009 07:47:27 -0700 (PDT) In-Reply-To: <4ADF1E4E.1010901@FreeBSD.org> References: <4A97D0E1.6050001@icyb.net.ua> <4A97D32F.6070707@FreeBSD.org> <4A97D563.7010803@icyb.net.ua> <11167f520910210737u75602499w62ae6cd1db6ad37@mail.gmail.com> <4ADF1E4E.1010901@FreeBSD.org> Date: Wed, 21 Oct 2009 09:47:27 -0500 Message-ID: <11167f520910210747g563514a4p82962669efd3af13@mail.gmail.com> From: "Sam Fourman Jr." To: Alexander Motin Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-current@freebsd.org, Andriy Gapon 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: Wed, 21 Oct 2009 14:47:29 -0000 On Wed, Oct 21, 2009 at 9:44 AM, Alexander Motin wrote: > Sam Fourman Jr. wrote: >> On Fri, Aug 28, 2009 at 8:02 AM, 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)? >> >> This is a little OT, but can someone confirm if smartmontools works >> with SATA2 Drives? > > SATA2 is just another physical transport for ATA commands. SATA1/2 > completely compatible to PATA on command level. > > -- > Alexander Motin sorry then I will try again, I just installed the port and tried a simple command Ziggy# smartctl -i /dev/ad4s1 smartctl version 5.38 [i386-portbld-freebsd9.0] Copyright (C) 2002-8 Bruce Allen Home page is http://smartmontools.sourceforge.net/ Smartctl: Device Read Identity Failed (not an ATA/ATAPI device) A mandatory SMART command failed: exiting. To continue, add one or more '-T permissive' options. Ziggy# dmesg | grep ad4 ad4: 238475MB at ata2-master SATA300 GEOM: ad4s1: geometry does not match label (255h,63s != 16h,63s). Trying to mount root from ufs:/dev/ad4s1a Sam