failed command: READ FPDMA QUEUED
摘要:问题: failed command: READ FPDMA QUEUEDfailed command: WRITE FPDMA QUEUED 1、关闭NCQvim /boot/efi/EFI/centos/grub.cfg添加libata.force=noncq到启动项中;linuxefi /vm
阅读全文
Linux线程编译是出现的“undefined reference to 'CPU_ZERO”
摘要:1、错误日志 2、解决办法 先给出解答方案: #define _GNU_SOURCE #include <stdio.h> #include <sched.h> #include <pthread.h> #include <unistd.h> #include <stdlib.h> 注意在makef
阅读全文
使用yum提示Error: rpmdb open failed
摘要:[root@www ~]# cd /var/lib/rpm # rpmdb所在目录 [root@www rpm]# rm -f __db.* # 清除原rpmdb文件 [root@www rpm]# rpm --rebuilddb # 重建rpm数据库 [root@www rpm]# yum cle
阅读全文
page dumped because: nonzero _count
摘要:问题描述: [ 771.379814] BUG: Bad page state in process pesdk pfn:5aa5c [ 771.452077] page:ffffea00016a9700 count:-1 mapcount:0 mapping: (null) index:0x0 [
阅读全文
perf: interrupt took too long (3136 > 3126), lowering kernel.perf_event_max_sample_rate to 63000
摘要:单板启动后,会经常看到提示“perf interrupt took too long (n > x)”,这样的打印信息。 相关配置参数有: /proc/sys/kernel/下 perf_cpu_time_max_percent: perf分析工具最大能够占用CPU性能的百分比0:不限制1~100:
阅读全文
insmod模块时候出现loading out-of-tree module taints kernel
摘要:对后续的内核insmod并无影响,可以不用管。 编译ko的linux系统内核与insmod模块的linux系统的内核树不一样导致的。 通过uname -r命令发现,2个系统的发行版号不一样。最好是找2个内核版本一样的进行编译,下述方案可能会不成功。 在书写makefile的时候,改成(insmod模
阅读全文
windows无法telnet到centos7服务器
摘要:1、在安装Telnet前先检查系统是否安装了telnet-server和xinetd rpm -qa telnet-server rpm -qa xinetd 2、如果没有安装,则开始安装,安装之前先查找Telnet的安装包 yum list | grep telnet-server yum lis
阅读全文
make: *** /lib/modules/3.10.0-327.el7.x86_64/build: 没有那个文件或目录。 停止。
摘要:1、make: *** /lib/modules/3.10.0-693.el7.x86_64/build: No such file or directory. Stop. 解决办法: yum install kernel-devel-$(uname -r) 2、bash:gcc:command n
阅读全文
fuser:command not found
摘要:yum 安装fuser命令 yum install -y psmisc
阅读全文
pstree:command not found
摘要:centos7默认并没有安装pstree,所以会有pstree:command not found yum -y install psmisc
阅读全文