在启动时从 CPU 软锁定捕获内核转储?

在启动时从 CPU 软锁定捕获内核转储?

我正在进行 SAN 启动一台 Ubuntu 服务器,并尽我所能按照如下配置了 14.04.2 客户端:https://wiki.ubuntu.com/Kernel/CrashdumpRecipe

看来这篇文章对于内核完全加载后的崩溃很有效,因为我可以使用 执行测试echo c > /proc/sysrq-trigger。这会按预期在 /var/crash 中创建内核转储。

但是,当我在启动过程中遇到软锁定时,根本没有执行转储 - 这里有什么提示吗?

我已经奔跑echo 1 > /proc/sys/kernel/softlockup_panic,希望能够捕获锁定目标。

从下面的输出可以看出dmesg,我在一次启动过程中经常遇到这些问题:

[   36.473727] BUG: soft lockup - CPU#14 stuck for 22s! [init:1]
[   64.476017] BUG: soft lockup - CPU#14 stuck for 23s! [init:1]
[   96.458232] BUG: soft lockup - CPU#14 stuck for 22s! [init:1]
[  124.470671] BUG: soft lockup - CPU#14 stuck for 22s! [init:1]
[  152.486400] BUG: soft lockup - CPU#14 stuck for 23s! [init:1]
[  180.521244] BUG: soft lockup - CPU#14 stuck for 23s! [init:1]
[  208.549108] BUG: soft lockup - CPU#14 stuck for 23s! [init:1]
[  236.540146] BUG: soft lockup - CPU#14 stuck for 23s! [init:1]
[  276.488262] BUG: soft lockup - CPU#14 stuck for 22s! [init:1]
[  304.456052] BUG: soft lockup - CPU#14 stuck for 22s! [init:1]
[  332.505087] BUG: soft lockup - CPU#14 stuck for 22s! [init:1]

相关内容