From owner-freebsd-stable@FreeBSD.ORG Tue Feb 22 16:48:33 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 0B5591065694 for ; Tue, 22 Feb 2011 16:48:33 +0000 (UTC) (envelope-from erob@gthcfoundation.org) Received: from relais.videotron.ca (relais.videotron.ca [24.201.245.36]) by mx1.freebsd.org (Postfix) with ESMTP id D7AA58FC13 for ; Tue, 22 Feb 2011 16:48:32 +0000 (UTC) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; charset=ISO-8859-1; format=flowed Received: from marina.localdomain ([184.162.50.38]) by VL-MR-MRZ22.ip.videotron.ca (Sun Java(tm) System Messaging Server 6.3-8.01 (built Dec 16 2008; 32bit)) with ESMTP id <0LH100A9B2OVI870@VL-MR-MRZ22.ip.videotron.ca> for freebsd-stable@freebsd.org; Tue, 22 Feb 2011 11:48:32 -0500 (EST) Message-id: <4D63E8D4.2040306@gthcfoundation.org> Date: Tue, 22 Feb 2011 11:48:20 -0500 From: Etienne Robillard User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.1.16) Gecko/20110113 Thunderbird/3.0.11 To: Sergey Kandaurov References: <4D62D961.9000804@gthcfoundation.org> In-reply-to: Cc: nvass@gmx.com, 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 16:48:33 -0000 On 02/22/2011 04:28, Sergey Kandaurov wrote: > On 22 February 2011 00:30, Etienne Robillard wrote: > >> 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 amd64 >> >> 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. > > Thanks that fixed it. I recall having tried to manually load libalias.ko but after a full buildworld it works fine.