忘记密码   免费注册 查看新帖 | 论坛精华区

ChinaUnix.net

  平台 论坛 博客 认证专区 大话IT HPC论坛 徽章 文库 沙龙 自测 下载 频道自动化运维 虚拟化 储存备份 C/C++ PHP MySQL 嵌入式 Linux系统
最近访问板块 发新帖
查看: 1459 | 回复: 2

有关br_nf_pre_routing_finish方面的panic,请高手帮忙看一下! [复制链接]

论坛徽章:
0
发表于 2017-03-17 14:24 |显示全部楼层
root@GT3200:~# Unable to handle kernel NULL pointer dereference at virtual address 0000000c
pgd = c8f18000
[0000000c] *pgd=0bd94831, *pte=00000000, *ppte=00000000
Internal error: Oops: 17 [#1] SMP ARM
Modules linked in: subscribe nf_nat_pptp nf_conntrack_pptp nf_nat_proto_gre nf_conntrack_proto_gre diag mmp(P) zaptel ipsec(O) vap rtnet5390ap(O) rt5390ap(O) rtutil5390ap(O) wifibutton restore nm_internet(O) nf_session(O) nm_conn_stats(O) nm_pae_media(O) nm_pae_baiduplayer(O) nm_pae_xmp(O) nm_pae_stormplayer(O) nm_pae_namirobot(O) nm_pae_yy(O) nm_pae_posthttp(O) nm_pae_funshion(O) nm_pae_realplay(O) nm_pae_web_video(O) nm_pae_wangwang(O) nm_pae_qqxuanfeng(O) nm_pae_uusee(O) nm_pae_web_mail(O) nm_pae_thunder(O) nm_pae_stock(O) nm_pae_sip(O) nm_pae_sinauc(O) nm_pae_rtsp(O) nm_pae_qvod(O) nm_pae_qqlive(O) nm_pae_pplive(O) nm_pae_portip(O) nm_pae_popo(O) nm_pae_p2p(O) nm_pae_msnft(O) nm_pae_kugoo(O) nm_pae_game(O) nm_pae_flashget(O) nm_pae_ftp(O) nm_pae_flash(O) nm_pae_fetion(O) nm_pae_emule(O) nm_pae_domain(O) nm_pae_bt(O) nm_pae_igmp(O) nm_filter_rule2(O) nm_filter_file(O) nm_filter_core(O) nm_pae_url(O) nm_pae_sdfa(O) nm_pae_core(O) nm_pushweb(O) nf_rtnet(O) nf_direction(O) net_monitor(O) kernel_mmatch(O) nf_fastpath_software nf_fastpath_conf nf_fastpath_core port_control act_police pptp(O) ip6t_rt ip6t_hbh ip6t_frag ip6t_ah ip6table_mangle ip6table_filter ip6_tables ip6_queue arpt_mangle arptable_filter cast6 cast5 aes_generic serpent_generic twofish_generic twofish_common blowfish_generic blowfish_common des_generic hwport switch_qca8337n switch_mv6085 switch_core ip6t_rpfilter ip6t_mh ip6t_ipv6header ip6t_flowlbl(O) ip6t_eui64 ip6t_REJECT ip6t_FLOWLBL(O) ebtable_filter ebtable_broute ebt_vlan ebt_phyport ebt_ip6 ebt_ip xt_vlanpri(O) xt_vlan(O) xt_time xt_tcpmss xt_string xt_state xt_portrange(O) xt_pkttype xt_physdev xt_phyport(O) xt_multiproto(O) xt_multiport xt_mark xt_mac xt_limit xt_length xt_iprange xt_helper xt_esp xt_dscprange(O) xt_dscp xt_dot1p(O) xt_conntrack xt_connmark xt_connbytes xt_TCPMSS xt_QACTION(O) xt_NOTRACK xt_NEWQUEUE(O) xt_MAP(O) xt_LOG xt_DSCP xt_DOT1P(O) xt_CLASSIFY cls_u32 cls_tcindex cls_rsvp6 cls_rsvp cls_route cls_fw cls_flow cls_basic sch_teql sch_tbf sch_sfq sch_sfb sch_red sch_qfq sch_prio sch_plug sch_phtb sch_per sch_netem sch_multiq sch_mqprio sch_htb sch_hfsc sch_gred sch_dsmark sch_drr sch_choke sch_cbq iptable_raw ipt_time(O) ipt_psd(O) ipt_newmac(O) ipt_multiif(O) ipt_monitor(O) ipt_direction(O) ipt_ah ipt_ULOG ipt_REDIRECT ipt_NETMAP ipt_ECN [last unloaded: nf_conntrack_rtsp]
CPU: 0    Tainted: P           O  (3.4.69 #2)
PC is at br_nf_pre_routing_finish+0x20/0x314
LR is at br_nf_pre_routing+0x5c4/0x5fc
pc : [<c05bf078>]    lr : [<c05bf980>]    psr: 60000113
sp : cbd55c68  ip : cbd55cc0  fp : cbd55cbc
r10: cc7e5800  r9 : 00000000  r8 : 00000000
r7 : 00000000  r6 : 00000000  r5 : 00000000  r4 : cd02bc80
r3 : 000005d0  r2 : 00000300  r1 : 00000000  r0 : cd02bc80
Flags: nZCv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment user
Control: 10c53c7d  Table: 08f1804a  DAC: 00000015
Process grep (pid: 1662, stack limit = 0xcbd542f0)
Stack: (0xcbd55c68 to 0xcbd56000)
5c60:                   c051113c bf442474 00000000 c05bf058 80000000 80000000
5c80: cf800140 cd02bc80 cbd55cbc bf442748 c01b9f84 cd02bc80 cd02bc80 c3f00a54
5ca0: c0864c88 cd02bc80 00000000 cc7e5800 cbd55cf4 cbd55cc0 c05bf980 c05bf064
5cc0: 00000000 c05bf058 80000000 d2f45288 cbd55cec cbd55d4c c0866ec4 c0864c88
5ce0: cd02bc80 00000000 cbd55d2c cbd55cf8 c0511018 c05bf3c8 c05b8f48 c3f00a46
5d00: d2f43040 cd02bc80 00000007 00000000 cbd55d4c cc7e5800 cbd54000 c0864c88
5d20: cbd55d7c cbd55d30 c05110f4 c0510fc8 00000000 cbd55d4c c05b8f48 80000000
5d40: cbd55dbc cd02bc80 cc6fb400 c0866ec4 cbd54000 cd02bc80 00000000 00000003
5d60: cc6fb400 c084cb64 cbd54000 cbd54000 cbd55dac cbd55d80 c05b9578 c0511064
5d80: 00000000 c05b8f48 80000000 00000001 c05b929c cf972000 00000001 00000000
5da0: cbd55df4 cbd55db0 c04ea994 c05b92a8 c08643e8 cf879180 0000000e cd02bc80
5dc0: cbd54000 c08643ec cbd55df4 cd02bc80 c08643e8 cf879180 0000000e 00000000
5de0: cbd54000 cf972400 cbd55e24 cbd55df8 c04eb6a0 c04ea618 dcb71477 14ac8a93
5e00: 00000045 00000020 00000001 00000001 00000003 00000000 cbd55e3c cbd55e28
5e20: c04ed8c8 c04eb618 00000000 cd02bc80 cbd55e64 cbd55e40 c04ed9e4 c04ed8a0
5e40: 00852d7d cd02bc80 cf972000 cd2a5500 c08c2ca8 00000048 cbd55ee4 cbd55e68
5e60: c005f5ec c04ed8f4 cbd55fb0 c0863d00 cbd55f0c cf9720f8 00000000 cfb09480
5e80: 00000003 cf879180 cfb08800 00000000 00000040 000b0300 00000000 00000011
5ea0: 00000001 c08c2ccc cf972000 0000000c cbd55efc cbd55ec0 c017e138 cf879180
5ec0: c4205b40 00000001 0000012c 00000040 c4205b48 c08b3d62 cbd55f1c cbd55ee8
5ee0: c04eb87c c005ec88 c084b8f8 00003c65 cbd55f1c cbd54000 00000001 c085008c
5f00: 00000100 00000009 c084b8f8 c0a40000 cbd55f5c cbd55f20 c013bc54 c04eb7fc
5f20: c001a5b4 c0851040 00000003 00000000 cbd55f64 cbd54000 00000000 c0863d00
5f40: b6e9fed5 00000000 b6fd2930 00000001 cbd55f74 cbd55f60 c013c0c4 c013bbc0
5f60: c017aa70 0000001d cbd55f8c cbd55f78 c000e618 c013c084 fbb0c100 cbd55fb0
5f80: cbd55fac cbd55f90 c0008528 c000e5a0 00000011 b6fc7888 20000010 ffffffff
5fa0: 00000000 cbd55fb0 c0616d00 c00084f8 00000011 00860000 00000043 00a6ffdb
5fc0: b6fd2168 06eeffdb b6fd206c b6e9fed5 00000000 b6fd2930 00000001 bec52844
5fe0: bec52858 bec52808 b6fc907c b6fc7888 20000010 ffffffff 00000000 00000000
Backtrace:
[<c05bf058>] (br_nf_pre_routing_finish+0x0/0x314) from [<c05bf980>] (br_nf_pre_routing+0x5c4/0x5fc)
[<c05bf3bc>] (br_nf_pre_routing+0x0/0x5fc) from [<c0511018>] (nf_iterate+0x5c/0x9c)
r8:00000000 r7:cd02bc80 r6:c0864c88 r5:c0866ec4 r4:cbd55d4c
[<c0510fbc>] (nf_iterate+0x0/0x9c) from [<c05110f4>] (nf_hook_slow+0x9c/0x1c4)
[<c0511058>] (nf_hook_slow+0x0/0x1c4) from [<c05b9578>] (br_handle_frame+0x2dc/0x32c)
[<c05b929c>] (br_handle_frame+0x0/0x32c) from [<c04ea994>] (__netif_receive_skb+0x388/0x514)
r7:00000000 r6:00000001 r5:cf972000 r4:c05b929c
[<c04ea60c>] (__netif_receive_skb+0x0/0x514) from [<c04eb6a0>] (netif_receive_skb+0x94/0xa0)
[<c04eb60c>] (netif_receive_skb+0x0/0xa0) from [<c04ed8c8>] (napi_skb_finish+0x34/0x54)
r5:00000000 r4:00000003
[<c04ed894>] (napi_skb_finish+0x0/0x54) from [<c04ed9e4>] (napi_gro_receive+0xfc/0x104)
r4:cd02bc80 r3:00000000
[<c04ed8e8>] (napi_gro_receive+0x0/0x104) from [<c005f5ec>] (mv_pp2_poll+0x970/0xdd0)
r8:00000048 r7:c08c2ca8 r6:cd2a5500 r5:cf972000 r4:cd02bc80
r3:00852d7d
[<c005ec7c>] (mv_pp2_poll+0x0/0xdd0) from [<c04eb87c>] (net_rx_action+0x8c/0x170)
[<c04eb7f0>] (net_rx_action+0x0/0x170) from [<c013bc54>] (__do_softirq+0xa0/0x13
[<c013bbb4>] (__do_softirq+0x0/0x13 from [<c013c0c4>] (irq_exit+0x4c/0x90)
[<c013c078>] (irq_exit+0x0/0x90) from [<c000e618>] (handle_IRQ+0x84/0xc4)
r4:0000001d r3:c017aa70
[<c000e594>] (handle_IRQ+0x0/0xc4) from [<c0008528>] (gic_handle_irq+0x3c/0x6
r5:cbd55fb0 r4:fbb0c100
[<c00084ec>] (gic_handle_irq+0x0/0x6 from [<c0616d00>] (__irq_usr+0x40/0x60)
Exception stack(0xcbd55fb0 to 0xcbd55ff
5fa0:                                     00000011 00860000 00000043 00a6ffdb
5fc0: b6fd2168 06eeffdb b6fd206c b6e9fed5 00000000 b6fd2930 00000001 bec52844
5fe0: bec52858 bec52808 b6fc907c b6fc7888 20000010 ffffffff
r6:ffffffff r5:20000010 r4:b6fc7888 r3:00000011
Code: e590507c e1a04000 e5907014 e59060ac (e595300c)
---[ end trace 5607ba328993a29a ]---
Kernel panic - not syncing: Fatal exception in interrupt
CPU1: stopping
Backtrace:
[<c001147c>] (dump_backtrace+0x0/0x11 from [<c060e17c>] (dump_stack+0x18/0x20)
r6:c0863d00 r5:00000001 r4:c08b4154 r3:c084b384
[<c060e164>] (dump_stack+0x0/0x20) from [<c0012ca0>] (handle_IPI+0x104/0x184)
[<c0012b9c>] (handle_IPI+0x0/0x184) from [<c0008544>] (gic_handle_irq+0x58/0x6
r5:cbcbdeb0 r4:fbb0c100
[<c00084ec>] (gic_handle_irq+0x0/0x6 from [<c0616b80>] (__irq_svc+0x40/0x50)
Exception stack(0xcbcbdeb0 to 0xcbcbdef
dea0:                                     fffffeef 039c1000 00000001 00000000
dec0: cbcbc000 00000000 cf4b86c0 cade8e00 c0864320 cbcbc000 00000000 cbcbdf0c
dee0: cbcbdf10 cbcbdef8 c05790b4 c013bfec 60000013 ffffffff
r6:ffffffff r5:60000013 r4:c013bfec r3:c05790b4
[<c013bf4c>] (local_bh_enable+0x0/0xc4) from [<c05790b4>] (unix_create1+0xfc/0x14c)
r4:c0a577dc r3:c084c334
[<c0578fb8>] (unix_create1+0x0/0x14c) from [<c0579170>] (unix_create+0x6c/0x94)
r7:c08aa480 r6:00000000 r5:cf4b86c0 r4:c067bab0
[<c0579104>] (unix_create+0x0/0x94) from [<c04db674>] (__sock_create+0x10c/0x18c)
[<c04db568>] (__sock_create+0x0/0x18c) from [<c04db78c>] (sock_create+0x50/0x5
r8:c000d888 r7:00000119 r6:b6ec13cc r5:00000002 r4:00000001
r3:00000000
[<c04db73c>] (sock_create+0x0/0x58) from [<c04db914>] (sys_socket+0x34/0x70)
r4:00000002
[<c04db8e0>] (sys_socket+0x0/0x70) from [<c000d6e0>] (ret_fast_syscall+0x0/0x30)
r5:00000002 r4:ffffffff
Rebooting in 1 seconds..
Reseting...

论坛徽章:
0
发表于 2017-06-11 10:08 |显示全部楼层
此问题应该是分片包导致的,你先把出问题的报文抓下,然后用播放器播放报文,能必现,然后再慢慢调试,应该就可以了。

论坛徽章:
0
发表于 2017-06-11 15:44 |显示全部楼层
另外,3.14.18之后的内核已经修复了此问题,主要是nf_ct_defrag_user这个函数实现不同。
您需要登录后才可以回帖 登录 | 注册

本版积分规则

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号 北京市公安局海淀分局网监中心备案编号:11010802020122
广播电视节目制作经营许可证(京) 字第1234号 中国互联网协会会员  联系我们:
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP