qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] I'm using Alpha EV6 core for the host.


From: Ashuaria Lee
Subject: [Qemu-devel] I'm using Alpha EV6 core for the host.
Date: Mon, 9 Jan 2006 19:39:21 +0900

Hi, everyone!
I'm new to this QEMU project, so may not know the historical thing.
I've already searched the mailinglist archive but didn't find any
hints so I'm asking.

As you see the subject, I'm using alpha system.
I'm experiencing two problem.

1. Full system emulation.
none of them are working.
The only thing I get is Segfault.
>> address@hidden linux-test]# qemu -nographic -hda linux.img -kernel
bzImage-2.4.21 -append "console=ttyS0 root=/dev/hda sb=0x220,5,1,5
ide2=noprobe ide3=noprobe ide4=noprobe ide5=noprobe"
>> (qemu) Could not configure '/dev/rtc' to have a 1024 Hz timer. This
is not a fatal
error, but for better emulation accuracy either use a 2.6 host Linux kernel or
type 'echo 1024 > /proc/sys/dev/rtc/max-user-freq' as root.
>> Segmentation fault

I've dumped the core file and tried to gdb it, but couldn't.
>> address@hidden linux-test]# gdb qemu core.10898
>> GNU gdb Red Hat Linux (6.3.0.0-1.63rh)
>> Copyright 2004 Free Software Foundation, Inc.
>> GDB is free software, covered by the GNU General Public License, and you are
>> welcome to change it and/or distribute copies of it under certain conditions.
>> Type "show copying" to see the conditions.
>> There is absolutely no warranty for GDB.  Type "show warranty" for details.
>> This GDB was configured as "alpha-redhat-linux-gnu"...
>> (no debugging symbols found)
>> Using host libthread_db library "/lib/tls/libthread_db.so.1".
>>
>> Core was generated by `/usr/local/bin/qemu linux.img'.
>> Program terminated with signal 11, Segmentation fault.
>> Reading symbols from /usr/lib/libots.so...done.
>> Loaded symbols for //usr/lib/libots.so
>> Reading symbols from /lib/tls/libm.so.6.1...done.
>> Loaded symbols for /lib/tls/libm.so.6.1
>> Reading symbols from /usr/lib/libz.so...done.
>> Loaded symbols for /usr/lib/libz.so
>> Reading symbols from /lib/libasound.so.2...done.
>> Loaded symbols for /lib/libasound.so.2
>> Reading symbols from /usr/lib/libSDL-1.2.so.0...done.
>> Loaded symbols for /usr/lib/libSDL-1.2.so.0
>> Reading symbols from /lib/tls/libpthread.so.0...done.
>> Loaded symbols for /lib/tls/libpthread.so.0
>> Reading symbols from /lib/libutil.so.1.1...done.
>> Loaded symbols for /lib/libutil.so.1.1
>> Reading symbols from /lib/tls/libc.so.6.1...done.
>> Loaded symbols for /lib/tls/libc.so.6.1
>> Reading symbols from /lib/libdl.so.2.1...done.
>> Loaded symbols for /lib/libdl.so.2.1
>> Reading symbols from /usr/X11R6/lib/libX11.so.6...done.
>> Loaded symbols for /usr/X11R6/lib/libX11.so.6
>> Reading symbols from /usr/X11R6/lib/libXext.so.6...done.
>> Loaded symbols for /usr/X11R6/lib/libXext.so.6
>> Reading symbols from /lib/ld-linux.so.2...done.
>> Loaded symbols for /lib/ld-linux.so.2
>> Reading symbols from /lib/libnss_files.so.2...done.
>> Loaded symbols for /lib/libnss_files.so.2
>> Reading symbols from /usr/X11R6/lib/libXcursor.so.1...done.
>> Loaded symbols for /usr/X11R6/lib/libXcursor.so.1
>> Reading symbols from /usr/X11R6/lib/libXrender.so.1...done.
>> Loaded symbols for /usr/X11R6/lib/libXrender.so.1
>> Reading symbols from /usr/X11R6/lib/X11/locale/lib/common/xlcDef.so.2...done.
>> Loaded symbols for /usr/X11R6/lib/X11/locale/lib/common/xlcDef.so.2
>> #0  0x00000001206d7b8c in ?? ()
>> (gdb) bt
>> #0  0x00000001206d7b8c in ?? ()
>> warning: Hit heuristic-fence-post without finding
>> warning: enclosing function for address 0x1206d7b8c
>> This warning occurs if you are debugging a function without any symbols
>> (for example, in a stripped executable).  In that case, you may wish to
>> increase the size of the search with the `set heuristic-fence-post' command.
>>
>> Otherwise, you told GDB there was a function where there isn't one, or
>> (more likely) you have encountered a bug in GDB.
>> #1  0x00000001200a229c in ?? ()
>> #2  0x0000000120557b40 in ?? ()
>> warning: Hit heuristic-fence-post without finding
>> warning: enclosing function for address 0x120557b40
>> Previous frame identical to this frame (corrupt stack?)
>> (gdb)


2. User mode emulation
none of them working.
Have a look  on the following result.
>> address@hidden i386]# ./ls
>> qemu: uncaught target signal 4 (Illegal instruction) - exiting
>> address@hidden i386]# file ls
>> ls: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), for
GNU/Linux 2.0.0, dynamically linked (uses shared libs), stripped
>> address@hidden i386]# ls /proc/sys/fs/binfmt_misc/
>> arm  armeb  i386  i486  mips  mipsel  ppc  register  sparc  status
>> address@hidden qemu-0.8.0]# cat /proc/sys/fs/binfmt_misc/status
>> enabled

Can someone tell me how to debug?

--
Regards,
Ashuaria Lee




reply via email to

[Prev in Thread] Current Thread [Next in Thread]