RE: Help - modprobe

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I think you missed depmod
1) install ...
2) depmod -a       <- Look this up in the man page, I'm not what the
parameter is
3) modprobe hello

d. 

-----Original Message-----
From: kernelnewbies-bounce@nl.linux.org
[mailto:kernelnewbies-bounce@nl.linux.org] On Behalf Of l x
Sent: Saturday, May 15, 2004 7:08 PM
To: kernelnewbies@nl.linux.org
Subject: Help - modprobe


Hi,

I created a module hello.o and could do "insmod hello"
without any problem.

To use modprobe, I do:
(1) #install -m 644 hello.o /lib/modules/`uname -r`/hello_world/

(2) #modprobe hello

But I got an error msg "modprobe: Can't locate module
hello".  But I can see the module file under
/lib/modules/2.4.20-8/hello_world/hello.o

What I missed?

Also, do I have to install a module under
/lib/module/... first if wanting to use modprobe?  Can
I run modprobe to install a module in the current
directory?

Thanks,


T.



	
		
__________________________________
Do you Yahoo!?
SBC Yahoo! - Internet access at a great low price.
http://promo.yahoo.com/sbc/

--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/


--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux