From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Ly7dz-0001hU-41 for qemu-devel@nongnu.org; Sun, 26 Apr 2009 12:55:55 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Ly7du-0001fS-8j for qemu-devel@nongnu.org; Sun, 26 Apr 2009 12:55:54 -0400 Received: from [199.232.76.173] (port=57750 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ly7dt-0001fN-VO for qemu-devel@nongnu.org; Sun, 26 Apr 2009 12:55:50 -0400 Received: from fmmailgate01.web.de ([217.72.192.221]:55307) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Ly7ds-0002aM-UG for qemu-devel@nongnu.org; Sun, 26 Apr 2009 12:55:49 -0400 Message-ID: <49F49213.3070507@web.de> Date: Sun, 26 Apr 2009 18:55:47 +0200 From: Jan Kiszka MIME-Version: 1.0 References: <200904240009.57667.rob@landley.net> In-Reply-To: <200904240009.57667.rob@landley.net> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig7E5F96395A79D44B5FF534CC" Sender: jan.kiszka@web.de Subject: [Qemu-devel] Re: 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: Rob Landley Cc: qemu-devel@nongnu.org This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig7E5F96395A79D44B5FF534CC Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Rob Landley wrote: > When I add this to the qemu command line: >=20 > -net socket,listen=3D127.0.0.1:1234,connect=3D:22 >=20 > It goes "Segmentation fault" immediately instead of booting. >=20 > How to reproduce this yourself: >=20 > 1) Grab a prebuilt arm system image from=20 > http://impactlinux.com/fwl/downloads/binaries/system-image/system-image= -armv4l.tar.bz2 >=20 > 2) Try the following command line, which should boot you to a command p= rompt,=20 > and is just to prove it's working. Type "exit" to get back out: >=20 > qemu-system-arm -M versatilepb -nographic -no-reboot -kernel \ > zImage-armv4l -hda image-armv4l.ext2 -append "root=3D/dev/sda rw \ > init=3D/usr/sbin/init.sh panic=3D1 PATH=3D/usr/bin console=3DttyAMA0"= -net \ > nic,model=3Drtl8139 -net user >=20 > 3) Add the -net socket bit to the end of that command line and run it a= gain. =20 > It should segfault immediately. >=20 > I don't think this is specific to arm, that's just what I tested with. >=20 > Any clues what I'm doing wrong? Nothing, it was a QEMU bug, already fixed in stable_0.10 and master (latter currently suffers from a -net socket regression I added :) ). Jan --------------enig7E5F96395A79D44B5FF534CC Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org iEYEARECAAYFAkn0khMACgkQniDOoMHTA+lhRgCeIMwdCfztYgkVnkjlfF2KCC+7 P5UAn2HqCgkGvex3iu3fkIONdei+Mv2N =zL38 -----END PGP SIGNATURE----- --------------enig7E5F96395A79D44B5FF534CC--