From owner-freebsd-current@FreeBSD.ORG Mon Aug 14 17:29:18 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 612F716A4F2; Mon, 14 Aug 2006 17:29:18 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from cyrus.watson.org (cyrus.watson.org [209.31.154.42]) by mx1.FreeBSD.org (Postfix) with ESMTP id 127C543D46; Mon, 14 Aug 2006 17:29:17 +0000 (GMT) (envelope-from rwatson@FreeBSD.org) Received: from fledge.watson.org (fledge.watson.org [209.31.154.41]) by cyrus.watson.org (Postfix) with ESMTP id 667C646BCF; Mon, 14 Aug 2006 13:29:17 -0400 (EDT) Date: Mon, 14 Aug 2006 18:29:17 +0100 (BST) From: Robert Watson X-X-Sender: robert@fledge.watson.org To: Doug Barton In-Reply-To: <44E0B0F9.8000607@FreeBSD.org> Message-ID: <20060814182736.N73800@fledge.watson.org> References: <20060814080451.GG16176@obelix.dsto.defence.gov.au> <44E05D9F.307@centtech.com> <44E0B0F9.8000607@FreeBSD.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-current@freebsd.org Subject: Re: ggatec(8) - ioctl(/dev/ggctl): Invalid argument. X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 Aug 2006 17:29:18 -0000 On Mon, 14 Aug 2006, Doug Barton wrote: > Eric Anderson wrote: >> On 08/14/06 03:04, Wilkinson, Alex wrote: >>> Hi all, >>> >>> I am trying to use ggatec(8) on 5-STABLE to mount a device file on a >>> 7-CURRENT >>> and am seeing the following error: >>> >>> # sudo ggatec create -vo ro hostname /dev/da0s1 >>> info: Connected to the server: obelix:3080. >>> debug: Sending initial packet. >>> debug: Receiving initial packet. >>> error: ggatec: ioctl(/dev/ggctl): Invalid argument. >>> error: Exiting. >>> >>> Any ideas ? >> >> I think that the 7-CURRENT version of ggate is incompatible with 5-X >> versions, however I see no mention in the man pages. > > You can generally assume that things dealing with system internals (like > ggate) are incompatible from one major version to the next. You _should_ > assume that everything from 2 major versions ago is incompatible, and be > pleasantly surprised if it works. But this is a network protocol thing, not just a local command thing. Ideally, with protocols which often do involve more than one revision of OS, there would be compatibility code for older protocol versions. Or maybe I misread the nature of the problem here? Robert N M Watson Computer Laboratory University of Cambridge