Your message dated Fri, 15 Mar 2013 14:43:51 +0100
with message-id 
<caj75kxzvnyxahoeezb9vjdbbo+mekpgojdu7b-r6goqk6c_...@mail.gmail.com>
and subject line Re: ebtables: 32-bit package is not compatible with 64-bit 
kernel
has caused the Debian Bug report #614746,
regarding ebtables: 32-bit package is not compatible with 64-bit kernel
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
614746: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=614746
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: ebtables
Version: 2.0.9.2-2
Severity: normal

Hi,

I am running a 32-bit (i386) userland on top of the 64-bit (amd64) kernel. In
this configuration, ebtables fails to work:
        root # lsmod | grep ebtable
        ebtable_filter          1599  0 
        ebtables               13885  1 ebtable_filter
        x_tables               12685  2 ebtables,ip_tables
        root # ebtables -L
        The kernel doesn't support the ebtables 'filter' table.
The direct cause is that ebtables passes wrongly-sized structures to the kernel,
which returns EINVAL, which in turn causes the (confusing) message above.

I checked the source, and it appears that the ebtables user-kernel interface
uses datastructures containing actual pointers (not offsets, like iptables).
As both the kernel and ebtables use their own idea of a pointer, ebtables
fails.

ebtables does seem to contain code to cope with a mixed 32/64-bit environment,
by defining KERNEL_64_USERSPACE_32 and EBT_MIN_ALIGN during compilation,
however the implementation is partial (at least from an x86_64 perspective),
and therefore not functional. In addition, it would make the resulting binary
fail on top of a 32-bit kernel...

Regards,

Rogier.


-- System Information:
Debian Release: 6.0
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages ebtables depends on:
ii  libc6                         2.11.2-10  Embedded GNU C Library: Shared lib

Versions of packages ebtables recommends:
ii  iptables                      1.4.8-3    administration tools for packet fi

ebtables suggests no packages.

-- no debconf information



--- End Message ---
--- Begin Message ---
Hi Rogier,

True, I forgot to test this with my last upload. It's now working
smoothly. Closing the bug.

--
William

--- End Message ---

Reply via email to