Help - modprobe

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

 



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/


[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