* class/qdisc question
@ 2003-03-18 18:22 Lars Landmark
2003-03-18 22:45 ` James R. Leu
0 siblings, 1 reply; 2+ messages in thread
From: Lars Landmark @ 2003-03-18 18:22 UTC (permalink / raw)
To: netdev
HI;
I am trying to write my own class based queue. But as usual some problems
seems not to be resolved.
I have achieved to send package through my queue. This can be done if I
not attach class or filters. If I do try to attach class or filter, my
computer stops. I can not read any message, nor do anything. My only
choice is to push power button in order to reboot.
My "queue" is compiled as module and if I do "insmod",
it is loaded in to kernel. This operation do not report any error.
[root@lars larslan]# /sbin/insmod sch_kll
Using /lib/modules/2.4.20/kernel/net/sched/sch_kll.o
/sbin/lsmod report
Module Size Used by Not tainted
sch_htb 21088 1
sch_kll 9608 0 (autoclean) (unused)
3c59x 28520 2
When I now configure this module width my patched tc file
************
root@lars iproute2.lars]# ./tc/tc qdisc add dev eth0 root handle 1: kll
default 5
************
output from /sbin/lsmod do not change. It still says used by 0 and
(unused).
I have written som output in every procedyre, and dmesg report that this
procedures are called
*************
[root@lars iproute2.lars]# dmesg
KLL: inne i classify?
KLL: inne i dequeue?
KLL: inne i dequeue?
....
*************
So my question is, how can this happen?
I thought that at once I configure module,
modules usage count would be incremented???
Is there any possibility, that when I attach a filter my computer crash
because kernel do not know kll-module is in use???
I would be very happy if some could tell me what I have been missed...
Any suggestion is appreciated,
Thanks in advance
Lars
Student
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: class/qdisc question
2003-03-18 18:22 class/qdisc question Lars Landmark
@ 2003-03-18 22:45 ` James R. Leu
0 siblings, 0 replies; 2+ messages in thread
From: James R. Leu @ 2003-03-18 22:45 UTC (permalink / raw)
To: Lars Landmark; +Cc: netdev
I suggest moving your development to user-mode-linux, then you can attach
a debugger and track down the location of the lockup.
http://sf.net/projects/user-mode-linux/
On Tue, Mar 18, 2003 at 07:22:08PM +0100, Lars Landmark wrote:
> HI;
>
> I am trying to write my own class based queue. But as usual some problems
> seems not to be resolved.
>
> I have achieved to send package through my queue. This can be done if I
> not attach class or filters. If I do try to attach class or filter, my
> computer stops. I can not read any message, nor do anything. My only
> choice is to push power button in order to reboot.
>
> My "queue" is compiled as module and if I do "insmod",
> it is loaded in to kernel. This operation do not report any error.
>
> [root@lars larslan]# /sbin/insmod sch_kll
> Using /lib/modules/2.4.20/kernel/net/sched/sch_kll.o
>
>
> /sbin/lsmod report
> Module Size Used by Not tainted
> sch_htb 21088 1
> sch_kll 9608 0 (autoclean) (unused)
> 3c59x 28520 2
>
>
> When I now configure this module width my patched tc file
> ************
> root@lars iproute2.lars]# ./tc/tc qdisc add dev eth0 root handle 1: kll
> default 5
> ************
> output from /sbin/lsmod do not change. It still says used by 0 and
> (unused).
>
> I have written som output in every procedyre, and dmesg report that this
> procedures are called
> *************
> [root@lars iproute2.lars]# dmesg
> KLL: inne i classify?
> KLL: inne i dequeue?
> KLL: inne i dequeue?
> ....
> *************
> So my question is, how can this happen?
> I thought that at once I configure module,
> modules usage count would be incremented???
> Is there any possibility, that when I attach a filter my computer crash
> because kernel do not know kll-module is in use???
>
> I would be very happy if some could tell me what I have been missed...
>
> Any suggestion is appreciated,
> Thanks in advance
>
> Lars
> Student
>
>
--
James R. Leu
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2003-03-18 22:45 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-03-18 18:22 class/qdisc question Lars Landmark
2003-03-18 22:45 ` James R. Leu
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).