Device or resource busy?

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

 



Hello,

I tried the kernel module programming tutorial (exactly same code) found on the following link:

http://tldp.org/LDP/lkmpg/2.6/html/x121.html

The module was successfully compiled, then used insmod to insert into the kernel.
It was properly listed in /proc/modules.

# cat /proc/modules | less
hello_1 9600 0 [permanent], Live 0xffffffffa0440000 (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 2008 x86_64 GNU/Linux

# cat /proc/version
Linux version 2.6.27-7-generic (buildd@yellow) (gcc version 4.3.2 (Ubuntu 4.3.2-1ubuntu10) ) #1 SMP Fri Oct 24 06:40:41 UTC 2008

Thanks!



      


--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at 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