getting seg fault while rmmod
I have writen a kernel module which is safely insered into the kernel. But while removing the module from the kernel i couldnt remove the module. it gives an ERROR as below:
[jyothil@jyothi udp]$ sudo /sbin/rmmod ibm.ko
ERROR: Removing 'ibm': Device or resource busy
also first time it shows "Segmentaion fault".
The thing is that :
I am using udp port 8001 in kernel to listen data. same time iam runnig one application server program which listens on 8001 port and i am running this application also at the same time. If i dont run this application programm it works fine.
Could anybody clear my doubt....why is this colliding?