内核死机问题怎么查

156 views
Skip to first unread message

Ruihuan Hu

unread,
Jul 6, 2011, 7:18:26 PM7/6/11
to linux-...@zh-kernel.org
借人气请教下各位内核死机以后怎么查,不能用仿真器,内核没有crash但也没有其他打印消息。我现在能想到的办法是在中断入口打印返回地址
_______________________________________________
Linux 内核开发中文邮件列表
Linux-...@zh-kernel.org
http://zh-kernel.org/mailman/listinfo/linux-kernel
Linux 内核开发中文社区: http://zh-kernel.org

Américo Wang

unread,
Jul 10, 2011, 5:50:43 AM7/10/11
to Ruihuan Hu, linux-...@zh-kernel.org
2011/7/7 Ruihuan Hu <hu.ru...@gmail.com>:
> 借人气请教下各位内核死机以后怎么查,不能用仿真器,内核没有crash但也没有其他打印消息。我现在能想到的办法是在中断入口打印返回地址

CONFIG_LOCKUP_DETECTOR=y
CONFIG_HARDLOCKUP_DETECTOR=y

或者你有watchdog的话:

CONFIG_WATCHDOG=y

Reply all
Reply to author
Forward
0 new messages