LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Red Hat (https://www.linuxquestions.org/questions/red-hat-31/)
-   -   modules + kudzu +ethernet card= BIG PROBLEM (https://www.linuxquestions.org/questions/red-hat-31/modules-kudzu-ethernet-card%3D-big-problem-103142/)

funkymunky 10-12-2003 03:05 PM

modules + kudzu +ethernet card= BIG PROBLEM
 
hi!

kindly help me out, im having problems using my ethernet card.

teh card in question is supposed to be a "surecom" based card that needs the module "fealnx.o" to be inserted.

i am using two computers. ones a P4 and the others a Cyrix m2 300 (compaq presario 2262), both having the ethernet card mentioned above.the P4 is running redhat 9.0 and teh cyrix runs redhat 8.0.

when i had installed the ethernat card for the first time in the P4 which has redhat 9.0, kudzu had detected it during the first time i booted after the card installation as the "surecom" based card (though its not, but anything goes as long as it works!), and when i ran "redhat-config-network", the hardware name was "fealnx".it was using the module "fealnx.o".

next, while setting it up on the cyrix in redhat 8.0, kudzu did NOT detect the card at startup...i was running kernel version 2.4.18.
later i downloaded and installed the openmosix-kernel-2.4.22, and again kudzu did not detect the card at startup.i played smart and tried "insmod <path>/fealnx.o"..i got a number of "unresolved symbols",and then modprobe fealnx.o returned nothing....

though after some time i found the the module had been loaded by itself! the card was working fine after that...

i have to repeat the same drama everytime i boot into the cyrix..the same problem exists with the default kernel 2.4.18 too...plz note that im using the correct version of the module fealnx.o, the one that came with teh respective kernel.

questions:
1. can i force kudzu in redhat 8.0 to go and try to detect my card on its own, since this worked in redhat 9.0 after i first installed the card and booted for the first time...whats the command for invoking kudzu and making it search for my card?

2. is what i did the correct way of loading a module?? why am i getting the "unres... symbols" when im using the correct module.(this is proved by the fact that it works fine after some time)..

3. how do i make a module load by default at startup??

4. HELPPP!!!
:( :( :(

PS..the cards work fine under windoze!

Thetargos 10-12-2003 04:53 PM

I'd recommend you install the lattest red-hat kernel (2.4.20-20.8) for you RH 8 machine, it should come with the module already built, afterthat, just try and see if Kudzu sees it. If not try loading the module from the new kernel /lib/modules directory. If that works, you may add a line in the /etc/rc.d/rc.local file to insert the module when the system boots up :)

Note the unresolved symbols are because you are trying to load a module compiled against another kernel version (you may be trying to load the module from 2.4.18 with your 2.4.22 kernel)

funkymunky 10-13-2003 12:16 AM

i was using the same version of the module as the kernel...namely, 2.4.22..the proof of this factis that i did not get any error message about kernel-module version mismatch...and the module was located in the directory /lib/....../2.4.22/drivers/net/...etc..


also , is it possible to invoke kudzu from a terminal prompt, and make it search for a pci ethernet card??

if yes, whats the command for it?? if no , why not?? :-(((((

Thetargos 10-13-2003 11:16 AM

In order to do that, you would need two things (not Kudzu related, tho): Check your modules.conf file and put there the module's parameters, for example:
Code:

eth0 <name of module here without the .o>
Or you can simply invoke insmod (which is the default program to install or insert a module). modprobe will try to load the module if it finds the device for that particular module, hence the probe.

ilpadrino 10-13-2003 01:24 PM

Only you have to do is to add the line Thetargo said in modules.conf under /etc directory.

Thatīs all.


All times are GMT -5. The time now is 06:44 AM.