[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] core dump on networking and old pkgsrc patches
From: |
Jeremy C. Reed |
Subject: |
[Qemu-devel] core dump on networking and old pkgsrc patches |
Date: |
Tue, 1 Jul 2008 11:26:16 -0500 (CDT) |
This is a problem that may already be fixed.
I am using qemu 0.9.0 on NetBSD/amd64 -current. It is built using pkgsrc.
I know it is out of date. But qemu 0.9.0, 0.9.1, and qemu HEAD from
subversion do not build on NetBSD without patches.
I emailed this list in November to ask how to submit patches. That thread
starts here:
http://lists.gnu.org/archive/html/qemu-devel/2007-11/msg00845.html
Someone else attached patches for 0.9.1 here:
http://lists.gnu.org/archive/html/qemu-devel/2008-01/threads.html
(But no feedback)
I tried the latest qemu from subversion yesterday and see it still doesn't
build on NetBSD.
What can I do to get the pkgsrc patches for NetBSD, DragonFly and pkgsrc
integrated (as appropriate) into qemu?
Now to my current problem... whenever I attempt to ssh or ftp to my
gateway (10.0.2.2 assigned by qemu) it core dumps. This is running FreeBSD
4.9 and also DSL Linux 4.2.4.
gdb shows:
Core was generated by `qemu'.
Program terminated with signal 11, Segmentation fault.
#0 0x000000000046bfef in tcp_reass (tp=0x7f7ffb238180, ti=0xfb238180,
m=0x0)
at /usr/pkgsrc/emulators/qemu/work/qemu-0.9.0/slirp/tcp_input.c:207
207 if (ti == (struct tcpiphdr *)tp || ti->ti_seq !=
tp->rcv_nxt)
(gdb) bt
#0 0x000000000046bfef in tcp_reass (tp=0x7f7ffb238180, ti=0xfb238180,
m=0x0)
at /usr/pkgsrc/emulators/qemu/work/qemu-0.9.0/slirp/tcp_input.c:207
#1 0x000000000046cba8 in tcp_input (m=0x7f7ffb228800, iphlen=-8760,
inso=0x7f7ffb228850)
at /usr/pkgsrc/emulators/qemu/work/qemu-0.9.0/slirp/tcp_input.c:1051
#2 0x0000000000407041 in qemu_send_packet (vc1=0x7f7ffb101eb0,
buf=0x7f7ff1b1f866 "RT", size=60)
at /usr/pkgsrc/emulators/qemu/work/qemu-0.9.0/vl.c:2993
#3 0x000000000042be24 in ne2000_ioport_write (opaque=0x7f7ff1b1b220,
addr=0,
val=4) at /usr/pkgsrc/emulators/qemu/work/qemu-0.9.0/hw/ne2000.c:347
#4 0x0000000000404936 in cpu_outb (env=0x7f7ffb238180, addr=0,
val=-737804918)
at /usr/pkgsrc/emulators/qemu/work/qemu-0.9.0/vl.c:317
#5 0x0000000001b5d369 in code_gen_buffer ()
#6 0x000000000000002b in ?? ()
#7 0x0000000000475382 in cpu_x86_exec (env1=0x7f7ffb238180)
at /usr/pkgsrc/emulators/qemu/work/qemu-0.9.0/cpu-exec.c:739
#8 0x000000000040b06a in main_loop ()
at /usr/pkgsrc/emulators/qemu/work/qemu-0.9.0/vl.c:5965
#9 0x000000000040c28f in main (argc=3, argv=0xc0fa4824)
at /usr/pkgsrc/emulators/qemu/work/qemu-0.9.0/vl.c:727
- [Qemu-devel] core dump on networking and old pkgsrc patches,
Jeremy C. Reed <=