From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NBd9k-0007ii-PC for qemu-devel@nongnu.org; Fri, 20 Nov 2009 18:44:48 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NBd9g-0007bZ-5a for qemu-devel@nongnu.org; Fri, 20 Nov 2009 18:44:48 -0500 Received: from [199.232.76.173] (port=40463 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NBd9f-0007bE-W2 for qemu-devel@nongnu.org; Fri, 20 Nov 2009 18:44:44 -0500 Received: from mail-px0-f204.google.com ([209.85.216.204]:63816) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NBd9f-0006PN-JL for qemu-devel@nongnu.org; Fri, 20 Nov 2009 18:44:43 -0500 Received: by pxi42 with SMTP id 42so2100160pxi.5 for ; Fri, 20 Nov 2009 15:44:42 -0800 (PST) MIME-Version: 1.0 In-Reply-To: <20091120232955.GH27493@hall.aurel32.net> References: <4B05CB22.7000200@vmware.com> <20091120232955.GH27493@hall.aurel32.net> Date: Sat, 21 Nov 2009 07:44:42 +0800 Message-ID: Subject: Re: [Qemu-devel] Networking hangs From: Scott Tsai Content-Type: text/plain; charset=UTF-8 List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Aurelien Jarno Cc: Christoffer Dall , qemu-devel@nongnu.org On Sat, Nov 21, 2009 at 7:29 AM, Aurelien Jarno wrote: > On Thu, Nov 19, 2009 at 05:48:02PM -0500, Christoffer Dall wrote: >> Hi. >> >> I am experiencing problems with bridged networking to ARM guests. I have >> experimented with various kernel versions, distributions and host >> machines and I experience the problem in all cases. >> >> When I copy files into the guest using SCP, after an undeterministic >> number of megabytes have been copied, the network crashes. At this point >> not even pings to localhost works inside the guest. >> >> I am using v0.11.0, emulating a versatilepb board with an arm1136-r2 cpu > > Have you tried to use the stable-0.11 branch (that will become 0.11.1 at > some point) instead? It has some ARM and network related fixes. Using the files that Christoffer uploaded, I can reproduce this bug even on stable-0.11. (i.e. using scp to copy a large file seems to "hang" the network stack in the guest to the point that even "ping 127.0.0.1" fails) The interesting part about this bug is that Christoffer patched the Linux kernel to allow using an ARMv6 CPU on the versatilepb board. I've verified that by changing the emulated cpu from arm1136-r2 to arm926 and building a kernel for the arm926 this bug no longer happens. I'm not familiar enough with the ARM architecture to explain why the versatilepb board would have such "reliability problems" with arm1136-r2 CPU right away. I was about to try emulating a arm1136-r2 CPU on a realview board.