LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
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 11-22-2006, 05:57 AM   #1
Kansalliskala
LQ Newbie
 
Registered: Nov 2006
Posts: 3

Rep: Reputation: 0
where do I find modules


(have been using linux since 1998 but feel like newbie..) I think I need irtty_sir.o but don't know where to find it. Tried sourceforge.net but they only offer "programs". Kernel.org has just kernels.
 
Old 11-22-2006, 06:22 AM   #2
matthewg42
Senior Member
 
Registered: Oct 2003
Location: UK
Distribution: Kubuntu 12.10 (using awesome wm though)
Posts: 3,530

Rep: Reputation: 63
when I do "locate irtty_sir", I get:
Code:
/lib/modules/2.6.17-10-generic/kernel/drivers/net/irda/irtty-sir.ko
/lib/modules/2.6.17-10-386/kernel/drivers/net/irda/irtty-sir.ko
/usr/src/linux-headers-2.6.17-10-generic/include/config/irtty
/usr/src/linux-headers-2.6.17-10-generic/include/config/irtty/sir
/usr/src/linux-headers-2.6.17-10-generic/include/config/irtty/sir/module.h
What distro are you using?
 
Old 11-22-2006, 09:09 AM   #3
titopoquito
Senior Member
 
Registered: Jul 2004
Location: Lower Rhine region, Germany
Distribution: Slackware 14.1 (32 and 64 bit)
Posts: 1,587

Rep: Reputation: 121Reputation: 121
To specify what matthewg42's post says: The code is part of the kernel, no need to download and install it seperately. You can compile your kernel so that it includes the stuff or builds as a module that you can load. Probably you already have that module...
What happens if you try as root "modprobe irtty-sir" (note the dash instead of underscore)?
 
Old 11-22-2006, 12:53 PM   #4
Micro420
Senior Member
 
Registered: Aug 2003
Location: Berkeley, CA
Distribution: Mac OS X Leopard 10.6.2, Windows 2003 Server/Vista/7/XP/2000/NT/98, Ubuntux64, CentOS4.8/5.4
Posts: 2,986

Rep: Reputation: 45
I recently got a new ASUS motherboard and Ubuntu 6.10 and CentOS were not able to recognize the NIC. It kept telling me to load the modules that I got from the vendor. Of course, ASUS doesn't have these. So I just ended up using a spare 10/100Mbps NIC I had lying around. But how would I have loaded the NIC module specific to this ASUS motherboard? Would that have been in the kernel???
 
Old 11-22-2006, 01:44 PM   #5
masonm
Senior Member
 
Registered: Mar 2003
Location: Following the white rabbit
Distribution: Solus
Posts: 2,254

Rep: Reputation: 47
Quote:
Originally Posted by Micro420
I recently got a new ASUS motherboard and Ubuntu 6.10 and CentOS were not able to recognize the NIC. It kept telling me to load the modules that I got from the vendor. Of course, ASUS doesn't have these. So I just ended up using a spare 10/100Mbps NIC I had lying around. But how would I have loaded the NIC module specific to this ASUS motherboard? Would that have been in the kernel???
You would have to find out what chipset it uses and go from there. lspci would get you going in the right direction.
 
Old 11-23-2006, 04:36 AM   #6
Kansalliskala
LQ Newbie
 
Registered: Nov 2006
Posts: 3

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by titopoquito
To specify what matthewg42's post says: The code is part of the kernel, no need to download and install it seperately. You can compile your kernel so that it includes the stuff or builds as a module that you can load. Probably you already have that module...
What happens if you try as root "modprobe irtty-sir" (note the dash instead of underscore)?
Thank you, now I think I got it. So loadable modules is usually part of the kernel code that is compiled separately and then loaded -- there is no separate code. (Sometimes there is, I think I loaded ppscsi somewhere).

Code:
debian:~# modprobe irtty-sir
modprobe: Can't locate module irtty-sir
debian:~# locate irtty-sir
debian:~# locate irtty
/lib/modules/2.4.27-2-k6/kernel/drivers/net/irda/irtty.o
/lib/modules/2.4.27-2-k7/kernel/drivers/net/irda/irtty.o
/lib/modules/2.4.27-2-k7-smp/kernel/drivers/net/irda/irtty.o
/lib/modules/2.4.27-2-386/kernel/drivers/net/irda/irtty.o
/lib/modules/2.4.27-2-586tsc/kernel/drivers/net/irda/irtty.o
/lib/modules/2.4.27-2-686/kernel/drivers/net/irda/irtty.o
/lib/modules/2.4.27-2-686-smp/kernel/drivers/net/irda/irtty.o
/lib/modules/2.4.27-3-k6/kernel/drivers/net/irda/irtty.o
/lib/modules/2.4.27-3-k7/kernel/drivers/net/irda/irtty.o
/lib/modules/2.4.27-3-k7-smp/kernel/drivers/net/irda/irtty.o
/lib/modules/2.4.27-3-386/kernel/drivers/net/irda/irtty.o
/lib/modules/2.4.27-3-586tsc/kernel/drivers/net/irda/irtty.o
/lib/modules/2.4.27-3-686/kernel/drivers/net/irda/irtty.o
/lib/modules/2.4.27-3-686-smp/kernel/drivers/net/irda/irtty.o
/usr/src/kernel-headers-2.4.27-3/include/net/irda/irtty.h
/usr/src/kernel-headers-2.4.27-3-k7/include/config/irtty
/usr/src/kernel-headers-2.4.27-3-k7/include/config/irtty/sir
/usr/src/kernel-headers-2.4.27-3-k7/include/config/irtty/sir.h
/usr/src/kernel-headers-2.4.27-3-k7/include/config/irtty/sir/module.h
Now just have to compile it ..
 
Old 11-23-2006, 04:59 AM   #7
titopoquito
Senior Member
 
Registered: Jul 2004
Location: Lower Rhine region, Germany
Distribution: Slackware 14.1 (32 and 64 bit)
Posts: 1,587

Rep: Reputation: 121Reputation: 121
Quote:
Code:
debian:~# modprobe irtty-sir
modprobe: Can't locate module irtty-sir
debian:~# locate irtty-sir
debian:~# locate irtty
/lib/modules/2.4.27-2-k6/kernel/drivers/net/irda/irtty.o
/lib/modules/2.4.27-2-k7/kernel/drivers/net/irda/irtty.o
/lib/modules/2.4.27-2-k7-smp/kernel/drivers/net/irda/irtty.o
/lib/modules/2.4.27-2-386/kernel/drivers/net/irda/irtty.o
/lib/modules/2.4.27-2-586tsc/kernel/drivers/net/irda/irtty.o
/lib/modules/2.4.27-2-686/kernel/drivers/net/irda/irtty.o
/lib/modules/2.4.27-2-686-smp/kernel/drivers/net/irda/irtty.o
/lib/modules/2.4.27-3-k6/kernel/drivers/net/irda/irtty.o
/lib/modules/2.4.27-3-k7/kernel/drivers/net/irda/irtty.o
/lib/modules/2.4.27-3-k7-smp/kernel/drivers/net/irda/irtty.o
/lib/modules/2.4.27-3-386/kernel/drivers/net/irda/irtty.o
/lib/modules/2.4.27-3-586tsc/kernel/drivers/net/irda/irtty.o
/lib/modules/2.4.27-3-686/kernel/drivers/net/irda/irtty.o
/lib/modules/2.4.27-3-686-smp/kernel/drivers/net/irda/irtty.o
/usr/src/kernel-headers-2.4.27-3/include/net/irda/irtty.h
/usr/src/kernel-headers-2.4.27-3-k7/include/config/irtty
/usr/src/kernel-headers-2.4.27-3-k7/include/config/irtty/sir
/usr/src/kernel-headers-2.4.27-3-k7/include/config/irtty/sir.h
/usr/src/kernel-headers-2.4.27-3-k7/include/config/irtty/sir/module.h
Now just have to compile it ..
It is called irtty-sir with my 2.6.17.x kernel, but I guess it's only irtty for you!? Try to "modprobe irtty".
 
Old 11-23-2006, 05:50 AM   #8
Kansalliskala
LQ Newbie
 
Registered: Nov 2006
Posts: 3

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by titopoquito
It is called irtty-sir with my 2.6.17.x kernel, but I guess it's only irtty for you!? Try to "modprobe irtty".
I think I have to migrate to 2.6 anyways some day. Meanwhile I'll get old 2 GB disk and put some mini-distro there.. My aim is to get a reserve backup network connection with Nokia 5210 and maybe a fax-machine.

Thank you again, this has cleared the concept 'module' for me.
 
Old 11-23-2006, 07:22 AM   #9
titopoquito
Senior Member
 
Registered: Jul 2004
Location: Lower Rhine region, Germany
Distribution: Slackware 14.1 (32 and 64 bit)
Posts: 1,587

Rep: Reputation: 121Reputation: 121
You're welcome
 
  


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
can't find modules.conf under /etc 1sciroccofahrer Linux - Newbie 7 04-20-2005 07:01 PM
Find out which modules are loaded? redneon Linux - General 8 05-25-2004 01:03 PM
how do you find out what modules loaded?? osat3ch Mandriva 3 01-17-2004 11:05 AM
modprobe cant find modules but they are in /lib/modules/'uname blanny Linux - General 15 09-10-2003 12:05 PM
how to find out what modules are in my kernel Culbert Linux - General 5 09-08-2003 11:30 AM


All times are GMT -5. The time now is 04:26 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration