Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
TLAN troubles
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
anonybosh
Guru
Guru


Joined: 20 Nov 2005
Posts: 324

PostPosted: Thu Jan 03, 2008 4:29 am    Post subject: TLAN troubles Reply with quote

I have a few "Compaq Netelligent 10/100 TX PCI UTP" ethernet cards that I am using in a few boxes (utilizing the tlan kernel driver). In two of the boxes (both HP Kayak XU's- Dual P3 systems) I have no troubles whatsoever. It is in the third, an Asus Terminator C3 that I just cannot get it to work. I have tried swapping known functional cards into said box, but with no changes, so I know it is not a problem with the ethernet cards.
Kernel output when starting up the interface (/etc/init.d/net.ethX start):
Code:
ThunderLAN driver v1.15
TLAN: eth0 irq=11, io=c000, Compaq Netelligent Dual 10/100 TX PCI UTP, Rev. 16
TLAN: eth1 irq=10, io=c400, Compaq Netelligent Dual 10/100 TX PCI UTP, Rev. 16
TLAN: 2 devices installed, PCI: 2  EISA: 0
...
ADDRCONF(NETDEV_UP): eth3: link is not ready
TLAN: eth3: Starting autonegotiation.
TLAN: eth3: Autonegotiation complete.
TLAN: eth3: Link active with AutoNegotiation enabled, at 100Mbps Half-Duplex
TLAN: Partner capability: 10BaseT-HD 100baseTx-HD
ADDRCONF(NETDEV_CHANGE): eth3: link becomes ready
TLAN:  eth3: Adaptor Error = 0x100005
TLAN: eth3: Starting autonegotiation.
TLAN: eth3: Autonegotiation complete.
TLAN: eth3: Link active with AutoNegotiation enabled, at 100Mbps Half-Duplex
TLAN: Partner capability: 10BaseT-HD 100baseTx-HD
eth3: no IPv6 routers present
...
With general debugging switched on for the driver:
Code:
...
TLAN: IO mapping is available at c000.
TLAN:   Contents of internal registers for io base 0xc000.
TLAN:      Off.  +0         +4
TLAN:      0x00  0x00007500 0x00000000
TLAN:      0x08  0x0500104c 0x00008030
TLAN:      0x10  0xa75f8000 0x3333a343
TLAN:      0x18  0xa343a7ff 0x005e0001
TLAN:      0x20  0x33330100 0x01000000
TLAN:      0x28  0x00000000 0x00000000
TLAN:      0x30  0x00000000 0x00000000
TLAN:      0x38  0x00000000 0x00000000
TLAN:      0x40  0x00000000 0x00002200
TLAN:      0x48  0x00000000 0x00000000
TLAN:   Device eth0, PHY 0x00.
--
TLAN:      0x00  0x30401dc0 0x00000600
TLAN:      0x08  0x0500104c 0x00008030
TLAN:      0x10  0xa75f8000 0x33332343
TLAN:      0x18  0x2343a7ff 0x005e0001
TLAN:      0x20  0x33330100 0x01000000
TLAN:      0x28  0x00000000 0x00000000
TLAN:      0x30  0x00000000 0x00000000
TLAN:      0x38  0x00000000 0x00000000
TLAN:      0x40  0x00000000 0x06002201
TLAN:      0x48  0x00000005 0x00000000
TLAN:   Device eth3, PHY 0x01.
TLAN:      Off.  +0     +1     +2     +3
TLAN:      0x00 0x1000 0x786f 0x2000 0x5c01
TLAN:      0x04 0x01e1 0x40a1 0x0001 0x0000
TLAN:      0x08 0x0000 0x0000 0x0000 0x0000
TLAN:      0x0c 0x0000 0x0000 0x0000 0x0000
TLAN:      0x10 0x0000 0x0000 0x0000 0x0000
TLAN:      0x14 0x0000 0x0000 0x0001 0x8060
TLAN:      0x18 0x8020 0x0c21 0x0000 0x1800
TLAN:      0x1c 0xa3b9 0x007f 0x2105 0x001d
TLAN:  eth3: Adaptor Error = 0x100005
TLAN: eth3: Transmit timed out.
TLAN: PHY found at 01 3100 2000 5c01
TLAN: PHY found at 1f 4c00 4000 5015
TLAN: eth3: Powering down PHY(s).
TLAN:   Contents of internal registers for io base 0xc400.
TLAN:      Off.  +0         +4
TLAN:      0x00  0x00001e00 0x00000600
TLAN:      0x08  0x0500104c 0x00008030
TLAN:      0x10  0x00000000 0x00000000
TLAN:      0x18  0x00000000 0x00000000
TLAN:      0x20  0x00000000 0x00000000
TLAN:      0x28  0x00000000 0x00000000
TLAN:      0x30  0x00000000 0x00000000
TLAN:      0x38  0x00000000 0x00000000
TLAN:      0x40  0x00000000 0x00002200
TLAN:      0x48  0x00000005 0x00000000
TLAN:   Device eth3, PHY 0x01.
TLAN:      Off.  +0     +1     +2     +3
TLAN:      0x00 0x4c00 0x784b 0x2000 0x5c01
TLAN:      0x04 0x01e1 0x0000 0x0000 0x0000
...

For awhile I thought that it was an IRQ conflict, but /proc/interrupts seems to say otherwise (if I am interpreting it correctly):
Code:
           CPU0
  0:     174030    XT-PIC-XT        timer
  1:       5741    XT-PIC-XT        i8042
  2:          0    XT-PIC-XT        cascade
  4:          8    XT-PIC-XT        serial
  8:          2    XT-PIC-XT        rtc
  9:          0    XT-PIC-XT        acpi
 10:        138    XT-PIC-XT        TLAN
 11:       9578    XT-PIC-XT        eth2
 14:      15606    XT-PIC-XT        ide0
NMI:          0
LOC:          0
ERR:          0
MIS:          0

Another thing of note: when the interface's IP is set via DHCP, it seems to lock the other built-in ethernet interface (via-rhine) so that no communication can happen at all over ethernet. If I set a static IP for it though, that doesn't happen.
I have tried numerous kernel adjustments, but to no avail (using gentoo-hardened BTW, without any grsec or Pax options enabled).
Please help!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum