need ebtables support



  • Hello. I build a custom firmware for my project on Omega 2 using https://github.com/OnionIoT/source.git
    My project really needs an ebtables. But it not enabled in .config. If i enable kmod-ebtables then I'm getting a fall in the module mt_wifi:

    [ 65.818288] Kernel bug detected[#1]:
    [ 65.821938] CPU: 0 PID: 994 Comm: ip Not tainted 4.4.74 #0
    [ 65.827505] task: 839ce338 ti: 8327a000 task.ti: 8327a000
    [ 65.832975] $ 0 : 00000000 00000001 00000001 0000ff00
    [ 65.838293] $ 4 : 82e36dac 00000000 00000000 00000001
    [ 65.843601] $ 8 : 00000001 82e36dec 00000000 3d726562
    [ 65.848910] $12 : ffffffdf 00000058 00000000 00000041
    [ 65.854222] $16 : 8105c6c0 00000dac 80430000 c0431bdc
    [ 65.859534] $20 : 83168680 c042a000 833edf00 c054ab88
    [ 65.864848] $24 : 00000000 800206c4
    [ 65.870159] $28 : 8327a000 8327b780 8327bb18 82cdba2c
    [ 65.875475] Hi : 00000000
    [ 65.878393] Lo : 00000000
    [ 65.881341] epc : 800206d0 r4k_dma_cache_wback_inv+0xc/0xc8
    [ 65.887636] ra : 82cdba2c linux_pci_map_single+0x88/0xb4 [mt_wifi]
    [ 65.894164] Status: 1100e402 KERNEL EXL
    [ 65.898151] Cause : 10800034 (ExcCode 0d)
    [ 65.902215] PrId : 00019655 (MIPS 24KEc)
    [ 65.906276] Modules linked in: iptable_nat nf_nat_ipv4 nf_conntrack_ipv6 nf_conntrack_ipv4 ipt_REJECT ipt_MASQh
    [ 65.995859] Process ip (pid: 994, threadinfo=8327a000, task=839ce338, tls=779c7d48)
    [ 66.003617] Stack : 83b97000 83b97000 803c0000 83b90000 833ea000 82cdba2c 00000001 83b97000
    803c0000 83b90000 a31e7000 c042a000 c054ab60 82c9c868 83057400 83057400
    c043a000 83b97000 0000ff00 00000120 82e36da0 00000001 82e36dac 00000000
    00000001 00000001 00000000 82e36dac 83168680 c054ab5c 00000000 c042a000
    83168680 c054a000 c054ab5c 82c9aacc c042a000 00000018 c042a000 00100000
    ...
    [ 66.039751] Call Trace:
    [ 66.042251] [<800206d0>] r4k_dma_cache_wback_inv+0xc/0xc8
    [ 66.048178] [<82cdba2c>] linux_pci_map_single+0x88/0xb4 [mt_wifi]
    [ 66.055251] [<82c9c868>] AndesMTPciKickOutCmdMsg+0x138/0x27c [mt_wifi]
    [ 66.062768] [<82c9aacc>] AndesSendCmdMsg+0x36c/0x1fd0 [mt_wifi]
    [ 66.069670] [<82c9b928>] AndesSendCmdMsg+0x11c8/0x1fd0 [mt_wifi]
    [ 66.076201]
    [ 66.077710]
    Code: 27bdffe8 2ca20001 afbf0014 <00020336> 3c02803c 24422060 8c430008 7c630440 10600013
    [ 66.087892] ---[ end trace c13d9acffae74f17 ]---
    [ 66.095147] Fatal exception: panic in 5 seconds

    This happens because mt_wifi is built for the kernel without the support of an ebtables and as a consequence the expected size of the structures is different from the real one. Could You enable support for ebtables in a https://github.com/OnionIoT/source.git and rebuild a mt_wifi.ko.
    Many thanks.


Log in to reply
 

Looks like your connection to Community was lost, please wait while we try to reconnect.