qemu coredumps on any network activity

Atanu Ghosh atanu at icsi.berkeley.edu
Tue May 6 00:34:22 UTC 2008


Hi,

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

       Atanu.

>>>>> "Steve" == Steve Franks <stevefranks at ieee.org> writes:

    Steve> On Mon, May 5, 2008 at 11:38 AM, Atanu Ghosh
    Steve> <atanu at icsi.berkeley.edu> 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 &


More information about the freebsd-questions mailing list