从oops信息识别内核被污染的情况

    OOPS信息中一般包含Not tainted信息,说明内核没有被污染,但一旦看到是Tainted:  ,且后面跟有字符,则说明目前运行的被污染内核。各字符具体含义如下:

  1. ‘G’ if all modules loaded have a GPL or compatible license, ‘P’ ifany proprietary module has been loaded. Modules without aMODULE_LICENSE or with a MODULE_LICENSE that is not recognised byinsmod as GPL compatible are assumed to be proprietary.
  2. F if any module was force loaded byinsmod -f, ' ' if allmodules were loaded normally.
  3. S if the oops occurred on an SMP kernel running on hardware thathasn’t been certified as safe to run multiprocessor.Currently this occurs only on various Athlons that are not SMP capable.
  4. R if a module was force unloaded byrmmod -f,' ' if allmodules were unloaded normally.
  5. M if any processor has reported a Machine Check Exception,'' if no Machine Check Exceptions have occurred.
  6. B if a page-release function has found a bad page reference orsome unexpected page flags.
  7. U if a user or user application specifically requested that theTainted flag be set,' ' otherwise.
  8. D if the kernel has died recently, i.e. there was an OOPS or BUG.
  9. A if the ACPI table has been overridden.
  1. W if a warning has previously been issued by the kernel.(Though some warnings may set more specific taint flags.)
  2. C if a staging driver has been loaded.
  3. I if the kernel is working around a severe bug in the platformfirmware (BIOS or similar).
  4. O if an externally-built (“out-of-tree”) module has been loaded.
  5. E if an unsigned module has been loaded in a kernel supportingmodule signature.
  6. L if a soft lockup has previously occurred on the system.
  7. K if the kernel has been live patched.

    Tainted信息用于告知内核目前是否干净,并且信息是永久存在,并不会因模块的移除而消失。Tainted信息的出现出现一般意味着当前内核是不可信的。


  • 0
    点赞
  • 2
    收藏
    觉得还不错? 一键收藏
  • 1
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值