Nick Craig-Wood
2010-May-20 16:54 UTC
[Pkg-xen-devel] Bug#562703: qemu-dm missing from xen-utils-3.4
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 -- Nick Craig-Wood <nick at craig-wood.com> -- http://www.craig-wood.com/nick
Thomas Goirand
2010-May-20 19:13 UTC
[Pkg-xen-devel] Bug#562703: Bug#562703: qemu-dm missing from xen-utils-3.4
----- 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.2Hi, 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
Daniel Walrond
2010-Jun-09 16:07 UTC
[Pkg-xen-devel] Bug#562703: qemu-dm missing from xen-utils-3.4
Hello,> Please test this: > > http://ftparchive.gplhost.com/debian/pool/lenny/main/x/xen-qemu-dm-3.4/ > > Note that you should recompile it if you are running in in SID.Should this package work okay with the version of Xen in Squeeze? Which is 3.4.3. Or is there a more up to date version of qemu-dm in the later version of Xen? I have tried to install Windows Server 2008 R2 which always fails at 9% of the installation. Dan