From: Ivan Gurdiev <ivangurdiev@yahoo.com>
To: Urban Widmark <urban@teststation.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: Via-Rhine stalls - transmit errors
Date: Mon, 25 Mar 2002 17:52:23 -0800 (PST) [thread overview]
Message-ID: <20020326015223.69972.qmail@web10104.mail.yahoo.com> (raw)
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset=us-ascii, Size: 2655 bytes --]
> That patch was an attempt to fix failed transmission
> and it contains all sorts of junk. It worked for
> Andy, but not for one of the others with that
problem
> (and that motherboard, a Dragon+ with on-board eth
> chip).
>
> You probably shouldn't use that patch at all ...
Ok, I'll follow your advice and start from scratch...
or the kernel driver that is :) Interestingly,
however,
I was able to somehow get consistent stall-free
transfers for a while using your patch and some other
fixes of my own...but then I changed things and was
unable to reproduce the same situation... This is
happening again with the kernel driver. Sometimes my
card works great, sometimes it works ok, and sometimes
it doesn't. I am losing faith in all hardware...
now I don't trust my Netgear card on the other side
either. The thing is, this Via-rhine card works fine
under Win 98 (I have a dual-boot) or under light load
(ping or ping flood). It only breaks under heavy
transmit.
> VIA has drivers for VT86c100A, the VT6102 and the
> VT6105, available here:
> http://www.viaarena.com/?PageID=71
tried that one...it seemed to fix transmit when
initiated from my desktop computer, but it freezes
everything when I initiate the transmit in the same
direction from the laptop.
....just like the time I decided to divide by 0
in the kernel :)
> There is also the Donald Becker driver at
> http://www.scyld.com/
This one won't compile. Lots of errors.
Entire include files are missing.
> There is an explanation of common "something wicked"
> errors on
> http://www.scyld.com/network/ethercard.html...
> So if you trust the explanations of the errors it
I do, the erorrs are correct. However for some of
those errors you can't even get the "something wicked"
message the way that the code is written.
Other errors are handled elsewhere. The whole
thing is complicated and may cause redundancies
and problems. Error handling needs improvement.
> There were ideas on changed meaning
> of an interrupt bit (0x0200) and the "fix" for that
> is probably causing
>this.
Isn't this your patch?
It adds a mii/underflow inerrupt switch scheme.
By the way,
/* Enable interrupts by setting the interrupt mask. */
writew(IntrRxDone | IntrRxErr | IntrRxEmpty|
IntrRxOverflow| IntrRxDropp
ed|IntrTxDone | IntrTxAbort | IntrTxUnderrun |
IntrPCIErr | IntrStatsMax | IntrLinkChange |
IntrMIIChange, ioaddr + IntrEnable);
Where's IntrRxEarly? IntrRxNoBuf? IntrRxWakeUp?
IntrTxAborted? .... I added those to my version.
__________________________________________________
Do You Yahoo!?
Yahoo! Movies - coverage of the 74th Academy Awards®
http://movies.yahoo.com/
next reply other threads:[~2002-03-26 1:52 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-03-26 1:52 Ivan Gurdiev [this message]
2002-03-26 21:19 ` Via-Rhine stalls - transmit errors Urban Widmark
-- strict thread matches above, loose matches on Subject: below --
2002-04-07 6:43 Ivan G.
2002-04-10 16:51 ` Urban Widmark
2002-04-10 22:46 ` Ivan G.
2002-04-05 5:47 Ivan G.
2002-03-28 8:50 Ivan Gurdiev
2002-04-04 22:10 ` Urban Widmark
2002-03-22 2:33 Ivan Gurdiev
2002-03-21 20:49 Ivan Gurdiev
2002-03-21 21:56 ` Richard B. Johnson
2002-03-21 5:20 Ivan Gurdiev
2002-03-24 12:40 ` Urban Widmark
2002-03-20 7:27 Ivan Gurdiev
2002-03-20 15:34 ` Andy Carlson
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=20020326015223.69972.qmail@web10104.mail.yahoo.com \
--to=ivangurdiev@yahoo.com \
--cc=linux-kernel@vger.kernel.org \
--cc=urban@teststation.com \
/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