New: ebtables 64 bit kernel + 32 bit userland alignment error - fix included
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.
[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.
[Buildroot] [Bug 6602] ebtables 64 bit kernel + 32 bit userland alignment error - fix included
In reply to bugzilla at busybox.nethttps://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.
[Buildroot] [Bug 6602] ebtables 64 bit kernel + 32 bit userland alignment error - fix included
In reply to bugzilla at busybox.nethttps://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.