Skip to contentSkip to conversation

Xen 4.2 RC4 test on Debian

DISCUSSION Mathias Gaunard 2 participants 4 messages Sep 10, 2012

lore
Share & tools
lore
#0 lore raw

Hi, I tried to install Xen 4.2 RC4 on Debian Wheezy.

I followed the instructions here:
<http://wiki.xen.org/wiki/Xen_4.2_RC2_test_instructions>

./configure
make world
make deb

then sudo dpkg -i --force-overwrite dist/xen-upstream-4.2.0-rc4.deb

I used --force-overwrite so that I didn't have to uninstall my libxenstore package on which several other things depend.

then sudo update-grub

I rebooted and selected Xen 4.2

# xm
Traceback (most recent call last):
  File "/usr/sbin/xm", line 5, in <module>
    from xen.xm import main
ImportError: No module named xen.xm
# xl list
libxl: error: libxl.c:87:libxl_ctx_alloc: Is xenstore daemon running?
failed to stat /var/run/xenstored.pid: No such file or directory
cannot init xl context
# service xen start
Not running within Xen or no compatible utils ... (warning).

Doesn't seem to work terribly well, and I cannot find any instructions on how to fix those problems.

#1 lore raw
Quoted 24 lines · Mathias Gaunard

Hi, I tried to install Xen 4.2 RC4 on Debian Wheezy.

I followed the instructions here:
<http://wiki.xen.org/wiki/Xen_4.2_RC2_test_instructions>

./configure
make world
make deb

then sudo dpkg -i --force-overwrite dist/xen-upstream-4.2.0-rc4.deb

I used --force-overwrite so that I didn't have to uninstall my libxenstore package on which several other things depend.

then sudo update-grub

I rebooted and selected Xen 4.2

# xm
Traceback (most recent call last):
   File "/usr/sbin/xm", line 5, in <module>
     from xen.xm import main
ImportError: No module named xen.xm
Quoted 7 lines
# xl list
libxl: error: libxl.c:87:libxl_ctx_alloc: Is xenstore daemon running?
failed to stat /var/run/xenstored.pid: No such file or directory
cannot init xl context
# service xen start
Not running within Xen or no compatible utils ... (warning).

The xen initscript is part of the Debian packaging, which is leftover due to your use of force above.

The xen supplied script is called "xencommons".

Quoted 2 lines

Doesn't seem to work terribly well, and I cannot find any instructions on how to fix those problems.

I suspect they mostly stem from you forcing the package manager to do something it didn't want to.

I'm afraid that bug reports arising from a system which has had this done to it are of rather low value.

Ian.

#2 lore raw
Quoted 5 lines · Ian Campbell
Quoted 2 lines
# service xen start
Not running within Xen or no compatible utils ... (warning).

The xen initscript is part of the Debian packaging, which is leftover due to your use of force above.

It's part of xen-utils-common, which is not installed on my system anymore.

I used to have xen from the debian repositories installed, which I uninstalled as the instructions said. It's possible it didn't remove all files.

In any case, I fixed the Python path problem and starting with xencommons works correctly.

One of my VMs has however disappeared. The others migrated successfully.

Quoted 8 lines

The xen supplied script is called "xencommons".

Quoted 2 lines

Doesn't seem to work terribly well, and I cannot find any instructions on how to fix those problems.

I suspect they mostly stem from you forcing the package manager to do something it didn't want to.

I only forced it to erase /usr/lib/libxenstore.so.3.0.0

Quoted 2 lines

I'm afraid that bug reports arising from a system which has had this done to it are of rather low value.

This is not a bug report. Just a user trying to use what will likely become a release.

#3 lore raw
Quoted 9 lines · Mathias Gaunard
Quoted 5 lines · Ian Campbell
Quoted 2 lines
# service xen start
Not running within Xen or no compatible utils ... (warning).

The xen initscript is part of the Debian packaging, which is leftover due to your use of force above.

It's part of xen-utils-common, which is not installed on my system anymore.

Did you purge it? On Debian conffiles (which includes initscripts) are not removed when you remove a package, you need to purge a package to get rid of everything.

Ian.