Natsemi ethernet 'cable magic' fix can cause problems

From: Colin Paton
Date: Thu May 13 2004 - 05:33:32 EST


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

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/