Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1N2PWD-0003V5-2s for qemu-devel@nongnu.org; Mon, 26 Oct 2009 09:21:53 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1N2PW7-0003UA-D7 for qemu-devel@nongnu.org; Mon, 26 Oct 2009 09:21:51 -0400 Received: from [199.232.76.173] (port=35173 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1N2PW7-0003U7-8C for qemu-devel@nongnu.org; Mon, 26 Oct 2009 09:21:47 -0400 Received: from prospero.drewag.de ([212.111.238.28]:44650) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1N2PW6-0002vQ-TA for qemu-devel@nongnu.org; Mon, 26 Oct 2009 09:21:47 -0400 Sender: Sven Rudolph References: From: Sven Rudolph Date: Mon, 26 Oct 2009 14:21:41 +0100 In-Reply-To: (Scott Tsai's message of "Sun, 25 Oct 2009 02:12:31 +0800") Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: [Qemu-devel] Re: qemu: async sending in tap causes "NFS not responding" error List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Scott Tsai Cc: markmc@redhat.com, Sven_Rudolph@drewag.de, qemu-devel@nongnu.org Scott Tsai writes: > I recently found that this chageset: > http://git.savannah.gnu.org/cgit/qemu.git/commit/?id=e19eb22486f258a421108ac22b8380a4e2f16b97 > "net: make use of async packet sending API in tap client" > causes NFS root Linux guest setups using TAP networking to fail with > error messages like: > nfs: server 172.20.0.1 not responding, still trying > nfs: server 172.20.0.1 OK > < .... repeat infinitely ...> > This happens on both the "master" and "stable-0.11" branches on qemu. > > The attached '0001-net-revert-e19eb22486f258a421108ac22b8380a4e2f16b97.patch' > makes NFS root on qemu emulated "arm-integrator-cp" boards work for me > again. > After finding: > http://lists.gnu.org/archive/html/qemu-devel/2009-09/msg01173.html > through Google and reading through the potentially bad commits that > Sven found through bisection, > I patched "tap_send()" to not run in a loop ("drain the tap send queue > in one go"?) and the error goes away. Thank you for digging into this. I tested your patch in my environment and can confirm that it solves the problem. Sven