[vortex] overrun problem

David Fries dfries@umr.edu
Sat, 23 Sep 2000 01:16:27 -0500


--LQksG6bCIzRHxTLp
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

I've been hacking away at the driver to get some more information.
I've included my changes, they are against the driver in the
2.4.0-test9-pre4 kernel.

I've setup a timer to run every 20 seconds and if there are less than
20 packets sent go though the rx_ring and print out any status that
was not zero.  I then reset the card using vortex_down, vortex_up.
Like ifconfiging the interface down and back up, it seems to help, but
the network card isn't fully functional until I rmmod and insmod it.

Sep 22 23:45:33 spacedout kernel: Ring 1, status 0x803c
Sep 22 23:45:33 spacedout kernel: Ring 5, status 0x600085ea
Sep 22 23:45:33 spacedout kernel: Ring 23, status 0x803c
Sep 22 23:45:33 spacedout kernel: Ring 27, status 0x803c
Sep 22 23:45:33 spacedout kernel: Ring 29, status 0x803c

Sep 22 23:53:35 spacedout kernel: Ring 3, status 0x600085ea
Sep 22 23:53:35 spacedout kernel: Ring 5, status 0x600085ea
Sep 22 23:53:35 spacedout kernel: Ring 7, status 0x450008
Sep 22 23:53:35 spacedout kernel: Ring 8, status 0x978341bd
Sep 22 23:53:35 spacedout kernel: Ring 9, status 0x10808c88
Sep 22 23:53:35 spacedout kernel: Ring 10, status 0xd00d0ef
Sep 22 23:53:35 spacedout kernel: Packets diff 0

Sep 22 23:57:49 spacedout kernel: Ring 11, status 0x600085ea
Sep 22 23:57:49 spacedout kernel: Ring 13, status 0x450008
Sep 22 23:57:49 spacedout kernel: Ring 14, status 0x978341bd
Sep 22 23:57:49 spacedout kernel: Ring 15, status 0x108086ee
Sep 22 23:57:49 spacedout kernel: Ring 16, status 0xd004151
Sep 22 23:57:49 spacedout kernel: Packets diff 0

Sep 23 00:13:52 spacedout kernel: Ring 3, status 0x600085ea
Sep 23 00:13:52 spacedout kernel: Ring 5, status 0x450008
Sep 23 00:13:52 spacedout kernel: Ring 6, status 0x978341bd
Sep 23 00:13:52 spacedout kernel: Ring 7, status 0x1080c165
Sep 23 00:13:52 spacedout kernel: Ring 8, status 0xf00c0cc

What does rmmod and insmod do to the network card that vortex_down,
vortex_up doesn't?  Something is different.

I'll assume the problem is the fifo isn't being empied and overruns
for whatever reason (the video card is hoggin the bus?), what is
supposed to happen?  The NIC puts down the status, moves it's pointer
to the next ring entry, gets the next packet, signals that it uploaded
a packet, the driver wakes up, the while loop in boomerang_rx says
RxDComplete not set, it goes to sleep.  This keeps happening until the
NIC goes around the ring.

Maybe that senerio isn't quite right, but I'm not sure what is
supposed to happen next.

My feeling is there is some problem here.  I'll try working on it
tomorrow some more.

-- 
		+---------------------------------+
		|      David Fries                |
		|      dfries@umr.edu             |
		+---------------------------------+

--LQksG6bCIzRHxTLp
Content-Type: application/octet-stream
Content-Disposition: attachment; filename="3c59x.diff.gz"
Content-Transfer-Encoding: base64

H4sICOxCzDkAAzNjNTl4LmRpZmYAvVhZb9tIEn6WsD+ioB0nkqmDlKzYkiMjTuydGIkPyMlm
kaxBtMim1WuKzfDQgYznt29Vd1OiHHkGiwFWD7y66676qloXkc+XQ+h5/cGy7VVHf/1XHb+7
hUCEfAidPE06aeJ1QhHly443T91EyqwT8axjJDbn1YRnieBzEd1DgrdUyAictvPM917VF0EA
rRxaCe5S11611WoVNlS6tm137EGn2wPbGTr9YW9QIX6WZe3c0x8eOMOuUyE+b95Ayxn0m4dg
6dubN1X4u4i8MPc5vNZ2+Dxkq/b0pApVSDOWCQ+8KUtgzhNS8tsduK5PiovMZxmDUbVVM4KH
Hz+gKu0BQBdueQykB8CZjFjow1vuPfAEWOSDzKbIrA3TLIuHnc5isWin3ir0256ckfsWMnno
zGWS8WV7ms1CqEHtl7Hx0pDcB7/8O6odV63/u+SekYzOubw++/zx3D39/On99bhe2xb2eqLu
b9bcT2qN4zXN2fntu/HFzaeL66t6rfdOznToMG0GNl37h31IOeZHCv9UynTeSjnjCYvuO+9W
XigjDn4iMCTElcL6qu80X4FFNx3WSmcfPk05JteMCSwDtD+ht5Bl3IdMYlBFrALMmzCTaRau
YMZ9wVB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