Hi,

i have some trouble with qemu-system-x86_64. Neither SuSE92-64 nor Ubuntu 
5.10-64 will install.

Here my env:
Host OS: SuSE10 (i586)
Kernel: 2.6.13-15.8-smp
qemu: snapshot20060315 (without kqemu )

./configure --prefix=/usr --cc=/opt/gcc33/bin/gcc-3.3 
--interp-prefix=/usr/share/qemu/qemu-%M --target-list="i386-softmmu 
x86_64-softmmu"
make CC="/opt/gcc33/bin/gcc-3.3" CFLAGS="-Wall -O2 -g -ggdb -g3 -ggdb3 
-fno-strict-aliasing -fomit-frame-pointer"


qemu-img create /localhome/qemu/86_64-test.img 4G

gdb /usr/bin/qemu-system-x86_64
(gdb) run
Starting program: /usr/bin/qemu-system-x86_64 -m 512  -localtime  
-hda /localhome/qemu/86_64-test.img -cdrom /localhome/breezy-dvd-amd64.iso 
-boot d
[Thread debugging using libthread_db enabled]
[New Thread 1079000704 (LWP 24353)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1079000704 (LWP 24353)]
0x09be2056 in code_gen_buffer ()
(gdb) where
#0  0x09be2056 in code_gen_buffer ()
#1  0x09bc269b in code_gen_buffer ()
#2  0x00000000 in ?? ()
#3  0x00000000 in ?? ()
#4  0x080b0b6b in cpu_x86_exec (env1=0x0) 
at /usr/src/packages/BUILD/qemu-snapshot20060315/cpu-exec.c:752
#5  0x08050c16 in main_loop () 
at /usr/src/packages/BUILD/qemu-snapshot20060315/vl.c:4065
#6  0x08051df6 in main (argc=8, argv=0x0) 
at /usr/src/packages/BUILD/qemu-snapshot20060315/vl.c:5234



full gdb output as attachment.

Thanks for any help.
gdb /usr/bin/qemu-system-x86_64
GNU gdb 6.3
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 "i586-suse-linux"...Using host libthread_db library 
"/lib/tls/libthread_db.so.1".

(gdb) set args -m 512  -localtime  -hda /localhome/qemu/86_64-test.img -cdrom 
/localhome/breezy-dvd-amd64.iso -boot d
(gdb) run
Starting program: /usr/bin/qemu-system-x86_64 -m 512  -localtime  -hda 
/localhome/qemu/86_64-test.img -cdrom /localhome/breezy-dvd-amd64.iso -boot d
[Thread debugging using libthread_db enabled]
[New Thread 1079000704 (LWP 24353)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1079000704 (LWP 24353)]
0x09be2056 in code_gen_buffer ()
(gdb) where
#0  0x09be2056 in code_gen_buffer ()
#1  0x09bc269b in code_gen_buffer ()
#2  0x00000000 in ?? ()
#3  0x00000000 in ?? ()
#4  0x080b0b6b in cpu_x86_exec (env1=0x0) at 
/usr/src/packages/BUILD/qemu-snapshot20060315/cpu-exec.c:752
#5  0x08050c16 in main_loop () at 
/usr/src/packages/BUILD/qemu-snapshot20060315/vl.c:4065
#6  0x08051df6 in main (argc=8, argv=0x0) at 
/usr/src/packages/BUILD/qemu-snapshot20060315/vl.c:5234
(gdb) backtrace full
#0  0x09be2056 in code_gen_buffer ()
No symbol table info available.
#1  0x09bc269b in code_gen_buffer ()
No symbol table info available.
#2  0x00000000 in ?? ()
No symbol table info available.
#3  0x00000000 in ?? ()
No symbol table info available.
#4  0x080b0b6b in cpu_x86_exec (env1=0x0) at 
/usr/src/packages/BUILD/qemu-snapshot20060315/cpu-exec.c:752
        saved_T0 = 0
        saved_T1 = 0
        saved_T2 = 0
        saved_env = (CPUX86State *) 0xbfe94c28
        ret = 0
        interrupt_request = 0
        tb = (TranslationBlock *) 0xffa41000
        tc_ptr = (unsigned char *) 0x0
#5  0x08050c16 in main_loop () at 
/usr/src/packages/BUILD/qemu-snapshot20060315/vl.c:4065
        ret = 65536
        timeout = 0
        env = (CPUX86State *) 0x9dbea50
#6  0x08051df6 in main (argc=8, argv=0x0) at 
/usr/src/packages/BUILD/qemu-snapshot20060315/vl.c:5234
        use_gdbstub = 536872736
        gdbstub_port = 466944
        i = 0
        cdrom_index = 119537671
        snapshot = 536872736
        initrd_filename = 0x72000 <Address 0x72000 out of bounds>
        hd_filename = {0x7200007 <Address 0x7200007 out of bounds>, 0x72000 
<Address 0x72000 out of bounds>,
  0x20000720 <Address 0x20000720 out of bounds>, 0x7200007 <Address 0x7200007 
out of bounds>}
        fd_filename = {0x20000720 <Address 0x20000720 out of bounds>, 0x7200007 
<Address 0x7200007 out of bounds>}
        kernel_filename = 0x7200007 <Address 0x7200007 out of bounds>
        kernel_cmdline = 0x20000720 <Address 0x20000720 out of bounds>
        cyls = 466944
        heads = 119537671
        secs = 536872736
        translation = 466944
        start_emulation = 119537671
        net_clients = {"\000 \a\000 \a\000 \a\000 ...

        nb_net_clients = 536872736
        optind = 119537671
        r = 0x0
        optarg = 0x0
        monitor_hd = (CharDriverState *) 0x0
        monitor_device = " \a\000 \a\000 \a\000 ...
        serial_devices = { "\a\000 \a\000 \a\000 \a\000 ...
        serial_device_index = 466944
        parallel_devices = { "\a\000 \a\000 \a\000 \a\000 ...
        parallel_device_index = 119537671
        loadvm = 0x20000720 <Address 0x20000720 out of bounds>
        machine = (QEMUMachine *) 0x72000
        usb_devices = { " \a\000 \a\000 \a\000 \a\000 \a\000 ...
        usb_devices_index = 119537671
(gdb)                                                                           
              
_______________________________________________
Qemu-devel mailing list
Qemu-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/qemu-devel

Reply via email to