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

next in thread | previous in thread | raw e-mail | index | archive | help
On 02/22/2011 04:28, Sergey Kandaurov wrote:
> 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.
>
>    

Thanks that fixed it.  I recall having tried to manually load 
libalias.ko but after a
full buildworld it works fine.








Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4D63E8D4.2040306>