[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: iptables on amd64 kernel

Jakub Nadolny <jakub.nadolny@ite.pl> writes:

> Hi,
> I have just upgraded my hardware to AMD64 and installed kernel-image
> 2.6.8-11-amd64-k8. So all packages remain in i386 version. Everything
> works fine, but iptables does not work:
> # iptables -L
> iptables v1.3.1: can't initialize iptables table `filter': Bad file
> descriptor
> Perhaps iptables or your kernel needs to be upgraded.
> Kernel and iptables upgrade did not help. Can I ask you for help? 
> What should I do to have iptables running with amd64 kernel?

iptables has an alignment problem in one of its data structures. Under
64bit the aligment changes and then 32bit iptables fails to
communicate with the kernel.

> I have installed also iptables_1.3.1-2_amd64.deb (with --force-all), but
> result is the same.

That is rather strange. In what way does it fail? That would have been
my suggestion and works fine here.

> I use Debian testing.
> Thank you in advance!
> Jakub


Reply to: