From owner-freebsd-stable@FreeBSD.ORG Mon Aug 22 20:45:30 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 7194716A41F for ; Mon, 22 Aug 2005 20:45:30 +0000 (GMT) (envelope-from oberman@es.net) Received: from postal1.es.net (postal1.es.net [198.128.3.205]) by mx1.FreeBSD.org (Postfix) with ESMTP id 365D543D45 for ; Mon, 22 Aug 2005 20:45:30 +0000 (GMT) (envelope-from oberman@es.net) Received: from ptavv.es.net ([198.128.4.29]) by postal1.es.net (Postal Node 1) with ESMTP (SSL) id IBA74465; Mon, 22 Aug 2005 13:45:28 -0700 Received: from ptavv (localhost [127.0.0.1]) by ptavv.es.net (Tachyon Server) with ESMTP id 7C17F5D07; Mon, 22 Aug 2005 13:45:28 -0700 (PDT) To: Mike Tancsa In-reply-to: Your message of "Mon, 22 Aug 2005 16:38:15 EDT." <6.2.3.4.0.20050822163455.07b38d80@64.7.153.2> Date: Mon, 22 Aug 2005 13:45:28 -0700 From: "Kevin Oberman" Message-Id: <20050822204528.7C17F5D07@ptavv.es.net> Cc: freebsd-stable@FreeBSD.ORG, =?iso-8859-1?Q?S=F8ren?= Schmidt 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:45:30 -0000 > Date: Mon, 22 Aug 2005 16:38:15 -0400 > From: Mike Tancsa > Sender: owner-freebsd-stable@freebsd.org > > At 04:33 PM 22/08/2005, Søren 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: > 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 > 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 > -pipe -Wsystem-headers -Werror -Wall > -Wno-format-y2k -W -Wno-unused-parameter > -Wstrict-prototypes -Wmissing-prototypes > -Wpointer-arith -Wreturn-type -Wcast-qual > -Wwrite-strings -Wswitch -Wshadow -Wcast-align > -Wunused-parameter -Wchar-subscripts -Winline > -Wnested-externs -Wredundant-decls -c /usr/src/sbin/atacontrol/atacontrol.c > cc -O2 -fno-strict-aliasing > -pipe -Wsystem-headers -Werror -Wall > -Wno-format-y2k -W -Wno-unused-parameter > -Wstrict-prototypes -Wmissing-prototypes > -Wpointer-arith -Wreturn-type -Wcast-qual > -Wwrite-strings -Wswitch -Wshadow -Wcast-align > -Wunused-parameter -Wchar-subscripts -Winline > -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# The arguments for atacontrol have changed. The update to the man pages was committed to current in the past day or two. I'm not sure it it has made it to RELENG_6. You can't just specify the channel number any more. The channel is now the device name, e.g. "ata0". -- R. Kevin Oberman, Network Engineer Energy Sciences Network (ESnet) Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab) E-mail: oberman@es.net Phone: +1 510 486-8634