From owner-freebsd-current@FreeBSD.ORG Wed Jan 18 21:50:56 2012 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 38D781065673 for ; Wed, 18 Jan 2012 21:50:56 +0000 (UTC) (envelope-from pluknet@gmail.com) Received: from mail-ww0-f50.google.com (mail-ww0-f50.google.com [74.125.82.50]) by mx1.freebsd.org (Postfix) with ESMTP id BFF9C8FC0C for ; Wed, 18 Jan 2012 21:50:55 +0000 (UTC) Received: by wgbgn7 with SMTP id gn7so4856049wgb.31 for ; Wed, 18 Jan 2012 13:50:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=n9P7zS4WUnS0SQaH4Z55owBZaCQ+aHXR8zHHK+8kGNs=; b=fLjlYzJAvirfHC6Lxb0ELU/1InyI+4QThuK1ty/AlOVOFwuaNGc7Wks+ug6YO7i2bG Uocu6Mu+Ocn9vYIF/nBPmIJan72QAqyqTTSx58gJSAMmjc7SfttLB4NmBCZSfCDCvxn8 G6bBktb0qkBqec+TOzBEmjOxApJPK6hFtPTRc= MIME-Version: 1.0 Received: by 10.180.19.42 with SMTP id b10mr34459812wie.13.1326921841737; Wed, 18 Jan 2012 13:24:01 -0800 (PST) Received: by 10.180.7.168 with HTTP; Wed, 18 Jan 2012 13:24:01 -0800 (PST) In-Reply-To: References: Date: Thu, 19 Jan 2012 00:24:01 +0300 Message-ID: From: Sergey Kandaurov To: Andrew Hobbs Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: "freebsd-current@freebsd.org" Subject: Re: CARP on -CURRENT 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: Wed, 18 Jan 2012 21:50:56 -0000 On 19 January 2012 00:54, Andrew Hobbs wrote: > Is CARP implemented on -CURRENT (FreeBSD 10)? > > I'm playing around with some test boxes in the office running -CURRENT; > testbox# uname -a > FreeBSD testbox.ai.net 10.0-CURRENT FreeBSD 10.0-CURRENT #0: Wed Jan 18 1= 9:21:12 EST 2012 =A0 =A0 root@testbox.ai.net:/usr/obj/usr/src/sys/CARP =A0a= md64 > > I can't seem to create a carp interface despite having compiled a kernel = with "device =A0 =A0 =A0carp" in it. Attempts to create a carp interface fa= il; > # ifconfig carp create > ifconfig: SIOCIFCREATE2: Invalid argument > > >From what I've read in the handbook entry on CARP (http://www.freebsd.or= g/doc/handbook/carp.html), I should be able to either compile in the carp d= evice, as above, or load the if_carp.ko kern module. There doesn't appear t= o be a if_carp.ko module in the -CURRENT source tree, however. Only the car= p module itself; > # ls -ald /usr/src/sys/modules/*carp* > drwxr-xr-x =A02 root =A0wheel =A0512 Dec 27 15:12 /usr/src/sys/modules/ca= rp > > Am I missing something completely obvious? Was the functionality of if_ca= rp.ko rolled into another module? You should definitely read this changeset: http://svn.freebsd.org/changeset/base/228571 and the updated carp ifconfig syntax in man carp. As for if_carp.ko, it was renamed into carp.ko as part of the CARP implementation overhaul. This only affects CURRENT. --=20 wbr, pluknet