[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: BUG()
What could (kinds of things) cause this ? since my driver (module) ran fine
before I added some code to it. This bug is only hit when I stress my driver.
Apart from adding some if/thens I am creating threads under certain condition.
The threads exit after doing there work.
In nullshell, what I kind of stuff Ishould look for ? Any insights ?
Usman
--- Ravi K <kravi26@yahoo.com> wrote:
>
> Looks like kmalloc() is being called from an interrupt context, but without
> specifying GFP_ATOMIC.
>
> -Ravi.
>
> --- "Usman S. Ansari" <uansari@yahoo.com> wrote:
> > I am getting following error, in a kernel module. This is running Redhat
> > 7.1.
> >
> > kgdb assertion failed: BUG
> >
> > Program received signal SIGTRAP, Trace/breakpoint
> > trap.
> > 0xc012be40 in kmem_cache_grow (cachep=0xc1893188,
> > flags=7) at slab.c:1095
> > 1095 BUG();
> > (gdb)
> >
> > what kind of things to llok for (which is creating this condition).
> >
> > Usman
__________________________________________________
Do You Yahoo!?
Send FREE video emails in Yahoo! Mail!
http://promo.yahoo.com/videomail/
--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive: http://mail.nl.linux.org/kernelnewbies/
IRC Channel: irc.openprojects.net / #kernelnewbies
Web Page: http://www.kernelnewbies.org/