From owner-freebsd-stable@FreeBSD.ORG Mon Aug 22 20:38:35 2005 Return-Path: X-Original-To: freebsd-stable@FreeBSD.ORG Delivered-To: freebsd-stable@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C776516A41F for ; Mon, 22 Aug 2005 20:38:35 +0000 (GMT) (envelope-from mike@sentex.net) Received: from smarthost1.sentex.ca (smarthost1.sentex.ca [64.7.153.18]) by mx1.FreeBSD.org (Postfix) with ESMTP id 37A4743D45 for ; Mon, 22 Aug 2005 20:38:35 +0000 (GMT) (envelope-from mike@sentex.net) Received: from pumice3.sentex.ca (pumice3.sentex.ca [64.7.153.26]) by smarthost1.sentex.ca (8.13.3/8.13.3) with ESMTP id j7MKcYlF005128 for ; Mon, 22 Aug 2005 16:38:34 -0400 (EDT) (envelope-from mike@sentex.net) Received: from lava.sentex.ca (pyroxene.sentex.ca [199.212.134.18]) by pumice3.sentex.ca (8.13.3/8.13.3) with ESMTP id j7MKcXtU029800; Mon, 22 Aug 2005 16:38:34 -0400 (EDT) (envelope-from mike@sentex.net) Received: from simian.sentex.net (simeon.sentex.ca [192.168.43.27]) by lava.sentex.ca (8.13.3/8.13.3) with ESMTP id j7MKcWTx085033 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 22 Aug 2005 16:38:32 -0400 (EDT) (envelope-from mike@sentex.net) Message-Id: <6.2.3.4.0.20050822163455.07b38d80@64.7.153.2> X-Mailer: QUALCOMM Windows Eudora Version 6.2.3.4 Date: Mon, 22 Aug 2005 16:38:15 -0400 To: =?iso-8859-1?Q?S=F8ren?= Schmidt From: Mike Tancsa In-Reply-To: References: <6.2.3.4.0.20050822161456.07b27678@64.7.153.2> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1"; format=flowed Content-Transfer-Encoding: quoted-printable X-Virus-Scanned: by amavisd-new X-Scanned-By: MIMEDefang 2.51 on 64.7.153.18 X-Scanned-By: MIMEDefang 2.51 on 64.7.153.26 Cc: freebsd-stable@FreeBSD.ORG Subject: Re: ata breakage from RELENG_5 to RELENG_6 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Aug 2005 20:38:36 -0000 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 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