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

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

 



Avishay Traeger <atraeger@xxxxxxxxxxxxx> wrote:
On Tue, 2007-09-25 at 17:10 -0700, Talib Alium wrote:
> 2.6.11. I know it is old, but I need to understand reason behind it.
>
> Talib

Please don't top-post.

I still can't find the BUG you're referring to. In 2.6.11, module.h,
line 355, I have:
void symbol_put_addr(void *addr);

Sorry about top posting and sorry about giving you half information. This is Fedora Core IV running 2.6.11-1.1369_FC4smp kernel.

/* Sometimes we know we already have a refcount, and it's easier not
   to handle the error case (which only happens with rmmod --wait). */
static inline void __module_get(struct module *module)
{
    if (module) {
        BUG_ON(module_refcount(module) == 0); <-------------------- line 355
        local_inc(&module->ref[get_cpu()].count);
        put_cpu();
    }
}

[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