Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place! |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
03-08-2005, 08:02 AM
|
#1
|
LQ Newbie
Registered: Apr 2004
Posts: 24
Rep:
|
load modules
Hi,
I need to load a module into my kernel
to get a network card working, the problem is that
when I use modprobe command it can not find the
correct path to load the module.
I changed the name of the directories to give it the correct path
but still no luck.
Im too new to this, excuse my ignorance.
thank you for your help
Last edited by enrique_arong; 03-08-2005 at 08:03 AM.
|
|
|
03-08-2005, 08:11 AM
|
#2
|
Member
Registered: Aug 2003
Location: Edinburgh
Distribution: Server: Gentoo2004; Desktop: Ubuntu
Posts: 720
Rep:
|
hi, can you give us some more details on the module and how it was compiled. Is it a module which is in the kernel, or is it a 3rd party module?
remember, when you load a module, don't type
# modprobe /path/to/module.ko
just type:
# modprobe module
assuming that the module is in the module/kernel tree (/lib/modules/<kernel>/)
hamish
|
|
|
03-08-2005, 08:36 AM
|
#3
|
LQ Newbie
Registered: Apr 2004
Posts: 24
Original Poster
Rep:
|
Sorry, I have no idea how It was compiled.
The module is in the kernel.
from the begining:
I installed a new network card, Suse 9 reconized it very well and installed it but when I ran the command ifconfig the only card shonw was the lo.
and the new network card I installed is still dead.
after two days without knowing the cause of the problem I opened the Suseplugger,
It said the following concerning the driver of my new network card:
Driver info #0:
Driver status: 3189too is not active
Driver activation cmd: "modprobe 3189too"
Driver info #1:
Driver status: 3189cp is not active
Driver activation cmd: "modprobe 3189too"
I executed that command: modprobe 3189too
and it returned the following:
modprobe: cant open dependecies file /lib/modules/2.4.21-9-default/modules.dep (no such file or directory)
if you need more details tell me
thank you for your time
|
|
|
03-08-2005, 09:49 AM
|
#4
|
Member
Registered: Aug 2003
Location: Edinburgh
Distribution: Server: Gentoo2004; Desktop: Ubuntu
Posts: 720
Rep:
|
I think it might be taht you don't have modutils installed.
do:
# rpm -Q modutils
(or something to query whether modutils is installed).
Also, is the module called "3189too" or 8189too? I don't have access to my box atm, but I don't remember a 3189too module.
Hamish
|
|
|
03-08-2005, 03:42 PM
|
#5
|
Member
Registered: Jan 2005
Distribution: Solaris, Linux Fedora Core 6
Posts: 170
Rep:
|
Re: load modules
Quote:
Originally posted by enrique_arong
Hi,
I need to load a module into my kernel
to get a network card working, the problem is that
when I use modprobe command it can not find the
correct path to load the module.
I changed the name of the directories to give it the correct path
but still no luck.
Im too new to this, excuse my ignorance.
thank you for your help
|
If the module is not in the standard location, you can add the path name in /etc/modules.conf. See "man modules.conf" for the syntax.
|
|
|
03-10-2005, 06:03 AM
|
#6
|
LQ Newbie
Registered: Apr 2004
Posts: 24
Original Poster
Rep:
|
thank you for your replys,
now the problem is other,
I already gave it the path and it seems it finds the modules, but it also returns an error telling me this:
unresolved symbols...
I was reading tutorials that said I must first know some thing about the kernel etc,
the thing is that there is always something new in my way learning linux.
too complicated so far
thanks again, expecting your replys.
|
|
|
All times are GMT -5. The time now is 04:42 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|