Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 690542 - net-firewall/ebtables-2.0.10.4-r2:support running 32-bit ebtables on 64-bit kernel
Summary: net-firewall/ebtables-2.0.10.4-r2:support running 32-bit ebtables on 64-bit k...
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-07-23 23:32 UTC by Raju Konduru
Modified: 2019-08-04 10:24 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
net-firewall/ebtables/ebtables-2.0.10.4-r2.ebuild (0001-net-firewall-ebtables-add-KERNEL_64_USERSPACE_32-fla.patch,1.21 KB, patch)
2019-07-23 23:50 UTC, Raju Konduru
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Raju Konduru 2019-07-23 23:32:00 UTC
When 32-bit ebtables is ran on 64-bit kernel, observing following error messages in dmesg and command is failing.

kernel msg: ebtables bug: please report to author: Standard target size too big
Comment 1 Raju Konduru 2019-07-23 23:50:29 UTC
Created attachment 584258 [details, diff]
net-firewall/ebtables/ebtables-2.0.10.4-r2.ebuild

Hi!

Please find attached patch for net-firewall/ebtables/ebtables-2.0.10.4-r2.ebuild
to support running 32-bit ebtables on 64-bit kernel.

When net-firewall/ebtables is built with 32-bit toolchain and deployed onto
64-bit kernel, ebtables command is failing with following reason. Adding
'-DKERNEL_64_USERSPACE_32' option to CFLAGS allows it to run on 64-bit kernel.

Attached patch to enable this when 'kernel64_userspace32' USE flag is set.

Thanks,
Raju Konduru