Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 23 Aug 2005 02:54:32 +0600
From:      damir bikmuhametov <boco@ufanet.ru>
To:        Mike Tancsa <mike@sentex.net>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: ata breakage from RELENG_5 to RELENG_6
Message-ID:  <20050822205432.GA82381@ufanet.ru>
In-Reply-To: <6.2.3.4.0.20050822161456.07b27678@64.7.153.2>
References:  <6.2.3.4.0.20050822161456.07b27678@64.7.153.2>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Aug 22, 2005 at 04:24:12PM -0400, Mike Tancsa wrote:

> I updated one of our boxes from RELENG_5 to 6.  Couple of things I 
> noticed was that the smartmontools and atacontrol seems to be broken 
> now.

[...]

> [verify1] /usr/ports/sysutils/smartmontools# atacontrol cap 0 0
> usage:  atacontrol <command> args:
>         atacontrol list
>         atacontrol info channel
>         atacontrol attach channel
>         atacontrol detach channel
>         atacontrol reinit channel
>         atacontrol create type [interleave] disk0 ... diskN
>         atacontrol delete channel
>         atacontrol addspare array disk
>         atacontrol rebuild array
>         atacontrol status array
>         atacontrol mode device [mode]
>         atacontrol cap device
> [verify1] /usr/ports/sysutils/smartmontools# atacontrol info 0
> atacontrol: Invalid channel 0

Mike,

You have to use device name for 'cap' and channel name for 'info':

# atacontrol cap ad6

Protocol              ATA/ATAPI revision 6
device model          HDS722525VLAT80
serial number         VN69HMCFDTLEDD
firmware revision     V36OA6EA
cylinders             16383
heads                 16
sectors/track         63
lba supported         268435455 sectors
lba48 supported       488397168 sectors
dma supported
overlap not supported

Feature                      Support  Enable    Value           Vendor
write cache                    yes      yes
read ahead                     yes      yes
Tagged Command Queuing (TCQ)   yes      yes     31/0x1F
SMART                          yes      no
microcode download             no       no
security                       yes      no
power management               yes      yes
advanced power management      yes      no      0/0x00
automatic acoustic management  yes      no      254/0xFE        128/0x80

# atacontrol info ata3
Master:  ad6 <HDS722525VLAT80/V36OA6EA> ATA/ATAPI revision 6
Slave:       no device present

# uname -r
6.0-BETA2

-- 
boco



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