当前位置: 技术问答>linux和unix
请大侠帮解释下oops出来的信息
来源: 互联网 发布时间:2016-10-12
本文导语: 我的程序是解码播放从http服务器上传输过来的视频流,播放到最后系统就会挂掉,我的系统是2.6.27, 从服务器上接收视频流用的是一个开源的软件httpfs,请大侠帮我看看是什么问题 [ 2957.670000] BUG: scheduling while atom...
我的程序是解码播放从http服务器上传输过来的视频流,播放到最后系统就会挂掉,我的系统是2.6.27, 从服务器上接收视频流用的是一个开源的软件httpfs,请大侠帮我看看是什么问题
[ 2957.670000] BUG: scheduling while atomic: swapper/0x00000102/0
[ 2957.670000] Call Trace:
[ 2957.670000] [] dump_stack+0x8/0x34
[ 2957.670000] [] schedule+0x968/0x99c
[ 2957.670000] [] schedule_timeout+0x70/0x10c
[ 2957.670000] [] __alloc_pages+0x194/0x3dc
[ 2957.670000] [] cache_alloc_refill+0x37c/0x7d4
[ 2957.670000] [] __kmalloc+0xd8/0xe8
[ 2957.670000] [] __alloc_skb+0x64/0x124
[ 2957.670000] [] enet_poll+0x3c8/0x56c
[ 2957.670000] [] net_rx_action+0xb4/0x218
[ 2957.670000] [] __do_softirq+0x84/0x120
[ 2957.670000] [] do_softirq+0x6c/0x74
[ 2957.670000] [] irq_exit+0x5c/0x74
[ 2957.670000] [] plat_irq_dispatch+0x2a4/0x4d8
[ 2957.670000] [] ret_from_irq+0x0/0x4
[ 2957.670000] [] r4k_wait+0x20/0x40
[ 2957.670000] [] cpu_idle+0x38/0x64
[ 2957.670000] [] start_kernel+0x2e0/0x374
[ 2957.670000]
[ 2957.670000] bad: scheduling from the idle thread!
[ 2957.670000] Call Trace:
[ 2957.670000] [] dump_stack+0x8/0x34
[ 2957.670000] [] schedule+0x920/0x99c
[ 2957.670000] [] schedule_timeout+0x70/0x10c
[ 2957.670000] [] __alloc_pages+0x194/0x3dc
[ 2957.670000] [] cache_alloc_refill+0x37c/0x7d4
[ 2957.670000] [] __kmalloc+0xd8/0xe8
[ 2957.670000] [] __alloc_skb+0x64/0x124
[ 2957.670000] [] enet_poll+0x3c8/0x56c
[ 2957.670000] [] net_rx_action+0xb4/0x218
[ 2957.670000] [] __do_softirq+0x84/0x120
[ 2957.670000] [] do_softirq+0x6c/0x74
[ 2957.670000] [] irq_exit+0x5c/0x74
[ 2957.670000] [] plat_irq_dispatch+0x2a4/0x4d8
[ 2957.670000] [] ret_from_irq+0x0/0x4
[ 2957.670000] [] r4k_wait+0x20/0x40
[ 2957.670000] [] cpu_idle+0x38/0x64
[ 2957.670000] [] start_kernel+0x2e0/0x374
[ 2957.670000]
[ 2957.670000] CPU 0 Unable to handle kernel paging request at virtual address 00000000, epc == 84023ff8, ra == 842bae70
[ 2957.670000] Oops[#1]:
[ 2957.670000] Cpu 0
[ 2957.670000] $ 0 : 00000000 8400fd9c 00000000 00000000
[ 2957.670000] $ 4 : 84338188 00000000 00000000 00003df1
[ 2957.670000] $ 8 : 00000002 00000008 00000000 84337a08
[ 2957.670000] $12 : 00000025 842cd7cc 00000b8d 00000000
[ 2957.670000] $16 : a2dea580 84338188 000002b0 00000001
[ 2957.670000] $20 : 00000032 00000001 00000000 84877d88
[ 2957.670000] $24 : 00000000 00000000
[ 2957.670000] $28 : 84336000 84337ba0 84338298 842bae70
[ 2957.670000] Hi : 00000000
[ 2957.670000] Lo : 00000000
[ 2957.670000] epc : 84023ff8 dequeue_task+0x0/0xb8 Tainted: PF
[ 2957.670000] ra : 842bae70 schedule+0x7b4/0x99c
[ 2957.670000] Status: 10009c02 KERNEL EXL
[ 2957.670000] Cause : 40808408
[ 2957.670000] BadVA : 00000000
[ 2957.670000] PrId : 0001937c
[ 2957.670000] Modules linked in: em8xxxfb(F) fctrl(P) smbfs cifs em8xxx(PF) llad(P) sdhci_tangox sdhci mmc_block ntfs fuse sigmablock(P)
[ 2957.670000] Process swapper (pid: 0, threadinfo=84336000, task=84338188)
[ 2957.670000] Stack : 00000000 00000001 ffffffff 000039ef 84340000 84870000 8489aba0 84257528
[ 2957.670000] 000483bb 84337bf8 84340000 00000000 00000032 00000001 8433e990 00000000
[ 2957.670000] 00000000 842bbf40 00000000 00000000 00000000 00000018 848998a0 848998a0
[ 2957.670000] 000483bb 84037a54 84338188 848992c0 8433e998 00000020 84338188 84065aa0
[ 2957.670000] 00000020 842603f4 00000100 00000032 a9600000 1fffffff 00000000 00020020
[ 2957.670000] ...
[ 2957.670000] Call Trace:
[ 2957.670000] [] dequeue_task+0x0/0xb8
[ 2957.670000] [] schedule+0x7b4/0x99c
[ 2957.670000] [] schedule_timeout+0x70/0x10c
[ 2957.670000] [] __alloc_pages+0x194/0x3dc
[ 2957.670000] [] cache_alloc_refill+0x37c/0x7d4
[ 2957.670000] [] __kmalloc+0xd8/0xe8
[ 2957.670000] [] __alloc_skb+0x64/0x124
[ 2957.670000] [] enet_poll+0x3c8/0x56c
[ 2957.670000] [] net_rx_action+0xb4/0x218
[ 2957.670000] [] __do_softirq+0x84/0x120
[ 2957.670000] [] do_softirq+0x6c/0x74
[ 2957.670000] [] irq_exit+0x5c/0x74
[ 2957.670000] [] plat_irq_dispatch+0x2a4/0x4d8
[ 2957.670000] [] ret_from_irq+0x0/0x4
[ 2957.670000] [] r4k_wait+0x20/0x40
[ 2957.670000] [] cpu_idle+0x38/0x64
[ 2957.670000] [] start_kernel+0x2e0/0x374
[ 2957.670000]
[ 2957.670000]
[ 2957.670000] Code: 00801021 03e00008 00a01821 00a03821 2442ffff aca20000 8c83002c 8c820028
[ 2957.680000] Kernel panic - not syncing: Fatal exception in interrupt
[ 2957.670000] BUG: scheduling while atomic: swapper/0x00000102/0
[ 2957.670000] Call Trace:
[ 2957.670000] [] dump_stack+0x8/0x34
[ 2957.670000] [] schedule+0x968/0x99c
[ 2957.670000] [] schedule_timeout+0x70/0x10c
[ 2957.670000] [] __alloc_pages+0x194/0x3dc
[ 2957.670000] [] cache_alloc_refill+0x37c/0x7d4
[ 2957.670000] [] __kmalloc+0xd8/0xe8
[ 2957.670000] [] __alloc_skb+0x64/0x124
[ 2957.670000] [] enet_poll+0x3c8/0x56c
[ 2957.670000] [] net_rx_action+0xb4/0x218
[ 2957.670000] [] __do_softirq+0x84/0x120
[ 2957.670000] [] do_softirq+0x6c/0x74
[ 2957.670000] [] irq_exit+0x5c/0x74
[ 2957.670000] [] plat_irq_dispatch+0x2a4/0x4d8
[ 2957.670000] [] ret_from_irq+0x0/0x4
[ 2957.670000] [] r4k_wait+0x20/0x40
[ 2957.670000] [] cpu_idle+0x38/0x64
[ 2957.670000] [] start_kernel+0x2e0/0x374
[ 2957.670000]
[ 2957.670000] bad: scheduling from the idle thread!
[ 2957.670000] Call Trace:
[ 2957.670000] [] dump_stack+0x8/0x34
[ 2957.670000] [] schedule+0x920/0x99c
[ 2957.670000] [] schedule_timeout+0x70/0x10c
[ 2957.670000] [] __alloc_pages+0x194/0x3dc
[ 2957.670000] [] cache_alloc_refill+0x37c/0x7d4
[ 2957.670000] [] __kmalloc+0xd8/0xe8
[ 2957.670000] [] __alloc_skb+0x64/0x124
[ 2957.670000] [] enet_poll+0x3c8/0x56c
[ 2957.670000] [] net_rx_action+0xb4/0x218
[ 2957.670000] [] __do_softirq+0x84/0x120
[ 2957.670000] [] do_softirq+0x6c/0x74
[ 2957.670000] [] irq_exit+0x5c/0x74
[ 2957.670000] [] plat_irq_dispatch+0x2a4/0x4d8
[ 2957.670000] [] ret_from_irq+0x0/0x4
[ 2957.670000] [] r4k_wait+0x20/0x40
[ 2957.670000] [] cpu_idle+0x38/0x64
[ 2957.670000] [] start_kernel+0x2e0/0x374
[ 2957.670000]
[ 2957.670000] CPU 0 Unable to handle kernel paging request at virtual address 00000000, epc == 84023ff8, ra == 842bae70
[ 2957.670000] Oops[#1]:
[ 2957.670000] Cpu 0
[ 2957.670000] $ 0 : 00000000 8400fd9c 00000000 00000000
[ 2957.670000] $ 4 : 84338188 00000000 00000000 00003df1
[ 2957.670000] $ 8 : 00000002 00000008 00000000 84337a08
[ 2957.670000] $12 : 00000025 842cd7cc 00000b8d 00000000
[ 2957.670000] $16 : a2dea580 84338188 000002b0 00000001
[ 2957.670000] $20 : 00000032 00000001 00000000 84877d88
[ 2957.670000] $24 : 00000000 00000000
[ 2957.670000] $28 : 84336000 84337ba0 84338298 842bae70
[ 2957.670000] Hi : 00000000
[ 2957.670000] Lo : 00000000
[ 2957.670000] epc : 84023ff8 dequeue_task+0x0/0xb8 Tainted: PF
[ 2957.670000] ra : 842bae70 schedule+0x7b4/0x99c
[ 2957.670000] Status: 10009c02 KERNEL EXL
[ 2957.670000] Cause : 40808408
[ 2957.670000] BadVA : 00000000
[ 2957.670000] PrId : 0001937c
[ 2957.670000] Modules linked in: em8xxxfb(F) fctrl(P) smbfs cifs em8xxx(PF) llad(P) sdhci_tangox sdhci mmc_block ntfs fuse sigmablock(P)
[ 2957.670000] Process swapper (pid: 0, threadinfo=84336000, task=84338188)
[ 2957.670000] Stack : 00000000 00000001 ffffffff 000039ef 84340000 84870000 8489aba0 84257528
[ 2957.670000] 000483bb 84337bf8 84340000 00000000 00000032 00000001 8433e990 00000000
[ 2957.670000] 00000000 842bbf40 00000000 00000000 00000000 00000018 848998a0 848998a0
[ 2957.670000] 000483bb 84037a54 84338188 848992c0 8433e998 00000020 84338188 84065aa0
[ 2957.670000] 00000020 842603f4 00000100 00000032 a9600000 1fffffff 00000000 00020020
[ 2957.670000] ...
[ 2957.670000] Call Trace:
[ 2957.670000] [] dequeue_task+0x0/0xb8
[ 2957.670000] [] schedule+0x7b4/0x99c
[ 2957.670000] [] schedule_timeout+0x70/0x10c
[ 2957.670000] [] __alloc_pages+0x194/0x3dc
[ 2957.670000] [] cache_alloc_refill+0x37c/0x7d4
[ 2957.670000] [] __kmalloc+0xd8/0xe8
[ 2957.670000] [] __alloc_skb+0x64/0x124
[ 2957.670000] [] enet_poll+0x3c8/0x56c
[ 2957.670000] [] net_rx_action+0xb4/0x218
[ 2957.670000] [] __do_softirq+0x84/0x120
[ 2957.670000] [] do_softirq+0x6c/0x74
[ 2957.670000] [] irq_exit+0x5c/0x74
[ 2957.670000] [] plat_irq_dispatch+0x2a4/0x4d8
[ 2957.670000] [] ret_from_irq+0x0/0x4
[ 2957.670000] [] r4k_wait+0x20/0x40
[ 2957.670000] [] cpu_idle+0x38/0x64
[ 2957.670000] [] start_kernel+0x2e0/0x374
[ 2957.670000]
[ 2957.670000]
[ 2957.670000] Code: 00801021 03e00008 00a01821 00a03821 2442ffff aca20000 8c83002c 8c820028
[ 2957.680000] Kernel panic - not syncing: Fatal exception in interrupt
|
似乎是交换分区太小,试试把swapper分区做大一些,这种问题,建议kdgb调试,或者用排除法。
kernel bug比较难找,要认真有耐心!
从Call Trace来看,网卡驱动出问题的可能性也比较大,换个好一点的网卡,或者升级网卡驱动试试。楼上的几个回复,楼主也尝试下。