ata breakage from RELENG_5 to RELENG_6

damir bikmuhametov boco at
Mon Aug 22 20:54:38 GMT 2005

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


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


More information about the freebsd-stable mailing list