Nova instance boot fail with kernel panic. [closed]

asked 2014-09-01 04:33:29 -0600

siuming gravatar image

Hi, everyone:

I'm running icehouse on centos6.5,all scenarios work ok with Cirros image, but others fail. while using centos6.5 image ,the guest os cause kernel panic like below:

       ?Kernel panic - not syncing: Attempted to kill init!
Pid: 1, comm: init Not tainted 2.6.32-431.17.1.el6.x86_64 #1
Call Trace:
 [<ffffffff815274ef>] ? panic+0xa7/0x16f
 [<ffffffff81077292>] ? do_exit+0x862/0x870
 [<ffffffff810772f8>] ? do_group_exit+0x58/0xd0
 [<ffffffff81077387>] ? sys_exit_group+0x17/0x20
 [<ffffffff8100b072>] ? system_call_fastpath+0x16/0x1b
general protection fault: fff2 [#1] SMP 
last sysfs file: 
CPU 0 
Modules linked in:

Pid: 1, comm: init Not tainted 2.6.32-431.17.1.el6.x86_64 #1 Red Hat RHEV Hypervisor
RIP: 0010:[<ffffffff81527594>]  [<ffffffff81527594>] panic+0x14c/0x16f
RSP: 0018:ffff88007e497e48  EFLAGS: 00000246
RAX: 0000000000000000 RBX: ffffffff817b17c7 RCX: 0000000000000000
RDX: ffffffff81e31ebc RSI: 0000000000000000 RDI: 0000000000000046
RBP: ffff88007e497eb8 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000001 R11: 0000000000000000 R12: 0000000000000001
R13: ffffffff81aa4500 R14: ffff88007e495500 R15: 0000000000000000
FS:  00007f977f754700(0000) GS:ffff880002200000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 000000008005003b
CR2: 00007f977f251ff0 CR3: 0000000001a85000 CR4: 00000000000006f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 0000000000000000 DR7: 0000000000000000
Process init (pid: 1, threadinfo ffff88007e496000, task ffff88007e495500)
Stack:
 ffff88007e495500 0000000000000000 ffff880000000008 ffff88007e497ec8
<d> ffff88007e497e78 ffffffff81edb498 ffff88007e497eb8 0000000000000000
<d> ffff88007e480840 ffff88007e495e78 ffff88007e495e78 0000000000000000
Call Trace:
 [<ffffffff81077292>] do_exit+0x862/0x870
 [<ffffffff810772f8>] do_group_exit+0x58/0xd0
 [<ffffffff81077387>] sys_exit_group+0x17/0x20
 [<ffffffff8100b072>] system_call_fastpath+0x16/0x1b
Code: e8 e2 5f d6 ff 48 8b 45 98 48 8d 5c 03 01 69 05 97 a4 90 00 e8 03 00 00 48 98 48 39 d8 7f ca e8 93 b6 b6 ff fb 66 0f 1f 44 00 00 <31> db e8 65 ea bb ff 48 89 df ff 15 6c a4 90 00 bf 58 89 41 00 
RIP  [<ffffffff81527594>] panic+0x14c/0x16f
 RSP <ffff88007e497e48>
---[ end trace b6d4b02c0cc523eb ]---

while using ubuntn14.04 image, the guest os cause errors like below:

    [    0.000000] Initializing cgroup subsys cpuset
[    0.000000] Initializing cgroup subsys cpu
[    0.000000] Initializing cgroup subsys cpuacct
[    0.000000] Linux version 3.13.0-34-generic (buildd@allspice) (gcc version 4.8.2 (Ubuntu 4.8.2-19ubuntu1) ) #60-Ubuntu SMP Wed Aug 13 15:45:27 UTC 2014 (Ubuntu 3.13.0-34.60-generic 3.13.11.4)
[    0.000000] Command line: BOOT_IMAGE=/boot/vmlinuz-3.13.0-34-generic root=LABEL=cloudimg-rootfs ro console=tty1 console=ttyS0
[    0.000000] KERNEL supported cpus:
[    0.000000]   Intel GenuineIntel
[    0.000000]   AMD AuthenticAMD
[    0.000000]   Centaur CentaurHauls
[    0.000000] Disabled fast string operations
[    0.000000] e820: BIOS-provided physical RAM map:
[    0.000000] BIOS-e820: [mem 0x0000000000000000-0x000000000009dbff] usable
[    0.000000] BIOS-e820: [mem 0x000000000009dc00-0x000000000009ffff] reserved
[    0.000000] BIOS-e820: [mem 0x00000000000f0000-0x00000000000fffff] reserved
[    0.000000] BIOS-e820: [mem 0x0000000000100000-0x000000007fffcfff] usable
[    0.000000] BIOS-e820: [mem 0x000000007fffd000-0x000000007fffffff] reserved
[    0.000000] BIOS-e820: [mem 0x00000000fffc0000-0x00000000ffffffff] reserved
[    0.000000] NX (Execute Disable) protection: active
[    0.000000] SMBIOS 2.4 present.
[    0.000000] No AGP bridge found
[    0.000000] e820: last_pfn = 0x7fffd max_arch_pfn = 0x400000000
[    0.000000] x86 PAT enabled: cpu 0, old 0x0, new 0x7010600070106
[    0.000000] found SMP MP-table at [mem 0x000fda50-0x000fda5f] mapped at [ffff8800000fda50]
[    0.000000 ...
(more)
edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by siuming
close date 2014-09-01 22:01:11.997491

Comments

I would guess you have to use m1.small 2 at least ( not m1.tiny 1)

dbaxps gravatar imagedbaxps ( 2014-09-01 05:27:18 -0600 )edit
1

use m1.tiny will cause FlavorTooSmal...error. exactly, i use m1.small to run the image.

siuming gravatar imagesiuming ( 2014-09-01 06:24:17 -0600 )edit

Could you try f20 or ubuntu ready to go images ?

dbaxps gravatar imagedbaxps ( 2014-09-01 07:17:01 -0600 )edit

is f20 means flavor 20G ? i use virt-manager create the image, and use the https://cloud-images.ubuntu.com/ for test.but both fail. by the way, on the network node or compute node restart the openvswitch sometimes crash the host os with kernal panic. is there something wrong with the openvswitch ?

siuming gravatar imagesiuming ( 2014-09-01 09:32:11 -0600 )edit

the problem is fix. there is something with libvirtd, i enable bios cpu virtualization and it works .thanks @dbaxps.

siuming gravatar imagesiuming ( 2014-09-01 22:00:54 -0600 )edit