Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Feb 2011 12:28:37 +0300
From:      Sergey Kandaurov <pluknet@gmail.com>
To:        Etienne Robillard <erob@gthcfoundation.org>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: Problem with ipfw and libalias on 8.2-PRERELEASE
Message-ID:  <AANLkTi=gHv-A6D8Ru285i4TSHmXVu7Y=aMwHBgLtACEp@mail.gmail.com>
In-Reply-To: <4D62D961.9000804@gthcfoundation.org>
References:  <4D62D961.9000804@gthcfoundation.org>

next in thread | previous in thread | raw e-mail | index | archive | help

On 22 February 2011 00:30, Etienne Robillard <erob@gthcfoundation.org> 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.

-- 
wbr,
pluknet



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTi=gHv-A6D8Ru285i4TSHmXVu7Y=aMwHBgLtACEp>