Re: qemu coredumps on any network activity

2008-05-05 Thread Steve Franks
On Mon, May 5, 2008 at 11:38 AM, Atanu Ghosh [EMAIL PROTECTED] wrote:
 Hi,

  http://monkey.org/freebsd/archive/freebsd-questions/200802/msg01649.html

  I am seeing the same problem, did you ever get to the bottom of this?

   Atanu.


I switched to using a tap bridge instead.  I have not had any
problems with it.  FYI I am on FreeBSD 7.0-stable, amd64.

Steve

~/bin/qemu.sh:

sudo kldload kqemu if_tap if_bridge aio

sudo sysctl net.link.tap.user_open=1
sudo sysctl net.link.tap.devfs_cloning=1
sudo sysctl net.link.tap.up_on_open=1

# sudo ifconfig bridge0 destroy
# sudo ifconfig bridge1 destroy
# sudo ifconfig tap0 destroy
# sudo ifconfig tap1 destroy
# sudo ifconfig tap2 destroy
# sudo ifconfig tap3 destroy
# sudo ifconfig tap4 destroy
# sudo ifconfig tap5 destroy
# sudo ifconfig tap6 destroy
# sudo ifconfig tap7 destroy
# sudo ifconfig tap8 destroy
# sudo ifconfig tap9 destroy

sudo ifconfig bridge0 create
sudo ifconfig bridge0 addm vr0
# sudo ifconfig tap0 create
sudo ifconfig bridge0 addm tap0
sudo ifconfig bridge0 addm tap1
sudo ifconfig bridge0 addm tap2
sudo ifconfig bridge0 addm tap3
sudo ifconfig bridge0 addm tap4
sudo ifconfig bridge0 addm tap5
sudo ifconfig bridge0 addm tap6
sudo ifconfig bridge0 addm tap7
sudo ifconfig bridge0 addm tap8
sudo ifconfig bridge0 addm tap9
sudo ifconfig bridge0 up
sudo ifconfig vr0 up
sudo ifconfig tap0 up
sudo ifconfig tap1 up
sudo ifconfig tap2 up
sudo ifconfig tap3 up
sudo ifconfig tap4 up
sudo ifconfig tap5 up
sudo ifconfig tap6 up
sudo ifconfig tap7 up
sudo ifconfig tap8 up
sudo ifconfig tap9 up
sudo dhclient bridge0

sudo /etc/rc.d/devfs restart
sudo /etc/rc.d/sysctl restart

ifconfig

qemu -m 512 -net nic -net tap -hda /usr/local/share/qemu/drivec.img
-usb -usbdevice tablet 
# -usbdevice disk:/dev/da0 -hdb fat:/mnt/flash -std-vga 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: qemu coredumps on any network activity

2008-05-05 Thread Atanu Ghosh
Hi,

Thanks for the info, I am also using I am on FreeBSD 7.0-stable, amd64.

   Atanu.

 Steve == Steve Franks [EMAIL PROTECTED] writes:

Steve On Mon, May 5, 2008 at 11:38 AM, Atanu Ghosh
Steve [EMAIL PROTECTED] wrote:
 Hi,
 
 
http://monkey.org/freebsd/archive/freebsd-questions/200802/msg01649.html
 
 I am seeing the same problem, did you ever get to the bottom of
 this?
 
 Atanu.
 

Steve I switched to using a tap bridge instead.  I have not had
Steve any problems with it.  FYI I am on FreeBSD 7.0-stable, amd64.

Steve Steve

Steve ~/bin/qemu.sh:

Steve sudo kldload kqemu if_tap if_bridge aio

Steve sudo sysctl net.link.tap.user_open=1 sudo sysctl
Steve net.link.tap.devfs_cloning=1 sudo sysctl
Steve net.link.tap.up_on_open=1

Steve # sudo ifconfig bridge0 destroy # sudo ifconfig bridge1
Steve destroy # sudo ifconfig tap0 destroy # sudo ifconfig tap1
Steve destroy # sudo ifconfig tap2 destroy # sudo ifconfig tap3
Steve destroy # sudo ifconfig tap4 destroy # sudo ifconfig tap5
Steve destroy # sudo ifconfig tap6 destroy # sudo ifconfig tap7
Steve destroy # sudo ifconfig tap8 destroy # sudo ifconfig tap9
Steve destroy

Steve sudo ifconfig bridge0 create sudo ifconfig bridge0 addm vr0 #
Steve sudo ifconfig tap0 create sudo ifconfig bridge0 addm tap0
Steve sudo ifconfig bridge0 addm tap1 sudo ifconfig bridge0 addm
Steve tap2 sudo ifconfig bridge0 addm tap3 sudo ifconfig bridge0
Steve addm tap4 sudo ifconfig bridge0 addm tap5 sudo ifconfig
Steve bridge0 addm tap6 sudo ifconfig bridge0 addm tap7 sudo
Steve ifconfig bridge0 addm tap8 sudo ifconfig bridge0 addm tap9
Steve sudo ifconfig bridge0 up sudo ifconfig vr0 up sudo ifconfig
Steve tap0 up sudo ifconfig tap1 up sudo ifconfig tap2 up sudo
Steve ifconfig tap3 up sudo ifconfig tap4 up sudo ifconfig tap5 up
Steve sudo ifconfig tap6 up sudo ifconfig tap7 up sudo ifconfig
Steve tap8 up sudo ifconfig tap9 up sudo dhclient bridge0

Steve sudo /etc/rc.d/devfs restart sudo /etc/rc.d/sysctl restart

Steve ifconfig

Steve qemu -m 512 -net nic -net tap -hda
Steve /usr/local/share/qemu/drivec.img -usb -usbdevice tablet  #
Steve -usbdevice disk:/dev/da0 -hdb fat:/mnt/flash -std-vga 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


qemu coredumps on any network activity

2008-02-21 Thread Steve Franks
The only relevant info in dmesg is that pid qemuexitied on signal
11 (core dump).

It runs fine until I access the network (either with ftp or iexplore),
then cores.  Just built from source 2 days ago (qemu 0.9.0_3).  System
is a vanilla amd64 7.0-RC2.  Ssytem network access is fine.

Thanks,
Steve
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: qemu coredumps on any network activity

2008-02-21 Thread Wojciech Puchar



The only relevant info in dmesg is that pid qemuexitied on signal
11 (core dump).

It runs fine until I access the network (either with ftp or iexplore),
then cores.  Just built from source 2 days ago (qemu 0.9.0_3).  System
is a vanilla amd64 7.0-RC2.  Ssytem network access is fine.


what type of qemu network do you use? the default one or something else?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]