* [Qemu-devel] Segmentation fault with -net socket in 0.10.2.
@ 2009-04-24 5:09 Rob Landley
2009-04-26 16:55 ` [Qemu-devel] " Jan Kiszka
0 siblings, 1 reply; 2+ messages in thread
From: Rob Landley @ 2009-04-24 5:09 UTC (permalink / raw)
To: qemu-devel
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
^ permalink raw reply [flat|nested] 2+ messages in thread
* [Qemu-devel] Re: Segmentation fault with -net socket in 0.10.2.
2009-04-24 5:09 [Qemu-devel] Segmentation fault with -net socket in 0.10.2 Rob Landley
@ 2009-04-26 16:55 ` Jan Kiszka
0 siblings, 0 replies; 2+ messages in thread
From: Jan Kiszka @ 2009-04-26 16:55 UTC (permalink / raw)
To: Rob Landley; +Cc: qemu-devel
[-- Attachment #1: Type: text/plain, Size: 1155 bytes --]
Rob Landley wrote:
> 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?
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
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 257 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-04-26 16:55 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-04-24 5:09 [Qemu-devel] Segmentation fault with -net socket in 0.10.2 Rob Landley
2009-04-26 16:55 ` [Qemu-devel] " Jan Kiszka
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).