On 03-06-08 07:07, Adil Mujeeb wrote:

But when i try to get modinfo, its fail to find the module:-

localhost:/home/adil/module/sample # insmod hello-1.ko
localhost:/home/adil/module/sample # modinfo hello-1
modinfo: could not find module hello-1
localhost:/home/adil/module/sample # lsmod | grep hello
hello_1                 1280  0
localhost:/home/adil/module/sample # rmmod hello_1
localhost:/home/adil/module/sample # lsmod | grep hello
localhost:/home/adil/module/sample #

Am i missing anything?

The other reply you got about installing the module is fine as well but note that that is because modinfo works on the file, not on the loaded module. As such, it also works to simply do "modinfo ./hello-1.ko".

Rene.

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to [EMAIL PROTECTED]
Please read the FAQ at http://kernelnewbies.org/FAQ

Reply via email to