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

Thomas Goirand thomas at goirand.fr
Thu May 20 19:13:50 UTC 2010


----- Original message -----
> I tried using
>
> 
> http://ftparchive.gplhost.com/debian/pool/lenny/main/x/xen-qemu-dm-3.4/xen-qemu-dm-3.4_3.4.2-1_amd64.deb
>
> But my hvm instance wouldn't start.
>
> I got this in the qemu-dm log
>
> domid: 22
> qemu: the number of cpus is 2
> Watching /local/domain/0/device-model/22/logdirty/next-active
> Watching /local/domain/0/device-model/22/command
> char device redirected to /dev/pts/0
> qemu_map_cache_init nr_buckets = 10000 size 4194304
> shared page at pfn feffd
> buffered io page at pfn feffb
> Guest uuid = e3747458-c11e-be55-74c7-0122aa2371b7
> Time offset set 0
> populating video RAM at ff000000
> mapping video RAM from ff000000
> Register xen platform.
> Done register platform.
> xs_read(/vm/e3747458-c11e-be55-74c7-0122aa2371b7/log-throttling): read error
> platform_fixed_ioport: changed ro/rw state of ROM memory area. now is rw state.
> xs_read(/local/domain/0/device-model/22/xen_extended_power_mgmt): read error
> Could not read keymap file: '/usr/share/xen/qemu/keymaps/en-us'
>
> The config file is
>
> builder='hvm'
> device_model = '/usr/lib/xen-default/bin/qemu-dm'
> boot='c'
> sdl=0
> vnc=1
> vncviewer=0
> serial='pty'
> ne2000=0
> usb=1
> usbdevice='tablet'
> kernel = "/usr/lib/xen-default/boot/hvmloader"
> memory = 1024
> name = "win2003"
> domain = "win2003"
> vif = [ 'type=ioemu, ip=10.0.0.4, bridge=win2003, mac=00:16:3E:00:00:01' ]
> disk = [ 'file:/home/win2003/miniserver/root_fs,ioemu:hda,w' ]
> extra = ""
> restart = 'onreboot'
> vcpus = 2
>
> This is a config file that used to work under Xen 3.2

Hi,

First, thanks for this important feedback.

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

(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).

Thomas






More information about the Pkg-xen-devel mailing list