* Natsemi ethernet 'cable magic' fix can cause problems
@ 2004-05-13 10:35 Colin Paton
2004-05-13 17:03 ` Tim Hockin
0 siblings, 1 reply; 4+ messages in thread
From: Colin Paton @ 2004-05-13 10:35 UTC (permalink / raw)
To: linux-kernel
Hi,
This information may be useful to anyone who uses the natsemi ethernet
driver.
I have discovered that the 'do_cable_magic()' call introduced into the
driver in kernels 2.4.20 and later can cause problems.
Some machines we have use the Natsemi DP83815 chip, which worked with no
problems using kernel 2.4.19. Following an upgrade to 2.4.25 a few of
the boxes stopped working - but most were still OK.
The problem was strange - about 30% packet loss was experienced during
pings. Moving the box to a different ethernet wall outlet (but still
using the same port on the switch) cured the problem. The problem
therefore appeared to be cable dependant.
It would appear that the call to 'do_cable_magic()' in
drivers/net/natsemi.c causes the problem to occur.
It looks as though this was added in to actually *fix* such problems...
but in our case it made things worse.
The cable problems were never experienced before, and everything seems
fine now that this call has been removed.
I'm not sure of the correct way to fix this problem, but I'm hoping that
this information might be useful to others who encounter something
similar.
Colin
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Natsemi ethernet 'cable magic' fix can cause problems
2004-05-13 10:35 Natsemi ethernet 'cable magic' fix can cause problems Colin Paton
@ 2004-05-13 17:03 ` Tim Hockin
2004-07-31 14:51 ` Marcelo Tosatti
0 siblings, 1 reply; 4+ messages in thread
From: Tim Hockin @ 2004-05-13 17:03 UTC (permalink / raw)
To: Colin Paton; +Cc: linux-kernel
On Thu, May 13, 2004 at 11:35:03AM +0100, Colin Paton wrote:
> The problem was strange - about 30% packet loss was experienced during
> pings. Moving the box to a different ethernet wall outlet (but still
> using the same port on the switch) cured the problem. The problem
> therefore appeared to be cable dependant.
>
> It would appear that the call to 'do_cable_magic()' in
> drivers/net/natsemi.c causes the problem to occur.
>
> It looks as though this was added in to actually *fix* such problems...
> but in our case it made things worse.
I'm the responsible party on that one. do_cable_magic() was a direct
result of a significant amount of work with National's engineers to
root-cause some major problems we had had.
If I recall, the problem we experienced was when the cable was "short"
(where short was < 30m, I think). What can you tell me about your cabling
setup?
Willing to test? Ping me back.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Natsemi ethernet 'cable magic' fix can cause problems
2004-05-13 17:03 ` Tim Hockin
@ 2004-07-31 14:51 ` Marcelo Tosatti
2004-07-31 18:11 ` Tim Hockin
0 siblings, 1 reply; 4+ messages in thread
From: Marcelo Tosatti @ 2004-07-31 14:51 UTC (permalink / raw)
To: Tim Hockin; +Cc: Colin Paton, linux-kernel
On Thu, May 13, 2004 at 10:03:58AM -0700, Tim Hockin wrote:
> On Thu, May 13, 2004 at 11:35:03AM +0100, Colin Paton wrote:
> > The problem was strange - about 30% packet loss was experienced during
> > pings. Moving the box to a different ethernet wall outlet (but still
> > using the same port on the switch) cured the problem. The problem
> > therefore appeared to be cable dependant.
> >
> > It would appear that the call to 'do_cable_magic()' in
> > drivers/net/natsemi.c causes the problem to occur.
> >
> > It looks as though this was added in to actually *fix* such problems...
> > but in our case it made things worse.
>
> I'm the responsible party on that one. do_cable_magic() was a direct
> result of a significant amount of work with National's engineers to
> root-cause some major problems we had had.
>
> If I recall, the problem we experienced was when the cable was "short"
> (where short was < 30m, I think). What can you tell me about your cabling
> setup?
>
> Willing to test? Ping me back.
Hi Tim, Collin,
Did you made any progress on this issue?
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Natsemi ethernet 'cable magic' fix can cause problems
2004-07-31 14:51 ` Marcelo Tosatti
@ 2004-07-31 18:11 ` Tim Hockin
0 siblings, 0 replies; 4+ messages in thread
From: Tim Hockin @ 2004-07-31 18:11 UTC (permalink / raw)
To: Marcelo Tosatti; +Cc: Colin Paton, linux-kernel
On Sat, Jul 31, 2004 at 11:51:13AM -0300, Marcelo Tosatti wrote:
> > If I recall, the problem we experienced was when the cable was "short"
> > (where short was < 30m, I think). What can you tell me about your cabling
> > setup?
> >
> > Willing to test? Ping me back.
>
> Hi Tim, Collin,
>
> Did you made any progress on this issue?
Never gor any reply from him.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2004-07-31 18:14 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-05-13 10:35 Natsemi ethernet 'cable magic' fix can cause problems Colin Paton
2004-05-13 17:03 ` Tim Hockin
2004-07-31 14:51 ` Marcelo Tosatti
2004-07-31 18:11 ` Tim Hockin
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox