qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Gerhard Wiesinger <lists@wiesinger.com>
To: qemu-devel@nongnu.org
Cc: aliguori@us.ibm.com, mst@redhat.com,
	Jason Wang <jasowang@redhat.com>,
	Juergen Lock <nox@jelal.kn-bremen.de>,
	Benjamin Poirier <benjamin.poirier@gmail.com>,
	Frediano Ziglio <freddy77@gmail.com>,
	aurelien@aurel32.net
Subject: Re: [Qemu-devel] RFC: rtl8139 improvements
Date: Wed, 7 Mar 2012 07:40:20 +0100 (CET)	[thread overview]
Message-ID: <alpine.LFD.2.02.1203070739420.20522@bbs.intern> (raw)
In-Reply-To: <alpine.LFD.2.02.1203050722230.12164@bbs.intern>

Ping. Any comments?

Thnx.

Ciao,
Gerhard

--
http://www.wiesinger.com/


On Mon, 5 Mar 2012, Gerhard Wiesinger wrote:

> Hello,
>
> I'm trying to implement better emulation and wider OS support for the rtl8139 
> card. Therefore I want to see the following testcases to be successful:
>
> * Testcases and successful regression tests:
> * 1.) DOS RSET8139.EXE: EEPROM Test successful
> * 2.) DOS RSET8139.EXE: Local loopback Test (Run Diagnostics On Board)
> * 3.) DOS RSET8139.EXE: Remote loopback Test as Initiator (Run Diagnostics 
> On Network)
> * 4.) DOS RSET8139.EXE: Remote loopback Test as Responder (Run Diagnostics 
> On Network)
> * 5.) DOS driver: Loads and works
> * 6.) Linux tests
> * 7.) Windows tests
>
> I fixed already a major bug in DMA handling and (real hardware doesn't reset 
> DMA register to 0 on reset condition as DOS driver crashes OS, see patch for 
> details) and improved EEPROM handling and checksumming as well as 
> unimplemented register handling (As Jason did partially in latest patch).
>
> But finally testcases 1-4 aren't successful, testcase 5 (DOS driver and MS 
> SMB client) works but I think there are still problems, see below.
>
> Details:
> Ad 1.) EERPOM Test: I also copied a full EEPROM from real hardware but still 
> no success. According to the logs everything is read correctly. Also verified 
> checksumming to real hardware . Any ideas?
> (Attached rtl8139-diag.c will also help to diagnose)
>
> Ad 2.) Local Loopback Test: One packet succeeds, other fail. Any ideas what 
> might be wrong?
>
> Ad 5.) DOS driver loads and also works but I think there is still a strange 
> thing in packet receiving and possible sending (e.g. DHCP request is done 
> twice). I also did some change in packet handling. See patch.
>
> To get this to work I'm a little bit lost now and I need your help and 
> comments and suggestions.
>
> Can someone also make tests under DOS with RSET8139.EXE?
> I think it is a good testing program how good our emulation is.
>
> RSET8139.EXE can be found at:
> http://www.realtek.com.tw/downloads/downloadsView.aspx?Langid=1&PNid=14&PFid=6&Level=5&Conn=4&DownTypeID=3&GetDown=false
> Look for DOS Diagnostic program (RSET8139).
>
> Patch is attached as diff and not indented to be used as regular patch since 
> not ready for commit.
>
> Thnx.
>
> Ciao,
> Gerhard
>
> --
> http://www.wiesinger.com/
>

      parent reply	other threads:[~2012-03-07  6:43 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-05  6:48 [Qemu-devel] RFC: rtl8139 improvements Gerhard Wiesinger
2012-03-06  3:15 ` Jason Wang
2012-03-07  6:40 ` Gerhard Wiesinger [this message]

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=alpine.LFD.2.02.1203070739420.20522@bbs.intern \
    --to=lists@wiesinger.com \
    --cc=aliguori@us.ibm.com \
    --cc=aurelien@aurel32.net \
    --cc=benjamin.poirier@gmail.com \
    --cc=freddy77@gmail.com \
    --cc=jasowang@redhat.com \
    --cc=mst@redhat.com \
    --cc=nox@jelal.kn-bremen.de \
    --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).