Debian Bug report logs - #640139
Won't start when using spice on 32bit host

version graph

Package: qemu-kvm; Maintainer for qemu-kvm is Debian QEMU Team <pkg-qemu-devel@lists.alioth.debian.org>; Source for qemu-kvm is src:qemu (PTS, buildd, popcon).

Reported by: Guido Günther <agx@sigxcpu.org>

Date: Fri, 2 Sep 2011 19:27:01 UTC

Severity: normal

Tags: confirmed, upstream

Found in version qemu-kvm/0.15.0+dfsg-2

Done: Michael Tokarev <mjt@tls.msk.ru>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Michael Tokarev <mjt@tls.msk.ru>:
Bug#640139; Package qemu-kvm. (Fri, 02 Sep 2011 19:27:04 GMT) (full text, mbox, link).


Acknowledgement sent to Guido Günther <agx@sigxcpu.org>:
New Bug report received and forwarded. Copy sent to Michael Tokarev <mjt@tls.msk.ru>. (Fri, 02 Sep 2011 19:27:04 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Guido Günther <agx@sigxcpu.org>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: Won't start when using spice
Date: Fri, 2 Sep 2011 21:23:54 +0200
Package: qemu-kvm
Version: 0.15.0+dfsg-2
Severity: normal

Hi Michael,
trying to start up qemu-kvm with spice like:

/usr/bin/kvm -M pc-0.12 -enable-kvm -m 512 -nodefconfig -nodefaults -no-shutdown -drive file=/tmp/image.qcow2,if=none,id=drive-virtio-disk0,format=qcow2 -device virtio-blk-pci,bus=pci.0,multifunction=on,addr=0x6.0x0,drive=drive-virtio-disk0,id=virtio-disk0,bootindex=1 -spice port=5900,disable-ticketing

Immediately aborts with:

do_spice_init: starting 0.8.2
spice_server_add_interface: SPICE_INTERFACE_KEYBOARD
spice_server_add_interface: SPICE_INTERFACE_MOUSE
spice_server_add_interface: SPICE_INTERFACE_QXL
red_worker_main: begin
id 0, group 0, virt start 0, virt end ffffffff, generation 0, delta 0
get_virt: panic: slot_id too big, addr=93679008
Aborted

I didn't dig deeper into this yet, maybe you see what' wrong at a
glance? I've trimmed down the kvm invocation from what libvirt is
passing in a bit.
Cheers,
 -- Guido


-- Package-specific info:


/proc/cpuinfo:

processor	: 0
vendor_id	: GenuineIntel
cpu family	: 6
model		: 23
model name	: Intel(R) Core(TM)2 Duo CPU     U9300  @ 1.20GHz
stepping	: 6
cpu MHz		: 1201.000
cache size	: 3072 KB
physical id	: 0
siblings	: 2
core id		: 0
cpu cores	: 2
apicid		: 0
initial apicid	: 0
fdiv_bug	: no
hlt_bug		: no
f00f_bug	: no
coma_bug	: no
fpu		: yes
fpu_exception	: yes
cpuid level	: 10
wp		: yes
flags		: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx lm constant_tsc arch_perfmon pebs bts aperfmperf pni dtes64 monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr pdcm sse4_1 lahf_lm ida dts tpr_shadow vnmi flexpriority
bogomips	: 2394.12
clflush size	: 64
cache_alignment	: 64
address sizes	: 36 bits physical, 48 bits virtual
power management:

processor	: 1
vendor_id	: GenuineIntel
cpu family	: 6
model		: 23
model name	: Intel(R) Core(TM)2 Duo CPU     U9300  @ 1.20GHz
stepping	: 6
cpu MHz		: 1200.000
cache size	: 3072 KB
physical id	: 0
siblings	: 2
core id		: 1
cpu cores	: 2
apicid		: 1
initial apicid	: 1
fdiv_bug	: no
hlt_bug		: no
f00f_bug	: no
coma_bug	: no
fpu		: yes
fpu_exception	: yes
cpuid level	: 10
wp		: yes
flags		: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx lm constant_tsc arch_perfmon pebs bts aperfmperf pni dtes64 monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr pdcm sse4_1 lahf_lm ida dts tpr_shadow vnmi flexpriority
bogomips	: 2395.99
clflush size	: 64
cache_alignment	: 64
address sizes	: 36 bits physical, 48 bits virtual
power management:




-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (990, 'testing'), (50, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 3.0.0-1-686-pae (SMP w/2 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages qemu-kvm depends on:
ii  adduser 3.113                            add and remove users and groups
ii  ipxe    1.0.0+git-2.149b50-1             PXE boot firmware
ii  libaio1 0.3.109-1                        Linux kernel AIO access library - 
ii  libasou 1.0.24.1-2                       shared library for ALSA applicatio
ii  libattr 1:2.4.46-3                       Extended attribute shared library
ii  libblue 4.94-3                           Library to use the BlueZ Linux Blu
ii  libbrla 4.2-8                            braille display access via BRLTTY 
ii  libc6   2.13-16                          Embedded GNU C Library: Shared lib
ii  libcurl 7.21.7-1                         Multi-protocol file transfer libra
ii  libgnut 2.12.7-8                         GNU TLS library - runtime library
ii  libjpeg 8c-2                             Independent JPEG Group's JPEG runt
ii  libncur 5.9-1                            shared libraries for terminal hand
ii  libpng1 1.2.46-3                         PNG library - runtime
ii  libpuls 0.9.23-1                         PulseAudio client libraries
ii  librado 0.27-1.1                         RADOS distributed object store cli
ii  librbd1 0.27-1.1                         RADOS block device client library
ii  libsasl 2.1.24~rc1.dfsg1+cvs2011-05-23-4 Cyrus SASL - authentication abstra
ii  libsdl1 1.2.14-6.4                       Simple DirectMedia Layer
ii  libspic 0.8.2-2                          Implements the server side of the 
ii  libuuid 2.19.1-5                         Universally Unique ID library
ii  libvdep 2.2.3-3+b1                       Virtual Distributed Ethernet - Plu
ii  libx11- 2:1.4.4-1                        X11 client-side library
ii  python  2.6.7-3                          interactive high-level object-orie
ii  qemu-ke 0.14.1+dfsg-3                    QEMU keyboard maps
ii  qemu-ut 0.14.1+dfsg-3                    QEMU utilities
ii  seabios 0.6.1.2-3                        Legacy BIOS implementation
ii  vgabios 0.6c-3                           VGA BIOS software for the Bochs an
ii  zlib1g  1:1.2.3.4.dfsg-3                 compression library - runtime

Versions of packages qemu-kvm recommends:
ii  bridge-utils                  1.5-2      Utilities for configuring the Linu
ii  iproute                       20110629-1 networking and traffic control too

Versions of packages qemu-kvm suggests:
ii  debootstrap                   1.0.36     Bootstrap a basic Debian system
pn  samba                         <none>     (no description available)
ii  vde2                          2.2.3-3+b1 Virtual Distributed Ethernet

-- no debconf information




Information forwarded to debian-bugs-dist@lists.debian.org:
Bug#640139; Package qemu-kvm. (Fri, 28 Oct 2011 17:21:03 GMT) (full text, mbox, link).


Acknowledgement sent to Michael Tokarev <mjt@tls.msk.ru>:
Extra info received and forwarded to list. (Fri, 28 Oct 2011 17:21:03 GMT) (full text, mbox, link).


Message #10 received at 640139@bugs.debian.org (full text, mbox, reply):

From: Michael Tokarev <mjt@tls.msk.ru>
To: Guido Günther <agx@sigxcpu.org>, 640139@bugs.debian.org
Cc: control@bugs.debian.org
Subject: Re: Bug#640139: Won't start when using spice
Date: Fri, 28 Oct 2011 21:17:33 +0400
tags 640139 + confirmed upstream
thanks

Please excues me for so long delay.

On 02.09.2011 23:23, Guido Günther wrote:
> Package: qemu-kvm
> Version: 0.15.0+dfsg-2
> Severity: normal
> 
> Hi Michael,
> trying to start up qemu-kvm with spice like:
> 
> /usr/bin/kvm -M pc-0.12 -enable-kvm -m 512 -nodefconfig -nodefaults -no-shutdown -drive file=/tmp/image.qcow2,if=none,id=drive-virtio-disk0,format=qcow2 -device virtio-blk-pci,bus=pci.0,multifunction=on,addr=0x6.0x0,drive=drive-virtio-disk0,id=virtio-disk0,bootindex=1 -spice port=5900,disable-ticketing
> 
> Immediately aborts with:
> 
> do_spice_init: starting 0.8.2
> spice_server_add_interface: SPICE_INTERFACE_KEYBOARD
> spice_server_add_interface: SPICE_INTERFACE_MOUSE
> spice_server_add_interface: SPICE_INTERFACE_QXL
> red_worker_main: begin
> id 0, group 0, virt start 0, virt end ffffffff, generation 0, delta 0
> get_virt: panic: slot_id too big, addr=93679008
> Aborted

This is a known issue:

> Debian Release: wheezy/sid
>   APT prefers testing
>   APT policy: (990, 'testing'), (50, 'unstable'), (1, 'experimental')
> Architecture: i386 (i686)

i386, or 32bit host.  See http://www.spice-space.org/faq.html --
64bit host is _required_.

So I can disable spice on 32bit or have this crashing behavour.
Dunno what is better.. :)

/mjt




Added tag(s) upstream and confirmed. Request was from Michael Tokarev <mjt@tls.msk.ru> to control@bugs.debian.org. (Fri, 28 Oct 2011 17:21:05 GMT) (full text, mbox, link).


Changed Bug title to 'Won't start when using spice on 32bit host' from 'Won't start when using spice' Request was from Michael Tokarev <mjt@tls.msk.ru> to control@bugs.debian.org. (Fri, 28 Oct 2011 17:24:05 GMT) (full text, mbox, link).


Information forwarded to debian-bugs-dist@lists.debian.org, Michael Tokarev <mjt@tls.msk.ru>:
Bug#640139; Package qemu-kvm. (Sat, 29 Oct 2011 09:54:03 GMT) (full text, mbox, link).


Acknowledgement sent to Guido Günther <agx@sigxcpu.org>:
Extra info received and forwarded to list. Copy sent to Michael Tokarev <mjt@tls.msk.ru>. (Sat, 29 Oct 2011 09:54:06 GMT) (full text, mbox, link).


Message #19 received at 640139@bugs.debian.org (full text, mbox, reply):

From: Guido Günther <agx@sigxcpu.org>
To: Michael Tokarev <mjt@tls.msk.ru>
Cc: 640139@bugs.debian.org
Subject: Re: Bug#640139: Won't start when using spice
Date: Sat, 29 Oct 2011 11:50:29 +0200
Hi Michael,

On Fri, Oct 28, 2011 at 09:17:33PM +0400, Michael Tokarev wrote:
> tags 640139 + confirmed upstream
> thanks
> 
> Please excues me for so long delay.
> 
> On 02.09.2011 23:23, Guido Günther wrote:
> > Package: qemu-kvm
> > Version: 0.15.0+dfsg-2
> > Severity: normal
> > 
> > Hi Michael,
> > trying to start up qemu-kvm with spice like:
> > 
> > /usr/bin/kvm -M pc-0.12 -enable-kvm -m 512 -nodefconfig -nodefaults -no-shutdown -drive file=/tmp/image.qcow2,if=none,id=drive-virtio-disk0,format=qcow2 -device virtio-blk-pci,bus=pci.0,multifunction=on,addr=0x6.0x0,drive=drive-virtio-disk0,id=virtio-disk0,bootindex=1 -spice port=5900,disable-ticketing
> > 
> > Immediately aborts with:
> > 
> > do_spice_init: starting 0.8.2
> > spice_server_add_interface: SPICE_INTERFACE_KEYBOARD
> > spice_server_add_interface: SPICE_INTERFACE_MOUSE
> > spice_server_add_interface: SPICE_INTERFACE_QXL
> > red_worker_main: begin
> > id 0, group 0, virt start 0, virt end ffffffff, generation 0, delta 0
> > get_virt: panic: slot_id too big, addr=93679008
> > Aborted
> 
> This is a known issue:
> 
> > Debian Release: wheezy/sid
> >   APT prefers testing
> >   APT policy: (990, 'testing'), (50, 'unstable'), (1, 'experimental')
> > Architecture: i386 (i686)
> 
> i386, or 32bit host.  See http://www.spice-space.org/faq.html --
> 64bit host is _required_.
> 
> So I can disable spice on 32bit or have this crashing behavour.
> Dunno what is better.. :)
I think disabling it on i386 is best then. Thanks for the feedback!
 -- Guido




Bug 640139 cloned as bug 652326. Request was from Michael Tokarev <mjt@tls.msk.ru> to control@bugs.debian.org. (Fri, 16 Dec 2011 08:21:04 GMT) (full text, mbox, link).


Added blocking bug(s) of 640139: 652326 Request was from Michael Tokarev <mjt@tls.msk.ru> to control@bugs.debian.org. (Fri, 16 Dec 2011 08:21:11 GMT) (full text, mbox, link).


Information forwarded to debian-bugs-dist@lists.debian.org:
Bug#640139; Package qemu-kvm. (Sat, 14 Apr 2012 17:18:02 GMT) (full text, mbox, link).


Acknowledgement sent to Michael Tokarev <mjt@tls.msk.ru>:
Extra info received and forwarded to list. (Sat, 14 Apr 2012 17:18:02 GMT) (full text, mbox, link).


Message #28 received at 640139@bugs.debian.org (full text, mbox, reply):

From: Michael Tokarev <mjt@tls.msk.ru>
To: 640139@bugs.debian.org
Cc: Guido Günther <agx@sigxcpu.org>
Subject: Re: Bug#640139: Won't start when using spice
Date: Sat, 14 Apr 2012 21:15:14 +0400
Upstream committed two patches which should fix this
issue.  Two commits:

http://git.qemu.org/?p=qemu.git;a=commit;h=a13ccc991a852cf12f2c05f537c40ce239ae464f

Author: Alon Levy <alevy@redhat.com>
Date:   Wed Mar 21 18:17:18 2012 +0200

    ui/spice-display: use uintptr_t when casting qxl physical addresses

http://git.qemu.org/?p=qemu.git;a=commit;h=34d14c6d8c7af0d2457cf5730fe5a65a878c509d

Author: Peter Maydell <peter.maydell@linaro.org>
Date:   Wed Mar 7 13:36:48 2012 +0000

    ui/spice-display.c: Fix compilation warnings on 32 bit hosts

Takes care of this.

Apparently 0.10 version of spice-server actually fixed
32bit issues too.  I'm verifying it all now, and will
include the fixes into the next release if it works.

Thanks,

/mjt




Reply sent to Michael Tokarev <mjt@tls.msk.ru>:
You have taken responsibility. (Tue, 03 Jul 2012 14:21:10 GMT) (full text, mbox, link).


Notification sent to Guido Günther <agx@sigxcpu.org>:
Bug acknowledged by developer. (Tue, 03 Jul 2012 14:21:15 GMT) (full text, mbox, link).


Message #33 received at 640139-done@bugs.debian.org (full text, mbox, reply):

From: Michael Tokarev <mjt@tls.msk.ru>
To: 640139-done@bugs.debian.org
Cc: Guido Günther <agx@sigxcpu.org>
Subject: Re: Bug#640139: Won't start when using spice
Date: Tue, 03 Jul 2012 18:18:45 +0400
This bug is fixed in 1.1 version (plus 0.11 version of spice).
Closing this bugreport now.

Thanks,

/mjt




Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Wed, 01 Aug 2012 07:28:55 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Fri Jan 12 08:39:24 2018; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.