Adam Karkowski wrote:
[an off list conversation took place]

I've seen a few similar reports in the past couple of days. Setting the adapter in half-duplex mode seems to fix it, at least for some people. I'm working on cleaning up the code stylistically for upstream 2.6.26 right now, but my test hardware should arrive next week, and then I'll really be able to dig into this. Please use ethtool to put the adapter in half-duplex mode, and let me know if that does or does not fix it.

        -- Chris


I tried setting the interface to half-duplex but it stubbornly refused to let 
me. The problem, as well, persists. From my xconsole:

Feb 19 10:29:30 hades sudo:      adz : TTY=pts/0 ; PWD=/home/adz ; USER=root ; 
COMMAND=/usr/sbin/ethtool -s eth1 duplex half
Feb 19 10:29:30 hades kernel: ATL2: eth1 NIC Link is Up<100 Mbps Full Duplex>
Feb 19 10:29:37 hades sudo:      adz : TTY=pts/0 ; PWD=/home/adz ; USER=root ; 
COMMAND=/usr/sbin/ethtool -s eth1 duplex half
Feb 19 10:29:37 hades kernel: ATL2: eth1 NIC Link is Up<100 Mbps Full Duplex>
Feb 19 10:29:41 hades sudo:      adz : TTY=pts/0 ; PWD=/home/adz ; USER=root ; 
COMMAND=/usr/sbin/ethtool -s eth1 duplex full
Feb 19 10:29:41 hades kernel: ATL2: eth1 NIC Link is Up<100 Mbps Full Duplex>
Feb 19 10:29:51 hades sudo:      adz : TTY=pts/0 ; PWD=/home/adz ; USER=root ; 
COMMAND=/usr/sbin/ethtool -s eth1 duplex half
Feb 19 10:29:51 hades kernel: ATL2: eth1 NIC Link is Up<100 Mbps Full Duplex>
Feb 19 10:31:41 hades kernel: eth1: txs packet size do not coinsist with txd 
txd_:0x00003646, txs_:0x000105be!
Feb 19 10:31:41 hades kernel: txd read ptr: 0xd10
Feb 19 10:31:41 hades kernel: txs-behind:0x800105be
Feb 19 10:31:41 hades kernel: txs-before:0x000105be
Feb 19 10:31:41 hades kernel: eth1: txs packet size do not coinsist with txd 
txd_:0x514d9765, txs_:0x000105be!
Feb 19 10:31:41 hades kernel: txd read ptr: 0x135c
Feb 19 10:31:41 hades kernel: txs-behind:0x800102ab
Feb 19 10:31:41 hades kernel: txs-before:0x000105be


Note that regardless of whether I set it to full or half, the driver responds with "ATL2: 
eth1 NIC Link is Up<100 Mbps Full Duplex>". Similarly, trying to change the speed 
does nothing:

Feb 19 10:43:04 hades sudo:      adz : TTY=pts/0 ; PWD=/home/adz ; USER=root ; 
COMMAND=/usr/sbin/ethtool -s eth1 speed 10
Feb 19 10:43:04 hades kernel: ATL2: eth1 NIC Link is Up<100 Mbps Full Duplex>


Note the requested speed (10) and what the driver responds with (100). So, I 
decided to change what the driver advertises to 100/half-duplex:

Feb 19 10:44:00 hades sudo:      adz : TTY=pts/0 ; PWD=/home/adz ; USER=root ; 
COMMAND=/usr/sbin/ethtool -s eth1 advertise 0x004
Feb 19 10:44:04 hades sudo:      adz : TTY=pts/0 ; PWD=/home/adz ; USER=root ; 
COMMAND=/usr/sbin/ethtool -s eth1 duplex half
Feb 19 10:45:28 hades sudo:      adz : TTY=pts/0 ; PWD=/home/adz ; USER=root ; 
COMMAND=/usr/sbin/ethtool -s eth1 advertise 0x008
Feb 19 10:45:28 hades kernel: ATL2: eth1 NIC Link is Up<100 Mbps Full Duplex>
Feb 19 10:45:33 hades sudo:      adz : TTY=pts/0 ; PWD=/home/adz ; USER=root ; 
COMMAND=/usr/sbin/ethtool -s eth1 advertise 0x004
Feb 19 10:45:41 hades sudo:      adz : TTY=pts/0 ; PWD=/home/adz ; USER=root ; 
COMMAND=/usr/sbin/ethtool -s eth1 advertise 0x008
Feb 19 10:45:41 hades kernel: ATL2: eth1 NIC Link is Up<100 Mbps Full Duplex>


As you can see, no error (no ouput of any kind), but the interface stops 
working altogether. Normalcy is only restored when I set it back to 
100/full-duplex (0x008).

Crap. Clearly waiting for 2.6.26 is not viable here. I'll post a fix on my site as soon as I have one, and send an announcement to [EMAIL PROTECTED] I suggest you subscribe:

https://lists.sourceforge.net/lists/listinfo/atl2-test

PS: I decided NOT to wrap this email to a sensible width so that the xconsole 
messages will survive intact.

Thank you.

-- Chris



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to