Linux Advanced Routing and Traffic Control list
 help / color / mirror / Atom feed
From: gypsy <gypsy@iswest.com>
To: lartc@vger.kernel.org
Subject: Re: [LARTC] Wondershaper Errors
Date: Sun, 17 Sep 2006 03:55:21 +0000	[thread overview]
Message-ID: <450CC729.E332C12F@iswest.com> (raw)
In-Reply-To: <450C6550.2020101@x-privat.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)}
> + DOWNLINK\x1504
> + [ -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

      reply	other threads:[~2006-09-17  3:55 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-09-16 20:57 [LARTC] Wondershaper Errors Gianluca "acid_burn" D'Andrea
2006-09-17  3:55 ` gypsy [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=450CC729.E332C12F@iswest.com \
    --to=gypsy@iswest.com \
    --cc=lartc@vger.kernel.org \
    /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