Problem with removing module - rmmod

radkoo
Hi ARM friends,

I have a linux system on my mini2440 with images provided on DVD.
I am trying to insert "mini2440_hello_module.ko" module which sources are
available also on DVD.
I am struggling with two problems:
1.after inserting nothing is printed in console window, I expect "Hello,
Mini2440 module is installed",
2.I can not remove the module.

see below:

[root@FriendlyARM plg]# ls
mini2440_hello_module.ko
[root@FriendlyARM plg]# insmod mini2440_hello_module.ko 
[root@FriendlyARM plg]# lsmod
mini2440_hello_module 564 0 - Live 0xbf000000
[root@FriendlyARM plg]# rmmod mini2440_hello_module.ko 
[root@FriendlyARM plg]# lsmod
mini2440_hello_module 564 0 - Live 0xbf000000

I will appreciate any help,
thanks

Juergen Beisert
Try "rmmod mini2440_hello_module" instead.

radkoo
Hi,

thanks Juergen,

this is really weird, but works, have a look:


[root@FriendlyARM plg]# insmod mini2440_hello_module.ko 
[root@FriendlyARM plg]# lsmod
mini2440_hello_module 564 0 - Live 0xbf000000
[root@FriendlyARM plg]# rmmod "mini2440_hello_module"
rmmod: module 'mini2440_hello_module' not found
[root@FriendlyARM plg]# lsmod
[root@FriendlyARM plg]#