Unable to start new Xen VM (Kernel Panic) Print

  • 0

Symptoms:-
- Create new Xen VM
- Boot new VM failed
- Console shows kernel panic or unable to display (stays red / down)

Troubleshooting:-
- Take note of VM ID (eg vm315) and node, and SSH to node and see output when booting:-

# cd /home/xen/vm315 # xl create vm315.cfg # xl console vm315 If found kernel panic as output below. -- begin initial kernel panic output -- dracut: FATAL: Machine in enforcing mode and cannot execute load_policy. To disable selinux, add selinux=0 to the kernel command line. dracut: Refusing to continue dracut Warning: Signal caught! dracut Warning: dracut: FATAL: Machine in enforcing mode and cannot execute load_policy. To disable selinux, add selinux=0 to the kernel command line. dracut Warning: dracut: Refusing to continue Kernel panic - not syncing: Attempted to kill init! exitcode=0x00000100 CPU: 0 PID: 1 Comm: init Not tainted 3.18.17-13.el6.x86_64 #1 ffffffff81c4c240 ffff88001ebcfd98 ffffffff8166f44f 000000000000fffe ffffffff81a5b750 ffff88001ebcfe18 ffffffff8166f1c6 ffff880000000010 ffff88001ebcfe28 ffff88001ebcfdc8 ffffffff81150f18 ffff88001ebcfe18 Call Trace: [<ffffffff8166f44f>] dump_stack+0x49/0x62 [<ffffffff8166f1c6>] panic+0xc1/0x206 [<ffffffff81150f18>] ? remote_function+0x48/0x60 [<ffffffff81073a3c>] find_new_reaper+0x18c/0x190 [<ffffffff810740d5>] forget_original_parent+0x45/0x2d0 [<ffffffff8115b600>] ? perf_cgroup_switch+0x180/0x180 [<ffffffff81150f9c>] ? perf_cgroup_exit+0x1c/0x20 [<ffffffff81074377>] exit_notify+0x17/0x140 [<ffffffff81075ca1>] do_exit+0x1e1/0x470 [<ffffffff81075f85>] do_group_exit+0x55/0xd0 [<ffffffff81076017>] SyS_exit_group+0x17/0x20 [<ffffffff81673989>] system_call_fastpath+0x12/0x17 Kernel Offset: 0x0 from 0xffffffff81000000 (relocation range: 0xffffffff80000000-0xffffffff9fffffff)

SOLUTION: As suggested, add selinux=0 in "Extra" field in SolusVM VM entry, and reboot.

Was this answer helpful?

« Back