linux kernel tainted
2015-09-09 09:09
429 查看
日志中会有一些信息:
具体代码可以通过proc看到:
数字的意义:
tainted:
Non-zero if the kernel has been tainted. Numeric values, which
can be ORed together:
1 - A module with a non-GPL license has been loaded, this includes modules with no license.Set by modutils >= 2.4.9 and module-init-tools.
2 - A module was force loaded by insmod -f.Set by modutils >= 2.4.9 and module-init-tools.
4 - Unsafe SMP processors: SMP with CPUs not designed for SMP.
8 - A module was forcibly unloaded from the system by rmmod -f.
16 - A hardware machine check error occurred on the system.
32 - A bad page was discovered on the system.
64 - The user has asked that the system be marked "tainted". This could be because they are running software that directly modifies the hardware, or for other reasons.
128 - The system has died.
256 - The ACPI DSDT has been overridden with one supplied by the user instead of using the one provided by the hardware.
512 - A kernel warning has occurred.
1024 - A module from drivers/staging was loaded.
2048 - The system is working around a severe firmware bug.
4096 - An out-of-tree module has been loaded.
8192 - An unsigned module has been loaded in a kernel supporting module signature.
16384 - A soft lockup has previously occurred on the system.
32768 - The kernel has been live patched.
dmesg | grep -i tainted
具体代码可以通过proc看到:
cat /proc/sys/kernel/tainted
数字的意义:
tainted:
Non-zero if the kernel has been tainted. Numeric values, which
can be ORed together:
1 - A module with a non-GPL license has been loaded, this includes modules with no license.Set by modutils >= 2.4.9 and module-init-tools.
2 - A module was force loaded by insmod -f.Set by modutils >= 2.4.9 and module-init-tools.
4 - Unsafe SMP processors: SMP with CPUs not designed for SMP.
8 - A module was forcibly unloaded from the system by rmmod -f.
16 - A hardware machine check error occurred on the system.
32 - A bad page was discovered on the system.
64 - The user has asked that the system be marked "tainted". This could be because they are running software that directly modifies the hardware, or for other reasons.
128 - The system has died.
256 - The ACPI DSDT has been overridden with one supplied by the user instead of using the one provided by the hardware.
512 - A kernel warning has occurred.
1024 - A module from drivers/staging was loaded.
2048 - The system is working around a severe firmware bug.
4096 - An out-of-tree module has been loaded.
8192 - An unsigned module has been loaded in a kernel supporting module signature.
16384 - A soft lockup has previously occurred on the system.
32768 - The kernel has been live patched.
相关文章推荐
- linux 查询文件大小
- Debian GNU/Linux,22 年未完的美妙旅程
- FISH:Linux 下的一个智能易用的 Shell
- linux 和 ssize_t 和size_t 解释
- 对 Linux 内核的发展方向的展望
- 【Linux探索之旅】第三部分第一课:数据处理,慢条斯理
- 【Linux探索之旅】第三部分第一课:数据处理,慢条斯理
- centos7下yum安装mysql
- 详解Linux运维工程师应具备的十大技能
- linux运维文章
- centos7 修改selinux 开机导致 faild to load SELinux policy freezing 错误
- linux 计划任务
- Centos 安装 Moosefs文件系统
- Linux命令备忘实例(9)——参数代换xargs
- linux 服务器架设
- centos win xp双系统 安装手记 9660 grldr U盘安装
- 鸟哥的Linux私房菜基础学习篇笔记精华版
- 鸟哥Linux私房菜命令集合
- CentOS6.3搭建NTP服务器
- TQ335x开发板与stm32F103通信