From mboxrd@z Thu Jan 1 00:00:00 1970 From: gypsy Date: Sun, 17 Sep 2006 03:55:21 +0000 Subject: Re: [LARTC] Wondershaper Errors Message-Id: <450CC729.E332C12F@iswest.com> List-Id: References: <450C6550.2020101@x-privat.org> In-Reply-To: <450C6550.2020101@x-privat.org> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: lartc@vger.kernel.org Gianluca \"acid_burn\" D'Andrea wrote: > > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Hi all! > > when I activate wondershaper on my dsl connection (pppoa vc mux), i get > three errors: > > # sh -x /usr/sbin/wshaper ppp0 > + /usr/sbin/xmlstarter setenv tc_downlink > + DOWNLINK> + /usr/sbin/xmlstarter setenv tc_uplink > + UPLINK> + [ -z ] > + cat /proc/avalanche/avsar_modem_stats > + grep Connection Rate > + awk {printf("%d", $8)} > + DOWNLINK04 > + [ -z ] > + cat /proc/avalanche/avsar_modem_stats > + grep Connection Rate > + awk {printf("%d", $4)} > + UPLINK20 > + DEV=ppp0 > + /usr/sbin/xmlstarter setenv tc_hipriohostsrc > + HIPRIOHOSTSRC> + /usr/sbin/xmlstarter setenv tc_hipriohostdst > + HIPRIOHOSTDST> + /usr/sbin/xmlstarter setenv tc_hiprioportsrc > + HIPRIOPORTSRC> + /usr/sbin/xmlstarter setenv tc_hiprioportdst > + HIPRIOPORTDST> + /usr/sbin/xmlstarter setenv tc_nopriohostsrc > + NOPRIOHOSTSRC> + /usr/sbin/xmlstarter setenv tc_nopriohostdst > + NOPRIOHOSTDST> + /usr/sbin/xmlstarter setenv tc_noprioportsrc > + NOPRIOPORTSRC> + /usr/sbin/xmlstarter setenv tc_noprioportdst > + NOPRIOPORTDST> + [ ppp0 = status ] > + [ ppp0 = stop ] > + tc qdisc del dev ppp0 root > + tc qdisc del dev ppp0 ingress > + tc qdisc add dev ppp0 root handle 1: htb default 20 > + tc class add dev ppp0 parent 1: classid 1:1 htb rate 320kbit burst 6k > + tc class add dev ppp0 parent 1:1 classid 1:10 htb rate 320kbit burst > 6k prio 1+ tc class add dev ppp0 parent 1:1 classid 1:20 htb rate > 288kbit burst 6k prio 2+ tc class add dev ppp0 parent 1:1 classid 1:30 > htb rate 256kbit burst 6k prio 2+ tc qdisc add dev ppp0 parent 1:10 > handle 10: sfq perturb 10 > RTNETLINK answers: Invalid argument <----- 1'st error ------ > + tc qdisc add dev ppp0 parent 1:20 handle 20: sfq perturb 10 > RTNETLINK answers: Invalid argument <----- 2'nd error ------ > + tc qdisc add dev ppp0 parent 1:30 handle 30: sfq perturb 10 > RTNETLINK answers: Invalid argument <----- 3'rd error ------ It looks like you don't have sfq. Check your kernel config and /lib/modules/$VERSION/net/sched/sch_sfq.o since sfq is normally built as a module. tc needs sfq too. -- gypsy _______________________________________________ LARTC mailing list LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc