From owner-freebsd-emulation@FreeBSD.ORG Tue Sep 15 17:39:40 2009 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 070B5106566C for ; Tue, 15 Sep 2009 17:39:40 +0000 (UTC) (envelope-from xorquewasp@googlemail.com) Received: from mail-fx0-f210.google.com (mail-fx0-f210.google.com [209.85.220.210]) by mx1.freebsd.org (Postfix) with ESMTP id 8A1A08FC15 for ; Tue, 15 Sep 2009 17:39:39 +0000 (UTC) Received: by fxm6 with SMTP id 6so2837999fxm.43 for ; Tue, 15 Sep 2009 10:39:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:received:date:from:to:subject :message-id:references:mime-version:content-type:content-disposition :in-reply-to; bh=Uiz3vFrGcT1Ck3416Y+yW3NepRxee7vOa94AHmjck1Y=; b=Y8uH6XBMVjT68Yw1cArmieWQwfc47SCAAlDkdcoeWfrn+QXgts9ZIMULKVQayWc5VH iU1x4Fjad46IXfJ8QBX7Nn/tz/NblzhWlQcGJGoN/A9KKv1HVVrTRVDaEAr1oHFNjEtF 4FK6PYfg/v0JBmmgiFY3DBQSHKxcTmjKVQKbw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=date:from:to:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to; b=Kou8h4eRj6XI8wGVLySD6FSLM2qfcGwmyjUVsMjdkCzpal2TdFAQ85oe/huk4/ZON0 CzXjmiPZJUGoLneUgNkVI3/ywdEOVKJKczst/MD7zz3FPPq/TZ5uM/jhknL0RLlZS8yf w4iGyvQvbG55hZUGufp88iQYMuWvV/BQIUP5Q= Received: by 10.86.169.3 with SMTP id r3mr6461502fge.15.1253036378487; Tue, 15 Sep 2009 10:39:38 -0700 (PDT) Received: from viper.internal.network (dsl78-143-222-147.in-addr.fast.co.uk [78.143.222.147]) by mx.google.com with ESMTPS id 4sm590400fgg.4.2009.09.15.10.39.37 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 15 Sep 2009 10:39:37 -0700 (PDT) Received: by viper.internal.network (Postfix, from userid 11001) id 1825A4AC65; Tue, 15 Sep 2009 18:39:36 +0100 (BST) Date: Tue, 15 Sep 2009 18:39:35 +0100 From: xorquewasp@googlemail.com To: freebsd-emulation@freebsd.org Message-ID: <20090915173935.GA34173@logik.internal.network> References: <20090914051402.GB44046@logik.internal.network> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20090914051402.GB44046@logik.internal.network> Subject: Re: Problems with qemu networking on 7.2-RELEASE-amd64? X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 Sep 2009 17:39:40 -0000 On 2009-09-14 06:14:02, xorquewasp@googlemail.com wrote: > Hello. > > I'm having horrendous trouble getting qemu to do networking > on 7.2-RELEASE-amd64. I've not had any trouble on previous > versions of FreeBSD and qemu so this comes as a bit of a surprise. So, er, nobody's using this rather common setup on 7.2-RELEASE-amd64? I don't know if this is a problem with qemu or a problem with if_bridge.ko. Again: NetBSD x86 sees no NIC at all. OpenBSD x86 sees a NIC but it doesn't work ("ne3: device timeout"). Windows XP sees a NIC, can do DNS resolution but no outgoing TCP connection works. NetBSD SPARC sees a NIC, can do DNS resolution but no outgoing TCP connection works. I can connect into the guest via SSH. This isn't a firewall issue: I can watch the pflog0, re0 and tap0 devices with tcpdump and clearly see that nothing is being blocked. The TCP outbound connections simply pass into the tap device and then apparently don't even get as far as the bridge: Working DNS resolution: 133779 rule 22/0(match): pass in on tap0: 10.1.3.12.65529 > 10.2.1.7.53: UDP, length 32 000006 rule 23/0(match): pass out on bridge0: 10.1.3.12.65529 > 10.2.1.7.53: UDP, length 32 Apparently broken TCP/IP to google.com: 189768 rule 24/0(match): pass in on tap0: 10.1.3.12.65534 > 216.239.59.147.80: tcp 0 There's no "pass out on bridge0" or "pass out on re0" as expected. I've tried the recent qemu-devel patch but it's so unstable that it seems nearly any execution path results in a segmentation fault. Any help would be appreciated - I have work to do that requires access to these VMs and having no outgoing network connectivity is crippling.