From: Mike Kelly Subject: Segfault while booting Windows XP x64 Date: Mon, 30 Mar 2009 23:26:52 -0400 Message-ID: <20090330232652.3547b29f@aether.home.pioto.org> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="MP_/rdBGvJlScBlc0u+iDmP5vdW" To: kvm@vger.kernel.org Return-path: Received: from everglades.pioto.org ([207.192.69.249]:41529 "EHLO everglades.pioto.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756374AbZCaDfu (ORCPT ); Mon, 30 Mar 2009 23:35:50 -0400 Received: from aether.home.pioto.org (pool-71-182-168-214.pitbpa.east.verizon.net [71.182.168.214]) (Authenticated sender: pioto) by everglades.pioto.org (Postfix) with ESMTPSA id 3366A160108 for ; Mon, 30 Mar 2009 23:26:42 -0400 (EDT) Sender: kvm-owner@vger.kernel.org List-ID: --MP_/rdBGvJlScBlc0u+iDmP5vdW Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Disposition: inline I'm on a Intel(R) Core(TM)2 Duo CPU T7500 @ 2.20GHz, using a 2.6.29 vanilla kernel, x86_64. kvm userland version 84. When I try to boot my x64 Windows XP, it gets partway through the windows booting process, with the progress bar and what not. Then, I get the attached backtrace. The various -no-kvm options don't seem to make a difference. I created, and was able to boot, this image using linux 2.6.28. I'll give it a shot again later to confirm that is still the case. Thanks in advance. -- Mike Kelly --MP_/rdBGvJlScBlc0u+iDmP5vdW Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename=kvm-winxp-x64-backtrace.txt GNU gdb 6.8 Copyright (C) 2008 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-pc-linux-gnu"... Starting program: /usr/bin/kvm -usb -usbdevice tablet -name winxp-x64 winxp= -x64.kvm [Thread debugging using libthread_db enabled] [New Thread 0x7fe4d978b740 (LWP 29948)] [New Thread 0x7fe4ccf9d950 (LWP 29951)] [New Thread 0x7fe4cb6d5950 (LWP 29955)] [Thread 0x7fe4cb6d5950 (LWP 29955) exited] Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 0x7fe4ccf9d950 (LWP 29951)] qemu_paio_cancel (fd=3D, aiocb=3D0x2909230) at posix-a= io-compat.c:184 184 TAILQ_REMOVE(&request_list, aiocb, node); Thread 2 (Thread 0x7fe4ccf9d950 (LWP 29951)): #0 qemu_paio_cancel (fd=3D, aiocb=3D0x2909230) at pos= ix-aio-compat.c:184 ret =3D #1 0x000000000041acf8 in raw_aio_cancel (blockacb=3D)= at block-raw-posix.c:681 ret =3D acb =3D (RawAIOCB *) 0x2909210 #2 0x0000000000433790 in ide_dma_cancel (bm=3D0x27dfe60) at /var/tmp/palud= is/build/app-virtualization-kvm-84/work/kvm-84/qemu/hw/ide.c:2973 No locals. #3 0x00000000004337f5 in bmdma_cmd_writeb (opaque=3D0x27dfe60, addr=3D0, v= al=3D) at /var/tmp/paludis/build/app-virtualization-kvm-84/work/kvm-84/qemu/hw= /ide.c:2987 No locals. #4 0x0000000000520d5d in kvm_outb (opaque=3D, addr=3D= 0, data=3D0 '\0') at /var/tmp/paludis/build/app-virtualization-kvm-84/work/kvm-84/qemu/qe= mu-kvm.c:684 No locals. #5 0x000000000054cfa5 in kvm_run (kvm=3D0x2716010, vcpu=3D0, env=3D0x2725f= 90) at libkvm.c:722 r =3D fd =3D 12 run =3D (struct kvm_run *) 0x7fe4cc799000 #6 0x0000000000521529 in kvm_cpu_exec (env=3D) at /va= r/tmp/paludis/build/app-virtualization-kvm-84/work/kvm-84/qemu/qemu-kvm.c:2= 05 r =3D #7 0x0000000000521818 in ap_main_loop (_env=3D) at /v= ar/tmp/paludis/build/app-virtualization-kvm-84/work/kvm-84/qemu/qemu-kvm.c:= 414 env =3D (CPUX86State *) 0x2725f90 signals =3D {__val =3D {18446744067267100671, 18446744073709551615 }} data =3D (struct ioperm_data *) 0x0 #8 0x00007fe4d89eff97 in start_thread () from /lib/libpthread.so.0 No locals. #9 0x00007fe4d792bdfd in clone () from /lib/libc.so.6 No symbol table info available. Thread 1 (Thread 0x7fe4d978b740 (LWP 29948)): #0 0x00007fe4d7925452 in select () from /lib/libc.so.6 No symbol table info available. #1 0x0000000000409eab in main_loop_wait (timeout=3D0) at /var/tmp/paludis/= build/app-virtualization-kvm-84/work/kvm-84/qemu/vl.c:3647 ioh =3D rfds =3D {fds_bits =3D {164992, 0 }} wfds =3D {fds_bits =3D {0 }} xfds =3D {fds_bits =3D {0 }} ret =3D nfds =3D 17 tv =3D {tv_sec =3D 0, tv_usec =3D 999644} #2 0x0000000000520fea in kvm_main_loop () at /var/tmp/paludis/build/app-vi= rtualization-kvm-84/work/kvm-84/qemu/qemu-kvm.c:596 fds =3D {15, 16} mask =3D {__val =3D {268443648, 0 }} sigfd =3D 17 #3 0x000000000040e4db in main (argc=3D, argv=3D0x7fff= e17aa448, envp=3D) at /var/tmp/paludis/build/app-virtualization-kvm-84/work/kvm-84/qemu/vl= .c:3809 use_gdbstub =3D 0 gdbstub_port =3D 0x54f5ef "1234" boot_devices_bitmap =3D 0 i =3D snapshot =3D 0 linux_boot =3D net_boot =3D initrd_filename =3D 0x0 kernel_filename =3D 0x0 kernel_cmdline =3D 0x58cc6b "" boot_devices =3D 0x54f881 "cad" ds =3D dcl =3D cyls =3D 0 heads =3D 0 secs =3D 0 translation =3D 0 net_clients =3D {0x54f45d "nic", 0x54f885 "user", 0x0, 0x7fe4d95972ee "\20= 5=C0\017\217z\001", 0x0,=20 0x7fe4d9596bec "\205=C0t\"A\213D$\f\205=C0u\027\205=ED\017\037D", 0x7fe40= 0000001
, 0x7fe4d97a95b8 "\220\225z= =D9=E4\177",=20 0x0, 0x1
, 0x71dd557f
, 0x7fe4d9596ffa "L\213D$\020H\205=C0D\213L$\bt=AF=E9=E4=FE=FF=FF= 1=D2\213\216=EC\002",=20 0x1e17fe2e8
, 0x7fe40000003f
, 0x1c77555
,= =20 0x7fffe17aa140 "", 0x7fffe17aa2c8 "\005\017=FE\a\001", 0x7fffe17fe158 "",= 0x0, 0x7fffe17aa350 "", 0x7fe4d97a9590 "", 0x7fe4d7976adb "clock_gettime",= =20 0x7fffe17fe230 "", 0x7fe4d9596bec "\205=C0t\"A\213D$\f\205=C0u\027\205=ED= \017\037D", 0x0, 0x7fe4d978eb20 "", 0xc
,=20 0x17
, 0xf63d4e2e
,=20 0x7fe4d95970a4 "L\213D$\020H\205=C0D\213L$\bL\213\034$\017\2057=FE=FF=FFA= \213\023=EB\214I\203?",=20 0x7fe4d7861974 "/N=3D=F6=CE\030L\017=F9=C4-=D7=F8=D4\217=D3\204\"\233|\20= 5\"\233|=EC=FB=C0=3D=B0\"\225=C38=C7\031u=FF\001=C4\022=C9BY\020=DC=CF=EC= =B5=B6w\035\rG=DE=CD%=B5V1=FD=C7r1\035\a;=FAL\214\t)\020\t~\222\0348=B5=EF0= j=DD=F9{\004\\H=B1=D4=A1\034=A0\002=EA=D9\0179=B5=EF0X?\227|\030\034s=ECT\2= 00=CCs=D9\202c\002;H\205\0336\rf=FD2v=E0=D5=A8=A7K=E1=BC\234#\217=D6\036h\2= 33=A3\230=CB=F2\234\002Y1\n=B4\006=DF=BD=E8e\235J\032\223=A8P=B5=A8\020\205= )%~\016|\030=B9=D18\a\221\222=FE\206=EF=A6:V=D3=F1I=B5$\202=A17=E4Qho=EC=F0= =A4\017l"..., 0x7fff0000002e
} nb_net_clients =3D 2 bt_opts =3D {0x0, 0x7fe4d978ebd8 "=A9:@", 0x7fe400000001
, 0x0,=20 0x7fe400000001
, 0x7fe4d8bffc00 "= =F0\f\237=D8=E4\177", 0x7fe4d97ab040 "", 0x5657f0 "",=20 0x1000000bf
, 0x7fe4d978ebd8 "=A9:@"} nb_bt_opts =3D 0 hda_index =3D 0 optind =3D r =3D optarg =3D monitor_hd =3D monitor_device =3D 0x54f5f4 "vc" serial_devices =3D {0x54f5d9 "vc:80Cx24C", 0x0, 0x0, 0x0} serial_device_index =3D 0 parallel_devices =3D {0x54f5e4 "vc:640x480", 0x0, 0x0} parallel_device_index =3D 0 virtio_console_index =3D 0 loadvm =3D 0x0 machine =3D (QEMUMachine *) 0x7dad00 cpu_model =3D 0x0 usb_devices =3D {0x7fffe17aaff5 "tablet", 0x7fffe17aa3c0 "", 0x7fe4d97a900= 0 "", 0x403a35 "__libc_start_main", 0x0,=20 0x107fe0f05
, 0x2cb4304900000001 , 0x7fe4d9791000 ""} usb_devices_index =3D 1 fds =3D {-512056248, 32767} tb_size =3D 0 pid_file =3D 0x0 autostart =3D 1 incoming =3D 0x0 184 TAILQ_REMOVE(&request_list, aiocb, node); Kill the program being debugged? (y or n)=20 --MP_/rdBGvJlScBlc0u+iDmP5vdW--