Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NsKmF-0000Ia-K0 for qemu-devel@nongnu.org; Thu, 18 Mar 2010 14:49:04 -0400 Received: from [199.232.76.173] (port=56629 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NsKmC-00007G-UR for qemu-devel@nongnu.org; Thu, 18 Mar 2010 14:49:01 -0400 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1NsKXJ-0003ry-OY for qemu-devel@nongnu.org; Thu, 18 Mar 2010 14:33:39 -0400 Received: from mail-fx0-f214.google.com ([209.85.220.214]:52617) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NsKWR-0003q7-2Q for qemu-devel@nongnu.org; Thu, 18 Mar 2010 14:33:37 -0400 Received: by fxm6 with SMTP id 6so929717fxm.2 for ; Thu, 18 Mar 2010 11:31:39 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: <4779de451003172142k6deeba0bk3a77c3d0691b4427@mail.gmail.com> References: <4779de451003172142k6deeba0bk3a77c3d0691b4427@mail.gmail.com> From: Dan Gora Date: Thu, 18 Mar 2010 15:31:19 -0300 Message-ID: <4779de451003181131rbce80eftbb4f5f669295741a@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Subject: [Qemu-devel] Re: qemu-dm writing garbage into PCI BAR registers in HVM guest in XEN 3.3.1 on SLES11 List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Based on a recommendation from the xen-devel list I changed my domU to use the e1000 driver rather than the rtl8139 and the problem went away... So there is definately a bug in the rtl8139 driver somewhere.. thanks, dan On Thu, Mar 18, 2010 at 1:42 AM, Dan Gora wrote: > Hi All, > > I've found a problem in qemu-dm from xen 3.3.1_18546_12-3.1 from > SLES11. =A0I've posted this question to xen-devel as well, but I thought > that I'd post it here since the problem appears to be in qemu-dm. > > I began investigating this problem when we found that if we pass two > instances of our board through to a single HVM domU instance that if > we load then unload our driver, after many tens of seconds (30-60 or > so) something would write garbage to one of the board's PCI BAR > registers. =A0After a couple of days of debugging I've isolated the > problem down to the rtl8341 in QEMU, but I'm really not sure what is > causing it. =A0It appears that rtl8341 is writing an ethernet packet > with write() down a file descriptor which is actually attached to > sysfs and my board's PCI configuration space registers. >