LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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


Reply
  Search this Thread
Old 03-08-2005, 08:02 AM   #1
enrique_arong
LQ Newbie
 
Registered: Apr 2004
Posts: 24

Rep: Reputation: 15
Question 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.
 
Old 03-08-2005, 08:11 AM   #2
hamish
Member
 
Registered: Aug 2003
Location: Edinburgh
Distribution: Server: Gentoo2004; Desktop: Ubuntu
Posts: 720

Rep: Reputation: 30
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
 
Old 03-08-2005, 08:36 AM   #3
enrique_arong
LQ Newbie
 
Registered: Apr 2004
Posts: 24

Original Poster
Rep: Reputation: 15
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
 
Old 03-08-2005, 09:49 AM   #4
hamish
Member
 
Registered: Aug 2003
Location: Edinburgh
Distribution: Server: Gentoo2004; Desktop: Ubuntu
Posts: 720

Rep: Reputation: 30
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
 
Old 03-08-2005, 03:42 PM   #5
wpn146
Member
 
Registered: Jan 2005
Distribution: Solaris, Linux Fedora Core 6
Posts: 170

Rep: Reputation: 30
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.
 
Old 03-10-2005, 06:03 AM   #6
enrique_arong
LQ Newbie
 
Registered: Apr 2004
Posts: 24

Original Poster
Rep: Reputation: 15
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
modprobe: FATAL: Could not load /lib/modules/.../modules.dep Ankardo Debian 9 02-01-2011 05:09 PM
FATAL: could not load /lib/modules/2.6.1/modules.dep Fr33B33R Slackware 3 01-12-2004 05:40 AM
modules.conf - Cannot get modules to load automatically gundelgauk Linux - General 1 12-27-2003 11:27 PM
modules load Beuzekom Linux - Newbie 2 08-22-2003 05:25 PM
Load Modules Before X Parksy Linux - Software 13 08-05-2003 08:58 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:38 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration