From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1Bms58-0006VS-Vm for qemu-devel@nongnu.org; Tue, 20 Jul 2004 06:42:47 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1Bms56-0006VG-VM for qemu-devel@nongnu.org; Tue, 20 Jul 2004 06:42:46 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1Bms56-0006VD-QM for qemu-devel@nongnu.org; Tue, 20 Jul 2004 06:42:44 -0400 Received: from [62.253.162.48] (helo=mta08-svc.ntlworld.com) by monty-python.gnu.org with esmtp (Exim 4.34) id 1Bms2I-0005cq-Tr for qemu-devel@nongnu.org; Tue, 20 Jul 2004 06:39:51 -0400 Received: from [10.10.10.100] ([81.107.87.144]) by mta08-svc.ntlworld.com (InterMail vM.4.01.03.37 201-229-121-137-20020806) with ESMTP id <20040720103946.PCDN548.mta08-svc.ntlworld.com@[10.10.10.100]> for ; Tue, 20 Jul 2004 11:39:46 +0100 Subject: Re: [Qemu-devel] amd pcnet driver (was Re: qemu and solaris) From: Antony T Curtis In-Reply-To: References: Content-Type: text/plain Message-Id: <1090319988.26848.2.camel@pcgem.rdg.cyberkinetica.com> Mime-Version: 1.0 Date: Tue, 20 Jul 2004 11:39:49 +0100 Content-Transfer-Encoding: 7bit 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 On Mon, 2004-07-19 at 23:39, Paul Jakma wrote: > On Mon, 19 Jul 2004, Paul Jakma wrote: > > > - I've had better luck with Andrew's patch to add support for AMD PCNet > > emulation (Solaris provides it's own PCNet driver, pcn). This works, and ICMP > > between solaris and host works, however I can not telnet or ssh to the host, > > nor does DNS work within the host. If i snoop the 'pcn0' interface in > > solaris, it prints errors of the form: > > > > 'IP truncated: header missing X bytes' > > > > Where X is typically 10, 12,14 or 17. Not had a chance to debug this further. > > Note that packets sent by the qemu host via the pcnet driver and out > to the real host appear to be fine. It's packets received by the > emulated host which regularly appear corrupted in some indeterminate > way (i dont seem to be able to capture the corrupted packets, as seen > by the qemu host, with snoop :( - snoop prints errors but i cant get > it to actually log the malformed packets :( ). > > I inserted a hex_dump() in pcnet_receive() (just before the > PRINT_PKTHDR() define inside #ifdef PCNET_DEBUG_MATCH) and the data > logged here matches up exactly with frames captured sent out tun0 by > tcpdump on the native host - (presuming the extra 4 bytes logged by > pcnet_receive() are valid ethernet CRC trailer - tcpdump doesnt log > the CRC), so things are going wrong after the above point AFAICT. > > However, many packets from native host -> emulated host are not > received properly, so networking basically is intolerable. > > Unfortunately, I dont know how to debug this further. :( So this happens only with Solaris? I assume, Solaris x86, what version? When I have a spare moment, I shall try to install Solaris and reduplicate this problem. -- Antony T Curtis