zinob@LIX:~/Programs/qemu-0.13.0$ ./configure --mandir=/usr/share/man/ --kerneldir=/usr/src/linux --disable-strip Install prefix /usr/local BIOS directory /usr/local/share/qemu binary directory /usr/local/bin config directory /usr/local/etc Manual directory /usr/share/man/ ELF interp prefix /usr/gnemul/qemu-%M Source path /home/zinob/Programs/qemu-0.13.0 C compiler gcc Host C compiler gcc CFLAGS -O2 -g QEMU_CFLAGS -m32 -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 LDFLAGS -Wl,--warn-common -m32 -g make make install install host CPU i386 host big endian no target list i386-softmmu x86_64-softmmu arm-softmmu cris-softmmu m68k-softmmu microblaze-softmmu mips-softmmu mipsel-softmmu mips64-softmmu mips64el-softmmu ppc-softmmu ppcemb-softmmu ppc64-softmmu sh4-softmmu sh4eb-softmmu sparc-softmmu sparc64-softmmu i386-linux-user x86_64-linux-user alpha-linux-user arm-linux-user armeb-linux-user cris-linux-user m68k-linux-user microblaze-linux-user mips-linux-user mipsel-linux-user ppc-linux-user ppc64-linux-user ppc64abi32-linux-user sh4-linux-user sh4eb-linux-user sparc-linux-user sparc64-linux-user sparc32plus-linux-user tcg debug enabled no Mon debug enabled no gprof enabled no sparse enabled no strip binaries no profiler no static build no -Werror enabled no SDL support yes curses support yes curl support yes check support no mingw32 support no Audio drivers oss Extra audio cards ac97 es1370 sb16 Block whitelist Mixer emulation no VNC TLS support yes VNC SASL support yes VNC JPEG support yes VNC PNG support yes VNC thread no xen support no 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 fdt support no preadv support yes fdatasync yes uuid support yes vhost-net support no ============================================================ zinob@LIX:~/Programs/qemu-0.13.0$ ./i386-softmmu/qemu Segmentation fault ============================================================ *DOH!* ============================================================ zinob@LIX:~/Programs/qemu-0.13.0$ gdb --args ./i386-softmmu/qemu GNU gdb (GDB) 7.1 Copyright (C) 2010 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 "i486-slackware-linux". For bug reporting instructions, please see: ... Reading symbols from /home/zinob/Programs/qemu-0.13.0/i386-softmmu/qemu...done. (gdb) run Starting program: /home/zinob/Programs/qemu-0.13.0/i386-softmmu/qemu [Thread debugging using libthread_db enabled] Program received signal SIGSEGV, Segmentation fault. 0x08173193 in ldl_le_p (addr=3882, mmu_idx=) at /home/zinob/Programs/qemu-0.13.0/cpu-all.h:355 355 return *(uint32_t *)ptr; (gdb) bt #0 0x08173193 in ldl_le_p (addr=3882, mmu_idx=) at /home/zinob/Programs/qemu-0.13.0/cpu-all.h:355 #1 __ldl_mmu (addr=3882, mmu_idx=) at /home/zinob/Programs/qemu-0.13.0/softmmu_template.h:125 #2 0x0817d74f in ldl_kernel (new_cs=8, new_eip=1048289, next_eip_addend=8) at /home/zinob/Programs/qemu-0.13.0/softmmu_header.h:87 #3 load_segment (new_cs=8, new_eip=1048289, next_eip_addend=8) at /home/zinob/Programs/qemu-0.13.0/target-i386/op_helper.c:152 #4 helper_ljmp_protected (new_cs=8, new_eip=1048289, next_eip_addend=8) at /home/zinob/Programs/qemu-0.13.0/target-i386/op_helper.c:2202 #5 0xb5711427 in ?? () Backtrace stopped: previous frame inner to this frame (corrupt stack?) (gdb) l 350 return *(int16_t *)ptr; 351 } 352 353 static inline int ldl_le_p(const void *ptr) 354 { 355 return *(uint32_t *)ptr; 356 } 357 358 static inline uint64_t ldq_le_p(const void *ptr) 359 { (gdb) up #1 __ldl_mmu (addr=3882, mmu_idx=) at /home/zinob/Programs/qemu-0.13.0/softmmu_template.h:125 125 res = glue(glue(ld, USUFFIX), _raw)((uint8_t *)(long)(addr+addend)); (gdb) l 120 retaddr = GETPC(); 121 do_unaligned_access(addr, READ_ACCESS_TYPE, mmu_idx, retaddr); 122 } 123 #endif 124 addend = env->tlb_table[mmu_idx][index].addend; 125 res = glue(glue(ld, USUFFIX), _raw)((uint8_t *)(long)(addr+addend)); 126 } 127 } else { 128 /* the page is not in the TLB : fill it */ 129 retaddr = GETPC(); (gdb) ============================================================ zinob@LIX:~/Programs/qemu-0.13.0$ cat /proc/cpuinfo processor : 0 vendor_id : AuthenticAMD cpu family : 16 model : 4 model name : AMD Phenom(tm) II X4 810 Processor stepping : 2 cpu MHz : 2606.794 cache size : 512 KB physical id : 0 siblings : 4 core id : 0 cpu cores : 4 apicid : 0 initial apicid : 0 fdiv_bug : no hlt_bug : no f00f_bug : no coma_bug : no fpu : yes fpu_exception : yes cpuid level : 5 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm 3dnowext 3dnow constant_tsc nonstop_tsc extd_apicid pni monitor cx16 popcnt lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw ibs skinit wdt bogomips : 5213.58 clflush size : 64 cache_alignment : 64 address sizes : 48 bits physical, 48 bits virtual power management: ts ttp tm stc 100mhzsteps hwpstate processor : 1 vendor_id : AuthenticAMD cpu family : 16 model : 4 model name : AMD Phenom(tm) II X4 810 Processor stepping : 2 cpu MHz : 2606.794 cache size : 512 KB physical id : 0 siblings : 4 core id : 1 cpu cores : 4 apicid : 1 initial apicid : 1 fdiv_bug : no hlt_bug : no f00f_bug : no coma_bug : no fpu : yes fpu_exception : yes cpuid level : 5 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm 3dnowext 3dnow constant_tsc nonstop_tsc extd_apicid pni monitor cx16 popcnt lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw ibs skinit wdt bogomips : 5213.26 clflush size : 64 cache_alignment : 64 address sizes : 48 bits physical, 48 bits virtual power management: ts ttp tm stc 100mhzsteps hwpstate processor : 2 vendor_id : AuthenticAMD cpu family : 16 model : 4 model name : AMD Phenom(tm) II X4 810 Processor stepping : 2 cpu MHz : 2606.794 cache size : 512 KB physical id : 0 siblings : 4 core id : 2 cpu cores : 4 apicid : 2 initial apicid : 2 fdiv_bug : no hlt_bug : no f00f_bug : no coma_bug : no fpu : yes fpu_exception : yes cpuid level : 5 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm 3dnowext 3dnow constant_tsc nonstop_tsc extd_apicid pni monitor cx16 popcnt lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw ibs skinit wdt bogomips : 5213.30 clflush size : 64 cache_alignment : 64 address sizes : 48 bits physical, 48 bits virtual power management: ts ttp tm stc 100mhzsteps hwpstate processor : 3 vendor_id : AuthenticAMD cpu family : 16 model : 4 model name : AMD Phenom(tm) II X4 810 Processor stepping : 2 cpu MHz : 2606.794 cache size : 512 KB physical id : 0 siblings : 4 core id : 3 cpu cores : 4 apicid : 3 initial apicid : 3 fdiv_bug : no hlt_bug : no f00f_bug : no coma_bug : no fpu : yes fpu_exception : yes cpuid level : 5 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm 3dnowext 3dnow constant_tsc nonstop_tsc extd_apicid pni monitor cx16 popcnt lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw ibs skinit wdt bogomips : 5213.26 clflush size : 64 cache_alignment : 64 address sizes : 48 bits physical, 48 bits virtual power management: ts ttp tm stc 100mhzsteps hwpstate ============================================================ zinob@LIX:~/Programs/qemu-0.13.0$ uname -a Linux LIX 2.6.33.4-smp #2 SMP Wed May 12 22:47:36 CDT 2010 i686 AMD Phenom(tm) II X4 810 Processor AuthenticAMD GNU/Linux