-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, I was searching for few days in this mailing list but I didn''t find how to solve my tc problem. Feel free to ask me more details if you think there are relevant. I''m using a Gentoo 2.4.32-gentoo-r2 and I''m trying to test a *weighted fair queuing* (WFQ) implementation. See http://home.sch.bme.hu/~tusi/wfq/ I patched the kernel and loaded the sch_wfq module, I patched iproute2/tc and compile everything. I tried the command - ------------ # tc qdisc add dev eth0 root handle 1:0 wfq 1 ifspped 12500000 Unknown qdisc "wfq", hence option "1" is unparsable # - ------------ the problem is that tc doesn''t recognize the qdisc wfq. I tried to compile wfq as a module and into the kernel, both gave the same error message. I also check this : - ------------ # tc qdisc add dev eth0 root handle 1:0 cbq bandwidth 100Mbit avpkt 1000 mpu 64 - ------------ and tc works fine !!! I really don''t understand what am I doing wrong???? Everything needed in the kernel is loaded, and when I compile *sch_wfq* as a module, I retry the tc command above (the first one). I had the error mesage, and I see (with lsmod) that the module is "unused". Well, it''s pretty obvious that tc didn''t use it. Any help is needed, thank you in advance. - -- Julien BISCONTI <julien.bisconti@student.fundp.ac.be> M.Sc. student in Computer Science, University of Namur FUNDP, Belgium -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.2 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFEMCheT4AXxTE7uXcRAr9dAJ9/y60SIhegqE7v400MofKYvsrn8gCgp5w7 CNbQJlUvK08CyQNlfjx7qc0=LzWe -----END PGP SIGNATURE-----
Julien Bisconti wrote:> Hi, > > I was searching for few days in this mailing list but I didn''t find how to solve my tc problem. > Feel free to ask me more details if you think there are relevant. > > I''m using a Gentoo 2.4.32-gentoo-r2 and I''m trying to test a *weighted fair queuing* (WFQ) > implementation. See http://home.sch.bme.hu/~tusi/wfq/ > > I patched the kernel and loaded the sch_wfq module, I patched iproute2/tc and compile everything.I think you will find that the patch to iproute2 is too old. The iproute used to create it has a date in year 2000 and iproute2 has changed substantially since then. I suggest you contact the author and request a new patch. -- gypsy
gypsy wrote:> Julien Bisconti wrote: >> Hi, >> >> I was searching for few days in this mailing list but I didn''t find how to solve my tc problem. >> Feel free to ask me more details if you think there are relevant. >> >> I''m using a Gentoo 2.4.32-gentoo-r2 and I''m trying to test a *weighted fair queuing* (WFQ) >> implementation. See http://home.sch.bme.hu/~tusi/wfq/ >> >> I patched the kernel and loaded the sch_wfq module, I patched iproute2/tc and compile everything. > > I think you will find that the patch to iproute2 is too old. The > iproute used to create it has a date in year 2000 and iproute2 has > changed substantially since then.Thank you so MUCH!!!> > I suggest you contact the author and request a new patch.I sent him email but no reply so far. I think I''m going to do it by myself. Thank you again. Julien> -- > gypsy > >-- Julien BISCONTI <julien.bisconti@student.fundp.ac.be> M.Sc. student in Computer Science, University of Namur FUNDP, Belgium
On Mon, 03 Apr 2006 09:25:04 +0200 Julien Bisconti <jbiscont@info.fundp.ac.be> wrote:> > > gypsy wrote: > > Julien Bisconti wrote: > >> Hi, > >> > >> I was searching for few days in this mailing list but I didn''t find how to solve my tc problem. > >> Feel free to ask me more details if you think there are relevant. > >> > >> I''m using a Gentoo 2.4.32-gentoo-r2 and I''m trying to test a *weighted fair queuing* (WFQ) > >> implementation. See http://home.sch.bme.hu/~tusi/wfq/ > >> > >> I patched the kernel and loaded the sch_wfq module, I patched iproute2/tc and compile everything. > > > > I think you will find that the patch to iproute2 is too old. The > > iproute used to create it has a date in year 2000 and iproute2 has > > changed substantially since then. > > Thank you so MUCH!!! > > > > > I suggest you contact the author and request a new patch. > > I sent him email but no reply so far. I think I''m going to do it by myself. > > Thank you again. > > JulienAlso, since tc supports shared libraries for additional queue disciplines. You could set it up to build a .so and put in /usr/lib/tc. Then you wouldn''t need to rebuild all of iproute2.