Re: kernel BUG at include/linux/module.h:355!

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

 



On Tuesday 25 September 2007, Talib Alium wrote:
> My driver is getting this error, as a result test application gets a signal
> and is killed.
>
> I am pretty sure that reference count is not zero. Actually I have
>
> try_module_get(THIS_MODULE);
>
> in init_module.
>

Without actually seeing the code or giving more information there is a slim 
chance of somebody being able to help you. 

Did you set the .owner field of your driver's device operations to 
THIS_MODULE?

Also, why do you need to use try_module_get?

tavi

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ


[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