mountainman
Group: Members
Posts: 2
Joined: Feb. 2007 |
|
Posted: May 14 2007,01:06 |
|
I had problems getting my D-LINK DFE-530TX ethernet card to work with DSL 3.2 I knew the card was OK since I have it working with Slackware 10.0 on the same system. When I attempted to configure the card via netcardconfig it reported that no network cards were found. But the card was indeed there as confirmed by lspci -vv where it shows up as follows:
0000:01:08.0 Ethernet controller: VIA Technologies, Inc. VT86C100A [Rhine] (rev 06) Subsystem: D-Link System Inc DFE-530TX rev A
The correct driver for this card is via-rhine. I checked to see if it was loaded with lsmod, but it wasn't. I tried to load it with "sudo modprobe via-rhine" but I received an error that it failed to load. I did a bit more investigation by trying to load it via "sudo insmod via-rhine" and I received a few errors regarding mii_ethtool_ioctl.
I looked at the source code for the via-rhine drive and determined that it also requires the "mii" and "crc32" drivers to be loaded as well. So I checked to see if the correct modules were associated with "via-rhine" by looking at /lib/modules/2.4.26/modules.dep, which is the list of module dependencies generated by depmod. The via-rhine entry did indeed correctly list the "mii" and "crc32" as dependencies, however, it also listed the "b44" module as a dependency as well. I hadn't seen any reference to this module when I looked at the source code for the "via-rhine" module, so I suspected that it might be the root of the problem.
I conducted a quick test. I removed the line: "lib/modules/2.4.26/kernel/drivers/net/b44.o" from the "via-rhine" entry in the file /lib/modules/2.4.26/modules.dep, saved the file, and rebooted. Bingo! That resolved the problem. The card was now found during boot and the "via-rhine" module and it's dependencies "mii" and "crc32" were loaded. It now works perfectly.
|