Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
 

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: Trouble compiling driver for Ethernet Adapter, Networking, Compiling Drivers< Next Oldest | Next Newest >
BarkingSpider Offline





Group: Members
Posts: 1
Joined: July 2006
Posted: July 30 2006,15:08 QUOTE

I am attempting to add a D--Link DFE-530TX+ Ethernet Adapter to an old Gateway 350mHz Pentium 2 computer running a HD intallation of DSL. I have installed the actual card and have pulled the archive from the CD containing a number of files including:

Makefile
kcompat.h
linux.txt (which includes instructions)
rhine.h
rhine_cfg.h
rhine_main.c
rhine_proc.c
rhine_proc.h
rhine_wol.c
rhine_wol.h

I have no trouble with the intructions until they indicate that I need to compile the main driver source file: rhine_main.c. They say to use Make install as a command and another post on DSL boards claims that ./configure works for a driver on a different device. Neither of the two commands are recognized when I try to use them in emeFM.

Thanks for the help!
Back to top
Profile PM 
^thehatsrule^ Offline





Group: Members
Posts: 3275
Joined: July 2006
Posted: Aug. 02 2006,03:28 QUOTE

You need to install some gcc and make package.  See myDSL for gcc* extensions.
Back to top
Profile PM 
mountainman Offline





Group: Members
Posts: 2
Joined: Feb. 2007
Posted: May 14 2007,01:06 QUOTE

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.  :)
Back to top
Profile PM 
2 replies since July 30 2006,15:08 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

 
reply to topic new topic new poll
Quick Reply: Trouble compiling driver for Ethernet Adapter

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code