From owner-freebsd-questions@FreeBSD.ORG Tue May 6 00:34:22 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BEC3C1065684 for ; Tue, 6 May 2008 00:34:22 +0000 (UTC) (envelope-from atanu@icir.org) Received: from tigger.icir.org (tigger.icir.org [192.150.187.78]) by mx1.freebsd.org (Postfix) with ESMTP id 964008FC1B for ; Tue, 6 May 2008 00:34:22 +0000 (UTC) (envelope-from atanu@icir.org) Received: from tigger.icir.org (localhost [127.0.0.1]) by tigger.icir.org (8.12.11/8.13.6) with ESMTP id m460Bgoo046014; Mon, 5 May 2008 17:11:42 -0700 (PDT) (envelope-from atanu@tigger.icir.org) To: stevefranks@ieee.org In-Reply-To: Message from "Steve Franks" of "Mon, 05 May 2008 12:50:41 PDT." <539c60b90805051250xac3f1ffv52a0673e16f06414@mail.gmail.com> From: Atanu Ghosh X-Organisation: The International Computer Science Institute X-Phone: +1 510 666 2966 X-Fax: +1 510 666 2956 X-Url: X-Mailer: MH-E 7.4.2; nmh 1.0.3; XEmacs 21.4 (patch 19) Date: Mon, 05 May 2008 17:11:42 -0700 Message-ID: <46013.1210032702@tigger.icir.org> Sender: atanu@icir.org Cc: FreeBSD Mailing List Subject: Re: qemu coredumps on any network activity X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: atanu@icsi.berkeley.edu List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 May 2008 00:34:22 -0000 Hi, Thanks for the info, I am also using I am on FreeBSD 7.0-stable, amd64. Atanu. >>>>> "Steve" == Steve Franks writes: Steve> On Mon, May 5, 2008 at 11:38 AM, Atanu Ghosh Steve> wrote: >> Hi, >> >> >> >> 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 &