问题描述
当 Linux 虚拟机启动时,通过串口输出或者启动日志, 观察到超时的报错.导致虚拟机无法正常启动和连接.
问题分析
常见的超时报错范例如下:
复制
INFO: task swapper:1 blocked for more than 120 seconds.
Not tainted 2.6.32-504.8.1.el6.x86_64 #1
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
swapper D 0000000000000000 0 1 0 0x00000000
ffff88010f64fde0 0000000000000046 ffff88010f64fd50 ffffffff81074f95
0000000000005c2f ffffffff8100bb8e ffff88010f64fe50 0000000000100000
0000000000000002 00000000fffb73e0 ffff88010f64dab8 ffff88010f64ffd8
1. Call Trace:
[] ? __call_console_drivers+0x75/0x90
[] ? apic_timer_interrupt+0xe/0x20
[] ? vprintk+0x251/0x560
[] schedule_timeout+0x192/0x2e0
[] ? process_timeout+0x0/0x10
[] schedule_timeout_uninterruptible+0x1e/0x20
[] msleep+0x20/0x30
[] pre