Billionton LNA-100B not working with FreeBSD 6.x?

Torfinn Ingolfsen torfinn.ingolfsen at broadpark.no
Mon Feb 19 20:55:08 UTC 2007


Hello,

I have a cuple of old PCCard NIC's; the LNA-100B from Billionton, more
info here:
http://www.billionton.com.tw/website/product/index.asp?code=LNA
These are 16bit, 10 / 100 Mbps ethernet NIC's that use the 'ed' driver. I've
been using them under FreeBSD 4.x for a long time, and i think I have
used them with FreeBSD 5.x as well (however, I couldn't find any
evidence of that).

Recently, I tried them in a FreeBSD 6.2 machine (6.2-release) and the
card is detected (with some strangeness) but doesn't work. I tried them
in another laptop, but the problem is still the same.
Here is the dmesg output from a 6.2-stable machine booting with this
card inserted:

Feb 19 21:20:19 kg-jobbpc3 kernel: ed1: <Billionton LNA-100B> at port 0x300-0x31f irq 11 function 0 config 7 on pccard1
Feb 19 21:20:19 kg-jobbpc3 kernel: ed1: ccr_write of 0 to 0xa (0x3c0)
Feb 19 21:20:19 kg-jobbpc3 kernel: ed1: ccr_write of 0x3 to 0xc (0x3c0)
Feb 19 21:20:19 kg-jobbpc3 kernel: ed1: ccr_write of 0x4 to 0x2 (0x3c0)
Feb 19 21:20:19 kg-jobbpc3 kernel: ed1: Ethernet address: 00:10:60:f3:13:b0
Feb 19 21:20:19 kg-jobbpc3 kernel: ed1: type AX88790 (16 bit) 
Feb 19 21:20:19 kg-jobbpc3 kernel: miibus0: <MII bus> on ed1
Feb 19 21:20:19 kg-jobbpc3 kernel: ukphy0: <Generic IEEE 802.3u media interface> on miibus0
Feb 19 21:20:19 kg-jobbpc3 kernel: ukphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseT4, 1000baseSX-FDX, 1000baseT, 1000baseT-FDX
Feb 19 21:20:19 kg-jobbpc3 kernel: ukphy1: <Generic IEEE 802.3u media interface> on miibus0
Feb 19 21:20:19 kg-jobbpc3 kernel: ukphy1:  10baseT, 10baseT-FDX, 100baseTX, 100baseT4, 1000baseSX-FDX, 1000baseT, 1000baseT-FDX
Feb 19 21:20:19 kg-jobbpc3 kernel: ukphy2: <Generic IEEE 802.3u media interface> on miibus0
Feb 19 21:20:19 kg-jobbpc3 kernel: ukphy2:  10baseT, 10baseT-FDX, 100baseTX, 100baseT4, 1000baseSX-FDX, 1000baseT, 1000baseT-FDX
Feb 19 21:20:19 kg-jobbpc3 kernel: ukphy3: <Generic IEEE 802.3u media interface> on miibus0
Feb 19 21:20:19 kg-jobbpc3 kernel: ukphy3:  10baseT, 10baseT-FDX, 100baseTX, 100baseT4, 1000baseSX-FDX, 1000baseT, 1000baseT-FDX
Feb 19 21:20:19 kg-jobbpc3 kernel: ukphy4: <Generic IEEE 802.3u media interface> on miibus0
Feb 19 21:20:19 kg-jobbpc3 kernel: ukphy4:  10baseT, 10baseT-FDX, 100baseTX, 100baseT4, 1000baseSX-FDX, 1000baseT, 1000baseT-FDX
Feb 19 21:20:19 kg-jobbpc3 kernel: ukphy5: <Generic IEEE 802.3u media interface> on miibus0
Feb 19 21:20:19 kg-jobbpc3 kernel: ukphy5:  10baseT, 10baseT-FDX, 100baseTX, 100baseT4, 1000baseSX-FDX, 1000baseT, 1000baseT-FDX
Feb 19 21:20:19 kg-jobbpc3 kernel: ukphy6: <Generic IEEE 802.3u media interface> on miibus0
Feb 19 21:20:19 kg-jobbpc3 kernel: ukphy6:  10baseT, 10baseT-FDX, 100baseTX, 100baseT4, 1000baseSX-FDX, 1000baseT, 1000baseT-FDX
Feb 19 21:20:19 kg-jobbpc3 kernel: ukphy7: <Generic IEEE 802.3u media interface> on miibus0
Feb 19 21:20:19 kg-jobbpc3 kernel: ukphy7:  10baseT, 10baseT-FDX, 100baseTX, 100baseT4, 1000baseSX-FDX, 1000baseT, 1000baseT-FDX
Feb 19 21:20:19 kg-jobbpc3 kernel: ukphy8: <Generic IEEE 802.3u media interface> on miibus0
Feb 19 21:20:19 kg-jobbpc3 kernel: ukphy8:  10baseT, 10baseT-FDX, 100baseTX, 100baseT4, 1000baseSX-FDX, 1000baseT, 1000baseT-FDX
Feb 19 21:20:19 kg-jobbpc3 kernel: ukphy9: <Generic IEEE 802.3u media interface> on miibus0
Feb 19 21:20:19 kg-jobbpc3 kernel: ukphy9:  10baseT, 10baseT-FDX, 100baseTX, 100baseT4, 1000baseSX-FDX, 1000baseT, 1000baseT-FDX
Feb 19 21:20:19 kg-jobbpc3 kernel: ukphy10: <Generic IEEE 802.3u media interface> on miibus0
Feb 19 21:20:19 kg-jobbpc3 kernel: ukphy10:  10baseT, 10baseT-FDX, 100baseTX, 100baseT4, 1000baseSX-FDX, 1000baseT, 1000baseT-FDX
Feb 19 21:20:19 kg-jobbpc3 kernel: ukphy11: <Generic IEEE 802.3u media interface> on miibus0
Feb 19 21:20:19 kg-jobbpc3 kernel: ukphy11:  10baseT, 10baseT-FDX, 100baseTX, 100baseT4, 1000baseSX-FDX, 1000baseT, 1000baseT-FDX
Feb 19 21:20:19 kg-jobbpc3 kernel: ukphy12: <Generic IEEE 802.3u media interface> on miibus0
Feb 19 21:20:19 kg-jobbpc3 kernel: ukphy12:  10baseT, 10baseT-FDX, 100baseTX, 100baseT4, 1000baseSX-FDX, 1000baseT, 1000baseT-FDX
Feb 19 21:20:19 kg-jobbpc3 kernel: ukphy13: <Generic IEEE 802.3u media interface> on miibus0
Feb 19 21:20:19 kg-jobbpc3 kernel: ukphy13:  10baseT, 10baseT-FDX, 100baseTX, 100baseT4, 1000baseSX-FDX, 1000baseT, 1000baseT-FDX
Feb 19 21:20:19 kg-jobbpc3 kernel: ukphy14: <Generic IEEE 802.3u media interface> on miibus0
Feb 19 21:20:19 kg-jobbpc3 kernel: ukphy14:  10baseT, 10baseT-FDX, 100baseTX, 100baseT4, 1000baseSX-FDX, 1000baseT, 1000baseT-FDX
Feb 19 21:20:19 kg-jobbpc3 kernel: ukphy15: <Generic IEEE 802.3u media interface> on miibus0
Feb 19 21:20:19 kg-jobbpc3 kernel: ukphy15:  10baseT, 10baseT-FDX, 100baseTX, 100baseT4, 1000baseSX-FDX, 1000baseT, 1000baseT-FDX
Feb 19 21:20:19 kg-jobbpc3 kernel: ukphy16: <Generic IEEE 802.3u media interface> on miibus0
Feb 19 21:20:19 kg-jobbpc3 kernel: ukphy16:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto

After a verbose boot, the messages looks like this:
Feb 19 21:48:39 kg-jobbpc3 kernel: pcib2: pccard1 requested memory range 0xc0200000-0xcfffffff: good
Feb 19 21:48:39 kg-jobbpc3 kernel: pccard1: CIS version PCCARD 2.0 or 2.1
Feb 19 21:48:39 kg-jobbpc3 kernel: pccard1: CIS info: Billionton, LNA-100B, V, 1.0
Feb 19 21:48:39 kg-jobbpc3 kernel: pccard1: Manufacturer code 0xffff, product 0x1090
Feb 19 21:48:39 kg-jobbpc3 kernel: pccard1: function 0: network adapter, ccr addr 3c0 mask 63
Feb 19 21:48:39 kg-jobbpc3 kernel: pccard1: function 0, config table entry 7: I/O card; irq mask ffff; iomask a, iospace 300-31f; mwait_required io16 ir
qlevel
Feb 19 21:48:39 kg-jobbpc3 kernel: pcib2: pccard1 requested I/O range 0x300-0x31f: in range
Feb 19 21:48:39 kg-jobbpc3 kernel: pcib2: pccard1 requested memory range 0xc0200000-0xcfffffff: good
Feb 19 21:48:39 kg-jobbpc3 kernel: ed1: <Billionton LNA-100B> at port 0x300-0x31f irq 11 function 0 config 7 on pccard1
Feb 19 21:48:39 kg-jobbpc3 kernel: ed1: Checking AX88x90
Feb 19 21:48:39 kg-jobbpc3 kernel: ed1: ccr_write of 0 to 0xa (0x3c0)
Feb 19 21:48:39 kg-jobbpc3 kernel: ed1: ccr_write of 0x3 to 0xc (0x3c0)
Feb 19 21:48:39 kg-jobbpc3 kernel: ed1: ccr_write of 0x4 to 0x2 (0x3c0)
Feb 19 21:48:39 kg-jobbpc3 kernel: ed1: probe novel returns 0
Feb 19 21:48:39 kg-jobbpc3 kernel: ed1: [MPSAFE]
Feb 19 21:48:39 kg-jobbpc3 kernel: ed1: bpf attached
Feb 19 21:48:39 kg-jobbpc3 kernel: ed1: Ethernet address: 00:10:60:f3:13:b0
Feb 19 21:48:39 kg-jobbpc3 kernel: ed1: type AX88790 (16 bit) 
Feb 19 21:48:39 kg-jobbpc3 kernel: miibus0: <MII bus> on ed1
Feb 19 21:48:39 kg-jobbpc3 kernel: ukphy0: <Generic IEEE 802.3u media interface> on miibus0
Feb 19 21:48:39 kg-jobbpc3 kernel: ukphy0: OUI 0x0c000c, model 0x0000, rev. 0
Feb 19 21:48:39 kg-jobbpc3 kernel: ukphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseT4, 1000baseSX-FDX, 1000baseT, 1000baseT-FDX
Feb 19 21:48:39 kg-jobbpc3 kernel: ukphy1: <Generic IEEE 802.3u media interface> on miibus0
Feb 19 21:48:39 kg-jobbpc3 kernel: ukphy1: OUI 0x0c000c, model 0x0000, rev. 0
Feb 19 21:48:39 kg-jobbpc3 kernel: ukphy1:  10baseT, 10baseT-FDX, 100baseTX, 100baseT4, 1000baseSX-FDX, 1000baseT, 1000baseT-FDX
Feb 19 21:48:39 kg-jobbpc3 kernel: ukphy2: <Generic IEEE 802.3u media interface> on miibus0
Feb 19 21:48:39 kg-jobbpc3 kernel: ukphy2: OUI 0x0c000c, model 0x0000, rev. 0
Feb 19 21:48:39 kg-jobbpc3 kernel: ukphy2:  10baseT, 10baseT-FDX, 100baseTX, 100baseT4, 1000baseSX-FDX, 1000baseT, 1000baseT-FDX
Feb 19 21:48:39 kg-jobbpc3 kernel: ukphy3: <Generic IEEE 802.3u media interface> on miibus0
Feb 19 21:48:39 kg-jobbpc3 kernel: ukphy3: OUI 0x0c000c, model 0x0000, rev. 0
Feb 19 21:48:39 kg-jobbpc3 kernel: ukphy3:  10baseT, 10baseT-FDX, 100baseTX, 100baseT4, 1000baseSX-FDX, 1000baseT, 1000baseT-FDX
Feb 19 21:48:39 kg-jobbpc3 kernel: ukphy4: <Generic IEEE 802.3u media interface> on miibus0
Feb 19 21:48:39 kg-jobbpc3 kernel: ukphy4: OUI 0x0c000c, model 0x0000, rev. 0
Feb 19 21:48:39 kg-jobbpc3 kernel: ukphy4:  10baseT, 10baseT-FDX, 100baseTX, 100baseT4, 1000baseSX-FDX, 1000baseT, 1000baseT-FDX
Feb 19 21:48:39 kg-jobbpc3 kernel: ukphy5: <Generic IEEE 802.3u media interface> on miibus0
Feb 19 21:48:39 kg-jobbpc3 kernel: ukphy5: OUI 0x0c000c, model 0x0000, rev. 0
Feb 19 21:48:39 kg-jobbpc3 kernel: ukphy5:  10baseT, 10baseT-FDX, 100baseTX, 100baseT4, 1000baseSX-FDX, 1000baseT, 1000baseT-FDX
Feb 19 21:48:39 kg-jobbpc3 kernel: ukphy6: <Generic IEEE 802.3u media interface> on miibus0
Feb 19 21:48:39 kg-jobbpc3 kernel: ukphy6: OUI 0x0c000c, model 0x0000, rev. 0
Feb 19 21:48:39 kg-jobbpc3 kernel: ukphy6:  10baseT, 10baseT-FDX, 100baseTX, 100baseT4, 1000baseSX-FDX, 1000baseT, 1000baseT-FDX
Feb 19 21:48:39 kg-jobbpc3 kernel: ukphy7: <Generic IEEE 802.3u media interface> on miibus0
Feb 19 21:48:39 kg-jobbpc3 kernel: ukphy7: OUI 0x0c000c, model 0x0000, rev. 0
Feb 19 21:48:39 kg-jobbpc3 kernel: ukphy7:  10baseT, 10baseT-FDX, 100baseTX, 100baseT4, 1000baseSX-FDX, 1000baseT, 1000baseT-FDX
Feb 19 21:48:39 kg-jobbpc3 kernel: ukphy8: <Generic IEEE 802.3u media interface> on miibus0
Feb 19 21:48:39 kg-jobbpc3 kernel: ukphy8: OUI 0x0c000c, model 0x0000, rev. 0
Feb 19 21:48:39 kg-jobbpc3 kernel: ukphy8:  10baseT, 10baseT-FDX, 100baseTX, 100baseT4, 1000baseSX-FDX, 1000baseT, 1000baseT-FDX
Feb 19 21:48:39 kg-jobbpc3 kernel: ukphy9: <Generic IEEE 802.3u media interface> on miibus0
Feb 19 21:48:39 kg-jobbpc3 kernel: ukphy9: OUI 0x0c000c, model 0x0000, rev. 0
Feb 19 21:48:39 kg-jobbpc3 kernel: ukphy9:  10baseT, 10baseT-FDX, 100baseTX, 100baseT4, 1000baseSX-FDX, 1000baseT, 1000baseT-FDX
Feb 19 21:48:39 kg-jobbpc3 kernel: ukphy10: <Generic IEEE 802.3u media interface> on miibus0
Feb 19 21:48:39 kg-jobbpc3 kernel: ukphy10: OUI 0x0c000c, model 0x0000, rev. 0
Feb 19 21:48:39 kg-jobbpc3 kernel: ukphy10:  10baseT, 10baseT-FDX, 100baseTX, 100baseT4, 1000baseSX-FDX, 1000baseT, 1000baseT-FDX
Feb 19 21:48:39 kg-jobbpc3 kernel: ukphy11: <Generic IEEE 802.3u media interface> on miibus0
Feb 19 21:48:39 kg-jobbpc3 kernel: ukphy11: OUI 0x0c000c, model 0x0000, rev. 0
Feb 19 21:48:39 kg-jobbpc3 kernel: ukphy11:  10baseT, 10baseT-FDX, 100baseTX, 100baseT4, 1000baseSX-FDX, 1000baseT, 1000baseT-FDX
Feb 19 21:48:39 kg-jobbpc3 kernel: ukphy12: <Generic IEEE 802.3u media interface> on miibus0
Feb 19 21:48:39 kg-jobbpc3 kernel: ukphy12: OUI 0x0c000c, model 0x0000, rev. 0
Feb 19 21:48:39 kg-jobbpc3 kernel: ukphy12:  10baseT, 10baseT-FDX, 100baseTX, 100baseT4, 1000baseSX-FDX, 1000baseT, 1000baseT-FDX
Feb 19 21:48:39 kg-jobbpc3 kernel: ukphy13: <Generic IEEE 802.3u media interface> on miibus0
Feb 19 21:48:39 kg-jobbpc3 kernel: ukphy13: OUI 0x0c000c, model 0x0000, rev. 0
Feb 19 21:48:39 kg-jobbpc3 kernel: ukphy13:  10baseT, 10baseT-FDX, 100baseTX, 100baseT4, 1000baseSX-FDX, 10Feb 19 21:48:39 kg-jobbpc3 kernel: ukphy14: <Generic IEEE 802.3u media interface> on miibus0
Feb 19 21:48:39 kg-jobbpc3 kernel: ukphy14: OUI 0x0c000c, model 0x0000, rev. 0
Feb 19 21:48:39 kg-jobbpc3 kernel: ukphy14:  10baseT, 10baseT-FDX, 100baseTX, 100baseT4, 1000baseSX-FDX, 1000baseT, 1000baseT-FDX
Feb 19 21:48:39 kg-jobbpc3 kernel: ukphy15: <Generic IEEE 802.3u media interface> on miibus0
Feb 19 21:48:39 kg-jobbpc3 kernel: ukphy15: OUI 0x0c000c, model 0x0000, rev. 0
Feb 19 21:48:39 kg-jobbpc3 kernel: ukphy15:  10baseT, 10baseT-FDX, 100baseTX, 100baseT4, 1000baseSX-FDX, 1000baseT, 1000baseT-FDX
Feb 19 21:48:39 kg-jobbpc3 kernel: ukphy16: <Generic IEEE 802.3u media interface> on miibus0
Feb 19 21:48:39 kg-jobbpc3 kernel: ukphy16: OUI 0x00602e, model 0x0031, rev. 0
Feb 19 21:48:39 kg-jobbpc3 kernel: ukphy16:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
00baseT, 1000baseT-FDX

(I got the same messages when booting a 6.2-release and 6.1-release CD. I also tried the 6.0-release CD, but there the card is not detected)

Notice how the card is detected, but that it seems that it has 16 phy's?
Also, ifconfig claims that there is no carrier (but the cabe is plugged in and the lights on both the switch and the NIC are lit):
root at kg-jobbpc3# ifconfig ed1
ed1: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500
        ether 00:10:60:f3:13:b0
        media: Ethernet autoselect (none)
        status: no carrier

I have tested this in two different laptops, both show the same error.
I would like to get these cards working in FreeBSD again.
Any hints on what to try next?
-- 
Regards,
Torfinn Ingolfsen,
Norway



More information about the freebsd-mobile mailing list