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. 

Now: 
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@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 command.



--
cc:NSA