Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1BhBGn-00057d-Mi for qemu-devel@nongnu.org; Sun, 04 Jul 2004 13:59:17 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1BhBGm-00057K-T8 for qemu-devel@nongnu.org; Sun, 04 Jul 2004 13:59:17 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1BhBGm-00057A-Ql for qemu-devel@nongnu.org; Sun, 04 Jul 2004 13:59:16 -0400 Received: from [206.190.38.237] (helo=web51806.mail.yahoo.com) by monty-python.gnu.org with smtp (Exim 4.34) id 1BhBEm-0005B9-HJ for qemu-devel@nongnu.org; Sun, 04 Jul 2004 13:57:12 -0400 Message-ID: <20040704175712.52933.qmail@web51806.mail.yahoo.com> Date: Sun, 4 Jul 2004 10:57:12 -0700 (PDT) From: Brad Watson Subject: Re: [Qemu-devel] Re: QEMU pcnet 6/28 patch against 6/30 CVS - not working? In-Reply-To: <1088851201.376.3.camel@pcgem.rdg.cyberkinetica.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Hi Anthony, The patch installed and compiled cleanly on my slackware based 9.x box. I experimented a little bit with it and made the following "quick-n-dirty" cursory comparison beteen the QEMU realtek-8029 and pcnet "cards" via an scp of 10MB file between host & guest: openbsd x86 3.5: pcnet: 238kb/s "average." realtek-8029: 276kb/s "average." freebsd x86 5.2.1: pcnet: 289kb/s "average." realtec-8029: 262kb/s "average" netbsd x86 1.6.1: pcnet: no data (hangs). note: machid is getting set now, ping works, but little else appears to.... realtec-8029: 320kb/s "average" note: occasional console message: ne2: remote transmit DMA failed to complete I'm interested in experimenting w/ adding an etherboot rom to your pcnet code, and a tftp server into the slirp code to pass the -kernel and -initrd parameter arguments to a network boot client via tftp. Can you give me any quick pointers on hooking the rom into your code ? --- Antony T Curtis wrote: > Hi, > > This new patch works for me with Mandrake 10 > Official > > It should apply cleanly against QEMU CVS and > hopefully compile cleanly > on Linux as well as FreeBSD. I have also implemented > the TX-ring poll so > in theory, it should be fully functional. > > On Fri, 2004-07-02 at 20:15, David Black wrote: > > Thanks - yes, it's the 'pcnet' driver, and it > comes up in 32 bit mode: > > > > Jul 1 14:04:22 vs1a kernel: pcnet32.c:v1.27b > 01.10.2002 > > tsbogend@alpha.franken.de > > Jul 1 14:04:22 vs1a kernel: PCI: Found IRQ 9 for > device 0000:00:03.0 > > Jul 1 14:04:22 vs1a kernel: PCI: Setting latency > timer of device > > 0000:00:03.0 to 64 > > Jul 1 14:04:22 vs1a kernel: pcnet32: PCnet/PCI II > 79C970A at 0xc020, > > warning: CSR address invalid, > > Jul 1 14:04:22 vs1a kernel: using instead > PROM address of 52 54 > > 00 12 34 56 assigned IRQ 9. > > Jul 1 14:04:22 vs1a kernel: eth0: registered as > PCnet/PCI II 79C970A > > Jul 1 14:04:22 vs1a kernel: pcnet32: 1 > cards_found. > > > > This driver is attractive to me because of the > promise of decreased > > latency. I get occasional data corruption with > the ne2k-pci driver, > > too. > > > > Dave > > > > Antony T Curtis wrote: > > > On Thu, 2004-07-01 at 20:54, David Black wrote: > > > > > > > Hello, > > > > > > > > I applied your AMD pcnet NIC patch dated 6/28, > to the QEMU CVS snapshot > > > > from dad-answers.com dated 6/30. > > > > > > > > The patch seems to apply well, with some > manual patching needed on vl.c > > > > and Makefile.target, but nothing that looked > problematic. > > > > > > > The patch attached should apply more cleanly > against current CVS. > > > > > > I will try to see if it works any differently > with running Linux. I > > > assume you are using the pcnet32 driver, not the > lance driver. Looking > > > at the Linux driver source, it is able to use > the DWORD I/O mode ... The > > > FreeBSD, WinXP and OS/2 drivers appear to use > the WORD I/O mode. It is > > > possible that there is a bug in the simulation - > particularly where the > > > Linux driver probes the card in both modes. I > will have to test it out. > > > > > > > > FLAGS (\Seen)) > -- > Antony T Curtis > > ATTACHMENT part 2 application/x-gzip name=qemu-pcnet.patch3.gz > _______________________________________________ > Qemu-devel mailing list > Qemu-devel@nongnu.org > http://lists.nongnu.org/mailman/listinfo/qemu-devel > __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com