免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 1951 | 回复: 2

[内存管理] 添加了一些内核调试选项,运行数据业务,常出现下面的堆栈,求大神帮忙分析下,感觉无 [复制链接]

论坛徽章:
0
发表于 2013-07-02 08:30 |显示全部楼层
ICORE CN5650-NSP pass 2.1, Core clock: 750 MHz, DDR clock: 399 MHz (798 Mhz data rate)
DRAM:  4096 MB--- 10.30.40.6 ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 15.620/15.620/15.620/0.000 ms
[root@ac-nd01 /]#[17181379.864000] ulModuleId=2 ulMsgType=2019
[17181381.068000] capwap_pkt_wlanbss_recv (769) :recv arp ! irq is 0 irq1 is 100 preempt count 0x00000100
[17181381.096000] capwap_pkt_wlanbss_send (592) :send arp ! irq is 0 irq1 is 200 preempt count 0x00000200
[17181381.124000] CPU 2 Unable to handle kernel paging request at virtual address 00000000000000d0, epc == ffffffff8014cad0, ra == ffffffff8014cad8
[17181381.164000] Oops[#1]:
[17181381.172000] Cpu 2
[17181381.176000] $ 0   : 0000000000000000 ffffffff80133560 a80000000e9f5000 0000000000000000
[17181381.200000] $ 4   : a8000000030c0110 0000000000000000 00000000000000d0 ffffffff808059c8
[17181381.228000] $ 8   : 0000000000000002 ffffffff80870000 c000000000147fd4 ffffffff80870000
[17181381.252000] $12   : 000000001010cce0 000000001000001e 0000000000390000 0000000000390000
[17181381.276000] $16   :<1>CPU 1 Unable to handle kernel paging request at virtual address 00000002aabcc3b8, epc == ffffffff8015c018, ra == ffffffff8015f6a4
[17181381.320000]  a8000000030c0110 00000000000000d0 0000000000000000 0000000000000001
[17181381.340000] $20   : ffffffff80429810 2000ff8400410068 0000000000000000 0000000000000000
[17181381.368000] $24   : ffffffff80870000 ffffffff80860000                                 
[17181381.392000] $28   : a8000000030c0000 a8000000030c0040 a8000000030c0040 ffffffff8014cad8
[17181381.416000] Hi    : 0000000000000000
[17181381.428000] Lo    : 0000000000000000
[17181381.440000] epc   : ffffffff8014cad0 do_page_fault+0x40/0x460     Tainted: P     
[17181381.464000] ra    : ffffffff8014cad8 do_page_fault+0x48/0x460
[17181381.480000] Status: 1010cce2    KX SX UX KERNEL EXL
[17181381.496000] Cause : 80000008
[17181381.504000] BadVA : 00000000000000d0
[17181381.516000] PrId  : 000d0409
[17181381.528000] Modules linked in: sysmon tipc capwap l3fw l2fw cavium_ethernet hsl_bcm liteproc linux_bcm_diag(P) linux_uk_proxy(P) linux_bcm_core(P) linux_kernel_bde(P)capwap_pkt_wlanbss_recv (769) :recv arp ! irq is 0 irq1 is 100 preempt count 0x00000100
[17181381.596000]  ipmi_cc ioaccess ipv6
[17181381.608000] Process ksoftirqd/2 (pid: 7, threadinfo=a8000000030bc000, task=a8000000030b63c0)
[17181381.632000] Stack : 0000000000000000 0000000000000000 0000000000000000 0000000000000000
[17181381.656000]         0000000000000000 0000000000000000 0000000000000000 0000000000000000
[17181381.680000]         0000000000000000 0000000000000000 0000000000000000 0000000000000000
[17181381.708000]         0000000000000000 0000000000000000 0000000000000000 0000000000000000
[17181381.732000]         a8000000030c0340 00000000000000d0 0000000000000000 0000000000000001
[17181381.756000]         ffffffff80429810 2000ff8400410068 0000000000000000 0000000000000000
[17181381.780000]         a8000000030c0270 ffffffff80133560 0000000000000000 ffffffff80133560
[17181381.808000]         a80000000e9f5000 0000000000000000 a8000000030c0340 0000000000000000
[17181381.832000]         00000000000000d0 ffffffff808059c8 0000000000000002 ffffffff80870000
[17181381.856000]         c000000000147fd4 ffffffff80870000 000000001010cce0 000000001000001e
[17181381.880000]         ...
[17181381.892000] Call Trace:
[17181381.900000] [<ffffffff8014cad0>] do_page_fault+0x40/0x460
[17181381.916000]
[17181381.920000]
[17181381.920000] Code: ffb30098  ffb20090  df920000 <0c056abe> de5500d0  1040000f  24020001  03c0e82d  dfbf00c8
[17181381.956000] Oops[#2]:
[17181381.964000] Cpu 1
[17181381.964000] $ 0   : 0000000000000000 000000001010cce0 00000002aabcc3b8 ffffffff81b91200
[17181381.964000] $ 4   : ffffffff81b91200 ffffffff81b94018 a8000000030c2440 a80000000c2d2940
[17181381.964000] $ 8   : 0000000000000001 0000000000000027 0000000000000001 00000000000005b3
[17181381.964000] $12   : 0000000000000b66 a800000081395180 ffffffff81b90000 a800000003860000
[17181381.964000] $16   : 0000000000000001 a80000000c2d2940 a800000002f26380 0000000000000001
[17181381.964000] $20   : 0000000000000000 0000000000000002 0000000000000001 a800000003fb2a08
[17181381.964000] $24   : 0000000000000001 a800000005138000                                 
[17181381.964000] $28   : a800000003860000 a800000003863a80 a800000003863a90 ffffffff8015f6a4
[17181381.964000] Hi    : 0000000000000000
[17181381.964000] Lo    : 00000000000005b3
[17181381.964000] epc   : ffffffff8015c018 resched_task+0x50/0xf8     Tainted: P     
[17181381.964000] ra    : ffffffff8015f6a4 try_to_wake_up+0x3d4/0x4f8
[17181381.964000] Status: 1010cce2    KX SX UX KERNEL EXL
[17181381.964000] Cause : 00000008
[17181381.964000] BadVA : 00000002aabcc3b8
[17181381.964000] PrId  : 000d0409
[17181381.964000] Modules linked in: sysmon tipc capwap l3fw l2fw cavium_ethernet hsl_bcm liteproc linux_bcm_diag(P) linux_uk_proxy(P) linux_bcm_core(P) linux_kernel_bde(P) ipmi_cc ioaccess ipv6
[17181381.964000] Process osafamfwd (pid: 1923, threadinfo=a800000003860000, task=a800000003f480c0)
[17181381.964000] Stack : a800000003863a90 ffffffff8015f6a4 0000000000000000 0000000000000000
[17181381.964000]         a800000003f7f9f8 0000000000000000 0000000000000001 0000000000000000
[17181381.964000]         0000000000000000 a800000003f7f9f8 a800000003863ae0 ffffffff8015f7e0
[17181381.964000]         a800000003863af0 ffffffff8015b320 0000000000000001 0000000000000001
[17181381.964000]         a800000003f7f9c8 0000000000000001 0000000000000000 a800000003863c68
[17181381.964000]         a800000003863c30 a800000003863b40 ffffffff8015bd7c a800000003863c68
[17181381.964000]         a8000000038210c8 a800000003821360 0000000000000001 0000000000000001
[17181381.964000]         a8000000038210c8 a800000003863b80 ffffffff80425f60 a800000003821520
[17181381.964000]         a80000000a7c4ee8 a800000003821520 a800000003863ba0 ffffffff804edc74
[17181381.964000]         000000002ab01f64 0000078000000000 000000002ab01f74 0000000000000000
[17181381.964000]         ...
[17181381.964000] Call Trace:
[17181381.964000] [<ffffffff8015c018>] resched_task+0x50/0xf8
[17181381.964000] [<ffffffff8015f6a4>] try_to_wake_up+0x3d4/0x4f8
[17181381.964000] [<ffffffff8015f7e0>] default_wake_function+0x18/0x30
[17181381.964000] [<ffffffff8015b320>] __wake_up_common+0x78/0xd0
[17181381.964000] [<ffffffff8015bd7c>] __wake_up+0x54/0x88
[17181381.964000] [<ffffffff80425f60>] sock_def_readable+0xa0/0xa8
[17181381.964000] [<ffffffff804edc74>] unix_stream_sendmsg+0x294/0x398
[17181381.964000] [<ffffffff8041f368>] sock_aio_write+0x130/0x158
[17181381.964000] [<ffffffff801e3d2c>] do_sync_write+0xd4/0x150
[17181381.964000] [<ffffffff801e48e0>] vfs_write+0x170/0x180
[17181381.964000] [<ffffffff801e50e8>] sys_write+0x58/0xa8
[17181381.964000] [<ffffffff80146c34>] handle_sysn32+0x54/0x98
[17181381.964000]
[17181381.964000]
[17181381.964000] Code: 64841200  0045102d  0064182d <dc440000> 03a0f02d  0064182d  8c650004  8c620000  7045102a
[17181381.964000] capwap_pkt_wlanbss_recv (769) :recv arp ! irq is 0 irq1 is 100 preempt count 0x00000100


U-Boot 1.1.1 (Development build) (Build time: Mar 12 2012 - 14:41:46)
Octeon_56xx_v0.9.2

CUST_PM1620 board revision major:80, minor:0, serial #: 10250298


U-Boot 1.1.1 (Development build) (Build time: Mar 12 2012 - 14:41:46)
Octeon_56xx_v0.9.2

CUST_PM1620 board revision major:80, minor:0, serial #: 10250298
ICORE CN5650-NSP pass 2.1, Core clock: 750 MHz, DDR clock: 399 MHz (798 Mhz data rate)
DRAM:  4096 MB
flash 0: 64M dual die
flash 1: 64M dual die
Total: 128 MB

论坛徽章:
1
15-16赛季CBA联赛之新疆
日期:2017-03-09 12:33:45
发表于 2013-07-02 09:47 |显示全部楼层
回复 1# cuiyilong21


    光有这些信息不够。但最大的可能是你的指针不对。至于具体原因。这个可能要详细了解你的代码情况,才可能有达成的可能。

论坛徽章:
0
发表于 2013-07-02 12:26 |显示全部楼层
回复 2# jeppeter


    感谢关注,贴上来是因为涉及代码流程比较多,而且与自己的代码没有关系(不加载自己的模块也会出现),出现的原因在于配置了几个调试选项,去除调试选项的配置,是没有这个问题的,所以想看看这段从那边入手去查
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP