kvm built with: ./configure \ --target-list=i386-softmmu \ --kerneldir=/home/hch/work/linux-2.6 \ --prefix=/opt/qemu and then started as /opt/qemu/bin/qemu -m 1000 -kernel $kernel \ -drive file=/dev/vg00/qemu-root,if=virtio,media=disk \ -drive file=/dev/vg00/qemu-data,if=virtio,media=disk \ -append "root=/dev/vda console=tty0 console=ttyS0,38400n8" segfaults with glibc malloc linked list corruption for me: *** glibc detected *** /opt/qemu/bin/qemu: corrupted double-linked list: 0x0a0a0138 *** ======= Backtrace: ========= /lib/i686/cmov/libc.so.6[0xb7b8dc4f] /lib/i686/cmov/libc.so.6[0xb7b8f75d] /lib/i686/cmov/libc.so.6(__libc_malloc+0x95)[0xb7b91595] /opt/qemu/bin/qemu[0x80b5605] /opt/qemu/bin/qemu[0x80d4580] /opt/qemu/bin/qemu[0x80d4b61] /opt/qemu/bin/qemu[0x8053be3] /lib/i686/cmov/libc.so.6(__libc_start_main+0xe5)[0xb7b34775] /opt/qemu/bin/qemu[0x804db01] ======= Memory map: ======== 08048000-081f6000 r-xp 00000000 08:02 26215108 /opt/qemu/bin/qemu 081f6000-081fa000 rw-p 001ae000 08:02 26215108 /opt/qemu/bin/qemu 081fa000-08408000 rw-p 081fa000 00:00 0 0a09f000-0a42b000 rw-p 0a09f000 00:00 0 [heap] 77400000-77421000 rw-p 77400000 00:00 0 77421000-77500000 ---p 77421000 00:00 0 775dd000-77709000 rw-s 00000000 00:08 15761423 /SYSV00000000 (deleted) 77709000-777ee000 rw-p 77709000 00:00 0 778db000-77906000 r-xp 00000000 08:02 16826767 /lib/libgcc_s.so.1 77906000-77907000 rw-p 0002a000 08:02 16826767 /lib/libgcc_s.so.1 7791b000-7795b000 rw-p 786b7000 00:00 0 7795b000-786b7000 rw-p 7795b000 00:00 0 786bf000-786c3000 r-xp 00000000 08:02 469558 /usr/lib/libXfixes.so.3.1.0 786c3000-786c4000 rw-p 00003000 08:02 469558 /usr/lib/libXfixes.so.3.1.0 786c4000-786cc000 r-xp 00000000 08:02 469631 /usr/lib/libXcursor.so.1.0.2 786cc000-786cd000 rw-p 00007000 08:02 469631 /usr/lib/libXcursor.so.1.0.2 786cd000-786d3000 r-xp 00000000 08:02 296 /usr/lib/libXrandr.so.2.2.0 786d3000-786d4000 rw-p 00006000 08:02 296 /usr/lib/libXrandr.so.2.2.0 786d4000-786e1000 r-xp 00000000 08:02 41992 /usr/lib/libXext.so.6.4.0 786e1000-786e2000 rw-p 0000c000 08:02 41992 /usr/lib/libXext.so.6.4.0 786ef000-786f6000 r--s 00000000 08:02 8389721 /usr/lib/gconv/gconv-modules.cache 786f6000-b6ef8000 rw-p 786f6000 00:00 0 b6ef8000-b6ef9000 ---p b6ef8000 00:00 0 b6ef9000-b76f9000 rw-p b6ef9000 00:00 0 b76f9000-b7703000 r-xp 00000000 08:02 25523881 /lib/i686/cmov/libnss_files-2.9.so b7703000-b7704000 r--p 00009000 08:02 25523881 /lib/i686/cmov/libnss_files-2.9.so b7704000-b7705000 rw-p 0000a000 08:02 25523881 /lib/i686/cmov/libnss_files-2.9.so b7705000-b7708000 rw-p b7705000 00:00 0 b7708000-b770a000 r-xp 00000000 08:02 16883979 /lib/libkeyutils-1.2.so b770a000-b770b000 rw-p 00001000 08:02 16883979 /lib/libkeyutils-1.2.so b770b000-b7712000 r-xp 00000000 08:02 712 /usr/lib/libkrb5support.so.0.1 b7712000-b7713000 rw-p 00006000 08:02 712 /usr/lib/libkrb5support.so.0.1 b7713000-b7715000 r-xp 00000000 08:02 16846092 /lib/libcom_err.so.2.1 b7715000-b7716000 rw-p 00001000 08:02 16846092 /lib/libcom_err.so.2.1 b7716000-b7717000 rw-p b7716000 00:00 0 b7717000-b773a000 r-xp 00000000 08:02 11553 /usr/lib/libk5crypto.so.3.1 b773a000-b773b000 rw-p 00023000 08:02 11553 /usr/lib/libk5crypto.so.3.1 b773b000-b77cc000 r-xp 00000000 08:02 32082 /usr/lib/libkrb5.so.3.3 b77cc000-b77ce000 rw-p 00091000 08:02 32082 /usr/lib/libkrb5.so.3.3 b77ce000-b77e4000 r-xp 00000000 08:02 1180 /usr/lib/libsasl2.so.2.0.22 b77e4000-b77e5000 rw-p 00015000 08:02 1180 /usr/lib/libsasl2.so.2.0.22 b77e5000-b77e9000 r-xp 00000000 08:02 62730 /usr/lib/libXdmcp.so.6.0.0 b77e9000-b77ea000 rw-p 00003000 08:02 62730 /usr/lib/libXdmcp.so.6.0.0 b77ea000-b77ec000 r-xp 00000000 08:02 1069 /usr/lib/libXau.so.6.0.0 b77ec000-b77ed000 rw-p 00001000 08:02 1069 /usr/lib/libXau.so.6.0.0 b77ed000-b77ee000 rw-p b77ed000 00:00 0 b77ee000-b77f0000 r-xp 00000000 08:02 17237225 /lib/libx86.so.1 b77f0000-b77f1000 rw-p 00001000 08:02 17237225 /lib/libx86.so.1 b77f1000-b781a000 r-xp 00000000 08:02 56288 /usr/lib/libgssapi_krb5.so.2.2 b781a000-b781b000 rw-p 00028000 08:02 56288 /usr/lib/libgssapi_krb5.so.2.2 b781b000-b785b000 r-xp 00000000 08:02 308918 /usr/lib/libldap_r-2.4.so.2.1.0 b785b000-b785d000 rw-p 0003f000 08:02 308918 /usr/lib/libldap_r-2.4.so.2.1.0 b785d000-b785e000 rw-p b785d000 00:00 0 -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html