qemu-system-x86_.core": not in executable format: File format not recognized

Saifi Khan saifi.khan at datasynergy.org
Wed Oct 21 11:56:23 PDT 2009


Hi:

On a AMD64 X2 box running DragonFly BSD i'm trying to setup
test/amd64,

amd64x2# uname -a
DragonFly amd64x2 2.4.1-RELEASE DragonFly v2.4.1-RELEASE #7: Wed
Sep 30 18:16:27 PDT 2009
root at pkgbox64.dragonflybsd.org:/usr/obj/usr/src-misc/sys/AMD64_GENERIC
amd64


After building 'make scratch' for test/amd64 on the AMD64 X2 box
(2GB DDR2, ASUS M2N-MX SE, 320 GB SATA II Seagate, nVidia
Gigabit, nVidia SATA controller), the following message was seen

WARNING: 64 bit loader installed, if it doesn't work
         then use 'sysloader' to install the 32 bit one
cp /boot/loader /root/qemu//root/boot/loader
sync
Run the environment with:
make QEMUDIR=/root/qemu/ run


On running the command,
amd64x2# make QEMUDIR=/root/qemu/ run


Bus error (core dumped)
*** Error code 138
Stop in /usr/src/test/amd64.
amd64x2# 


On attempting to debug,
amd64x2# gdb `qemu-system-x86_64 -curses -hda root.img  -m 128 -no-fd-bootchk` qemu-system-x86_.core

We need a terminal output
gdb 6.7.1
This GDB was configured as "amd64-dragonfly"...
"/root/qemu/qemu-system-x86_.core": not in executable format: File format not recognized
(gdb) q

amd64x2# file qemu-system-x86_.core 
qemu-system-x86_.core: ELF 64-bit LSB core file x86-64, version 1 (FreeBSD), FreeBSD-style, from 'stem-x86_'
amd64x2# 


Have some of the folks experienced with AMD64 observed this issue ?

How do i get gdb to show atleast a stack trace of the generated core file ?


thanks
Saifi.






More information about the Users mailing list