Thomas Goirand
2008-Dec-08 08:52 UTC
[Pkg-xen-devel] Bug#508139: HVM guests can't be used because there is no /usr/lib/xen folder
Package: xen-utils-3.2-1 Version: 3.2.1-2 Severity: grave I tried to start an HVM guest to setup Windows 2003 64 bits entreprise R2, and I spent a long time figuring out that there is no /usr/lib/xen folder by default, and this is where Xen is searching for it's file when using HVM, VNC and all. Doing a simple symlink with ln -s /usr/lib/xen-3.2.1 /usr/lib/xen made it working, if it's not present, the VM is stuck and wainting for whatever. The system MUST be usable as-is, or at least, some things shall be explained somewhere to warn the user about it. I had a look into the README.Debian, and nothing seemed to talk about this problem. Maybe the way to fix would be to do the following in your postinst: if [ -e /usr/lib/xen ] ; then ln -s /etc/alternatives/xen /usr/lib/xen fi That's what I think should be best. -- System Information: Debian Release: lenny/sid APT prefers testing APT policy: (500, 'testing') Architecture: amd64 (x86_64) Kernel: Linux 2.6.27.6 (SMP w/2 CPU cores; PREEMPT) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages xen-utils-3.2-1 depends on: ii e2fslibs 1.41.3-1 ext2 filesystem libraries ii iproute 20080725-2 networking and traffic control too ii libc6 2.7-16 GNU C Library: Shared libraries ii libgcrypt11 1.4.1-1 LGPL Crypto library - runtime libr ii libgnutls26 2.4.2-3 the GNU TLS library - runtime libr ii libncurses5 5.6+20080830-1 shared libraries for terminal hand ii libsdl1.2debian 1.2.13-2 Simple DirectMedia Layer ii libxenstore3.0 3.2.1-2 Xenstore communications library fo ii python 2.5.2-3 An interactive high-level object-o ii python-central 0.6.8 register and build utility for Pyt ii udev 0.125-7 /dev/ and hotplug management daemo ii xen-utils-common 3.2.0-2 XEN administrative tools - common ii zlib1g 1:1.2.3.3.dfsg-12 compression library - runtime Versions of packages xen-utils-3.2-1 recommends: ii bridge-utils 1.4-5 Utilities for configuring the Linu ii xen-hypervisor-3.2-1-amd64 [x 3.2.1-2 The Xen Hypervisor on AMD64 Versions of packages xen-utils-3.2-1 suggests: pn xen-docs-3.2 <none> (no description available) -- no debconf information
Bastian Blank
2008-Dec-08 09:09 UTC
[Pkg-xen-devel] Bug#508139: Bug#508139: HVM guests can't be used because there is no /usr/lib/xen folder
severity 508139 normal thanks Please reread the bts documentation what "grave" means. On Mon, Dec 08, 2008 at 04:52:04PM +0800, Thomas Goirand wrote:> I tried to start an HVM guest to setup Windows 2003 64 bits entreprise R2, and > I spent a long time figuring out that there is no /usr/lib/xen folder by > default, and this is where Xen is searching for it's file when using HVM, VNC > and all. Doing a simple symlink with ln -s /usr/lib/xen-3.2.1 /usr/lib/xen made > it working, if it's not present, the VM is stuck and wainting for whatever.No. It explicitely searches in /usr/lib/xen-bla/{bin,boot}.> The system MUST be usable as-is, or at least, some things shall be explained > somewhere to warn the user about it. I had a look into the README.Debian, and > nothing seemed to talk about this problem.It is. The shipped config examples shows the correct behavior. README.Debian don't show it however. Bastian -- I'm a soldier, not a diplomat. I can only tell the truth. -- Kirk, "Errand of Mercy", stardate 3198.9
Debian Bug Tracking System
2008-Dec-08 09:12 UTC
[Pkg-xen-devel] Processed: Re: Bug#508139: HVM guests can't be used because there is no /usr/lib/xen folder
Processing commands for control at bugs.debian.org:> severity 508139 normalBug#508139: HVM guests can't be used because there is no /usr/lib/xen folder Severity set to `normal' from `grave'> thanksStopping processing here. Please contact me if you need assistance. Debian bug tracking system administrator (administrator, Debian Bugs database)
Reasonably Related Threads
- Bug#507186: xen-utils-3.2-1 doesn't package the xen python library correctly
- Bug#509890: xen-utils-3.2-1: qemu-dm is on amd64 not built for xenfv and xenpv
- Bug#609517: xen-utils-3.2-1: Pygrub can't find grub.conf in a reiserfs partion on amd64 arch
- Bug#525169: xen-utils-3.2-1: FreeBSD (possbly others) do not work in Xen 3.2-1 due to real mode emulation bugs
- Bug#532603: xen-utils-3.2-1: incorrectly calls network-script