public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Ethernet driver problem
@ 2007-10-10 15:04 Jupe
  2007-10-10 15:49 ` linux-os (Dick Johnson)
  0 siblings, 1 reply; 4+ messages in thread
From: Jupe @ 2007-10-10 15:04 UTC (permalink / raw)
  To: linux-kernel

Hi,

I have written an ethernet driver for an ARM based board.
Linux version: 2.6.20.1

Ping is working fine.

I have written a test server/client application using socket programming
(TCP).
After the connection is setup the server sends a file to the client.

When I run server on PC and client on ARM board it works without any
problem.

BUT if I run server on ARM board and client on PC, it works for some
time and 
then the speed is drastically reduced. (I am sending 4k of data each
time.
after 50 sends it reduces its speed.  This happens always.)

I did some debugging and found that after 50 sends, tcp_sendmsg() is not
being 
called at the same frequency before slowdown.  Also when my driver
ether_tx seems to 
be working fine.

But still i am not able to get the reason for this behaviour.  Can
anyone give hints as to 
why this is happening? 


Regards
Jupe

-- 
  Jupe
  jupejupe@rushpost.com

-- 
http://www.fastmail.fm - mmm... Fastmail...


^ permalink raw reply	[flat|nested] 4+ messages in thread
* Ethernet driver problem
@ 2001-11-24 15:52 Nathan G. Grennan
  0 siblings, 0 replies; 4+ messages in thread
From: Nathan G. Grennan @ 2001-11-24 15:52 UTC (permalink / raw)
  To: linux-kernel

I got this last night on my 3cSOHO100-TX Hurricane card using the 3c59x
driver while running 2.4.15pre6. I was download a whole directory of
rpms, about 50 of them. I got this on dmesg. I ended up with 2 corrupted
files from the download. Never had this problem before. If it matters I
was using gftp 2.0.9pre3-1 and I was my non-root user.

eth0: Transmit error, Tx status register 82.
Probably a duplex mismatch.  See Documentation/networking/vortex.txt
  Flags; bus-master 1, dirty 337158(6) current 337158(6)
  Transmit list 00000000 vs. eee9d380.
  0: @eee9d200  length 80000252 status 00010252
  1: @eee9d240  length 80000036 status 00010036
  2: @eee9d280  length 80000042 status 00010042
  3: @eee9d2c0  length 80000036 status 00010036
  4: @eee9d300  length 80000263 status 00010263
  5: @eee9d340  length 80000036 status 80010036
  6: @eee9d380  length 80000042 status 00010042
  7: @eee9d3c0  length 80000036 status 00010036
  8: @eee9d400  length 80000244 status 00010244
  9: @eee9d440  length 80000036 status 00010036
  10: @eee9d480  length 80000042 status 00010042
  11: @eee9d4c0  length 80000036 status 00010036
  12: @eee9d500  length 80000244 status 00010244
  13: @eee9d540  length 80000036 status 00010036
  14: @eee9d580  length 80000042 status 00010042
  15: @eee9d5c0  length 80000036 status 00010036
eth0: Transmit error, Tx status register 82.
Probably a duplex mismatch.  See Documentation/networking/vortex.txt
  Flags; bus-master 1, dirty 346818(2) current 346818(2)
  Transmit list 00000000 vs. eee9d280.
  0: @eee9d200  length 80000251 status 00010251
  1: @eee9d240  length 80000036 status 80010036
  2: @eee9d280  length 80000042 status 00010042
  3: @eee9d2c0  length 80000036 status 00010036
  4: @eee9d300  length 80000273 status 00010273
  5: @eee9d340  length 80000036 status 00010036
  6: @eee9d380  length 80000042 status 00010042
  7: @eee9d3c0  length 80000042 status 00010042
  8: @eee9d400  length 80000042 status 00010042
  9: @eee9d440  length 80000042 status 00010042
  10: @eee9d480  length 80000036 status 00010036
  11: @eee9d4c0  length 80000251 status 00010251
  12: @eee9d500  length 80000036 status 00010036
  13: @eee9d540  length 8000004a status 0001004a
  14: @eee9d580  length 80000042 status 00010042
  15: @eee9d5c0  length 80000036 status 00010036
eth0: Transmit error, Tx status register 82.
Probably a duplex mismatch.  See Documentation/networking/vortex.txt
  Flags; bus-master 1, dirty 346819(3) current 346819(3)
  Transmit list 00000000 vs. eee9d2c0.
  0: @eee9d200  length 80000251 status 00010251
  1: @eee9d240  length 80000036 status 00010036
  2: @eee9d280  length 80000251 status 80010251
  3: @eee9d2c0  length 80000036 status 00010036
  4: @eee9d300  length 80000273 status 00010273
  5: @eee9d340  length 80000036 status 00010036
  6: @eee9d380  length 80000042 status 00010042
  7: @eee9d3c0  length 80000042 status 00010042
  8: @eee9d400  length 80000042 status 00010042
  9: @eee9d440  length 80000042 status 00010042
  10: @eee9d480  length 80000036 status 00010036
  11: @eee9d4c0  length 80000251 status 00010251
  12: @eee9d500  length 80000036 status 00010036
  13: @eee9d540  length 8000004a status 0001004a
  14: @eee9d580  length 80000042 status 00010042
  15: @eee9d5c0  length 80000036 status 00010036
eth0: Transmit error, Tx status register 82.
Probably a duplex mismatch.  See Documentation/networking/vortex.txt
  Flags; bus-master 1, dirty 346823(7) current 346823(7)
  Transmit list 00000000 vs. eee9d3c0.
  0: @eee9d200  length 80000251 status 00010251
  1: @eee9d240  length 80000036 status 00010036
  2: @eee9d280  length 80000251 status 00010251
  3: @eee9d2c0  length 80000042 status 00010042
  4: @eee9d300  length 80000042 status 00010042
  5: @eee9d340  length 8000004a status 0001004a
  6: @eee9d380  length 80000251 status 80010251
  7: @eee9d3c0  length 80000042 status 00010042
  8: @eee9d400  length 80000042 status 00010042
  9: @eee9d440  length 80000042 status 00010042
  10: @eee9d480  length 80000036 status 00010036
  11: @eee9d4c0  length 80000251 status 00010251
  12: @eee9d500  length 80000036 status 00010036
  13: @eee9d540  length 8000004a status 0001004a
  14: @eee9d580  length 80000042 status 00010042
  15: @eee9d5c0  length 80000036 status 00010036


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2007-10-11  7:51 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-10-10 15:04 Ethernet driver problem Jupe
2007-10-10 15:49 ` linux-os (Dick Johnson)
2007-10-11  7:51   ` Jupe
  -- strict thread matches above, loose matches on Subject: below --
2001-11-24 15:52 Nathan G. Grennan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox