Hoping this information is not too late to be helpful. I was unable to test until recently. * Hardware: ASRock Z77 Extreme9, Intel Core i7 3770, 32G Corsair XMS 1600Mhz RAM, OCZ Vertex 3 SSD * Software: Debian Wheezy (7) * Guest operating systems: IPFire (2.13 Core 69) * Functionality tested: used make debball (Success) xl (+ cpu_weight in vm.cfg) (Success) pygrub (Failed) xendomains script (Success) * Comments: (Coming from Xen 4.2) pygrub could not load, log contained: Traceback (most recent call last): File "/usr/lib/xen/bin/pygrub", line 20, in <module> import xen.lowlevel.xc ImportError: No module named xen.lowlevel.xc The xendomains save, restore, and shutdown processes are working. The new default lib path (/usr/local) did not work. Problems finding libxenctrl.so.4.3 for watchdog and xencommons processes. Reinstalled with `./configure --prefix=/usr` solved this, though I believe the intention of this change was to move from /usr to /usr/local. IPfire running solidly. Was unable to use keyboard over VNC while installing IPFire, but SDL worked fine. Assuming it was a userland configuration problem. _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel
On Wed, 2013-07-03 at 09:21 -0400, Casey DeLorme wrote:> Hoping this information is not too late to be helpful. I was unable > to test until recently.Thanks for the test + report.> * Comments: (Coming from Xen 4.2) > pygrub could not load, log contained: > > Traceback (most recent call last): > File "/usr/lib/xen/bin/pygrub", line 20, in <module> > import xen.lowlevel.xc > ImportError: No module named xen.lowlevel.xcIf you used --prefix=/usr then I suspect you have reintroduced the issue described at http://wiki.xen.org/wiki/Compiling_Xen_From_Source#Python_Prefix_and_Module_Layout> The new default lib path (/usr/local) did not work. Problems finding > libxenctrl.so.4.3 for watchdog and xencommons processes. Reinstalled > with `./configure --prefix=/usr` solved this, though I believe the > intention of this change was to move from /usr to /usr/local.You likely needed to run ldconfig. Ian.
Il 03/07/2013 15:21, Casey DeLorme ha scritto:> Hoping this information is not too late to be helpful. I was unable > to test until recently. > > * Hardware: > ASRock Z77 Extreme9, Intel Core i7 3770, 32G Corsair XMS 1600Mhz RAM, > OCZ Vertex 3 SSD > * Software: > Debian Wheezy (7) > > * Guest operating systems: > IPFire (2.13 Core 69) > > * Functionality tested: > used make debball (Success) > xl (+ cpu_weight in vm.cfg) (Success) > pygrub (Failed)I tested pygrub on dom0 probably identical to your installation successfully with squeeze and wheezy domUs. Details of my latest test build: http://lists.xen.org/archives/html/xen-devel/2013-07/msg00068.html Probably your problem will be solved with this: diff --git a/Config.mk b/Config.mk index cde6e5a..25d38b2 100644 --- a/Config.mk +++ b/Config.mk @@ -77,7 +77,7 @@ EXTRA_LIB += $(EXTRA_PREFIX)/lib endif PYTHON ?= python -PYTHON_PREFIX_ARG ?= --prefix="$(PREFIX)" +PYTHON_PREFIX_ARG ? # The above requires that PREFIX contains *no spaces*. This variable is here # to permit the user to set PYTHON_PREFIX_ARG to '''' to workaround this bug: # https://bugs.launchpad.net/ubuntu/+bug/362570> xendomains script (Success) > > * Comments: (Coming from Xen 4.2) > pygrub could not load, log contained: > Traceback (most recent call last): > File "/usr/lib/xen/bin/pygrub", line 20, in <module> > import xen.lowlevel.xc > ImportError: No module named xen.lowlevel.xc > > The xendomains save, restore, and shutdown processes are working. > > The new default lib path (/usr/local) did not work. Problems finding > libxenctrl.so.4.3 for watchdog and xencommons processes. Reinstalled > with `./configure --prefix=/usr` solved this, though I believe the > intention of this change was to move from /usr to /usr/local. > > IPfire running solidly. Was unable to use keyboard over VNC while > installing IPFire, but SDL worked fine. Assuming it was a userland > configuration problem. > > > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xen.org > http://lists.xen.org/xen-devel_______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel
Thanks for the quick solutions! On Wed, Jul 3, 2013 at 9:32 AM, Ian Campbell <Ian.Campbell@citrix.com>wrote:> On Wed, 2013-07-03 at 09:21 -0400, Casey DeLorme wrote: > > Hoping this information is not too late to be helpful. I was unable > > to test until recently. > > Thanks for the test + report. > > > * Comments: (Coming from Xen 4.2) > > pygrub could not load, log contained: > > > > Traceback (most recent call last): > > File "/usr/lib/xen/bin/pygrub", line 20, in <module> > > import xen.lowlevel.xc > > ImportError: No module named xen.lowlevel.xc > > If you used --prefix=/usr then I suspect you have reintroduced the issue > described at > > http://wiki.xen.org/wiki/Compiling_Xen_From_Source#Python_Prefix_and_Module_Layout > > I built again this time editing Config.mk `PYTHON_PREFIX_ARG ?--install-layout=deb`.> > The new default lib path (/usr/local) did not work. Problems finding > > libxenctrl.so.4.3 for watchdog and xencommons processes. Reinstalled > > with `./configure --prefix=/usr` solved this, though I believe the > > intention of this change was to move from /usr to /usr/local. > > You likely needed to run ldconfig. > > After installed I ran `ldconfig` and rebooted. Everything worked exactlyas expected, and I was able to create a VM using pygrub. Totally did not realize there was an instructions page. Xen 4.4 unstable, running on Debian Wheezy, thanks for the tips! _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel