ITPub博客

首页 > Linux操作系统 > Linux操作系统 > VC显示虚拟机CPU被锁定

VC显示虚拟机CPU被锁定

原创 Linux操作系统 作者:wxbtsinghua 时间:2015-08-20 15:50:18 0 删除 编辑

RedHat Enterprise Linux 6.2 - kernel BUG at kernel/exit.c:1039!

Environment

SW:
RedHat Enterprise Linux 6.2
kernel 2.6.32-220.4.2.el6.i686(Guest OS)

HW:
HP ProLiant DL360p Gen8
Questions/Symptoms

On above environment, the below panic may happen.

kernel BUG at kernel/exit.c:1039! <==
invalid opcode: 0000 [#1] SMP
...
Pid: 32725, comm: java Tainted: P ---------------- 2.6.32-220.4.2.el6.i686 #1
HP ProLiant DL360p Gen8
EIP: 0060:[<c045908d>] EFLAGS: 00010286 CPU: 19 EIP is at do_exit+0x4cd/0x740
...
Stack:
...
Call Trace:
[<c043f952>] ? task_rq_lock+0x42/0x80
[<c082f931>] ? mutex_lock+0x11/0x40
[<c04593d1>] ? sys_exit+0x11/0x20
[<c0830c94>] ? syscall_call+0x7/0xb
[<c0830000>] ? __down+0x20/0x80

0897 NORET_TYPE void do_exit(long code)
0898 {
...
1035 exit_rcu();
1036 /* causes final put_task_struct in finish_task_switch(). */
1037 tsk->state = TASK_DEAD;
1038 schedule();
*1039 BUG(); <===
1040 /* Avoid "noreturn function does return". */
1041 for (;;)
1042 cpu_relax(); /* For when BUG is null */
1043 }

Cause
The root cause is a kernel bug.
// from kernel changelog
- [kernel] sched: Fix ancient race in do_exit() (Frantisek Hrbata) [805457 784758]

Answer/Solution
Upgrade to kernel 2.6.32-220.17.1 or higher
http://rhn.redhat.com/errata/RHSA-2012-0571.html

来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/8551823/viewspace-1777627/ ,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论

注册时间:2014-09-16

  • 博文量
    17
  • 访问量
    53340