On Wed, Feb 15, 2006 at 01:21:44PM -0800, Arun Srinivasan wrote: > 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. You didn't return 0 from the init_module function. thanks, greg k-h -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/