Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
domU keep crashing when install ubuntu as pv domU
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
aleiphoenix
n00b
n00b


Joined: 03 Sep 2012
Posts: 21

PostPosted: Wed Oct 09, 2013 11:25 am    Post subject: domU keep crashing when install ubuntu as pv domU Reply with quote

I'm using xen 4.3 with gentoo as dom0.

the kernel and ramdisk file is taken from http://ftp.jaist.ac.jp/pub/Linux/ubuntu/dists/precise/main/installer-amd64/current/images/netboot/xen/

the pv domU config file (according to the ubuntu xen documentation https://help.ubuntu.com/community/Xen)

precise.cfg

Code:

name   = "precise"
kernel = "/xen/kernels/precise/vmlinuz"
ramdisk = "/xen/kernels/precise/initrd.gz"
# builder = "linux"
# bootloader = "pygrub"
memory  = 512
extra   = "debian-installer/exit/always_halt=true -- console=hvc0"
# device_model_override = "/usr/lib64/xen/bin/qemu-dm"
vif     = ['bridge=br0',]
# disk    = ['file:/xen/livecd/ubuntu-12.04-server-amd64.iso,xvdc:cdrom,r', 'phy:/dev/vg/precise_root,xvda,w', 'phy:/dev/vg/precise_swap,xvdb,w']
disk    = ['phy:/dev/vg/precise_root,xvda,w', 'phy:/dev/vg/precise_swap,xvdb,w']
# root    = "/dev/xvdc"
vfb     = ['type=vnc,vnclisten=0.0.0.0,vncunused=1']
vcpus   = 2
boot    = "d"

vnclisten = "0.0.0.0"

# on_reboot = 'restart'
# on_crash  = 'restart'


When i type "xl create precise.cfg", the domU started and simply get crashed.

and try to boot domU as hvm

Code:

builder = "hvm"


the iso booted very well, but report i686 cpu detected.

I'm running on an Intel Core 2 E7500 CPU , and VT-x is turned on.

I'm confused.

Someone could help me out, thanks!
Back to top
View user's profile Send private message
hydrapolic
Tux's lil' helper
Tux's lil' helper


Joined: 07 Feb 2008
Posts: 112

PostPosted: Thu Oct 24, 2013 7:21 pm    Post subject: Reply with quote

I played with ubuntu in xenu before and I found this configuration:
kernel = "/usr/lib/xen/boot/pv-grub-x86_64.gz"
memory = 4096
name = "u1004"
vcpus = 8
vif = [ '' ]
disk = [ 'phy:/dev/vg_data/u1004,xvda,w' ]
extra = "(hd0,0)/grub/menu.lst"

Maybe try a minimalistic configuration like:
kernel = "/xen/kernels/precise/vmlinuz"
ramdisk = "/xen/kernels/precise/initrd.gz"
memory = 512
name = "precise"
vcpus = 2
vif = [ '' ]
disk = [ 'phy:/dev/vg/precise_root,xvda,w' ]

Which USE flags have you enabled for xen/xen-tools? If possible, try to name your bridge as xenbr0.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum