Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 Oct 2009 09:47:27 -0500
From:      "Sam Fourman Jr." <sfourman@gmail.com>
To:        Alexander Motin <mav@freebsd.org>
Cc:        freebsd-current@freebsd.org, Andriy Gapon <avg@icyb.net.ua>
Subject:   Re: ada/ahci and smartmontools
Message-ID:  <11167f520910210747g563514a4p82962669efd3af13@mail.gmail.com>
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>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Oct 21, 2009 at 9:44 AM, Alexander Motin <mav@freebsd.org> wrote:
> Sam Fourman Jr. wrote:
>> On Fri, Aug 28, 2009 at 8:02 AM, Andriy Gapon <avg@icyb.net.ua> 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 <Seagate ST3250820AS 3.AAD> at ata2-master SATA300
GEOM: ad4s1: geometry does not match label (255h,63s != 16h,63s).
Trying to mount root from ufs:/dev/ad4s1a


Sam



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?11167f520910210747g563514a4p82962669efd3af13>