linux - linux内核模块生成的核心文件

标签 linux linux-kernel gdb linux-device-driver device-driver

我正在尝试加载内核模块(树外)并且 dmesg 显示 panic 。内核仍然在运行。我猜模块 panic 了。

核心文件在哪里找?我想使用 gdb 看看有什么问题。

最佳答案

Where to find the core file?

核心文件严格来说是一个用户空间的概念。

I want to use gdb and see whats the problem.

您可能正在寻找 KGDB和/或 Kdump/Kexec .

关于linux - linux内核模块生成的核心文件,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/33337458/

相关文章:

linux - 为什么在 Linux 中父进程被杀死后子进程仍然存在?

linux - 添加然后删除行到另一行,只有当它不包含字符时

c - ioremap 在物理地址上失败

无法单步源,但汇编单步和断点工作正常

gdb - 为什么 GDB 'step' 命令会跳过结构声明?

linux - 无需通过 ssh 连接到本地主机即可启动 Hadoop

linux - 用于多个文件过滤的 Zenity 命令

c - 从 linux 内核模块读取或写入时获取未知符号 ***_******(err 0)

linux - Linux Kernel 2.6.32 附带了哪些 Linux 操作系统

xcode - "Environment Variable is too long"在 Xcode 4