Atlas
January 6th, 2004, 23:10
I'm having troubles getting a Znyx ZX346Q 4-port NIC to work under 5.1. The card works (I've tested under Windows 2000) and when it is installed with a GENERIC kernel, it is determined to be a DEC-compatible card using the dc module. However, none of the linklights will activate for any of the 4 ports on the card, regardless of link speed or what the card is attached to (switch, hub, crossover, etc).
I tried the instructions available here (http://www.znyx.com/support/drivers/ZX346Q_drivers.htm) for FreeBSD 4.3/4.4, but the kernel fails to compile with the module included and kldload can't load it manually because of a "splimp" error.
The only other references to using the card under any BSD that I can find come from the same guy across several mailing lists:
http://groups.yahoo.com/group/openbsd_tech/message/5049?source=1.
I'd really like to be able to use this card as it has the ability to do load-balancing and failover and this is going in a fileserver.
Does anyone have any suggestions?
elmore
January 7th, 2004, 00:02
dc driver is for ASIX Electronics cards not for zynx
de driver is for the zynx zx 3xx series of cards.
4 port cards sometimes have problems with freebsd in particular if your server is a compaq (though most of those use a thunder lan chipset)
You might just check your BIOS to make sure settings are optimal etc.
Anyways you might also try to compile out all other network drivers out of your kernel and only have the de driver compiled in. I have had problems with my thunder lan 4 port nic in the 5.x branch as well. I wound up using 4.9 though I believe my issue has been resolved in 5.2 so when it comes out hopefully I'll be good.
elmore
January 7th, 2004, 00:09
Another issue I just thought of is that if your are trying to bring up all 4 interfaces at one time and haven't configured the other 3 interfaces to be configured with a subnet of 255.255.255.255 your card will not come up.
Remember you can't add your second and any other interfaces to the same LAN in FreeBSD, you must add the second interface with a subnet of 255.255.255.255
like so in your rc.conf:
hostname="schizophrenic.sevpn.com"
ifconfig_fxp0="inet 10.26.1.5 netmask 255.255.255.0"
defaultrouter="10.26.1.1"
ifconfig_fxp3="inet 10.26.1.8 netmask 255.255.255.255"
ifconfig_fxp2="inet 10.26.1.7 netmask 255.255.255.255"
ifconfig_fxp1="inet 10.26.1.6 netmask 255.255.255.255"
Atlas
January 7th, 2004, 00:50
I'm recompiling now, I'll keep you posted. Thanks for the help!
Atlas
January 7th, 2004, 02:27
By removing all other network drivers from the config file I managed to get the card's interfaces to come up under the de driver. I can activate the ports, assign them addresses and ping them. Unfortunately, since this isn't the way Znyx would have me go about using their card, their application that manages the trunk creation won't work.
I'm assuming (which, of course is always dangerous :)) that there is a way to set up a load-balancing trunk within FreeBSD natively (or with another free application). However, as you'll notice, I don't want an even balance between the ports as de0 obviously should be the first choice. Is there any way to go about setting this up?
So far, this is the configuration:
(100mbit full) de0: 192.168.1.10 netmask 255.255.255.0
(10mbit full) de1: 192.168.1.11 netmask 255.255.255.255
(10mbit full) de2: 192.168.1.12 netmask 255.255.255.255
(10mbit full) de3: 192.168.1.13 netmask 255.255.255.255
Thanks again for all the help already.
elmore
January 7th, 2004, 02:40
compile in netgraph support into your kernel