|Summary:||forcedeth.c 0.59: problem with sideband managment|
|Product:||Drivers||Reporter:||Michael Reske (micha)|
|Component:||Network||Assignee:||Ayaz Abdulla (aabdulla)|
ethtool -S eth0
ethtool -d eth0
Mgmt unit fixes
Mgmt unit fixes
Kernelmessages with the new version
Mgmt Fix for gigabit phy
This is the patch for the sideband management fixes.
Description Michael Reske 2006-12-15 01:12:17 UTC
Most recent kernel where this bug did *NOT* occur: 2.6.19-git2 Distribution: Hardware Environment: Dual Opteron 2214 on Supermicro H8DMR-82 (nVidia MCP55) Software Environment: Problem Description: Since the upgrade from 0.57 to 0.59 eth0 doesn't responds for any request. The driver can initialize the device and this is recognizing link up/down but no packets can sent or received. Steps to reproduce: Removing of DEV_HAS_MGMT_UNIT fix this problem.
Comment 1 Ayaz Abdulla 2006-12-18 15:30:48 UTC
Could you enable all dprintk messages by setting the #if 0 to #if 1 near the top of the source file? Could you post output of the following: - "ethtool -S ethX" statistics - "ethtool -d ethX" register dump. - dmesg - "lspci -xxx"
Comment 6 Ayaz Abdulla 2006-12-20 17:55:01 UTC
Created attachment 9906 [details] Mgmt unit fixes Can you try out this file which contains mgmt unit fixes?
Comment 7 Ayaz Abdulla 2006-12-20 17:58:24 UTC
Created attachment 9907 [details] Mgmt unit fixes Here is the latest file to try out.
Comment 8 Michael Reske 2007-01-02 01:08:46 UTC
Created attachment 9990 [details] Kernelmessages with the new version I tried the new driver, but it doesn't work to.
Comment 9 Ayaz Abdulla 2007-01-02 08:15:08 UTC
Do both ethernet ports not work? or just one of them? The sideband managment will only choose one of the ports to use, however, it will initialize the phy on both macs. It seems that something got messed up when it initalized the phy. Can you send me output of "ethtool eth0" so I can verify speed/duplex settings with hw registers? Also, you are not forcing the speed/duplex right?
Comment 10 Michael Reske 2007-01-02 08:25:46 UTC
Only eth0 is affected. In the ethtool-output you can see the wrong speed (1000Mb/s expected). Without managment: Settings for eth0: Supported ports: [ MII ] Supported link modes: 10baseT/Half 10baseT/Full 100baseT/Half 100baseT/Full 1000baseT/Full Supports auto-negotiation: Yes Advertised link modes: 10baseT/Half 10baseT/Full 100baseT/Half 100baseT/Full 1000baseT/Full Advertised auto-negotiation: Yes Speed: 1000Mb/s Duplex: Full Port: MII PHYAD: 2 Transceiver: externel Auto-negotiation: on Supports Wake-on: g Wake-on: d Link detected: yes With managment: Settings for eth0: Supported ports: [ MII ] Supported link modes: 10baseT/Half 10baseT/Full 100baseT/Half 100baseT/Full Supports auto-negotiation: Yes Advertised link modes: 10baseT/Half 10baseT/Full 100baseT/Half 100baseT/Full Advertised auto-negotiation: Yes Speed: 100Mb/s Duplex: Full Port: MII PHYAD: 2 Transceiver: externel Auto-negotiation: on Supports Wake-on: g Wake-on: d Link detected: yes I'm not forcing any of the speed/duplex settings.
Comment 11 Ayaz Abdulla 2007-01-03 10:54:38 UTC
Created attachment 9999 [details] Mgmt Fix for gigabit phy I believe I found the issue. Try this attachemnt.
Comment 12 Michael Reske 2007-01-03 11:49:15 UTC
Ok, the latest version works fine for me :-). Thanks Ayaz .
Comment 13 Ayaz Abdulla 2007-01-03 11:50:56 UTC
Great! I will create a patch and submit to kernel maintainers. Thanks for your help!