From owner-freebsd-emulation@FreeBSD.ORG Tue Feb 20 15:46:12 2007 Return-Path: X-Original-To: freebsd-emulation@freebsd.org Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 7050E16AF72 for ; Tue, 20 Feb 2007 15:46:08 +0000 (UTC) (envelope-from anderson@centtech.com) Received: from mh1.centtech.com (moat3.centtech.com [64.129.166.50]) by mx1.freebsd.org (Postfix) with ESMTP id 3D32613C48E for ; Tue, 20 Feb 2007 15:46:08 +0000 (UTC) (envelope-from anderson@centtech.com) Received: from [10.177.171.220] (neutrino.centtech.com [10.177.171.220]) by mh1.centtech.com (8.13.8/8.13.8) with ESMTP id l1KFGWJ0020523 for ; Tue, 20 Feb 2007 09:16:32 -0600 (CST) (envelope-from anderson@centtech.com) Message-ID: <45DB10D3.8040807@centtech.com> Date: Tue, 20 Feb 2007 09:16:35 -0600 From: Eric Anderson User-Agent: Thunderbird 1.5.0.9 (X11/20070204) MIME-Version: 1.0 To: freebsd-emulation@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV 0.88.4/2612/Tue Feb 20 06:28:34 2007 on mh1.centtech.com X-Virus-Status: Clean X-Spam-Status: No, score=-2.5 required=8.0 tests=AWL,BAYES_00 autolearn=ham version=3.1.6 X-Spam-Checker-Version: SpamAssassin 3.1.6 (2006-10-03) on mh1.centtech.com Subject: qemu segfaulting all over the place X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Feb 2007 15:46:12 -0000 Is anyone else experiencing a nearly useless qemu experience with the latest versions? I'm running -CURRENT from yesterday, and the latest qemu port (and kqemu). These combinations segfault: Anything with the -vnc option, when disconnecting the vnc viewer, will segfault: sudo qemu -hda /alt/images/fs.img -hdb /alt/images/swapfile -net nic -net tap -snapshot -vnc :1 -serial /dev/ttyv8 -kernel-kqemu This used to work nicely, now it dies when I connect to port 1111: sudo qemu -hda /alt/images/fs.img -hdb /alt/images/swapfile -net nic -net tap -snapshot -serial telnet::1111,server,nowait -std-vga -monitor stdio -full-screen -kernel-kqemu Which, when it dies, ktrace shows me: [..snip..] 2365 qemu CALL select(0xb,0xbfbfb350,0xbfbfb2d0,0xbfbfb250,0xbfbfb248) 2365 qemu RET select 1 2365 qemu CALL accept(0xa,0xbfbfb200,0xbfbfb17c) 2365 qemu RET accept 12/0xc 2365 qemu CALL sendto(0xc,0xbfbfb180,0x3,0,0,0) 2365 qemu GIO fd 12 wrote 3 bytes 0x0000 fffb 01 |...| 2365 qemu RET sendto 3 2365 qemu CALL sendto(0xc,0xbfbfb180,0x3,0,0,0) 2365 qemu GIO fd 12 wrote 3 bytes 0x0000 fffb 03 |...| 2365 qemu RET sendto 3 2365 qemu CALL sendto(0xc,0xbfbfb180,0x3,0,0,0) 2365 qemu GIO fd 12 wrote 3 bytes 0x0000 fffb 00 |...| 2365 qemu RET sendto 3 2365 qemu CALL sendto(0xc,0xbfbfb180,0x3,0,0,0) 2365 qemu GIO fd 12 wrote 3 bytes 0x0000 fffd 00 |...| 2365 qemu RET sendto 3 2365 qemu CALL fcntl(0xc,F_SETFL,O_NONBLOCK) 2365 qemu RET fcntl 0 2365 qemu PSIG SIGSEGV SIG_DFL 2365 qemu NAMI "qemu.core" And lsof shows: bash 2283 anderson 0u VCHR 0,153 0t132489 153 /dev/kqemu0 bash 2283 anderson 1u VCHR 0,153 0t132489 153 /dev/kqemu0 bash 2283 anderson 2u VCHR 0,153 0t132489 153 /dev/kqemu0 bash 2283 anderson 255u VCHR 0,153 0t132489 153 /dev/kqemu0 qemu 2413 root cwd VDIR 0,127 6656 2237440 /home/anderson qemu 2413 root rtd VDIR 0,126 1024 2 / qemu 2413 root txt VREG 0,126 924744 1185013 /usr/local/bin/qemu qemu 2413 root txt VREG 0,126 182036 1625114 /libexec/ld-elf.so.1 qemu 2413 root txt VREG 0,126 98108 4145255 /lib/libm.so.4 qemu 2413 root txt VREG 0,126 69020 4145277 /lib/libz.so.3 qemu 2413 root txt VREG 0,126 470825 1188191 /usr/local/lib/libSDL.so.11 qemu 2413 root txt VREG 0,126 48452 4145259 /lib/libutil.so.6 qemu 2413 root txt VREG 0,126 148620 4145276 /lib/libpthread.so.2 qemu 2413 root txt VREG 0,126 1060216 4145271 /lib/libc.so.7 qemu 2413 root txt VREG 0,126 1010193 1181280 /usr/local/lib/libiconv.so.3 qemu 2413 root txt VREG 0,126 929137 1745765 /usr/X11R6/lib/libX11.so.6 qemu 2413 root txt VREG 0,126 67306 1745793 /usr/X11R6/lib/libXext.so.6 qemu 2413 root txt VREG 0,126 13349 1745921 /usr/X11R6/lib/libXrandr.so.2 qemu 2413 root txt VREG 0,126 36696 1745913 /usr/X11R6/lib/libXrender.so.1 qemu 2413 root txt VREG 0,126 339696 1186468 /usr/local/lib/libvga.so.1 qemu 2413 root txt VREG 0,126 28604 1134373 /usr/lib/libvgl.so.4 qemu 2413 root txt VREG 0,126 103186 1185066 /usr/local/lib/libaa.so.1 qemu 2413 root txt VREG 0,126 11068 1134449 /usr/lib/libusbhid.so.2 qemu 2413 root txt VREG 0,126 280672 4145257 /lib/libncurses.so.6 qemu 2413 root txt VREG 0,126 10297 2288799 /usr/X11R6/lib/X11/locale/lib/common/xlcDef.so.2 qemu 2413 root txt VREG 0,126 135693 2288807 /usr/X11R6/lib/X11/locale/lib/common/ximcp.so.2 qemu 2413 root txt VREG 0,126 42018 1749472 /usr/X11R6/lib/libXcursor.so.1 qemu 2413 root txt VREG 0,126 19270 1745937 /usr/X11R6/lib/libXfixes.so.3 qemu 2413 root 0u VCHR 0,153 0t132489 153 /dev/kqemu0 qemu 2413 root 1u VCHR 0,153 0t132489 153 /dev/kqemu0 qemu 2413 root 2u VCHR 0,153 0t132489 153 /dev/kqemu0 qemu 2413 root 3u VCHR 0,158 0t42 158 /dev (devfs) qemu 2413 root 4u VREG 0,126 16384 2002091 / (/dev/ufs/root) qemu 2413 root 5u VREG 0,128 536870912 588871 /alt/images/fs.img qemu 2413 root 6u VREG 0,126 16384 2002092 / (/dev/ufs/root) qemu 2413 root 7u VREG 0,128 268435456 588872 /alt/images/swapfile qemu 2413 root 8u unix 0xc94c0bac 0t0 ->0xc6a70cf8 qemu 2413 root 9u unix 0xc697314c 0t0 ->0xcbb1d14c qemu 2413 root 10u IPv4 0xc678fd04 0t0 TCP *:1111 (LISTEN) qemu 2413 root 11u VCHR 0,161 0t0 161 /dev (devfs) Eric -- ------------------------------------------------------------------------ Eric Anderson Sr. Systems Administrator Centaur Technology An undefined problem has an infinite number of solutions. ------------------------------------------------------------------------