On Monday, 23 May 2011 01:54:01 +0400, Michael Tokarev wrote: > forcemerge 625571 627615 > thanks
> 22.05.2011 22:11, Daniel Bareiro wrote: > > Package: qemu-kvm > > Version: 0.12.5+dfsg-5+squeeze1 > > Severity: important > > model name : AMD Athlon(tm) 64 X2 Dual Core Processor 3800+ > > -- System Information: > > Debian Release: 6.0.1 > > APT prefers stable > > APT policy: (500, 'stable') > > Architecture: i386 (x86_64) > > > > Kernel: Linux 2.6.32-5-amd64 (SMP w/2 CPU cores) > > ss01:~# kvm -m 256 -boot d -net nic,vlan=0,macaddr=52:54:67:92:9d:63 \ > > -net tap -daemonize -vnc :15 -k es -localtime -cdrom \ > > /mnt/systemrescuecd-x86-2.0.1.iso -monitor > > telnet:localhost:4055,server,nowait > > > > > > Destination: > > > > defiant:~# kvm -m 256 -boot d -net nic,vlan=0,macaddr=52:54:67:92:9d:63 > > -net tap \ > > -daemonize -vnc :1 -k es -localtime -cdrom > > /mnt/systemrescuecd-x86-2.0.1.iso -monitor \ > > telnet:localhost:4041,server,nowait -incoming tcp:0:4455 > > > > Migration: > > > > ss01:~# telnet localhost 4055 > > Trying ::1... > > Connected to localhost. > > Escape character is '^]'. > > QEMU 0.12.5 monitor - type 'help' for more information > > (qemu) migrate -d tcp:10.1.0.65:4455 > > (qemu) Connection closed by foreign host. > > > > ss01:~# ps ax|grep systemrescuecd > > 15640 pts/0 R+ 0:00 grep systemrescuecd > When debugging don't enable daemonizing, instead run it in foreground > to see what messages, if any, it prints. > > But this is, with a very good chance, #625571 - migration > fails on 32bit userspace always. That bug is finally fixed, > after more than 2 years, and is pending upload after we will > sort out other, more important issues. This is the output without daemonizing: *** glibc detected *** kvm: free(): invalid next size (fast): 0x09fad3c0 *** ======= Backtrace: ========= /lib/i686/cmov/libc.so.6(+0x6b281)[0xf723e281] /lib/i686/cmov/libc.so.6(+0x6cad8)[0xf723fad8] /lib/i686/cmov/libc.so.6(cfree+0x6d)[0xf7242bbd] kvm[0x806f6e7] kvm[0x806f7d3] kvm[0x8051c85] kvm[0x8051e1b] kvm[0x810d3c7] kvm[0x8104fe9] kvm[0x8105e06] kvm[0x80529b0] kvm[0x806de64] kvm[0x8055a95] /lib/i686/cmov/libc.so.6(__libc_start_main+0xe6)[0xf71e9c76] kvm[0x804f3a1] ======= Memory map: ======== 08048000-0823e000 r-xp 00000000 09:01 426838 /usr/bin/kvm 0823e000-08250000 rw-p 001f6000 09:01 426838 /usr/bin/kvm 08250000-08460000 rw-p 00000000 00:00 0 09f60000-09f89000 rw-p 00000000 00:00 0 09f89000-09f91000 rw-p 00000000 00:00 0 09f91000-0a081000 rw-p 00000000 00:00 0 0a081000-0a091000 rw-p 00000000 00:00 0 0a091000-0a160000 rw-p 00000000 00:00 0 e4400000-e4421000 rw-p 00000000 00:00 0 e4421000-e4500000 ---p 00000000 00:00 0 e4586000-e45a3000 r-xp 00000000 09:01 16315 /lib/libgcc_s.so.1 e45a3000-e45a4000 rw-p 0001c000 09:01 16315 /lib/libgcc_s.so.1 e45a4000-e45a5000 ---p 00000000 00:00 0 e45a5000-e4da5000 rwxp 00000000 00:00 0 e4da5000-e4e06000 rw-p 00000000 00:00 0 e4e19000-e4f33000 rw-p 00000000 00:00 0 e4f33000-e5096000 r-xp 00000000 09:01 424347 /usr/lib/libdb-4.8.so e5096000-e5099000 rw-p 00163000 09:01 424347 /usr/lib/libdb-4.8.so e509e000-e50a2000 r-xp 00000000 09:01 440618 /usr/lib/sasl2/libsasldb.so.2.0.23 e50a2000-e50a3000 rw-p 00004000 09:01 440618 /usr/lib/sasl2/libsasldb.so.2.0.23 e50a3000-e52a2000 rw-p 00000000 00:00 0 e52b5000-e52b6000 rw-p 00000000 00:00 0 e52b6000-e62b6000 rw-p 00000000 00:00 0 e62b6000-e62b8000 rw-p 00000000 00:00 0 e62b8000-e62d8000 rw-p 00000000 00:00 0 e62d8000-e62d9000 rw-p 00000000 00:00 0 e62fa000-e62fb000 rw-p 00000000 00:00 0 e62fb000-e631b000 rw-p 00000000 00:00 0 e631b000-e631d000 rw-p 00000000 00:00 0 e631d000-f631d000 rw-p 00000000 00:00 0 f631d000-f631e000 rw-p 00000000 00:00 0 f631e000-f631f000 ---p 00000000 00:00 0 f631f000-f6b1f000 rwxp 00000000 00:00 0 f6b1f000-f6b29000 r-xp 00000000 09:01 27073 /lib/i686/cmov/libnss_files-2.11.2.so f6b29000-f6b2a000 r--p 00009000 09:01 27073 /lib/i686/cmov/libnss_files-2.11.2.so f6b2a000-f6b2b000 rw-p 0000a000 09:01 27073 /lib/i686/cmov/libnss_files-2.11.2.so f6b2b000-f6b2e000 rw-p 00000000 00:00 0 f6b2e000-f6b33000 r-xp 00000000 09:01 425645 /usr/lib/libogg.so.0.7.0 f6b33000-f6b34000 rw-p 00004000 09:01 425645 /usr/lib/libogg.so.0.7.0 f6b34000-f6b5b000 r-xp 00000000 09:01 425649 /usr/lib/libvorbis.so.0.4.4 f6b5b000-f6b5c000 rw-p 00026000 09:01 425649 /usr/lib/libvorbis.so.0.4.4 f6b5c000-f6b5d000 rw-p 00000000 00:00 0 f6b5d000-f6cc2000 r-xp 00000000 09:01 425652 /usr/lib/libvorbisenc.so.2.0.7 f6cc2000-f6cd3000 rw-p 00165000 09:01 425652 /usr/lib/libvorbisenc.so.2.0.7 f6cd3000-f6d22000 r-xp 00000000 09:01 425647 /usr/lib/libFLAC.so.8.2.0 f6d22000-f6d23000 rw-p 0004f000 09:01 425647 /usr/lib/libFLAC.so.8.2.0 f6d23000-f6d36000 r-xp 00000000 09:01 27074 /lib/i686/cmov/libnsl-2.11.2.so f6d36000-f6d37000 r--p 00012000 09:01 27074 /lib/i686/cmov/libnsl-2.11.2.so f6d37000-f6d38000 rw-p 00013000 09:01 27074 /lib/i686/cmov/libnsl-2.11.2.so f6d38000-f6d3a000 rw-p 00000000 00:00 0 f6d3a000-f6d3e000 r-xp 00000000 09:01 425662 /usr/lib/libXdmcp.so.6.0.0 f6d3e000-f6d3f000 rw-p 00003000 09:01 425662 /usr/lib/libXdmcp.so.6.0.0 f6d3f000-f6d41000 r-xp 00000000 09:01 425658 /usr/lib/libXau.so.6.0.0 f6d41000-f6d42000 rw-p 00001000 09:01 425658 /usr/lib/libXau.so.6.0.0 f6d42000-f6d43000 rw-p 00000000 00:00 0 f6d43000-f6d45000 r-xp 00000000 09:01 17844 /lib/libx86.so.1 f6d45000-f6d46000 rw-p 00001000 09:01 17844 /lib/libx86.so.1 f6d46000-f6d4a000 r-xp 00000000 09:01 18185 /lib/libattr.so.1.1.0 f6d4a000-f6d4b000 rw-p 00003000 09:01 18185 /lib/libattr.so.1.1.0 f6d4b000-f6d83000 r-xp 00000000 09:01 16306 /lib/libdbus-1.so.3.4.0 f6d83000-f6d84000 r--p 00037000 09:01 16306 /lib/libdbus-1.so.3.4.0 f6d84000-f6d85000 rw-p 00038000 09:01 16306 /lib/libdbus-1.so.3.4.0 f6d85000-f6d89000 r-xp 00000000 09:01 426836 /usr/lib/libasyncns.so.0.1.0 f6d89000-f6d8a000 rw-p 00003000 09:01 426836 /usr/lib/libasyncns.so.0.1.0 f6d8a000-f6deb000 r-xp 00000000 09:01 425654 /usr/lib/libsndfile.so.1.0.21 f6deb000-f6ded000 rw-p 00061000 09:01 425654 /usr/lib/libsndfile.so.1.0.21 f6ded000-f6df2000 rw-p 00000000 00:00 0 f6df2000-f6df9000 r-xp 00000000 09:01 16317 /lib/libwrap.so.0.7.6 f6df9000-f6dfa000 rw-p 00007000 09:01 16317 /lib/libwrap.so.0.7.6 f6dfa000-f6e06000 r-xp 00000000 09:01 427193 /usr/lib/libXi.so.6.1.0 f6e06000-f6e07000 rw-p 0000c000 09:01 427193 /usr/lib/libXi.so.6.1.0 f6e07000-f6e15000 r-xp 00000000 09:01 425823 /usr/lib/libXext.so.6.4.0 f6e15000-f6e16000 rw-p 0000d000 09:01 425823 /usr/lib/libXext.so.6.4.0 f6e16000-f6e19000 r-xp 00000000 09:01 423687 /usr/lib/libgpg-error.so.0.4.0 f6e19000-f6e1a000 rw-p 00002000 09:01 423687 /usr/lib/libgpg-error.so.0.4.0 f6e1a000-f6e1c000 r-xp 00000000 09:01 16342 /lib/libkeyutils.so.1.3 f6e1c000-f6e1d000 rw-p 00001000 09:01 16342 /lib/libkeyutils.so.1.3 f6e1d000-f6e1e000 rw-p 00000000 00:00 0 f6e1e000-f6e24000 r-xp 00000000 09:01 423651 /usr/lib/libkrb5support.so.0.1 f6e24000-f6e25000 rw-p 00005000 09:01 423651 /usr/lib/libkrb5support.so.0.1Abortado The VM without daemonizing in the destination VMHost reports the following: load of migration failed > > ss01:~# telnet localhost 4055 > > Trying ::1... > > Connected to localhost. > > Escape character is '^]'. > > QEMU 0.12.5 monitor - type 'help' for more information > > (qemu) stop > > (qemu) migrate_set_speed 4095m > > (qemu) migrate "exec:gzip -c > STATEFILE.gz" > > Connection closed by foreign host. > > > > ss01:~# ps ax|grep systemrescuecd > > 26564 pts/0 S+ 0:00 grep systemrescuecd > Again, this is a very bad idea to run it in backrgound when > debugging. It's impossible to tell what exactly it is doing > this way. This is the output without daemonizing: *** glibc detected *** kvm: free(): invalid next size (fast): 0x08d3cd88 *** ======= Backtrace: ========= /lib/i686/cmov/libc.so.6(+0x6b281)[0xf71c1281] /lib/i686/cmov/libc.so.6(+0x6cad8)[0xf71c2ad8] /lib/i686/cmov/libc.so.6(cfree+0x6d)[0xf71c5bbd] kvm[0x806f6e7] kvm[0x806f7d3] kvm[0x8051c85] kvm[0x8051e1b] kvm[0x810d3c7] kvm[0x8104fe9] kvm[0x811347b] kvm[0x8105687] kvm[0x805d8c4] kvm[0x805f1b9] kvm[0x805f2c2] kvm[0x80ec0a0] kvm[0x805f321] kvm[0x81093ea] kvm[0x80527f6] kvm[0x806de64] kvm[0x8055a95] /lib/i686/cmov/libc.so.6(__libc_start_main+0xe6)[0xf716cc76] kvm[0x804f3a1] ======= Memory map: ======== 08048000-0823e000 r-xp 00000000 09:01 426838 /usr/bin/kvm 0823e000-08250000 rw-p 001f6000 09:01 426838 /usr/bin/kvm 08250000-08460000 rw-p 00000000 00:00 0 08c23000-08c4c000 rw-p 00000000 00:00 0 08c4c000-08c54000 rw-p 00000000 00:00 0 08c54000-08d44000 rw-p 00000000 00:00 0 08d44000-08d54000 rw-p 00000000 00:00 0 08d54000-08e2a000 rw-p 00000000 00:00 0 e4400000-e4421000 rw-p 00000000 00:00 0 e4421000-e4500000 ---p 00000000 00:00 0 e4509000-e4526000 r-xp 00000000 09:01 16315 /lib/libgcc_s.so.1 e4526000-e4527000 rw-p 0001c000 09:01 16315 /lib/libgcc_s.so.1 e4527000-e4528000 ---p 00000000 00:00 0 e4528000-e4d28000 rwxp 00000000 00:00 0 e4d28000-e4d89000 rw-p 00000000 00:00 0 e4d9c000-e4eb6000 rw-p 00000000 00:00 0 e4eb6000-e5019000 r-xp 00000000 09:01 424347 /usr/lib/libdb-4.8.so e5019000-e501c000 rw-p 00163000 09:01 424347 /usr/lib/libdb-4.8.so e5021000-e5025000 r-xp 00000000 09:01 440618 /usr/lib/sasl2/libsasldb.so.2.0.23 e5025000-e5026000 rw-p 00004000 09:01 440618 /usr/lib/sasl2/libsasldb.so.2.0.23 e5026000-e5225000 rw-p 00000000 00:00 0 e5238000-e5239000 rw-p 00000000 00:00 0 e5239000-e6239000 rw-p 00000000 00:00 0 e6239000-e623b000 rw-p 00000000 00:00 0 e623b000-e625b000 rw-p 00000000 00:00 0 e625b000-e625c000 rw-p 00000000 00:00 0 e627d000-e627e000 rw-p 00000000 00:00 0 e627e000-e629e000 rw-p 00000000 00:00 0 e629e000-e62a0000 rw-p 00000000 00:00 0 e62a0000-f62a0000 rw-p 00000000 00:00 0 f62a0000-f62a1000 rw-p 00000000 00:00 0 f62a1000-f62a2000 ---p 00000000 00:00 0 f62a2000-f6aa2000 rwxp 00000000 00:00 0 f6aa2000-f6aac000 r-xp 00000000 09:01 27073 /lib/i686/cmov/libnss_files-2.11.2.so f6aac000-f6aad000 r--p 00009000 09:01 27073 /lib/i686/cmov/libnss_files-2.11.2.so f6aad000-f6aae000 rw-p 0000a000 09:01 27073 /lib/i686/cmov/libnss_files-2.11.2.so f6aae000-f6ab1000 rw-p 00000000 00:00 0 f6ab1000-f6ab6000 r-xp 00000000 09:01 425645 /usr/lib/libogg.so.0.7.0 f6ab6000-f6ab7000 rw-p 00004000 09:01 425645 /usr/lib/libogg.so.0.7.0 f6ab7000-f6ade000 r-xp 00000000 09:01 425649 /usr/lib/libvorbis.so.0.4.4 f6ade000-f6adf000 rw-p 00026000 09:01 425649 /usr/lib/libvorbis.so.0.4.4 f6adf000-f6ae0000 rw-p 00000000 00:00 0 f6ae0000-f6c45000 r-xp 00000000 09:01 425652 /usr/lib/libvorbisenc.so.2.0.7 f6c45000-f6c56000 rw-p 00165000 09:01 425652 /usr/lib/libvorbisenc.so.2.0.7 f6c56000-f6ca5000 r-xp 00000000 09:01 425647 /usr/lib/libFLAC.so.8.2.0 f6ca5000-f6ca6000 rw-p 0004f000 09:01 425647 /usr/lib/libFLAC.so.8.2.0 f6ca6000-f6cb9000 r-xp 00000000 09:01 27074 /lib/i686/cmov/libnsl-2.11.2.so f6cb9000-f6cba000 r--p 00012000 09:01 27074 /lib/i686/cmov/libnsl-2.11.2.so f6cba000-f6cbb000 rw-p 00013000 09:01 27074 /lib/i686/cmov/libnsl-2.11.2.so f6cbb000-f6cbd000 rw-p 00000000 00:00 0 f6cbd000-f6cc1000 r-xp 00000000 09:01 425662 /usr/lib/libXdmcp.so.6.0.0 f6cc1000-f6cc2000 rw-p 00003000 09:01 425662 /usr/lib/libXdmcp.so.6.0.0 f6cc2000-f6cc4000 r-xp 00000000 09:01 425658 /usr/lib/libXau.so.6.0.0 f6cc4000-f6cc5000 rw-p 00001000 09:01 425658 /usr/lib/libXau.so.6.0.0 f6cc5000-f6cc6000 rw-p 00000000 00:00 0 f6cc6000-f6cc8000 r-xp 00000000 09:01 17844 /lib/libx86.so.1 f6cc8000-f6cc9000 rw-p 00001000 09:01 17844 /lib/libx86.so.1 f6cc9000-f6ccd000 r-xp 00000000 09:01 18185 /lib/libattr.so.1.1.0 f6ccd000-f6cce000 rw-p 00003000 09:01 18185 /lib/libattr.so.1.1.0 f6cce000-f6d06000 r-xp 00000000 09:01 16306 /lib/libdbus-1.so.3.4.0 f6d06000-f6d07000 r--p 00037000 09:01 16306 /lib/libdbus-1.so.3.4.0 f6d07000-f6d08000 rw-p 00038000 09:01 16306 /lib/libdbus-1.so.3.4.0 f6d08000-f6d0c000 r-xp 00000000 09:01 426836 /usr/lib/libasyncns.so.0.1.0 f6d0c000-f6d0d000 rw-p 00003000 09:01 426836 /usr/lib/libasyncns.so.0.1.0 f6d0d000-f6d6e000 r-xp 00000000 09:01 425654 /usr/lib/libsndfile.so.1.0.21 f6d6e000-f6d70000 rw-p 00061000 09:01 425654 /usr/lib/libsndfile.so.1.0.21 f6d70000-f6d75000 rw-p 00000000 00:00 0 f6d75000-f6d7c000 r-xp 00000000 09:01 16317 /lib/libwrap.so.0.7.6 f6d7c000-f6d7d000 rw-p 00007000 09:01 16317 /lib/libwrap.so.0.7.6 f6d7d000-f6d89000 r-xp 00000000 09:01 427193 /usr/lib/libXi.so.6.1.0 f6d89000-f6d8a000 rw-p 0000c000 09:01 427193 /usr/lib/libXi.so.6.1.0 f6d8a000-f6d98000 r-xp 00000000 09:01 425823 /usr/lib/libXext.so.6.4.0 f6d98000-f6d99000 rw-p 0000d000 09:01 425823 /usr/lib/libXext.so.6.4.0 f6d99000-f6d9c000 r-xp 00000000 09:01 423687 /usr/lib/libgpg-error.so.0.4.0 f6d9c000-f6d9d000 rw-p 00002000 09:01 423687 /usr/lib/libgpg-error.so.0.4.0 f6d9d000-f6d9f000 r-xp 00000000 09:01 16342 /lib/libkeyutils.so.1.3 f6d9f000-f6da0000 rw-p 00001000 09:01 16342 /lib/libkeyutils.so.1.3 f6da0000-f6da1000 rw-p 00000000 00:00 0 f6da1000-f6da7000 r-xp 00000000 09:01 423651 /usr/lib/libkrb5support.so.0.1 f6da7000-f6da8000 rw-p 00005000 09:01 423651 /usr/lib/libkrb5support.so.0.1Abortado Can we confirm that it is the same problem? If you need to do another test, please don't hesitate to ask me. As I noted earlier, trying to migrate from Defiant (Debian GNU/Linux 5.0.8 with Linux 2.6.32-15~bpo50+1 and qemu-kvm 0.12.5+dfsg-3~bpo50+2) to SS01, this problem does not occur. Both installation are 32-bit, but the kernel in SS01 is amd64 and the kernel in Defiant is i686. Ie both are 32bit userspace with the difference that ss01 has a 64-bit kernel. The problem is there? Because versions of Linux and qemu-kvm look the same. Thanks for your reply. Regards, Daniel -- Daniel Bareiro - GNU/Linux registered user #188.598 Proudly running Debian GNU/Linux with uptime: 07:42:19 up 1 day, 18:01, 10 users, load average: 0.00, 0.00, 0.00
signature.asc
Description: Digital signature