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
linux內核輸出soft lockup的更多相关文章
- 【转】Linux內核驅動之GPIO子系統(一)GPIO的使用 _蝸牛
原文网址:http://tc.chinawin.net/it/os/article-2512b.html 一 概述 Linux內核中gpio是最簡單,最常用的資源(和interrupt ,dma,ti ...
- 第一章 Linux內核簡介
1. Linux是類Unix系統,但他不是Unix. 儘管Linux借鑑了Unix的許多設計並且實現了Unix的API(由Posix標準和其他Single Unix Specification定義的) ...
- Linux內核中常用的一些延時方法
Linux內核中常用的一些延時方法 這些方法在以下路徑下定義:kernel/include/linux/delay.h #ifndef _LINUX_DELAY_H #define _LINUX_DE ...
- CVE-2016-8655,af_packet Linux 內核通殺提權漏洞淺析
簡單寫一下思路 這個東西需要namespace方面的支援, 首先open socket , 一連串路徑(packet_set_ring()->init_prb_bdqc()->prb_se ...
- linux缺頁異常處理--內核空間[v3.10]
缺頁異常被觸發通常有兩種情況—— 1.程序設計的不當導致訪問了非法的地址 2.訪問的地址是合法的,但是該地址還未分配物理頁框 下面解釋一下第二種情況,這是虛擬內存管理的一個特性.盡管每個進程獨立擁有3 ...
- Linux下安裝Oracle database內核參數設置
參考:1529864.1 ************************************************** RAM ...
- Linux soft lockup分析
关键词:watchdog.soft lockup.percpu thread.lockdep等. 近日遇到一个soft lockup问题,打印类似“[ 56.032356] NMI watchdog: ...
- Linux soft lockup 和 hard lockup
一. 整体介绍 soft lockup:检测调度异常, 一般是驱动禁止调度或者阻塞比如while(1), 导致无法调度其他线程, 需要注意的是, 应用程序while(1)不会影响其调度, 只要有更高的 ...
- soft lockup和hard lockup介绍
转自:http://www.cnblogs.com/openix/p/4034530.html 转自:http://blog.csdn.net/panzhenjie/article/details/1 ...
随机推荐
- java关于压缩包的处理,我这里贴出三中格式的(zip,rar,tar)解压方法(目前只用到解压,所以压缩过多研究)。
1.首先我们先来说下为什么会有这三中格式: (1)rar格式:rar格式是最先出现的压缩方式,它主要是用于商业机构一些文件的压缩,它可以根据不同公司的要求,去设定制定不同的压缩算法,这种算法是不对外公 ...
- mysql 中基础英语单词 (一)关于数据库创建与查找 (包括简写单词)
create 创建 limit 限制 count 计算 rollup 几上归纳 drop 降下,撤销 ...
- MyBatis处理一行数据-MyBatis使用sum语句报错-MyBatis字段映射-遁地龙卷风
第二版 (-1)写在前面 我用的是MyBatis 3.2.4 (0) 编程轶事 select sum(value) ,sum(value2) from integral_list where Me ...
- Python3.4下安装pip和MySQLdb
想用pyhton3.4做数据分析,pip和MySQLdb是必要的,一个便于安装常用模块,一个用来操作数据库.当时安装这两个模块时,由于没有人指导,花了很多的时间才安装好. 安装pip时,按照网上的教程 ...
- Qt 程序打包发布
Qt 官方开发环境使用的动态链接库方式,在发布生成的exe程序时,需要复制一大堆 dll,Qt 官方开发环境里自带了一个工具:windeployqt.exe.在Qt安装目录如:C:\Qt\Qt5.7. ...
- 获取文本的编码类型(from logparse)
import java.io.BufferedReader; import java.io.File; import java.io.FileInputStream; import java.io.F ...
- 【原创】web端高德地图javascript API的调用
关于第三放地图的使用,腾讯.百度.高德 具体怎么选择看你自己怎么选择了. 高德地图开放平台:http://lbs.amap.com/ 本次使用的是高德的javascript API http://lb ...
- SQL(横表和纵表)行列转换,PIVOT与UNPIVOT的区别和使用方法举例,合并列的例子
使用过SQL Server 2000的人都知道,要想实现行列转换,必须综合利用聚合函数和动态SQL,具体实现起来需要一定的技巧,而在SQL Server 2005中,使用新引进的关键字PIVOT/UN ...
- Oracle中使用REGEXP_SUBSTR,regexp_replace函数
REGEXP_SUBSTR函数格式如下: function REGEXP_SUBSTR(String, pattern, position, occurrence, modifier)__srcstr ...
- 安装Java的IDE Eclipse时出现java.net.SocketException,出现错误Installer failed,show.log
ERROR: org.eclipse.equinox.p2.transport.ecf code=1002 Unable to read repository at http://download.e ...