netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "James R. Leu" <jleu@mindspring.com>
To: Lars Landmark <larslan@merete.zapto.org>
Cc: netdev@oss.sgi.com
Subject: Re: class/qdisc question
Date: Tue, 18 Mar 2003 16:45:59 -0600	[thread overview]
Message-ID: <20030318164559.A26154@mindspring.com> (raw)
In-Reply-To: <Pine.LNX.4.44.0303181857500.12317-100000@merete.balder.no>; from larslan@merete.zapto.org on Tue, Mar 18, 2003 at 07:22:08PM +0100

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

      reply	other threads:[~2003-03-18 22:45 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-03-18 18:22 class/qdisc question Lars Landmark
2003-03-18 22:45 ` James R. Leu [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20030318164559.A26154@mindspring.com \
    --to=jleu@mindspring.com \
    --cc=larslan@merete.zapto.org \
    --cc=netdev@oss.sgi.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).