qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Antony T Curtis <antony.t.curtis@ntlworld.com>
To: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] amd pcnet driver (was Re: qemu and solaris)
Date: Tue, 20 Jul 2004 11:39:49 +0100	[thread overview]
Message-ID: <1090319988.26848.2.camel@pcgem.rdg.cyberkinetica.com> (raw)
In-Reply-To: <Pine.LNX.4.60.0407192305550.2622@fogarty.jakma.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 <antony.t.curtis@ntlworld.com>

  reply	other threads:[~2004-07-20 10:42 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-07-19 15:11 [Qemu-devel] qemu and solaris Paul Jakma
2004-07-19 22:39 ` [Qemu-devel] amd pcnet driver (was Re: qemu and solaris) Paul Jakma
2004-07-20 10:39   ` Antony T Curtis [this message]
2004-07-20 11:50     ` Paul Jakma

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1090319988.26848.2.camel@pcgem.rdg.cyberkinetica.com \
    --to=antony.t.curtis@ntlworld.com \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).