Hi, I use tc to shape my internet traffic with linux Debian on a i386 box. (I want to give lowest priority at napster, edonkey, and all parasit flow). I think that i have a good kernel configuration because i put all QoS and networking option in module state. All ip command run correctly, and tc qdisc and class too. But ! 1 - When i make a depmod i have : depmod: *** Unresolved symbols in /lib/modules/2.4.19/kernel/net/sched/cls_fw.o depmod: *** Unresolved symbols in /lib/modules/2.4.19/kernel/net/sched/cls_route.o depmod: *** Unresolved symbols in /lib/modules/2.4.19/kernel/net/sched/cls_rsvp.o depmod: *** Unresolved symbols in /lib/modules/2.4.19/kernel/net/sched/cls_rsvp6.o depmod: *** Unresolved symbols in /lib/modules/2.4.19/kernel/net/sched/cls_tcindex.o depmod: *** Unresolved symbols in /lib/modules/2.4.19/kernel/net/sched/cls_u32.o 2 - When i make a tc filter add dev eth1 parent 1:0 protocol ip handle 1 fw classid 1:1 it says me : RTNETLINK answers: Invalid argument I try a lot of combination and syntax but nothing to do ... i always have Invalid Argument as response. Of course, i have already configured a qdisc and the classes. Does somebody have any ideas ? Thanks for all. Emmanuel Khamissian. _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
On Wednesday 06 November 2002 16:37, Emmanuel Khamissian wrote:> Hi, > > I use tc to shape my internet traffic with linux Debian on a i386 box. > (I want to give lowest priority at napster, edonkey, and all parasit > flow). > I think that i have a good kernel configuration because i put all QoS > and networking option in module state. > > All ip command run correctly, and tc qdisc and class too. > > But ! > 1 - When i make a depmod i have : > > depmod: *** Unresolved symbols in > /lib/modules/2.4.19/kernel/net/sched/cls_fw.o > depmod: *** Unresolved symbols in > /lib/modules/2.4.19/kernel/net/sched/cls_route.o > depmod: *** Unresolved symbols in > /lib/modules/2.4.19/kernel/net/sched/cls_rsvp.o > depmod: *** Unresolved symbols in > /lib/modules/2.4.19/kernel/net/sched/cls_rsvp6.o > depmod: *** Unresolved symbols in > /lib/modules/2.4.19/kernel/net/sched/cls_tcindex.o > depmod: *** Unresolved symbols in > /lib/modules/2.4.19/kernel/net/sched/cls_u32.o > > 2 - When i make a > tc filter add dev eth1 parent 1:0 protocol ip handle 1 fw classid 1:1 > it says me : > RTNETLINK answers: Invalid argument > > I try a lot of combination and syntax but nothing to do ... i always > have Invalid Argument as response. > > Of course, i have already configured a qdisc and the classes. > > Does somebody have any ideas ?Yes. You have problems with the modules as you can see in 1 so the commands in 2 are failing because the needed module can not be loaded. Solution : recompile the kernel + modules so they match. Before you compile, do "make clean" so all old compiled files are gone. Stef -- stef.coene@docum.org "Using Linux as bandwidth manager" http://www.docum.org/ #lartc @ irc.oftc.net _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
> RTNETLINK answers: Invalid argumentPossibly you have a mismatch between the tc binary and the kernel module version. Look in the messages file, or wherever you have kernel log messages go. It will report the versions and the reason for the error. Then build tc against the headers from the kernel code you are running. While there is a tc binary out there, it may not (probably isn''t) built against the headers your kernel code was built with, and so the structures passed between the two don''t match. _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/