Hi,
"funny" problems with :
$ qemu --version
QEMU PC emulator version 0.11.0 (qemu-kvm-0.11.0), Copyright (c)
2003-2008 Fabrice Bellard
on :
$ uname -a
Linux 2.6.31.12-174.2.3.fc12.i686 #1 SMP Mon Jan 18 20:22:46 UTC 2010
i686 i686 i386 GNU/Linux
I can't use network in OpenBSD with any driver which is provided. All
show just 'watchdog timeout -- resetting'. I tried re, em and fpx
drivers. With fxp there was even core dump and Qemu crashed. Looks
like problem is with their management of memory which they "improved"
for KVM :
# dmesg | grep -i not
"Qumranet Virtio Memory" rev 0x00 at pci0 dev 4 function 0 not configured
Command for Qemu which end with core dump was 'qemu -m 64 -boot c -usb
-hda ./obsd.img -net nic,model=i82551 -net user &'
For those who are interested here is output from Automatic Bug Reporting Tool :
[New Thread 5580]
warning: .dynamic section for "/usr/lib/libX11.so.6" is not at the
expected address
warning: difference appears to be caused by prelink, adjusting expectations
Core was generated by `qemu -m 64 -boot c -usb -hda ./obsd.img -net
nic,model=i82551 -net user'.
Program terminated with signal 6, Aborted.
#0 0x002bf416 in __kernel_vsyscall ()
Thread 2 (Thread 5580):
#0 0x002bf416 in __kernel_vsyscall ()
No symbol table info available.
#1 0x0099af72 in pthread_cond_timedwait@@GLIBC_2.3.2 ()
at ../nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:179
No locals.
#2 0x080b8f96 in cond_timedwait (unused=<value optimized out>)
at posix-aio-compat.c:68
ret = <value optimized out>
#3 aio_thread (unused=<value optimized out>) at posix-aio-compat.c:301
aiocb = <value optimized out>
ret = <value optimized out>
tv = {tv_sec = 1265976505, tv_usec = 396331}
ts = {tv_sec = 1265976515, tv_nsec = 0}
pid = <value optimized out>
set = {__val = {2147483647, 4294967294,
4294967295 <repeats 30 times>}}
#4 0x00996ab5 in start_thread (arg=<value optimized out>)
at pthread_create.c:297
__res = <value optimized out>
__ignore1 = 128
__ignore2 = 2545
now = <value optimized out>
unwind_buf = {cancel_jmp_buf = {{jmp_buf = {10125300, 0, 4001536,
-1318489032, -777369161, 832168660}, mask_was_saved = 0}},
priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0,
cleanup = 0x0, canceltype = 0}}}
not_first_call = <value optimized out>
pagesize_m1 = <value optimized out>
freesize = <value optimized out>
#5 0x008eddce in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130
No locals.
Thread 1 (Thread 5578):
#0 0x002bf416 in __kernel_vsyscall ()
No symbol table info available.
#1 0x0083da91 in raise (sig=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
resultvar = <value optimized out>
resultvar = <value optimized out>
pid = 9977844
selftid = 5578
#2 0x0083f35a in abort () at abort.c:92
save_stage = 2
act = {__sigaction_handler = {sa_handler = 0x985380 <main_arena>,
sa_sigaction = 0x985380 <main_arena>}, sa_mask = {__val = {
9977844, 168, 1, 3216681904, 3216681692, 0, 304, 163, 9982848,
9977844, 163, 162, 3216681864, 8888562, 169560536, 163,
3216681904, 169622560, 0, 4222451712, 169560536, 169560637,
169560536, 169560536, 169560698, 169560836, 169560536,
169560836, 0, 0, 0, 0}}, sa_flags = 0, sa_restorer = 0xb}
sigs = {__val = {32, 0 <repeats 31 times>}}
#3 0x00836be8 in __assert_fail (assertion=<value optimized out>,
file=<value optimized out>, line=<value optimized out>,
function=<value optimized out>) at assert.c:81
buf = 0xa1b49d8 "qemu:
/builddir/build/BUILD/qemu-kvm-0.11.0/hw/eepro100.c:1176:
eepro100_read2: Assertion `!\"feature is missing in this emulation: \"
\"unknown word read\"' failed.\n"
#4 0x080695a9 in eepro100_read2 (s=<value optimized out>,
addr=<value optimized out>)
at /usr/src/debug/qemu-kvm-0.11.0/hw/eepro100.c:1176
val = 0
__PRETTY_FUNCTION__ = "eepro100_read2"
#5 0x08069605 in ioport_read2 (opaque=<value optimized out>,
addr=<value optimized out>)
at /usr/src/debug/qemu-kvm-0.11.0/hw/eepro100.c:1310
s = <value optimized out>
#6 0x080627ea in ioport_read (index=<value optimized out>,
address=<value optimized out>)
at /usr/src/debug/qemu-kvm-0.11.0/ioport.c:67
default_func = {0x8062850 <default_ioport_readb>,
0x8062870 <default_ioport_readw>, 0x80628f0 <default_ioport_readl>}
func = <value optimized out>
#7 0x08062a24 in cpu_inw (env=<value optimized out>,
addr=<value optimized out>) at /usr/src/debug/qemu-kvm-0.11.0/ioport.c:240
val = <value optimized out>
#8 0x08188004 in helper_inw (port=<value optimized out>)
at /usr/src/debug/qemu-kvm-0.11.0/target-i386/op_helper.c:576
No locals.
#9 0x010f11d2 in ?? ()
No symbol table info available.
#10 0x0000c042 in ?? ()
No symbol table info available.
#11 0xd027d000 in ?? ()
No symbol table info available.
#12 0xbfbaad08 in ?? ()
No symbol table info available.
#13 0x0812404b in tb_gen_code (env=<value optimized out>,
pc=<value optimized out>, cs_base=<value optimized out>,
flags=<value optimized out>, cflags=<value optimized out>)
at /usr/src/debug/qemu-kvm-0.11.0/exec.c:918
tb = 0xd2c11970
tc_ptr = <value optimized out>
phys_pc = 0
phys_page2 = <value optimized out>
virt_page2 = <value optimized out>
code_gen_size = 135906192
Backtrace stopped: previous frame inner to this frame (corrupt stack?)
>From To Syms Read Shared Object Library
0x009b0420 0x009ca718 Yes (*) /lib/libm.so.6
0x00995300 0x009a0c28 Yes (*) /lib/libpthread.so.0
0x009da880 0x009de688 Yes (*) /lib/librt.so.1
0x009e5620 0x009f08e8 Yes (*) /lib/libz.so.1
0x0435edb0 0x043f0ef8 Yes (*) /lib/libasound.so.2
0x00557f70 0x00559428 Yes (*) /usr/lib/libpulse-simple.so.0
0x07e997d0 0x07f12f18 Yes (*) /usr/lib/libgnutls.so.26
0x00db61b0 0x00dc6a98 Yes (*) /usr/lib/libsasl2.so.2
0x07c20a20 0x07c212c8 Yes (*) /lib/libutil.so.1
0x056a63d0 0x056fe878 Yes (*) /usr/lib/libSDL-1.2.so.0
0x00124370 0x001b5798 Yes (*) /usr/lib/libX11.so.6
0x0454bda0 0x04563ee8 Yes (*) /lib/libncurses.so.5
0x00829990 0x009354e0 Yes (*) /lib/libc.so.6
0x04671000 0x046a0af8 Yes (*) /usr/lib/libpulse.so.0
0x007aeab0 0x007b8538 Yes (*) /lib/libtinfo.so.5
0x007f1830 0x00808ccf Yes (*) /lib/ld-linux.so.2
0x0098aa60 0x0098ba88 Yes (*) /lib/libdl.so.2
0x045777a0 0x045aaf78 Yes (*) /usr/lib/libpulsecommon-0.9.21.so
0x07848380 0x0784cd28 Yes (*) /usr/lib/libSM.so.6
0x07829530 0x078391e8 Yes (*) /usr/lib/libICE.so.6
0x07beeec0 0x07bf1bd8 Yes (*) /usr/lib/libXtst.so.6
0x07bfff10 0x07c03fe8 Yes (*) /lib/libwrap.so.0
0x045fc030 0x0464b1d8 Yes (*) /usr/lib/libsndfile.so.1
0x07bf6d80 0x07bf9a58 Yes (*) /usr/lib/libasyncns.so.0
0x00b4f230 0x00b7b3c8 Yes (*) /lib/libdbus-1.so.3
0x07fbf170 0x07fcbb38 Yes (*) /usr/lib/libtasn1.so.3
0x07c88240 0x07cd9198 Yes (*) /lib/libgcrypt.so.11
0x00b95650 0x00ba3b58 Yes (*) /lib/libresolv.so.2
0x00ae68b0 0x00aeba18 Yes (*) /lib/libcrypt.so.1
0x00c7ae80 0x00c89608 Yes (*) /usr/lib/libxcb.so.1
0x07697e60 0x07699988 Yes (*) /lib/libuuid.so.1
0x00dd7720 0x00de1ff8 Yes (*) /usr/lib/libXext.so.6
0x00de9740 0x00df34b8 Yes (*) /usr/lib/libXi.so.6
0x07f39170 0x07f479c8 Yes (*) /lib/libnsl.so.1
0x04511580 0x0453b848 Yes (*) /usr/lib/libFLAC.so.8
0x046b9bc0 0x046bbfb8 Yes (*) /usr/lib/libvorbisenc.so.2
0x044dda10 0x044f3d48 Yes (*) /usr/lib/libvorbis.so.0
0x007db310 0x007ddb88 Yes (*) /usr/lib/libogg.so.0
0x00baeda0 0x00bb08d8 Yes (*) /lib/libcap-ng.so.0
0x07c265e0 0x07c26ba8 Yes (*) /lib/libgpg-error.so.0
0x00ed8920 0x00f073c8 Yes (*) /usr/lib/libfreebl3.so
0x00bbca00 0x00bbd7f8 Yes (*) /usr/lib/libXau.so.6
0x0043ba00 0x004430c8 Yes (*) /lib/libnss_files.so.2
0x0030a2c0 0x00310178 Yes (*) /usr/lib/libXrender.so.1
0x0760f150 0x07613c58 Yes (*) /usr/lib/libXrandr.so.2
0x002aee40 0x002b4458 Yes (*) /usr/lib/libXcursor.so.1
0x00df8e70 0x00dfb3a8 Yes (*) /usr/lib/libXfixes.so.3
(*): Shared library is missing debugging information.
$1 = 0xa1b49d8 "qemu:
/builddir/build/BUILD/qemu-kvm-0.11.0/hw/eepro100.c:1176:
eepro100_read2: Assertion `!\"feature is missing in this emulation: \"
\"unknown word read\"' failed.\n"
No symbol "__glib_assert_msg" in current context.