• linux內核輸出soft lockup


    創建的內核線程長期佔用cpu,一直內核認為線程soft lockup,如無法獲取自旋鎖等;因此線程可適度調用schdule(),以進行進程的調度;因為kwatchdog的執行級別低,一直得不到執行

    [ 8644.084020] BUG: soft lockup - CPU#0 stuck for 22s! [ip_consumer:7777]

    [ 8644.087361] Modules linked in: kfw(O) dm_crypt snd_hda_codec_realtek nfsd nfs lockd fscache auth_rpcgss nfs_acl sunrpc snd_hda_intel snd_hda_codec snd_hwdep ppdev snd_pcm snd_seq_midi snd_rawmidi snd_seq_midi_event snd_seq snd_timer snd_seq_device snd edac_core psmouse serio_raw fam15h_power k10temp edac_mce_amd soundcore sp5100_tco snd_page_alloc i2c_piix4 parport_pc mac_hid shpchp lp parport radeon ttm drm_kms_helper pata_atiixp drm i2c_algo_bit r8169 wmi [last unloaded: kfw]

    [ 8644.087391] CPU 0 

    [ 8644.087392] Modules linked in: kfw(O) dm_crypt snd_hda_codec_realtek nfsd nfs lockd fscache auth_rpcgss nfs_acl sunrpc snd_hda_intel snd_hda_codec snd_hwdep ppdev snd_pcm snd_seq_midi snd_rawmidi snd_seq_midi_event snd_seq snd_timer snd_seq_device snd edac_core psmouse serio_raw fam15h_power k10temp edac_mce_amd soundcore sp5100_tco snd_page_alloc i2c_piix4 parport_pc mac_hid shpchp lp parport radeon ttm drm_kms_helper pata_atiixp drm i2c_algo_bit r8169 wmi [last unloaded: kfw]

    [ 8644.087414] 

    [ 8644.087416] Pid: 7777, comm: ip_consumer Tainted: G           O 3.2.0-60-generic #91-Ubuntu MSI MS-7699/960-P43 (MS-7699)         

    [ 8644.087421] RIP: 0010:[<ffffffff81661cf9>]  [<ffffffff81661cf9>] _raw_spin_unlock_irqrestore+0x19/0x30

    [ 8644.087428] RSP: 0018:ffff880607603618  EFLAGS: 00000282

    [ 8644.087430] RAX: 0000000000000000 RBX: ffff8806076035a0 RCX: 000000000000009c

    [ 8644.087432] RDX: 0000000000000001 RSI: 0000000000000282 RDI: 0000000000000282

    [ 8644.087434] RBP: ffff880607603620 R08: 0000000000000004 R09: ffff88060760359c

    [ 8644.087436] R10: 00000000000000c3 R11: ffff8805f31c1690 R12: ffff880607603588

    [ 8644.087437] R13: ffffffff8166adde R14: ffff880607603620 R15: ffff88033556e400

    [ 8644.087440] FS:  00007fc06919c700(0000) GS:ffff880607600000(0000) knlGS:0000000000000000

    [ 8644.087442] CS:  0010 DS: 0000 ES: 0000 CR0: 000000008005003b

    [ 8644.087443] CR2: 00007f5c7fc43000 CR3: 0000000001c05000 CR4: 00000000000406f0

    [ 8644.087445] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000

    [ 8644.087447] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400

    [ 8644.087449] Process ip_consumer (pid: 7777, threadinfo ffff8803687dc000, task ffff8805e0ea8000)

    [ 8644.087451] Stack:

    [ 8644.088005]  0000000000000282 ffff880607603640 ffffffff8103f331 ffff8805f5c87000

    [ 8644.088005]  00000000c4c544f6 ffff880607603660 ffffffff8103f6b2 0000000000000002

    [ 8644.088005]  ffff8805f2f28000 ffff8806076036e0 ffffffffa0006cba 000000000000003c

    [ 8644.088005] Call Trace:

    [ 8644.088005]  <IRQ> 

    [ 8644.088005]  [<ffffffff8103f331>] flush_gart+0x41/0x50

    [ 8644.088005]  [<ffffffff8103f6b2>] gart_map_page+0x72/0x80

    [ 8644.088005]  [<ffffffffa0006cba>] rtl8169_start_xmit+0x17a/0x580 [r8169]

    [ 8644.088005]  [<ffffffff8103f640>] ? dma_map_area+0x130/0x130

    [ 8644.088005]  [<ffffffff81549ce6>] dev_hard_start_xmit+0x246/0x520

    [ 8644.088005]  [<ffffffff815669ad>] ? pfifo_fast_enqueue+0x8d/0xa0

    [ 8644.088005]  [<ffffffff81566b6e>] sch_direct_xmit+0xfe/0x1d0

    [ 8644.088005]  [<ffffffff81566ce6>] __qdisc_run+0xa6/0x130

    [ 8644.088005]  [<ffffffff8153a19b>] ? __alloc_skb+0x4b/0x240

    [ 8644.088005]  [<ffffffff8154a1a4>] dev_queue_xmit+0x1e4/0x420

    [ 8644.088005]  [<ffffffff81551fc2>] neigh_resolve_output+0x122/0x210

    [ 8644.088005]  [<ffffffff81580ffe>] ip_finish_output+0x17e/0x2f0

    [ 8644.088005]  [<ffffffff81581b48>] ip_output+0x98/0xa0

    [ 8644.088005]  [<ffffffff81581249>] ip_local_out+0x29/0x30

    [ 8644.088005]  [<ffffffff815817aa>] ip_build_and_send_pkt+0x16a/0x210

    [ 8644.088005]  [<ffffffff8159c9f2>] tcp_v4_send_synack+0x72/0xd0

    [ 8644.088005]  [<ffffffff8159f974>] tcp_v4_conn_request+0x524/0x680

    [ 8644.088005]  [<ffffffff8154fe0a>] ? dst_alloc+0x5a/0x170

    [ 8644.088005]  [<ffffffff81596083>] ? tcp_rcv_state_process+0x163/0x5f0

    [ 8644.088005]  [<ffffffff81164c74>] ? kmem_cache_free+0x104/0x110

    [ 8644.088005]  [<ffffffff81596083>] ? tcp_rcv_state_process+0x163/0x5f0

    [ 8644.088005]  [<ffffffff81596083>] ? tcp_rcv_state_process+0x163/0x5f0

    [ 8644.088005]  [<ffffffff8153abb6>] ? __kfree_skb+0x26/0x30

    [ 8644.088005]  [<ffffffff81596070>] tcp_rcv_state_process+0x150/0x5f0

    [ 8644.088005]  [<ffffffff8159ee27>] tcp_v4_do_rcv+0xc7/0x1d0

    [ 8644.088005]  [<ffffffff815a0861>] tcp_v4_rcv+0x691/0x7f0

    [ 8644.088005]  [<ffffffffa0298d4d>] ? kfw_hook_func+0xad/0x140 [kfw]

    [ 8644.088005]  [<ffffffff81574545>] ? nf_hook_slow+0x145/0x150

    [ 8644.088005]  [<ffffffff815743c5>] ? nf_iterate+0x85/0xc0

    [ 8644.088005]  [<ffffffff8157c3e5>] ip_local_deliver_finish+0xe5/0x280

    [ 8644.088005]  [<ffffffff8157c748>] ip_local_deliver+0x88/0x90

    [ 8644.088005]  [<ffffffff8157c09d>] ip_rcv_finish+0x10d/0x370

    [ 8644.088005]  [<ffffffff8157c985>] ip_rcv+0x235/0x300

    [ 8644.088005]  [<ffffffff8153a19b>] ? __alloc_skb+0x4b/0x240

    [ 8644.088005]  [<ffffffff815477be>] __netif_receive_skb+0x4de/0x560

    [ 8644.088005]  [<ffffffff815485b0>] netif_receive_skb+0x80/0x90

    [ 8644.088005]  [<ffffffff815489ed>] ? dev_gro_receive+0x1cd/0x2d0

    [ 8644.088005]  [<ffffffff81548700>] napi_skb_finish+0x50/0x70

    [ 8644.088005]  [<ffffffff81548d35>] napi_gro_receive+0xf5/0x140

    [ 8644.088005]  [<ffffffffa0002f18>] rtl8169_rx_interrupt.isra.73+0xe8/0x2b0 [r8169]

    [ 8644.088005]  [<ffffffffa0006010>] rtl8169_poll+0x40/0xa0 [r8169]

    [ 8644.088005]  [<ffffffff81548f7c>] net_rx_action+0x12c/0x280

    [ 8644.088005]  [<ffffffff8106fc48>] __do_softirq+0xa8/0x210

    [ 8644.088005]  [<ffffffff81661cce>] ? _raw_spin_lock+0xe/0x20

    [ 8644.088005]  [<ffffffff8166c56c>] call_softirq+0x1c/0x30

    [ 8644.088005]  [<ffffffff810162f5>] do_softirq+0x65/0xa0

    [ 8644.088005]  [<ffffffff8107002e>] irq_exit+0x8e/0xb0

    [ 8644.088005]  [<ffffffff8166ce33>] do_IRQ+0x63/0xe0

    [ 8644.088005]  [<ffffffffa0298030>] ? kfw_ip_check_handler+0x200/0x200 [kfw]

    [ 8644.088005]  [<ffffffff8166216e>] common_interrupt+0x6e/0x6e

    [ 8644.088005]  <EOI> 

    [ 8644.088005]  [<ffffffffa0297996>] ? kfw_ip_hashtable_find+0x46/0x60 [kfw]

    [ 8644.088005]  [<ffffffffa0297e4e>] kfw_ip_check_handler+0x1e/0x200 [kfw]

    [ 8644.088005]  [<ffffffffa02980b8>] kfw_ip_work_thread+0x88/0xa0 [kfw]

    [ 8644.088005]  [<ffffffff8108b8ac>] kthread+0x8c/0xa0

    [ 8644.088005]  [<ffffffff8166c474>] kernel_thread_helper+0x4/0x10

    [ 8644.088005]  [<ffffffff8108b820>] ? flush_kthread_worker+0xa0/0xa0

    [ 8644.088005]  [<ffffffff8166c470>] ? gs_change+0x13/0x13

    [ 8644.088005] Code: 66 90 5d c3 66 66 66 66 66 2e 0f 1f 84 00 00 00 00 00 55 48 89 e5 53 66 66 66 66 90 48 89 f3 e8 0e cf 9d ff 66 90 48 89 df 57 9d <66> 66 90 66 90 5b 5d c3 66 66 66 66 66 66 2e 0f 1f 84 00 00 00 

  • 相关阅读:
    服务器Nginx 反向代理 其他服务器 8181端口 失败的问题
    Nginx 文件下载 apk 文件下载不了
    https和http 调用过程中请求头 referrer 获取不到的问题
    windows 下 nginx log 分割
    使用Windows Service Wrapper快速创建一个Windows Service 如nginx
    VS 中 无法嵌入互操作类型“……”,请改用适用的接口的解决方法
    使用With递归查询 树
    nginx 常用命令
    (译)(function (window, document, undefined) {})(window, document); 真正的意思
    在Emacs 24.4中使用在线字典
  • 原文地址:https://www.cnblogs.com/hzhida/p/4628278.html
Copyright © 2020-2023  润新知