From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LxDhF-000274-C3 for qemu-devel@nongnu.org; Fri, 24 Apr 2009 01:11:33 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LxDhD-00026I-PM for qemu-devel@nongnu.org; Fri, 24 Apr 2009 01:11:32 -0400 Received: from [199.232.76.173] (port=59166 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LxDhD-000267-GW for qemu-devel@nongnu.org; Fri, 24 Apr 2009 01:11:31 -0400 Received: from static-71-162-243-5.phlapa.fios.verizon.net ([71.162.243.5]:51528 helo=grelber.thyrsus.com) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LxDhD-0005Tv-8k for qemu-devel@nongnu.org; Fri, 24 Apr 2009 01:11:31 -0400 Received: from landley.net (localhost [127.0.0.1]) by grelber.thyrsus.com (Postfix) with ESMTP id 670699F0672 for ; Fri, 24 Apr 2009 01:26:14 -0400 (EDT) From: Rob Landley Date: Fri, 24 Apr 2009 00:09:57 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200904240009.57667.rob@landley.net> Subject: [Qemu-devel] Segmentation fault with -net socket in 0.10.2. List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org When I add this to the qemu command line: -net socket,listen=127.0.0.1:1234,connect=:22 It goes "Segmentation fault" immediately instead of booting. How to reproduce this yourself: 1) Grab a prebuilt arm system image from http://impactlinux.com/fwl/downloads/binaries/system-image/system-image-armv4l.tar.bz2 2) Try the following command line, which should boot you to a command prompt, and is just to prove it's working. Type "exit" to get back out: qemu-system-arm -M versatilepb -nographic -no-reboot -kernel \ zImage-armv4l -hda image-armv4l.ext2 -append "root=/dev/sda rw \ init=/usr/sbin/init.sh panic=1 PATH=/usr/bin console=ttyAMA0" -net \ nic,model=rtl8139 -net user 3) Add the -net socket bit to the end of that command line and run it again. It should segfault immediately. I don't think this is specific to arm, that's just what I tested with. Any clues what I'm doing wrong? Thanks, Rob -- Latency is more important than throughput. It's that simple. - Linus Torvalds