Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Trouble making a Xen Host (Dom0)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
locerra
n00b
n00b


Joined: 20 Feb 2011
Posts: 12
Location: Seattle

PostPosted: Thu May 03, 2012 2:33 am    Post subject: Trouble making a Xen Host (Dom0) Reply with quote

Hi,

So I've been trying to make a gentoo xen host of and on for a little while now, and I can't seem to resolve the issue I'm having. When trying to boot into the system, it crashes upon starting init. More specifically, I have two entries in my Grub2 configuration, one which loads the xen stuff before my initrd, and the other that just uses my initrd. When preloading the xen stuff, it crashes after it completes my initrd (and reboots the system).

Versions of the relevant software: gentoo-sources-3.2.12, xen-tools-4.1.1-r6, xen-4.1.1-r2, grub-2.00-beta3-r2.
I followed the guide on the gentoo wiki http://en.gentoo-wiki.com/wiki/Xen4.1, but I have no idea it is crashing on me.

Any help would be much appreciated, let me know if I can provide any more details (my configurations are pretty bare bone though, since this is a clean install based off of the guide).

Thanks
Back to top
View user's profile Send private message
Mad Merlin
Veteran
Veteran


Joined: 09 May 2005
Posts: 1134

PostPosted: Thu May 03, 2012 4:32 am    Post subject: Reply with quote

Any reason you want Xen specifically? I would recommend KVM for new installs, it's much nicer to work with.
_________________
Game! - Where the stick is mightier than the sword!
Back to top
View user's profile Send private message
locerra
n00b
n00b


Joined: 20 Feb 2011
Posts: 12
Location: Seattle

PostPosted: Thu May 03, 2012 8:48 am    Post subject: Reply with quote

Well, I chose Xen over kvm because as far as I'm aware kvm doesn't support dynamic cpu management nor graphics passthrough. Also, how is kvm's memory ballooning, it is still marked as experimental in the kernel config. If my knowledge is dated, then I would have no problem using kvm.
Back to top
View user's profile Send private message
Mad Merlin
Veteran
Veteran


Joined: 09 May 2005
Posts: 1134

PostPosted: Thu May 03, 2012 8:18 pm    Post subject: Reply with quote

By dynamic cpu management, do you mean cpu hotplug? If so, KVM has had it for a long time. KVM supports PCIe passthrough with the right hardware support (VT-d), though it can be hit and miss, based on the motherboard BIOS and/or the actual expansion card. I have seen successful reports with GPU passthrough through. Memory ballooning I believe is pretty mature now, though I've never tried it myself.
_________________
Game! - Where the stick is mightier than the sword!
Back to top
View user's profile Send private message
cach0rr0
Moderator
Moderator


Joined: 13 Nov 2008
Posts: 4117
Location: Houston, Republic of Texas

PostPosted: Fri May 04, 2012 2:56 am    Post subject: Reply with quote

two things:

-i second the comments about KVM, and yes, PCI passthrough works, as does cpu hotplugging
-if you want to diagnose the Xen crash, id be curious to know that the text of the "crash" actually says. May be the case you fare better making your own initramfs.
_________________
Lost configuring your system?
dump lspci -n here | see Pappy's guide | Link Stash
Back to top
View user's profile Send private message
locerra
n00b
n00b


Joined: 20 Feb 2011
Posts: 12
Location: Seattle

PostPosted: Sat May 05, 2012 8:26 am    Post subject: Reply with quote

Ok, I'll see if I can get what I want set up with KVM, although I'm sceptical about of the status graphics passthrough (there seems to be very limited success from what I've read).

As for the crash, it prints nothing. What I get is the expected xen.gz stuff, then my initramfs stuff, then it tells me init is starting, a moment or two passes and it reboots.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware 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