[Pkg-xen-devel] Bug#562703: Bug#562703: qemu-dm missing from xen-utils-3.4

Nick Craig-Wood nick at craig-wood.com
Fri May 21 08:58:37 UTC 2010


On Fri, May 21, 2010 at 03:13:50AM +0800, Thomas Goirand wrote:
> > Could not read keymap file: '/usr/share/xen/qemu/keymaps/en-us'
> First, thanks for this important feedback.

I'd like to get it working too!

> What I believe is happening is that qemu can't find its keyboard definition file and just exits... :(
> 
> xen-qemu-dm depends on qemu-system because that is the only package that holds the keyboard definition in Debian. It is highly not wanted in a distribution to have multiple copies of the same file. But as we don't need the full of qemu in kvm or xen, but just the bios and keyboard definitions, it was planned that the files would be sent to a separate binary package.
> 
> Maybe this has already happened and I was not aware of it. Can you please use apt-file to search for the correct dependency that is mising? Eg something like:
> 
> apt-file search en-us PIPE grep keymaps

# apt-file search en-us | grep keymap
faumachine-data: /usr/share/faumachine/keymaps/en-us
kvm: /usr/share/kvm/keymaps/en-us
qemu: /usr/share/qemu/keymaps/en-us
qemu-kvm: /usr/share/kvm/keymaps/en-us
qemu-system: /usr/share/qemu/keymaps/en-us
rdesktop: /usr/share/rdesktop/keymaps/en-us
xen-utils-3.2-1: /usr/share/xen-3.2-1/qemu/keymaps/en-us

So by the look of it the keymaps were in xen-utils-3.2 but are no longer in xen-utils-3.4

# dpkg -L xen-utils-3.4 | grep keymap
# dpkg -L xen-utils-3.4 | grep en-us
#

> (sorry, can't fine how to type a PIPE in the N900, if you do please tell me...)

;-)

> Then I suppose that just a symlinks to that file in:
> 
> /usr/share/xen/qemu/keymaps/en-us
> 
> will fix your issue with the keyboard definition. In any ways, I am VERY interested by your feedback here, as clearly, it seems there's a dependency or path issue here, that I didn't see (maybe because I did tests on my laptop only, and this laptop has a shitload of stuff installed, including qemu itself).

I did this to link the keymaps into those provided by qemu-system

# cd /usr/share
# mkdir xen
# cd xen/
# ln -s ../qemu
# ls -ld /usr/share/xen/qemu
lrwxrwxrwx 1 root root 7 2010-05-21 08:18 /usr/share/xen/qemu -> ../qemu

And, presto, the domain starts and appears to be all working :-)

-- 
Nick Craig-Wood <nick at craig-wood.com> -- http://www.craig-wood.com/nick





More information about the Pkg-xen-devel mailing list