Most recent kernel where this bug did not occur: 2.6.16 Distribution: Debian / sid, unstable Hardware Environment: Thinkpad Z61p Software Environment: Problem Description: network configuration only succeeds the first time. affer an ifdown/ifup the network doesnt work anymore, without any messages in dmesg or log files Steps to reproduce: ifdown/ifup eth0 (or equivalent)
After 1st ifup when the device is working, run ethtool -t eth0 to test the device. After ifdown and 2nd ifup, run ethtool -t eth0 again. Compare and post the test results.
The problem is caused by tg3_close() turning off the PHY. On the next ifup, some of the register initializations take no effect because the PHY clock isn't available. The following patch should fix this issue by performing a PHY reset early in the sequence. http://marc.theaimsgroup.com/?l=linux-netdev&m=116249817612181&w=2