当前位置: 技术问答>linux和unix
求助:开发板运行时的内核bug问题
来源: 互联网 发布时间:2016-07-01
本文导语: 开发板在运行一个cgi时,串口打印bug信息: BUG: warning at kernel/softirq.c:137/local_bh_enable() Call Trace: [] dump_stack+...
开发板在运行一个cgi时,串口打印bug信息:
BUG: warning at kernel/softirq.c:137/local_bh_enable()
Call Trace:
[] dump_stack+0x18/0x44
[] local_bh_enable+0x54/0xa0
[] destroy_conntrack+0x12c/0x264
[] __kfree_skb+0x270/0x288
[] dmfe_start_xmit+0x2d4/0x320
[] __qdisc_run+0xc4/0x220
[] dev_queue_xmit+0x1d8/0x2d4
[] neigh_resolve_output+0x2e4/0x338
[] ip_output+0x33c/0x390
[] ip_push_pending_frames+0x4e8/0x658
[] icmp_reply+0x1a8/0x28c
[] icmp_echo+0x54/0x60
[] icmp_rcv+0x194/0x1d4
[] ip_local_deliver+0x228/0x300
[] ip_rcv+0x6b8/0x730
[] netif_receive_skb+0x2f4/0x324
[] process_backlog+0xe4/0x2c8
[] net_rx_action+0xb8/0x208
[] __do_softirq+0x70/0xf8
[] do_softirq+0x5c/0x90
[] do_IRQ+0x24/0x34
[] ret_from_irq+0x0/0x10
对内核不是很了解,到底是什么原因,以及怎么解决呢?
BUG: warning at kernel/softirq.c:137/local_bh_enable()
Call Trace:
[] dump_stack+0x18/0x44
[] local_bh_enable+0x54/0xa0
[] destroy_conntrack+0x12c/0x264
[] __kfree_skb+0x270/0x288
[] dmfe_start_xmit+0x2d4/0x320
[] __qdisc_run+0xc4/0x220
[] dev_queue_xmit+0x1d8/0x2d4
[] neigh_resolve_output+0x2e4/0x338
[] ip_output+0x33c/0x390
[] ip_push_pending_frames+0x4e8/0x658
[] icmp_reply+0x1a8/0x28c
[] icmp_echo+0x54/0x60
[] icmp_rcv+0x194/0x1d4
[] ip_local_deliver+0x228/0x300
[] ip_rcv+0x6b8/0x730
[] netif_receive_skb+0x2f4/0x324
[] process_backlog+0xe4/0x2c8
[] net_rx_action+0xb8/0x208
[] __do_softirq+0x70/0xf8
[] do_softirq+0x5c/0x90
[] do_IRQ+0x24/0x34
[] ret_from_irq+0x0/0x10
对内核不是很了解,到底是什么原因,以及怎么解决呢?
|
网卡驱动有问题, 具体原因光凭这点信息看不错来。
|
似乎是调用local_bh_enable的时候关了中断