Re: kernel panic: bug in sch_sfq.c

From: Abraham van der Merwe (abz@frogfoot.net)
Date: Tue Mar 11 2003 - 16:19:02 EST


Hi kuznet!

> > Also, if I compile the kernel with all debugging enabled (CONFIG_DEBUG_SLAB,
> > etc) I can reliably trigger the BUG() on line 1263 in mm/slab.c
>
> How does backtrace oops look?

I didn't write down most of the BUG() panics, but here is one (unfortunately
it doesn't have any QoS code in the stack trace):

------------< snip <------< snip <------< snip <------------
root@trillian:~/uni-qos# cat panic.txt
c0192eb1
c0176c8c
c017718c
c0176afa
c010810f
c01082b3
c0105240
c0105240
c0105240
c0105240
c0105263
c01052d2
c0105000
c0105027

0f 0b ef 04 e0 87 1e c0 f7 c5 00 04 00 00 74 36 b8 a5 c2 0f

EIP: 0010:c012642e
ESP: c0221eb4

KERNEL BUG slab.c:1263
root@trillian:~/uni-qos#
------------< snip <------< snip <------< snip <------------

A quick objdump through the kernel's vmlinux image reveals, that the stack
trace above looks as follows:

------------< snip <------< snip <------< snip <------------
c0192eb1 alloc_skb
c0176c8c speedo_refill_rx_buf
c017718c speedo_rx
c0176afa speedo_interrupt
c010810f handle_IRQ_event
c01082b3 do_IRQ
c0105240 default_idle
c0105240 default_idle
c0105240 default_idle
c0105240
c0105263 default_idle
c01052d2 cpu_idle
c0105000 rest_init
c0105027 rest_init
------------< snip <------< snip <------< snip <------------

It crashes when it hits BUG(); in slab.c:

------------< snip <------< snip <------< snip <------------
#if DEBUG
    if (cachep->flags & SLAB_POISON)
        if (kmem_check_poison_obj(cachep, objp))
            BUG();
------------< snip <------< snip <------< snip <------------

-- 

Regards Abraham

Nothing is so often irretrievably missed as a daily opportunity. -- Ebner-Eschenbach

___________________________________________________ Abraham vd Merwe - Frogfoot Networks CC 9 Kinnaird Court, 33 Main Street, Newlands, 7700 Phone: +27 21 686 1674 Cell: +27 82 565 4451 Http: http://www.frogfoot.net/ Email: abz@frogfoot.net


- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sat Mar 15 2003 - 22:00:27 EST