Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [Bug 6602] New: ebtables 64 bit kernel + 32 bit userland alignment error - fix included
@ 2013-10-24 13:08 bugzilla at busybox.net
  2013-10-24 17:18 ` [Buildroot] [Bug 6602] " bugzilla at busybox.net
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: bugzilla at busybox.net @ 2013-10-24 13:08 UTC (permalink / raw)
  To: buildroot

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

-- 
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.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Buildroot] [Bug 6602] ebtables 64 bit kernel + 32 bit userland alignment error - fix included
  2013-10-24 13:08 [Buildroot] [Bug 6602] New: ebtables 64 bit kernel + 32 bit userland alignment error - fix included bugzilla at busybox.net
@ 2013-10-24 17:18 ` bugzilla at busybox.net
  2013-10-25 12:28 ` bugzilla at busybox.net
  2013-10-30 22:00 ` bugzilla at busybox.net
  2 siblings, 0 replies; 4+ messages in thread
From: bugzilla at busybox.net @ 2013-10-24 17:18 UTC (permalink / raw)
  To: buildroot

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

Gustavo Zacarias <gustavo@zacarias.com.ar> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
         AssignedTo|unassigned at buildroot.uclibc |gustavo at zacarias.com.ar
                   |.org                        |

--- Comment #1 from Gustavo Zacarias <gustavo@zacarias.com.ar> 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.

-- 
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.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Buildroot] [Bug 6602] ebtables 64 bit kernel + 32 bit userland alignment error - fix included
  2013-10-24 13:08 [Buildroot] [Bug 6602] New: ebtables 64 bit kernel + 32 bit userland alignment error - fix included bugzilla at busybox.net
  2013-10-24 17:18 ` [Buildroot] [Bug 6602] " bugzilla at busybox.net
@ 2013-10-25 12:28 ` bugzilla at busybox.net
  2013-10-30 22:00 ` bugzilla at busybox.net
  2 siblings, 0 replies; 4+ messages in thread
From: bugzilla at busybox.net @ 2013-10-25 12:28 UTC (permalink / raw)
  To: buildroot

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

--- Comment #2 from Cassiano Martin <cassiano@idbinfo.com.br> 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

-- 
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.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Buildroot] [Bug 6602] ebtables 64 bit kernel + 32 bit userland alignment error - fix included
  2013-10-24 13:08 [Buildroot] [Bug 6602] New: ebtables 64 bit kernel + 32 bit userland alignment error - fix included bugzilla at busybox.net
  2013-10-24 17:18 ` [Buildroot] [Bug 6602] " bugzilla at busybox.net
  2013-10-25 12:28 ` bugzilla at busybox.net
@ 2013-10-30 22:00 ` bugzilla at busybox.net
  2 siblings, 0 replies; 4+ messages in thread
From: bugzilla at busybox.net @ 2013-10-30 22:00 UTC (permalink / raw)
  To: buildroot

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

Thomas Petazzoni <thomas.petazzoni@free-electrons.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED

--- Comment #3 from Thomas Petazzoni <thomas.petazzoni@free-electrons.com> 2013-10-30 22:00:40 UTC ---
Fix applied to for-peter-2013.11.

-- 
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.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2013-10-30 22:00 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-10-24 13:08 [Buildroot] [Bug 6602] New: ebtables 64 bit kernel + 32 bit userland alignment error - fix included bugzilla at busybox.net
2013-10-24 17:18 ` [Buildroot] [Bug 6602] " bugzilla at busybox.net
2013-10-25 12:28 ` bugzilla at busybox.net
2013-10-30 22:00 ` bugzilla at busybox.net

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox