Guest moved used index from 0 to 1796
I don't have nearly enough info to file a proper bug report.
I am running qemu-kvm-0.13.0 rc1
starting qemu like so:/root/qemu/bin/qemu-system-x86_64 -cpu host -enable-kvm -drive file=/root/qemu/w2k3_server.raw,if=virtio,aio=native -net nic,model=virtio,macaddr=52:54:00:12:34:56 -net tap,ifname=tap0 -localtime - usb -usbdevice tablet -vga std -vnc :25581 -monitor stdio -m 512 -runas rick
When I reboot the guest OS, Qemu will quit during guest POST with the following message:
Guest moved used index from 0 to 1796
I've tried a few different scenarios, ie maintain or close VNC connection, vary some command line arguments, etc. The failure mode is the same.
I noticed this failure with qemu-0.13.0-rc0, qemu-0.13.0-rc1 & qemu- kvm-0.13.0-rc1
I haven't put this into production yet, so I can still afford downtime & re- compiles...etc.
thanks..
host machine is:
2.6.32-gentoo-r7 x86_64 Intel(R) Xeon(R) CPU E5450 @ 3.00GHz GenuineIntel GNU/Linux
guest os is Windows Server 2003, Standard Edition. Service Pack 2. Red Het VirtIO Ethernet Adapter Driver Version: 5.1.209.605 Red Hat VirtIO SCSI Controller Driver Version: 6.0.0.10
here is how I ran configure:
./configure --prefix=/root/qemu --target-list=x86_64-softmmu --extra-cflags="- march=native -O2 -pipe" --extra-ldflags="-march=native -O2 -pipe" --audio-drv- list= --audio-card-list= --disable-curses --disable-curl --enable-vnc-tls -- enable-vnc-sasl --enable-vnc-jpeg --enable-vnc-png --enable-vnc-thread
Quoted 11 lines · Rick Vernam
I don't have nearly enough info to file a proper bug report.
I am running qemu-kvm-0.13.0 rc1
starting qemu like so:/root/qemu/bin/qemu-system-x86_64-cpu host -enable-kvm -drive file=/root/qemu/w2k3_server.raw,if=virtio,aio=native -net nic,model=virtio,macaddr=52:54:00:12:34:56 -net tap,ifname=tap0 -localtime - usb -usbdevice tablet -vga std -vnc :25581 -monitor stdio -m 512 -runas rickWhen I reboot the guest OS, Qemu will quit during guest POST with the following message:
How do you reboot it? From inside the guest or by system_reset in monitor?
--
Gleb.
Quoted 11 lines · On Wednesday 15 September 2010 10:24:29 Gleb Natapov wrote:
Quoted 10 lines · Rick Vernam
I don't have nearly enough info to file a proper bug report.
I am running qemu-kvm-0.13.0 rc1
starting qemu like so:/root/qemu/bin/qemu-system-x86_64-cpu host -enable-kvm -drive file=/root/qemu/w2k3_server.raw,if=virtio,aio=native -net nic,model=virtio,macaddr=52:54:00:12:34:56 -net tap,ifname=tap0(quoted diff) +0
-2-localtime - usb -usbdevice tablet -vga std -vnc :25581 -monitor stdio -m 512 -runas rick
Quoted 5 lines
Quoted 3 lines
When I reboot the guest OS, Qemu will quit during guest POST with the
following message:
How do you reboot it? From inside the guest or by
system_resetin monitor?
From inside the guest.
Also forgot to mention that this only happens when using -vnc
Thanks,
-Rick
Quoted 3 lines
--
Gleb.
Quoted 12 lines · Rick Vernam
Quoted 11 lines · On Wednesday 15 September 2010 10:24:29 Gleb Natapov wrote:
Quoted 10 lines · Rick Vernam
I don't have nearly enough info to file a proper bug report.
I am running qemu-kvm-0.13.0 rc1
starting qemu like so:/root/qemu/bin/qemu-system-x86_64-cpu host -enable-kvm -drive file=/root/qemu/w2k3_server.raw,if=virtio,aio=native -net nic,model=virtio,macaddr=52:54:00:12:34:56 -net tap,ifname=tap0(quoted diff) +0
-2-localtime - usb -usbdevice tablet -vga std -vnc :25581 -monitor stdio -m 512 -runas rick
Quoted 7 lines
Quoted 5 lines
Quoted 3 lines
When I reboot the guest OS, Qemu will quit during guest POST with the
following message:
How do you reboot it? From inside the guest or by
system_resetin monitor?From inside the guest.
And if you do system_reset?
Quoted 2 lines
Also forgot to mention that this only happens when using -vnc
You mean with SDL it works? Doesn't make sense to me :(
--
Gleb.
Quoted 15 lines · On Wednesday 15 September 2010 10:32:51 Gleb Natapov wrote:
Quoted 14 lines · Rick Vernam
Quoted 13 lines · On Wednesday 15 September 2010 10:24:29 Gleb Natapov wrote:
Quoted 11 lines · Rick Vernam
I don't have nearly enough info to file a proper bug report.
I am running qemu-kvm-0.13.0 rc1
starting qemu like so:/root/qemu/bin/qemu-system-x86_64-cpu host -enable-kvm -drive file=/root/qemu/w2k3_server.raw,if=virtio,aio=native -net nic,model=virtio,macaddr=52:54:00:12:34:56 -net tap,ifname=tap0 -localtime - usb -usbdevice tablet -vga std -vnc :25581 -monitor stdio -m 512 -runas rickWhen I reboot the guest OS, Qemu will quit during guest POST with the
Quoted 7 lines
Quoted 5 lines
Quoted 3 lines
Quoted 1 line
following message:
How do you reboot it? From inside the guest or by
system_resetin monitor?From inside the guest.
And if you do
system_reset?
Same failure.
Quoted 4 lines
Quoted 2 lines
Also forgot to mention that this only happens when using -vnc
You mean with SDL it works? Doesn't make sense to me :(
I have not encountered any such error with SDL.
Note that where I run Qemu and encounter this error, SDL support is not even enabled (headless server).
Install prefix /root/qemu BIOS directory /root/qemu/share/qemu binary directory /root/qemu/bin config directory /root/qemu/etc Manual directory /root/qemu/share/man ELF interp prefix /usr/gnemul/qemu-%M Source path /root/qemu/qemu-kvm-0.13.0-rc1 C compiler gcc Host C compiler gcc CFLAGS -O2 -g QEMU_CFLAGS -m64 -fstack-protector-all -Wold-style-definition -Wold-
style-declaration -I. -I$(SRC_PATH) -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE - D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -Wstrict-prototypes -Wredundant- decls -Wall -Wundef -Wendif-labels -Wwrite-strings -Wmissing-prototypes -fno- strict-aliasing -march=native -O2 -pipe
LDFLAGS -Wl,--warn-common -m64 -g -march=native -O2 -pipe make make install install host CPU x86_64 host big endian no target list x86_64-softmmu tcg debug enabled no Mon debug enabled no gprof enabled no sparse enabled no strip binaries yes profiler no static build no -Werror enabled no SDL support no curses support no curl support no check support no mingw32 support no Audio drivers Extra audio cards Block whitelist Mixer emulation no VNC TLS support yes VNC SASL support yes VNC JPEG support yes VNC PNG support yes VNC thread yes xen support no CPU emulation yes brlapi support no bluez support no Documentation yes NPTL support yes GUEST_BASE yes PIE user targets no vde support no IO thread no Linux AIO support yes ATTR/XATTR support yes Install blobs yes KVM support yes KVM PIT support yes KVM device assig. yes fdt support no preadv support yes fdatasync yes uuid support yes
vhost-net support yes
Quoted 3 lines
--
Gleb.
Quoted 2 lines · On Wednesday 15 September 2010 10:16:29 Rick Vernam wrote:
I noticed this failure with qemu-0.13.0-rc0, qemu-0.13.0-rc1 & qemu- kvm-0.13.0-rc1
I should have also mentioned that I did not try with any previous version of Qemu or Qemu-KVM.
If you think it would be a worth while test, I will run with any previous version...just let me know.
Thanks,
-Rick
Quoted 26 lines · Rick Vernam
Quoted 15 lines · On Wednesday 15 September 2010 10:32:51 Gleb Natapov wrote:
Quoted 14 lines · Rick Vernam
Quoted 13 lines · On Wednesday 15 September 2010 10:24:29 Gleb Natapov wrote:
Quoted 11 lines · Rick Vernam
I don't have nearly enough info to file a proper bug report.
I am running qemu-kvm-0.13.0 rc1
starting qemu like so:/root/qemu/bin/qemu-system-x86_64-cpu host -enable-kvm -drive file=/root/qemu/w2k3_server.raw,if=virtio,aio=native -net nic,model=virtio,macaddr=52:54:00:12:34:56 -net tap,ifname=tap0 -localtime - usb -usbdevice tablet -vga std -vnc :25581 -monitor stdio -m 512 -runas rickWhen I reboot the guest OS, Qemu will quit during guest POST with the
Quoted 7 lines
Quoted 5 lines
Quoted 3 lines
Quoted 1 line
following message:
How do you reboot it? From inside the guest or by
system_resetin monitor?From inside the guest.
And if you do
system_reset?Same failure.
Quoted 1 line
Quoted 7 lines
Quoted 3 lines
Quoted 1 line
Also forgot to mention that this only happens when using -vnc
You mean with SDL it works? Doesn't make sense to me :(
I have not encountered any such error with SDL.
Note that where I run Qemu and encounter this error, SDL support is not even enabled (headless server).
So how do you know it works with SDL? Also does the same happens with linux guest + virtio disk? And can you reproduce the problem without virtio-net + your windows guest.
--
Gleb.
Quoted 29 lines · Gleb Natapov
Quoted 28 lines · Rick Vernam
Quoted 15 lines · On Wednesday 15 September 2010 10:32:51 Gleb Natapov wrote:
Quoted 14 lines · Rick Vernam
Quoted 13 lines · On Wednesday 15 September 2010 10:24:29 Gleb Natapov wrote:
Quoted 11 lines · Rick Vernam
I don't have nearly enough info to file a proper bug report.
I am running qemu-kvm-0.13.0 rc1
starting qemu like so:/root/qemu/bin/qemu-system-x86_64-cpu host -enable-kvm -drive file=/root/qemu/w2k3_server.raw,if=virtio,aio=native -net nic,model=virtio,macaddr=52:54:00:12:34:56 -net tap,ifname=tap0 -localtime - usb -usbdevice tablet -vga std -vnc :25581 -monitor stdio -m 512 -runas rickWhen I reboot the guest OS, Qemu will quit during guest POST with the
Quoted 7 lines
Quoted 5 lines
Quoted 3 lines
Quoted 1 line
following message:
How do you reboot it? From inside the guest or by
system_resetin monitor?From inside the guest.
And if you do
system_reset?Same failure.
Quoted 3 lines
Quoted 2 lines
Also forgot to mention that this only happens when using -vnc
Quoted 9 lines
Quoted 5 lines
Quoted 1 line
You mean with SDL it works? Doesn't make sense to me :(
I have not encountered any such error with SDL.
Note that where I run Qemu and encounter this error, SDL support is not even enabled (headless server).So how do you know it works with SDL? Also does the same happens with linux guest + virtio disk? And can you reproduce the problem without virtio-net + your windows guest.
I can reproduce it, so don't bother.
--
Gleb.
Quoted 30 lines · On Wednesday 15 September 2010 10:57:10 Gleb Natapov wrote:
Quoted 29 lines · Rick Vernam
Quoted 16 lines · On Wednesday 15 September 2010 10:32:51 Gleb Natapov wrote:
Quoted 15 lines · Rick Vernam
Quoted 14 lines · On Wednesday 15 September 2010 10:24:29 Gleb Natapov wrote:
Quoted 12 lines · Rick Vernam
I don't have nearly enough info to file a proper bug report.
I am running qemu-kvm-0.13.0 rc1
starting qemu like so:/root/qemu/bin/qemu-system-x86_64-cpu host -enable-kvm -drive file=/root/qemu/w2k3_server.raw,if=virtio,aio=native -net nic,model=virtio,macaddr=52:54:00:12:34:56 -net tap,ifname=tap0 -localtime - usb -usbdevice tablet -vga std -vnc :25581 -monitor stdio -m 512 -runas rickWhen I reboot the guest OS, Qemu will quit during guest POST with the
Quoted 7 lines
Quoted 5 lines
Quoted 3 lines
Quoted 1 line
following message:
How do you reboot it? From inside the guest or by
system_resetin monitor?From inside the guest.
And if you do
system_reset?Same failure.
Quoted 2 lines
Quoted 1 line
Also forgot to mention that this only happens when using -vnc
Quoted 8 lines
Quoted 5 lines
Quoted 1 line
You mean with SDL it works? Doesn't make sense to me :(
I have not encountered any such error with SDL.
Note that where I run Qemu and encounter this error, SDL support is not even enabled (headless server).So how do you know it works with SDL? Also does the same happens with linux guest + virtio disk?
okay, linux guest started like so, this time on my laptop:
qemu-system-x86_64 -cpu host -enable-kvm -drive file=/home/rick/qemu/hds/linux.raw,if=virtio,media=disk,aio=native -m 1368 -net nic,model=virtio -net user -localtime -usb -name "32-bit Linux" -vnc :25581
Fails just like other, both during guest initiated and system_reset:
Guest moved used index from 0 to 147
If I run with -drive file=...,if=ide,... I do not experience the failure.
I typically run my linux guest with -vga vmware & -drive if=virtio, but without vnc...and I have never experienced this failure.
my laptop is
Linux 2.6.33.5 SMP x86_64 Intel(R) Core(TM) i7 CPU Q 820 @ 1.73GHz GenuineIntel GNU/Linux
qemu-kvm-0.13.0-rc1 on my laptop is configured like so:
./configure --prefix=/usr --target-list=x86_64-softmmu --extra-cflags="- march=native -O2 -pipe" --extra-ldflags="-march=native -O2 -pipe" --audio-drv- list=alsa --disable-curses --disable-curl --disable-vnc-tls --disable-vnc-sasl --enable-vnc-jpeg --enable-vnc-png --enable-vnc-thread
Install prefix /usr BIOS directory /usr/share/qemu binary directory /usr/bin config directory /usr/etc Manual directory /usr/share/man ELF interp prefix /usr/gnemul/qemu-%M Source path /home/rick/qemu/src/qemu-kvm-0.13.0-rc1 C compiler gcc Host C compiler gcc CFLAGS -O2 -g QEMU_CFLAGS -m64 -fstack-protector-all -Wold-style-definition -Wold-
style-declaration -I. -I$(SRC_PATH) -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE - D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -Wstrict-prototypes -Wredundant- decls -Wall -Wundef -Wendif-labels -Wwrite-strings -Wmissing-prototypes -fno- strict-aliasing -march=native -O2 -pipe
LDFLAGS -Wl,--warn-common -m64 -g -march=native -O2 -pipe make make install install host CPU x86_64 host big endian no target list x86_64-softmmu tcg debug enabled no Mon debug enabled no gprof enabled no sparse enabled no strip binaries yes profiler no static build no -Werror enabled no SDL support yes curses support no curl support no check support no mingw32 support no Audio drivers alsa Extra audio cards ac97 es1370 sb16 Block whitelist Mixer emulation no VNC TLS support no VNC SASL support no VNC JPEG support yes VNC PNG support yes VNC thread yes xen support no CPU emulation yes brlapi support no bluez support yes Documentation yes NPTL support yes GUEST_BASE yes PIE user targets no vde support no IO thread no Linux AIO support yes ATTR/XATTR support yes Install blobs yes KVM support yes KVM PIT support yes KVM device assig. yes fdt support no preadv support yes fdatasync yes uuid support yes
vhost-net support yes
Quoted 1 line
And can you reproduce the problem without virtio-net + your windows guest.
without virtio-net (ie, just -net nic) it continues to fail. however, without virtio-scsi (ie, -drive file=...,if=ide,...) it does not fail.
So with both windows & linux guests, it fails only with -file ...,if=virtio,... and -vnc
Thanks Gleb,
-Rick
Quoted 3 lines
--
Gleb.
Quoted 10 lines · Rick Vernam
Quoted 2 lines
So how do you know it works with SDL? Also does the same happens with linux guest + virtio disk?
okay, linux guest started like so, this time on my laptop:
qemu-system-x86_64 -cpu host -enable-kvm -drive file=/home/rick/qemu/hds/linux.raw,if=virtio,media=disk,aio=native -m 1368 -net nic,model=virtio -net user -localtime -usb -name "32-bit Linux" -vnc :25581Fails just like other, both during guest initiated and
system_reset:
Guest moved used index from 0 to 147
OK, thanks. Already found the problem in the bios. Will post patch shortly.
--
Gleb.
Quoted 10 lines · On Wednesday 15 September 2010 10:16:29 Rick Vernam wrote:
I don't have nearly enough info to file a proper bug report.
I am running qemu-kvm-0.13.0 rc1
starting qemu like so:/root/qemu/bin/qemu-system-x86_64-cpu host -enable-kvm -drive file=/root/qemu/w2k3_server.raw,if=virtio,aio=native -net nic,model=virtio,macaddr=52:54:00:12:34:56 -net tap,ifname=tap0 -localtime
- usb -usbdevice tablet -vga std -vnc :25581 -monitor stdio -m 512 -runas rick
Quoted 3 lines
When I reboot the guest OS, Qemu will quit during guest POST with the following message:
Guest moved used index from 0 to 1796
Seabios patch fixed this.
Thanks...
Quoted 11 lines · Rick Vernam
Quoted 10 lines · On Wednesday 15 September 2010 10:16:29 Rick Vernam wrote:
I don't have nearly enough info to file a proper bug report.
I am running qemu-kvm-0.13.0 rc1
starting qemu like so:/root/qemu/bin/qemu-system-x86_64-cpu host -enable-kvm -drive file=/root/qemu/w2k3_server.raw,if=virtio,aio=native -net nic,model=virtio,macaddr=52:54:00:12:34:56 -net tap,ifname=tap0 -localtime
- usb -usbdevice tablet -vga std -vnc :25581 -monitor stdio -m 512 -runas rick
Quoted 6 lines
Quoted 3 lines
When I reboot the guest OS, Qemu will quit during guest POST with the following message:
Guest moved used index from 0 to 1796Seabios patch fixed this.
Thanks...
Cool. Thanks for testing.
--
Gleb.