Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 22 Aug 2005 16:38:15 -0400
From:      Mike Tancsa <mike@sentex.net>
To:        =?iso-8859-1?Q?S=F8ren?= Schmidt <sos@deepcore.dk>
Cc:        freebsd-stable@FreeBSD.ORG
Subject:   Re: ata breakage from RELENG_5 to RELENG_6
Message-ID:  <6.2.3.4.0.20050822163455.07b38d80@64.7.153.2>
In-Reply-To: <FDE86C23-8E86-4EE7-A25C-232506E7BF6E@deepcore.dk>
References:  <6.2.3.4.0.20050822161456.07b27678@64.7.153.2> <FDE86C23-8E86-4EE7-A25C-232506E7BF6E@deepcore.dk>

next in thread | previous in thread | raw e-mail | index | archive | help
At 04:33 PM 22/08/2005, S=F8ren Schmidt wrote:

>On 22/08/2005, at 22:24, 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. I updated smartmon to the latest in the ports, but same
>>problem.
>
>The ioctl ABI to ATA has changed, you need atacontrol and
>smartmontools to be in sync.
>atacontrol is just a recompile, smartmontools you want rev 1.17 or
>later of the Makefile...

Hi,
I did a cvsup this morning and built world and kernel

[verify1] /dev# ls -l /sbin/atacontrol
-r-xr-xr-x  1 root  wheel  12448 Aug 22 16:01 /sbin/atacontrol
[verify1] /dev# ident /usr/src/sbin/atacontrol/atacontrol.c
/usr/src/sbin/atacontrol/atacontrol.c:
      $FreeBSD:=20
src/sbin/atacontrol/atacontrol.c,v 1.36.2.1 2005/08/07 11:16:58 sos Exp $
[verify1] /dev#


FreeBSD verify1.sentex.ca 6.0-BETA3 FreeBSD=20
6.0-BETA3 #0: Mon Aug 22 11:12:03 EDT 2005


[verify1] /usr/src/sbin/atacontrol# ls -l
total 30
drwxr-xr-x   2 root  wheel    512 Aug 22 09:40 .
drwxr-xr-x  93 root  wheel   2048 Aug 22 09:41 ..
-rw-r--r--   1 root  wheel    148 Nov  5  2003 Makefile
-rw-r--r--   1 root  wheel   5928 Aug 19 11:54 atacontrol.8
-rw-r--r--   1 root  wheel  16821 Aug  7 07:16 atacontrol.c
[verify1] /usr/src/sbin/atacontrol# make clean
rm -f atacontrol atacontrol.o atacontrol.8.gz atacontrol.8.cat.gz
[verify1] /usr/src/sbin/atacontrol# make depend
[verify1] /usr/src/sbin/atacontrol# make
cc -O2 -fno-strict-aliasing=20
-pipe  -Wsystem-headers -Werror -Wall=20
-Wno-format-y2k -W -Wno-unused-parameter=20
-Wstrict-prototypes -Wmissing-prototypes=20
-Wpointer-arith -Wreturn-type -Wcast-qual=20
-Wwrite-strings -Wswitch -Wshadow -Wcast-align=20
-Wunused-parameter -Wchar-subscripts -Winline=20
-Wnested-externs -Wredundant-decls -c /usr/src/sbin/atacontrol/atacontrol.c
cc -O2 -fno-strict-aliasing=20
-pipe  -Wsystem-headers -Werror -Wall=20
-Wno-format-y2k -W -Wno-unused-parameter=20
-Wstrict-prototypes -Wmissing-prototypes=20
-Wpointer-arith -Wreturn-type -Wcast-qual=20
-Wwrite-strings -Wswitch -Wshadow -Wcast-align=20
-Wunused-parameter -Wchar-subscripts -Winline=20
-Wnested-externs -Wredundant-decls  -o atacontrol atacontrol.o
gzip -cn /usr/src/sbin/atacontrol/atacontrol.8 > atacontrol.8.gz
[verify1] /usr/src/sbin/atacontrol# make install
install -s -o root -g wheel -m 555   atacontrol /sbin
install -o root -g wheel -m 444 atacontrol.8.gz  /usr/share/man/man8
[verify1] /usr/src/sbin/atacontrol# 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/src/sbin/atacontrol# atacontrol info 0
atacontrol: Invalid channel 0
[verify1] /usr/src/sbin/atacontrol# =20




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