On Mon, May 18, 2009 at 3:21 AM, Vipul Jain wrote:
> Hello Everyone,
>
> I have written a simple hello world kernel module which compiles fine but
> when I try to load
> it using insmod I am getting the following error:
>
> insmod: error inserting './cdd.ko
Hello Everyone,
I have written a simple hello world kernel module which compiles fine but
when I try to load
it using insmod I am getting the following error:
insmod: error inserting './cdd.ko': -1 Device or resource busy
I was wondering if some body can please tell me w
My mistake! :)
Thanks!
- Original Message
From: Chaitanya
The function name is "cleanup_module" _not_ "clean_module"
--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecar...@nl.linux.org
Please read the FAQ at http://kernelnewbies.org/FAQ
0 [permanent], Live 0xa044 (P)
>
> But when I tried removing the module,
>
> # rmmod -f hello-1
> ERROR: Removing 'hello_1': Device or resource busy
>
> How should I fix this?
>
> Other useful info:
> # uname -a
> Linux mypc 2.6.27-7-ge
| less
hello_1 9600 0 [permanent], Live 0xa044 (P)
But when I tried removing the module,
# rmmod -f hello-1
ERROR: Removing 'hello_1': Device or resource busy
How should I fix this?
Other useful info:
# uname -a
Linux mypc 2.6.27-7-generic #1 SMP Fri Oct 24 06:40:41 UTC 2