Bug 7684
Summary: | forcedeth.c 0.59: problem with sideband managment | ||
---|---|---|---|
Product: | Drivers | Reporter: | Michael Reske (micha) |
Component: | Network | Assignee: | Ayaz Abdulla (aabdulla) |
Status: | RESOLVED CODE_FIX | ||
Severity: | normal | CC: | akpm |
Priority: | P2 | ||
Hardware: | i386 | ||
OS: | Linux | ||
Kernel Version: | 2.6.20-rc1 | Subsystem: | |
Regression: | --- | Bisected commit-id: | |
Attachments: |
ethtool -S eth0
ethtool -d eth0 lspci -xxx dmesg 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
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" Created attachment 9874 [details]
ethtool -S eth0
Created attachment 9875 [details]
ethtool -d eth0
Created attachment 9876 [details]
lspci -xxx
Created attachment 9877 [details]
dmesg
Created attachment 9906 [details]
Mgmt unit fixes
Can you try out this file which contains mgmt unit fixes?
Created attachment 9907 [details]
Mgmt unit fixes
Here is the latest file to try out.
Created attachment 9990 [details]
Kernelmessages with the new version
I tried the new driver, but it doesn't work to.
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? 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. Created attachment 9999 [details]
Mgmt Fix for gigabit phy
I believe I found the issue. Try this attachemnt.
Ok, the latest version works fine for me :-). Thanks Ayaz . Great! I will create a patch and submit to kernel maintainers. Thanks for your help! Created attachment 10000 [details]
This is the patch for the sideband management fixes.
|