Can't cleanly unload driver
eric.fowler at gmail.com
Fri Dec 27 22:33:50 EST 2013
I suspect I am doing something wrong in the code with
register/unregister_chrdev(), but I have been over that code a million
times. It looks fine.
insmod the device, OK
rmmod the device, OK
Check /proc/devices , device # is present
insmod the device again, fails with ERROR: could not insert module
./foobar.ko: Device or resource busy
On Fri, Dec 27, 2013 at 6:59 PM, <Valdis.Kletnieks at vt.edu> wrote:
> On Fri, 27 Dec 2013 16:10:43 -0800, Eric Fowler said:
> > I have checked that and the problem persists.
> I see insmod and rmmod - but no lsmod output. Not ls, lsmod. Different
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Kernelnewbies