From owner-freebsd-stable@FreeBSD.ORG Tue Feb 22 09:28:39 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 686A7106566B for ; Tue, 22 Feb 2011 09:28:39 +0000 (UTC) (envelope-from pluknet@gmail.com) Received: from mail-qy0-f175.google.com (mail-qy0-f175.google.com [209.85.216.175]) by mx1.freebsd.org (Postfix) with ESMTP id 1DCBF8FC15 for ; Tue, 22 Feb 2011 09:28:37 +0000 (UTC) Received: by qyk35 with SMTP id 35so1815572qyk.13 for ; Tue, 22 Feb 2011 01:28:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=LcYBg6xM0YM3IW7El4xvS41WCgu9d8MYS7TlYdXBAj8=; b=CpUR8tNsikCVQ8QdArpcSIvCpcnlTyYdNt0ykxXWm2ZT2VlrEGBJcvIZ3bHL1vkqOD rErOBc/rZSKJglbHHv8IrI9z+OsJAXFCYYEy0MQEqpx0c74tzc+AKPHbwPOEsZccpqv7 cVtuZHep72KSIZF6WdIz56fBS7OOmrATjJXmI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=mjIMQWQhnCrwRmwgz7qFErZ0XWBynVPCAvsXNUPqV/jgyVqwBv1vv+Viv0+FstINdw pyvlS10Spi8VgqK0TRqgdYiZcV//maPRuNUJNjQOlvGxyrSx1gvW4BTNaIAPXU5eoWRu bjuthQqSiejuk/fScy9Bp+rf5pCMw4WBozaBU= MIME-Version: 1.0 Received: by 10.229.227.15 with SMTP id iy15mr1818218qcb.51.1298366917379; Tue, 22 Feb 2011 01:28:37 -0800 (PST) Received: by 10.229.84.129 with HTTP; Tue, 22 Feb 2011 01:28:37 -0800 (PST) In-Reply-To: <4D62D961.9000804@gthcfoundation.org> References: <4D62D961.9000804@gthcfoundation.org> Date: Tue, 22 Feb 2011 12:28:37 +0300 Message-ID: From: Sergey Kandaurov To: Etienne Robillard Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-stable@freebsd.org Subject: Re: Problem with ipfw and libalias on 8.2-PRERELEASE 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: Tue, 22 Feb 2011 09:28:39 -0000 On 22 February 2011 00:30, Etienne Robillard wrot= e: > Hi, > > I'm unable to load the ipfw module in 8.2-PRELEASE. i think > this may be due to ABI changes at the kernel level. , > > $ sudo kldload /boot/kernel/ipfw.ko > $ dmesg > ... > KLD ipfw.ko: depends on libalias - not available or version mismatch > linker_load_file: Unsupported file type > > $ uname -a > FreeBSD marina.localdomain 8.2-PRERELEASE FreeBSD 8.2-PRERELEASE #1: Wed = Feb > 16 03:38:23 EST 2011 > root@:/usr/local/freebsd8/src/sys/amd64/compile/GENERIC.ndebug =A0amd64 > > could there be a more precise explanation? > In recent 8.x you first need to kldload libalias.ko. It was broken in 8 since MFC r200636 (and still broken in head), where ipfw.ko includes ipfw_nat, which depends on libalias. I think either ipfw should un-include ipfw_nat stuff, or pollute self more and take explicit dependency on libalias. --=20 wbr, pluknet