About Diffserv on linux!
Hello,
This is a question about diffserv on linux. We know, there is a file sch_dsmark in
linux source code. Now, i want to add something in the function dsmark_enqueue, for
example, i want to add a function which can add a class and queue automately in dsmark_enqueue. That is, not using the command tc. After adding one, it works well, but
when add the second one, there is a kernel panic:
kernel BUG at slab.c: 1128
Kernel panic: Aiee, killing interrupt handler!
In interrupt handler -not syncing.
I am wondering whether i add something in the interrupt handler, but i have not find it.
Oh, can anyone tell me?
Thanks
Zhenyu
_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
Quoted 12 lines · Zhenyu Wu
Hello,
This is a question about diffserv on linux. We know, there is a file
sch_dsmarkinlinux source code. Now, i want to add something in the function
dsmark_enqueue, for
example, i want to add a function which can add a class and queue automately indsmark_enqueue. That is, not using the command tc. After adding one, it works well, but
when add the second one, there is a kernel panic:kernel BUG at
slab.c: 1128
Quoted 8 lines
Kernel panic: Aiee, killing interrupt handler!In interrupt handler -not syncing.
I am wondering whether i add something in the interrupt handler, but i have not find it.
Oh, can anyone tell me?
Thanks
Zhenyu
Which kernel are you using? 2.6.8.1 needs patching.
Andy.
_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
Hello,
My linux kernel is 2.4.20. I think it is not because of the kernel version. In fact, I am confused on whether the dsmark_enqueue() is in interrupt indeed when it is called, do you know? But it seems isn't the case as i can add the class and the queue at first time. Can you tell me if we add a qdisc (such as cbq) and a queue (such as gred), whether there will be any interrupts? I am just thinking now, as the kernel panic at the second adding, maybe there are interrupts after we add qdiscs. If looking up the slab.c and its line 1128, we can find there is a check in_interrupt().
Thank you very much!
Merry Christmas!
Zhenyu Wu
Quoted 10 lines
From: Andy Furniss <[email protected]>
Reply-To:
To: Zhenyu Wu <[email protected]>
Subject: Re: [LARTC] About Diffserv on linux!
Date:Thu, 23 Dec 2004 12:40:05 +0000Quoted 3 lines · Zhenyu Wu
Hello,
This is a question about diffserv on linux. We know, there is a file
sch_dsmark in
Quoted 2 lines
Quoted 2 lines
linux source code. Now, i want to add something in the function
dsmark_enqueue,
Quoted 2 lines
Quoted 2 lines
for
example, i want to add a function which can add a class and queue automately
in
Quoted 9 lines
Quoted 9 lines
dsmark_enqueue. That is, not using the command tc. After adding one, it works well, but
when add the second one, there is a kernel panic:kernel BUG at
slab.c: 1128Kernel panic: Aiee, killing interrupt handler!In interrupt handler -not syncing.
I am wondering whether i add something in the interrupt handler, but i have
not
Quoted 11 lines
Quoted 4 lines
find it.
Oh, can anyone tell me?
Thanks
ZhenyuWhich kernel are you using? 2.6.8.1 needs patching.
Andy.
_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
Quoted 10 lines · Zhenyu Wu
Hello,
My linux kernel is 2.4.20. I think it is not because of the kernel version. In fact, I am confused on whether the
dsmark_enqueue()is in interrupt indeed when it is called, do you know? But it seems isn't the case as i can add the class and the queue at first time. Can you tell me if we add a qdisc (such as cbq) and a queue (such as gred), whether there will be any interrupts? I am just thinking now, as the kernel panic at the second adding, maybe there are interrupts after we add qdiscs. If looking up theslab.cand its line 1128, we can find there is a checkin_interrupt().
Ahh OK - I don't know about the interrupts. Maybe you could ask on netdev/netfilterdev.
Andy.
_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/