Re: Can't cleanly unload driver

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

 



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@xxxxxx> 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
_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

[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