ARM 的内核 Oops 页面错误错误代码 [英] Kernel Oops page fault error codes for ARM

查看:30
本文介绍了ARM 的内核 Oops 页面错误错误代码的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Oops 之后的错误代码提供了有关 arm ex 中的 panic 的信息.糟糕:17 [#1] PREEMPT SMPwhat 17 在这种情况下提供信息.在 x86 中它代表 -

What does error code after Oops give information about the panic in arm ex. Oops: 17 [#1] PREEMPT SMP what 17 give information in this case. In x86 it represents -

  • bit 0 == 0:未找到页面 1:保护错误

bit 1 == 0:读访问 1:写访问

bit 2 == 0:内核模式访问 1:用户模式访问

bit 3 == 1:检测到保留位的使用

但是我在 arm 中找不到任何信息.

But i am not able to find any information in arm.

谢谢分流

推荐答案

你上面打印的位描述是页面错误描述,而不是糟糕的错误.

What you printed above as description of bits is page fault descriptions, not Oops faults.

参见 Linux 的 oops-tracing 了解有关查找 Linux 崩溃分析的更多信息.

See Linux's oops-tracing for more information on looking for Linux crash analysis.

下面是你的 Oops: 17 [#1] PREEMPT SMP arch/arm/kernel/traps.c:

    #define S_PREEMPT " PREEMPT"
    ...
    #define S_SMP " SMP"
    ...
    printk(KERN_EMERG "Internal error: %s: %x [#%d]" S_PREEMPT S_SMP S_ISA "\n", str, err, ++die_counter);

页面错误不需要使内核崩溃,而且并非所有内核崩溃都是页面错误.所以很有可能 Oops: 17 根本与页面错误无关.(作为奖励,我的疯狂猜测是关于日程安排/我听起来很熟悉.)

Page faults doesn't need to crash the kernel, as well as not all kernel crashes are page faults. So there is a high chance Oops: 17 is not related to page faults at all. (and as a bonus my wild guess is it is about scheduling / just sounds familiar to me.)

这篇关于ARM 的内核 Oops 页面错误错误代码的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆