From: "Ivan G." <ivangurdiev@yahoo.com>
To: Urban Widmark <urban@teststation.com>
Cc: LKML <linux-kernel@vger.kernel.org>
Subject: Re: Via-Rhine stalls - transmit errors
Date: Wed, 10 Apr 2002 16:46:07 -0600 [thread overview]
Message-ID: <02041016460700.28352@cobra.linux> (raw)
In-Reply-To: <Pine.LNX.4.33.0204101809010.7762-100000@cola.teststation.com>
> Which frame-1 fix?
This one -> I reduced the frame by one for correct debug mssg.
Not important - I just happened to mention it.
/*CHANGE*/
if (debug > 4) { printk(KERN_DEBUG "%s: Transmit frame #%d queued in slot
%d.\n", dev->name, np->cur_tx-1, entry); }
This was included in this message:
http://www.uwsg.iu.edu/hypermail/linux/kernel/0204.0/0722.html
You must not have read that one.
it contains lots of stuff about small changes in the code
and also link related issues.
> The addr points to the data to transmit. The next_desc simply makes the
> entries form a ring. I think you can assume that they are ok. But
> otherwise check what is written in via_rhine_start_tx.
I'll assume those are fine - they seem to form a ring.
> It is intentional that one interrupt can remove more than one used buffer.
> via_rhine_tx has a loop that tries to clean up all "dirty" tx descriptors.
> I think that one is ok.
>
> I wonder about the one that removes zero. Why that interrupt happened.
> Maybe it just happened while the previous interrupt was being handled.
Ok, this is actually my fault. i misinterpreted the logs
since I made them too complicated - they precede the interrupt instead of
follow. That means you were not seing 2 bits removed, then 0, but
1 bit removed - normal interrupt, then 2 bits removed with 1 interrupt.
So the second case is not an issue.
However, you say that 2 bits with 1 interrupt is fine...
The logs show all timeouts occur after 1 interrupt clears 2 ownership bits,
transmit stops and the queue fills up. What could possibly be causing this?
> You don't print cur_tx and dirty_tx, but the slots they point to are
> strange. You should check what they point to after the tx_timeout routine
> has completed, they should both be 0 by then.
strange? why?
cur_tx points to the next free slot without ownership bit
dirty_tx points to the first slot with ownership bit set
I checked both after timeout, they point to 0.
/-----------------------/
I'll provide whatever other logs are necessary.
However, I am not sure what to look for.
Additionally, my version of the driver has some stuff that's not in the
kernel driver. That's why I had listed it all in a previous message
(see link above) to see what to keep and what to get rid of
and then be able to debug an identical driver to the kernel.
Particularly the abort code from the linuxfet driver
seems to make my card stall a lot less or not at all
when transfer is initiated from the same computer.
The logs I generated last message showed a transfer
initiated from the opposite end.
next prev parent reply other threads:[~2002-04-10 22:51 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-04-07 6:43 Via-Rhine stalls - transmit errors Ivan G.
2002-04-10 16:51 ` Urban Widmark
2002-04-10 22:46 ` Ivan G. [this message]
-- strict thread matches above, loose matches on Subject: below --
2002-04-05 5:47 Ivan G.
2002-03-28 8:50 Ivan Gurdiev
2002-04-04 22:10 ` Urban Widmark
2002-03-26 1:52 Ivan Gurdiev
2002-03-26 21:19 ` 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=02041016460700.28352@cobra.linux \
--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