Bug 205262 - centos 6.7 x86_64 panic on bhyve
Summary: centos 6.7 x86_64 panic on bhyve
Status: Closed Unable to Reproduce
Alias: None
Product: Base System
Classification: Unclassified
Component: kern (show other bugs)
Version: 10.2-RELEASE
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-virtualization (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-12-12 04:18 UTC by Jov
Modified: 2017-06-09 08:57 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jov 2015-12-12 04:18:11 UTC
installed from iso:CentOS-6.7-x86_64-minimal.iso,iso check sum ok.
install ok.

I use vm-byhve,the centos6.conf is :
guest="centos"
linux_kernel="2.6.32-573.el6.x86_64"
cpu=1
memory=512M
network0_type="virtio-net"
network0_switch="public"
disk0_type="virtio-blk"
disk0_name="disk0.img"
uuid="5d49e7b5-a07a-11e5-afa3-00cfe0306cb6"
network0_mac="58:9c:fc:00:f4:c1"
~                                

boot.cmd:
linux /vmlinuz-2.6.32-573.el6.x86_64 root=/dev/mapper/centos-root
initrd /initramfs-2.6.32-573.el6.x86_64.img
boot

bhyve log:
ec 12 10:58:37: initialising
Dec 12 10:58:37:  [guest: centos]
Dec 12 10:58:37:  [uefi: no]
Dec 12 10:58:37:  [cpu: 1]
Dec 12 10:58:37:  [memory: 512M]
Dec 12 10:58:37:  [hostbridge: standard]
Dec 12 10:58:37:  [com ports: com1]
Dec 12 10:58:37:  [uuid: 5d49e7b5-a07a-11e5-afa3-00cfe0306cb6]
Dec 12 10:58:37:  [utctime: no]
Dec 12 10:58:37:  [debug mode: no]
Dec 12 10:58:37:  [primary disk: disk0.img]
Dec 12 10:58:37:  [primary disk dev: file]
Dec 12 10:58:37: initialising network device tap2
Dec 12 10:58:37: adding tap2 -> bridge0 (public)
Dec 12 10:58:37: booting
Dec 12 10:58:37: create file /data/vm/centos6/device.map
Dec 12 10:58:37:  -> (hd0) /data/vm/centos6/disk0.img
Dec 12 10:58:37: create file /data/vm/centos6/boot.cmd
Dec 12 10:58:37:  -> linux /vmlinuz-2.6.32-573.el6.x86_64 root=/dev/mapper/centos-root
Dec 12 10:58:37:  -> initrd /initramfs-2.6.32-573.el6.x86_64.img
Dec 12 10:58:37:  -> boot
Dec 12 10:58:37: grub-bhyve -r hd0,msdos1 -m /data/vm/centos6/device.map -M 512M centos6 < /data/vm/centos6/boot.cmd
Dec 12 10:58:38:  [bhyve options: -c 1 -m 512M -AHP -U 5d49e7b5-a07a-11e5-afa3-00cfe0306cb6]
Dec 12 10:58:38:  [bhyve devices: -s 0,hostbridge -s 31,lpc -s 4:0,virtio-blk,/data/vm/centos6/disk0.img -s 5:0,virtio-net,tap2,mac=58:9c:fc:00:f4:c1 -s 6:0,virtio-rnd]
Dec 12 10:58:38:  [bhyve console: -l com1,/dev/nmdm2A]
Dec 12 10:58:38: starting bhyve
Dec 12 11:01:27: bhyve exited with status 1
Dec 12 11:01:27: destroying network device tap2
Dec 12 11:01:27: stopped

guest panic info:
dracut: Scanning devices vda2  for LVM volume groups 
dracut: Reading all physical volumes. This may take a while...
dracut: Found volume group "VolGroup" using metadata type lvm2

dracut: PARTIAL MODE. Incomplete logical volumes will be processed.
dracut: 2 logical volume(s) in volume group "VolGroup" now active
dracut Warning: No root device "block:/dev/mapper/centos-root" found

dracut Warning: Boot has failed. To debug this issue add "rdshell" to the kernel command line.


dracut Warning: Signal caught!

dracut Warning: Boot has failed. To debug this issue add "rdshell" to the kernel command line.
Kernel panic - not syncing: Attempted to kill init!
Pid: 1, comm: init Not tainted 2.6.32-573.el6.x86_64 #1
Call Trace:
 [<ffffffff81537a84>] ? panic+0xa7/0x16f
 [<ffffffff8107cd17>] ? do_exit+0x867/0x870
 [<ffffffff811935a5>] ? fput+0x25/0x30
 [<ffffffff8107cd78>] ? do_group_exit+0x58/0xd0
 [<ffffffff8107ce07>] ? sys_exit_group+0x17/0x20
 [<ffffffff8100b0d2>] ? system_call_fastpath+0x16/0x1b