LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Mandriva (https://www.linuxquestions.org/questions/mandriva-30/)
-   -   Modules question??? (https://www.linuxquestions.org/questions/mandriva-30/modules-question-204069/)

slr 07-12-2004 09:26 AM

Modules question???
 
I'd like to know how is it possible to see which modules are loaded on startup and how can i load others too....
Sorry if it's a dump question but i'm still a n00b... :)

zulfilee 07-12-2004 09:56 AM

I am answering assuming redhat is your distro

But it`ll work in a lot

Type
lsmod

To list modules inserted

dmesg

to see what modules have been inserted at startup and any error in module probe


insmod modulename io=value irq=value

Ex: I use rtl8019 card and to insert it I use

insmod ne io=0x280 irq=5

Where ne.o is the driver used for the card


Also get a copy of kernel hackin for newbies .Good one

Cheers
Z

Other commands useful
lspci
lsdev
pnpdump

slr 07-12-2004 09:58 AM

Actually the distro is Mandrake 10.0 Official...I don't know if that changes anything ...

zulfilee 07-12-2004 10:07 AM

It does
Not for lsmod and dmesg [its the same in mandrake]. Also insmod works


But lspci is pcidrake

and i dont have an equivalent command for lsdev

But you have a very good tool [i think its drakeconf or drake2conf ] a GUI/dialog tool
for checkin what hardware has been configured

Cheers
Z

Sorry I couldnt get hands on the distro at present.


All times are GMT -5. The time now is 05:35 PM.