insmod error

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

 



hi I wrote a simple kernel module which just calls an function visible in the kernel space i.e.,
init_module (void)
{
 printk("something");
 kernel_func()
}

exit_module() {}

I complied the module and when I 'insmod' it, it gives the error "init_module: Device or resource busy".
The printk works and the kernel func. gets called. But the module dosent get loaded.(checked it with 'lsmod')
Please help.

--
"There are 10 people in the world - those who understand binary and those who dont !"

[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