teaco

teaco

0个粉丝

1

问答

0

专栏

0

资料

teaco  发布于  2017-07-21 11:12:26
采纳率 0%
1个问答
3532

hi3536内核打开net filter配置后启动报错。

 
我用原版的内核可以正常启动,板子硬件确定是好的,在内核里就只是开启了nat功能,我想用iptables实现转发:
  • Network packet filtering framework (Netfilter)  --->
    然后内核启动时就报错了。请问有人遇到过这个问题,请指点一下,谢谢!!

    //////////////////////////////////////////////////////////////////////
    ACTION:change
    STMMAC driver:
            platform registration...
            done!
            done!
            DWMAC1000 - user ID: 0x10, Synopsys ID: 0x36
            Enhanced descriptor structure
    MACADDR in get is ff:ff:ff:ff:ff:ff
            no valid MAC address for MAC 0;please, use ifconfig or nwhwconfig!
    stmmac_associate_phy: phy 0 mode=6
            eth0 - (dev. name: stmmaceth - id: 0, IRQ #55
            IO base addr: 0xfc020000)
    libphy: STMMAC MII Bus: probed
    eth0: PHY ID 001cc915 at 0 IRQ 0 (1:00)
    eth0: PHY ID 001cc915 at 1 IRQ -6 (1:01) active
    eth0: PHY ID 001cc915 at 2 IRQ 0 (1:02)
            DWMAC1000 - user ID: 0x10, Synopsys ID: 0x36
            Enhanced descriptor structure
    MACADDR in get is ff:ff:ff:ff:ff:ff
            no valid MAC address for MAC 1;please, use ifconfig or nwhwconfig!
    stmmac_associate_phy: phy 1 mode=6
            eth1 - (dev. name: stmmaceth - id: 0, IRQ #55
            IO base addr: 0xfc024000)
    eth1: PHY ID 001cc915 at 0 IRQ 0 (1:00)
    eth1: PHY ID 001cc915 at 1 IRQ -6 (1:01)
    eth1: PHY ID 001cc915 at 2 IRQ 0 (1:02) active
    stmmac_reset: RESET COMPLETE!

    **************************************************
    *  TNK driver built on Jul 12 2017 at 08:54:40
    *  TNK driver mode is TOE
    **************************************************
    stmmac: Rx Checksum Offload Engine supported
            TX Checksum insertion supported
    stmmac: Rx Checksum Offload Engine supported
            TX Checksum insertion supported
    Unable to handle kernel paging request at virtual address 55555555
    pgd = c6c60000
    [55555555] *pgd=00000000
    Internal error: Oops: 5 [#1] SMP ARM
    Modules linked in: stmmac(+)
    CPU: 1 PID: 866 Comm: insmod Not tainted 3.10.0_hi3536 #35
    task: c73e2c00 ti: c6c72000 task.ti: c6c72000
    PC is at __kmalloc_track_caller+0x44/0x120
    LR is at 0x176000
    pc : []    lr : [<00176000>]    psr: 20000013
    sp : c6c73cb8  ip : c0724280  fp : bf02cecc
    r10: 000006d0  r9 : bf01cb58  r8 : 00000008
    r7 : 00010220  r6 : c0404120  r5 : 55555555  r4 : c7801c00
    r3 : 00000000  r2 : c0404120  r1 : 00010220  r0 : c7801c00
    Flags: nzCv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment user
    Control: 10c5387d  Table: 46c6006a  DAC: 00000015

    PC: 0xc00bd380:
    d380  eaffff74 e596200c e3020510 e1d6e1be e34c0065 e596c014 e5961040 e1a03002
    d3a0  e58d7008 e58de000 e58dc004 eb121951 e3a03000 e5863018 eaffff23 e3500a02
    d3c0  e92d43f8 e1a07001 8a00003a e1a06002 ebff9f71 e3500010 e1a04000 9a000034
    d3e0  e594c000 ee1def90 e08e300c e5938004 e79e500c e3550000 0a00001f e5943014
    d400  e7951003 e10f0000 f10c0080 e5942000 e3a0c000 ee1def90 e1a03002 e79e9003
    d420  e1550009 0a000008 e121f000 e35c0000 0affffea e5943014 f7d1f003 e3170902
    d440  1a000016 e1a00005 e8bd83f8 e2822004 e79e2002 e1580002 1afffff2 e78e1003
    d460  e2888001 e5943000 e3a0c001 ee1d2f90 e2833004 e7828003 eaffffea e1a02006

    SP: 0xc6c73c38:
    3c38  c7a5af00 c7801e00 c087fb40 c00ba854 00150015 00000000 80150015 c0880c60
    3c58  c00bd400 20000013 ffffffff c6c73ca4 00000008 c0012b58 c7801c00 00010220
    3c78  c0404120 00000000 c7801c00 55555555 c0404120 00010220 00000008 bf01cb58
    3c98  000006d0 bf02cecc c0724280 c6c73cb8 00176000 c00bd400 20000013 ffffffff
    3cb8  00000000 c6c73cf7 00000220 c7801e00 c0404120 00000800 bf01cb58 c040406c
    3cd8  c7a5a0c0 00000220 c7801e00 00000749 00000000 c0404120 bf02cecc 00000000
    3cf8  0000070a c6c03408 c6c03008 bf02ced4 00000002 bf00d2a0 bf02ce80 bf00d86c
    3d18  00000008 bf02ce80 bf01cb58 c89c6000 bf02ced4 bf011328 00000000 a0000013

    IP: 0xc0724200:
    4200  00000000 00000000 00000000 00000000 c0035ad4 00000000 00000000 00000000
    4220  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
    4240  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
    4260  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
    4280  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
    42a0  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
    42c0  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
    42e0  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000

    R0: 0xc7801b80:
    1b80  c0724290 00000000 00000006 00001000 00001000 00000000 00000002 00030008
    1ba0  00030008 00000001 00004000 00000002 00000000 00001000 00000040 00000000
    1bc0  c78021c0 c7801c44 c7801b44 c7948340 c7801c50 c7801b50 c794364c c7943640
    1be0  c073e6f4 c79483c0 00000001 00000007 c7800e00 72c056d0 970b1271 01a2330a
    1c00  c0724280 00000000 00000005 00000800 00000800 00000000 00000006 00030010
    1c20  00030010 00000002 00004000 00000003 00000000 00000800 00000040 00000000
    1c40  c7802180 c7801cc4 c7801bc4 c7948bc0 c7801cd0 c7801bd0 c794364c c7943640
    1c60  c073e6f4 c7948c40 00000001 00000007 c7800e40 89171fdc 10a82524 c4156c54

    R2: 0xc04040a0:
    40a0  e1a01005 e1a02007 ebf2e4c3 e3a03001 e1a06000 eaffffef e92d41f0 e3043934
    40c0  e2128001 e34c3073 e24dd008 e1a07000 15936004 e1a05001 05936000 e3003a80
    40e0  e34c3078 e5933000 e3530000 1a00003a e1a00006 e3c51001 ebf2def0 e2504000
    4100  0a00002d f5d4f000 e287703f e1a01005 e3c7003f e28d2007 e28000c0 ebffffc9
    4120  e2505000 0a000027 ebf2d447 e24060c0 e1a07000 e0856006 f5d6f000 e3a010a0
    4140  e1a00004 ebfb0b65 e5d43082 e5dd2007 e28710c0 e58450a8 e3a07001 e58410b0
    4160  e7c23112 e58450ac e1a00006 e58450a0 e3a01024 e58460a4 e5c43082 e58470b4
    4180  ebfb0b56 e3580000 e5867024 0a00000a e5d41065 e5d4211d e5d4313a e7c41197

    R4: 0xc7801b80:
    1b80  c0724290 00000000 00000006 00001000 00001000 00000000 00000002 00030008
    1ba0  00030008 00000001 00004000 00000002 00000000 00001000 00000040 00000000
    1bc0  c78021c0 c7801c44 c7801b44 c7948340 c7801c50 c7801b50 c794364c c7943640
    1be0  c073e6f4 c79483c0 00000001 00000007 c7800e00 72c056d0 970b1271 01a2330a
    1c00  c0724280 00000000 00000005 00000800 00000800 00000000 00000006 00030010
    1c20  00030010 00000002 00004000 00000003 00000000 00000800 00000040 00000000
    1c40  c7802180 c7801cc4 c7801bc4 c7948bc0 c7801cd0 c7801bd0 c794364c c7943640
    1c60  c073e6f4 c7948c40 00000001 00000007 c7800e40 89171fdc 10a82524 c4156c54

    R6: 0xc04040a0:
    40a0  e1a01005 e1a02007 ebf2e4c3 e3a03001 e1a06000 eaffffef e92d41f0 e3043934
    40c0  e2128001 e34c3073 e24dd008 e1a07000 15936004 e1a05001 05936000 e3003a80
    40e0  e34c3078 e5933000 e3530000 1a00003a e1a00006 e3c51001 ebf2def0 e2504000
    4100  0a00002d f5d4f000 e287703f e1a01005 e3c7003f e28d2007 e28000c0 ebffffc9
    4120  e2505000 0a000027 ebf2d447 e24060c0 e1a07000 e0856006 f5d6f000 e3a010a0
    4140  e1a00004 ebfb0b65 e5d43082 e5dd2007 e28710c0 e58450a8 e3a07001 e58410b0
    4160  e7c23112 e58450ac e1a00006 e58450a0 e3a01024 e58460a4 e5c43082 e58470b4
    4180  ebfb0b56 e3580000 e5867024 0a00000a e5d41065 e5d4211d e5d4313a e7c41197
    Process insmod (pid: 866, stack limit = 0xc6c72238)
    Stack: (0xc6c73cb8 to 0xc6c74000)
    3ca0:                                                       00000000 c6c73cf7
    3cc0: 00000220 c7801e00 c0404120 00000800 bf01cb58 c040406c c7a5a0c0 00000220
    3ce0: c7801e00 00000749 00000000 c0404120 bf02cecc 00000000 0000070a c6c03408
    3d00: c6c03008 bf02ced4 00000002 bf00d2a0 bf02ce80 bf00d86c 00000008 bf02ce80
    3d20: bf01cb58 c89c6000 bf02ced4 bf011328 00000000 a0000013 bf016d00 00000002
    3d40: 00000000 fc020000 00000000 00000400 00000400 bf01c2b0 00000ffc bf01ccc0
    3d60: bf01c4c0 bf003e1c 472f0000 00000000 c73e2c00 c7a58000 bf01ccc0 bf01c6d0
    3d80: bf02ce3c bf01cd5c c0737544 00000008 c07390f0 bf01c4d0 c0771600 bf01c4c0
    3da0: 00000400 bf01c2b0 bf01c4d8 c077d9f0 bf01c4d0 bf01c504 bf01c64c c0761f40
    3dc0: bf049000 c6d23200 00000000 c030f158 00000000 bf01c4d0 bf01c64c bf01c504
    3de0: 00000000 c030f3c4 00000000 bf01c64c c030f338 c030d72c c780ec5c c73406b4
    3e00: bf01c64c c7340880 c0747b68 c030e9b0 bf01810c bf01cb68 bf01c64c bf01c64c
    3e20: bf01cb74 bf01cb68 00000001 c030f9d0 00000000 bf01cb74 bf01cb68 00000001
    3e40: c0761f40 bf049044 c6c73f58 c00086ec c0864960 00000000 c0864960 c6c72010
    3e60: c8982000 8040003d c73f03c0 c8982000 00000001 00000001 c6d231c0 c6c73f58
    3e80: bf01cb74 bf01cb68 00000001 00000001 c6d231c0 c6d23200 bf01cbb0 c006cd0c
    3ea0: bf01cb74 00007fff c0069abc a0000013 c07260c0 00000000 c8982000 00000000
    3ec0: bf01cbb0 c6d231c8 c0733cf8 c6c72020 bf01cb74 c6c73ef4 c0043ed0 c0031bd0
    3ee0: c73e2c00 ffffffff 00000000 c0780870 00000000 bf016378 00000005 00000000
    3f00: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
    3f20: 00000000 00000000 00000000 00000000 c6c72000 0003363d b6d95008 0038f008
    3f40: 00000080 c0013128 c6c72000 00000000 0000030f c006d34c c8982000 0003363d
    3f60: c899fa14 c899f838 c89b1374 0003d0c0 00043320 00000000 00000000 00000000
    3f80: 0000002c 0000002d 00000023 00000000 0000001b 00000000 0003363d be830f83
    3fa0: 000bbdac c0012f80 0003363d be830f83 b6d95008 0003363d 0038f008 be830f83
    3fc0: 0003363d be830f83 000bbdac 00000080 00000000 00000000 000e2858 0000030f
    3fe0: be830cd0 be830cc0 000277b0 b6e91180 60000010 b6d95008 c8c08ff8 c8c08ff8
    [] (__kmalloc_track_caller+0x44/0x120) from [] (__kmalloc_reserve.isra.45+0x24/0x70)
    [] (__kmalloc_reserve.isra.45+0x24/0x70) from [] (__alloc_skb+0x68/0x130)
    [] (__alloc_skb+0x68/0x130) from [] (tnk_alloc_skb+0x14/0x40 [stmmac])
    [] (tnk_alloc_skb+0x14/0x40 [stmmac]) from [] (tnkhw_alloc_and_map_skb+0x18/0xec [stmmac])
    [] (tnkhw_alloc_and_map_skb+0x18/0xec [stmmac]) from [] (tnkhw_init+0x4a4/0xa64 [stmmac])
    [] (tnkhw_init+0x4a4/0xa64 [stmmac]) from [] (stmmac_dvr_probe+0xd24/0x1028 [stmmac])
    [] (stmmac_dvr_probe+0xd24/0x1028 [stmmac]) from [] (driver_probe_device+0x78/0x214)
    [] (driver_probe_device+0x78/0x214) from [] (__driver_attach+0x8c/0x90)
    [] (__driver_attach+0x8c/0x90) from [] (bus_for_each_dev+0x60/0x94)
    [] (bus_for_each_dev+0x60/0x94) from [] (bus_add_driver+0x1c0/0x24c)
    [] (bus_add_driver+0x1c0/0x24c) from [] (driver_register+0x78/0x140)
    [] (driver_register+0x78/0x140) from [] (stmmac_init_module+0x44/0x78 [stmmac])
    [] (stmmac_init_module+0x44/0x78 [stmmac]) from [] (do_one_initcall+0x108/0x158)
    [] (do_one_initcall+0x108/0x158) from [] (load_module+0x1908/0x1e6c)
    [] (load_module+0x1908/0x1e6c) from [] (SyS_init_module+0xdc/0xf0)
    [] (SyS_init_module+0xdc/0xf0) from [] (ret_fast_syscall+0x0/0x30)
    Code: e79e500c e3550000 0a00001f e5943014 (e7951003)
    ---[ end trace cf5d4143c516c496 ]---
    Segmentation fault
    Hisilicon Media Memory Zone Manager
    Module himedia: init ok
    hi3536_base: module license 'Proprietary' taints kernel.
    load sys.ko for Hi3536...OK!
    load vdec.ko ....OK
    load vhd firmware.ko OK
    Load hi_jpegdec.ko success.     (SDK_VERSION:[SDK_VERSION] Build Time:[Jun 14 2016, 09:15:49])
    Load hi_tde.ko success.         (SDK_VERSION:[SDK_VERSION] Build Time:[Jun 14 2016, 09:15:34])
    load region.ko ....OK!
    load vgs.ko for Hi3536...OK!
    load viu.ko ...OK!
    load vpss.ko ....OK!
    load vou.ko ....OK!
    load rc.ko for Hi3536...OK!
    load venc.ko for Hi3536...OK!
    load chnl.ko for Hi3536...OK!
    load h264e.ko for Hi3536...OK!
    load jpege.ko for Hi3536...OK!
    load vda.ko ....OK!
    load ive.ko ... OK!
    HDMI_1080P30
    0x63 = 0x40
    acodec inited!
    load tlv320aic31.ko for Hi3536 ok!
    insert audio
    Auto login as root ...
    login[1109]: root login on 'ttyS000'
    Welcome to HiLinux.
    None of nfsroot found in cmdline.
    ~ #
  • 我来回答
    回答5个
    时间排序
    认可量排序

    cowboy

    0个粉丝

    9

    问答

    0

    专栏

    5

    资料

    cowboy 2017-07-21 14:12:47
    认可0
    20D上好像也有这个问题,会报一个soft irq的错误,但是能 继续运行

    teaco

    0个粉丝

    1

    问答

    0

    专栏

    0

    资料

    teaco 2017-07-22 14:41:36
    认可0
    解决了,编译一下就可以了,这是海思SDK的一个小坑。

    ttbasket

    0个粉丝

    3

    问答

    0

    专栏

    0

    资料

    ttbasket 2018-04-19 16:10:26
    认可0
    iptables好用了么??

    blacktangel

    0个粉丝

    12

    问答

    0

    专栏

    0

    资料

    blacktangel 2018-04-19 20:26:09
    认可0
    STMMAC 编译内核和模块的时候会重新生成。 好像必须用重新生成的

    blacktangel

    0个粉丝

    12

    问答

    0

    专栏

    0

    资料

    blacktangel 2018-04-19 20:27:11
    认可0
    [quote][url=forum.php?mod=redirect&goto=findpost&pid=86786&ptid=18170]ttbasket 发表于 2018-4-19 16:10[/url]
    iptables好用了么??[/quote]

    路由器玩家必备
    或将文件直接拖到这里
    悬赏:
    E币
    网盘
    * 网盘链接:
    * 提取码:
    悬赏:
    E币

    Markdown 语法

    • 加粗**内容**
    • 斜体*内容*
    • 删除线~~内容~~
    • 引用> 引用内容
    • 代码`代码`
    • 代码块```编程语言↵代码```
    • 链接[链接标题](url)
    • 无序列表- 内容
    • 有序列表1. 内容
    • 缩进内容
    • 图片![alt](url)
    + 添加网盘链接/附件

    Markdown 语法

    • 加粗**内容**
    • 斜体*内容*
    • 删除线~~内容~~
    • 引用> 引用内容
    • 代码`代码`
    • 代码块```编程语言↵代码```
    • 链接[链接标题](url)
    • 无序列表- 内容
    • 有序列表1. 内容
    • 缩进内容
    • 图片![alt](url)
    举报反馈

    举报类型

    • 内容涉黄/赌/毒
    • 内容侵权/抄袭
    • 政治相关
    • 涉嫌广告
    • 侮辱谩骂
    • 其他

    详细说明

    易百纳技术社区