Subject: port-i386/36402: tlp driver fails with Xircom X3201-3 Ethernet (CardBus)
To: None <firstname.lastname@example.org, email@example.com,>
From: None <firstname.lastname@example.org>
Date: 05/29/2007 11:55:00
>Synopsis: tlp driver fails with Xircom X3201-3 Ethernet (CardBus)
>Arrival-Date: Tue May 29 11:55:00 +0000 2007
>Originator: Felix Kaiser
i386 compatible laptop with GENERIC_LAPTOP kernel; AMD K6-2 @ 450MHz; 184MB system memory (+8MB shared VGA); VIA VT82C686A chipset; O2 Micro OZ68xx CardBus bridge; ESS Maestro 3 PCI Audio (AC97 Audio+Modem); 20GB IDE HDD; 24x ATAPI CD-ROM; Synaptics TouchPad; Trident CyberBlade i7 VGA;
When detecting the Xircom CBE2-100 Ethernet card there are some error messages from the device drivers:
cardbus_read_exrom: bad header signature in ROM image 0: 0xffff
cardbus_attach_card: failed to read CIS
The card is recognized as tlp0 at cardbus 0 dev 0 function 0: Xircom X3201-3 Ethernet, pass 0.3.
There follows another error message: "tlp0: reset failed to complete". This message repeats everytime I try to do ifconfig tlp0 up/down.
The ethernet address is reported to be "00:00:00:00:00:00".
This situation never changes, regardless how often I remove and insert the card. So I copied the latest daily build of NetBSD4 and tried to make this card working with the kernel 4.0_BETA2 (GENERIC_LAPTOP) of 2007/05/25. Now there are no error messages during boot when the card is already in the cardbus slot. Also the ethernet address is determined correctly as 00:10:A4:xx:xx:xx and the PHY is recognized as ukphy0 supporting 10BaseT, 100BaseTX with and without full-duplex and Auto. When doing 'ifconfig tlp0 up' the LED on the card becomes active, but there is no physical link active on the attached cable. So I tried the change the media to be 10BaseT or 100BaseTx or Auto and repeated some ifconfig up/down commands. Only once it was successful and I had an 100BaseTX link without fdx, changing to type Auto changed the link to be 100BaseTX with fdx. But I was not able to repeat this with success. And after removing the card and inserting it again NetBSD4 shows the same error mes
sages as 3.1.
The card seems to be Ok as it is working without any problems under Windows 2000 on the same machine. And also a DOS driver written by me based on a GPL driver for the Xircom card works fine with the card.
So please let me know how to help. Regrettably I am not familiar with the NetBSD internals and drivers.
Boot NetBSD with an already inserted Xircom CardBus Ethernet II 10/100 (CBE2-100) adapter or insert it after booting. Error messages are shown immediately.