Skip to contentSkip to conversation

New: ebtables 64 bit kernel + 32 bit userland alignment error - fix included

Buildroot bugzilla at busybox.net 1 participant 4 messages Oct 24, 2013 – Oct 30, 2013

lore
Share & tools
lore
#0 lore raw

https://bugs.busybox.net/show_bug.cgi?id=6602

Summary: ebtables 64 bit kernel + 32 bit userland alignment
error - fix included
Product: buildroot
Version: 2013.08
Platform: Other
OS/Version: Linux
Status: NEW
Severity: critical
Priority: P5
Component: Other
AssignedTo: unassigned at buildroot.uclibc.org
ReportedBy: cassiano at idbinfo.com.br
CC: buildroot at uclibc.org
Estimated Hours: 0.0

ebtables fails add or list any kernel rules. it prints the following message:

"The kernel doesn't support the ebtables filter table."

I've had to add the following cflags to the build process: -DEBT_MIN_ALIGN=8 -DKERNEL_64_USERSPACE_32

This fixes when building a 32 bit userland and a 64 bit kernel on mips64 platform.

Thanks

Signature · 3 lines
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
#1 lore raw

[Buildroot] [Bug 6602] ebtables 64 bit kernel + 32 bit userland alignment error - fix included

https://bugs.busybox.net/show_bug.cgi?id=6602

Gustavo Zacarias <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

             Status|NEW                         |ASSIGNED
         AssignedTo|unassigned at buildroot.uclibc |gustavo at zacarias.com.ar
                   |.org                        |

--- Comment #1 from Gustavo Zacarias <[email protected]> 2013-10-24 17:18:31 UTC --- Can you test if -DKERNEL64_USERSPACE_32 is enough?
-DEBT_MIN_ALIGN=8 is used/meant for sparc64 which doesn't handle unaligned memory accesses.
Regards.

Signature · 3 lines
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
#2 lore raw

[Buildroot] [Bug 6602] ebtables 64 bit kernel + 32 bit userland alignment error - fix included

In reply to bugzilla at busybox.net

https://bugs.busybox.net/show_bug.cgi?id=6602

--- Comment #2 from Cassiano Martin <[email protected]> 2013-10-25 12:28:31 UTC --- Yes, you are right. -DKERNEL_64_USERSPACE_32 is enough. Tested on my board and it worked.

Thanks

Signature · 3 lines
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
#3 lore raw

[Buildroot] [Bug 6602] ebtables 64 bit kernel + 32 bit userland alignment error - fix included

In reply to bugzilla at busybox.net

https://bugs.busybox.net/show_bug.cgi?id=6602

Thomas Petazzoni <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED

--- Comment #3 from Thomas Petazzoni <[email protected]> 2013-10-30 22:00:40 UTC --- Fix applied to for-peter-2013.11.

Signature · 3 lines
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.