netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Denys Fedoryschenko <denys@visp.net.lb>
To: Joao Correia <joaomiguelcorreia@gmail.com>
Cc: John Dykstra <john.dykstra1@gmail.com>,
	Jarek Poplawski <jarkao2@gmail.com>,
	linux-kernel@vger.kernel.org, netdev@vger.kernel.org,
	akpm@linux-foundation.org
Subject: Re: some tc commands fail on 2.6.29-rc6-git5, works on 2.6.28.7
Date: Wed, 4 Mar 2009 19:59:57 +0200	[thread overview]
Message-ID: <200903041959.57439.denys@visp.net.lb> (raw)
In-Reply-To: <a5d9929e0903040609x43dbeda9h26a882897a177400@mail.gmail.com>

Maybe good idea to use strace? (i dont know which flags useful, but usually i 
use "-s 65536")
Just maybe it will give a bit more ideas what is happening.
But sure netdev developers can tell, if it is useful or not.

On Wednesday 04 March 2009 16:09:57 Joao Correia wrote:
> Hello
>
> Just to confirm that i also have all traffic control/shaping (QoS,
> connection limits, scheduling, etc) enabled on the config i use.
>
> Its not just the specific version of tc i posted, i tried one from
> last year (october, but i didnt note the exact build) with the same
> result.
>
> Cheers,
> Joao Correia
> Centro de Informatica
> Universidade da Beira Interior
> Portugal
>
> On Wed, Mar 4, 2009 at 2:50 AM, John Dykstra <john.dykstra1@gmail.com> 
wrote:
> > On Tue, 2009-03-03 at 23:10 +0000, Joao Correia wrote:
> >> I have confirmed again that the exact same commands (as on the
> >> original message), work flawlessly on 2.6.28.7 without a hitch, and,
> >> AFAIK, work as intended. I have also tried the latest 2.6.29-rc6-git7
> >> and it still fails like on git6.
> >
> > I have also reproduced this on Linus' latest 2.6.29-rc6 tree, using tc
> > version iproute2-ss071016 and a kernel config with all traffic control
> > features enabled.
> >
> > The error reported by tc comes from the kernel-level check added by:
> >
> >        commit c1b56878fb68e9c14070939ea4537ad4db79ffae
> >        Author: Stephen Hemminger <shemminger@vyatta.com>
> >        Date:   Tue Nov 25 21:14:06 2008 -0800
> >
> >        tc: policing requires a rate estimator
> >
> >    Found that while trying average rate policing, it was possible to
> >    request average rate policing without a rate estimator. This results
> >    in no policing which is harmless but incorrect.
> >
> >    Since policing could be setup in two steps, need to check
> >    in the kernel.
> >
> >    Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
> >    Signed-off-by: David S. Miller <davem@davemloft.net>
> >
> > I got the same error when using the tc version iproute2-ss090115 built
> > this evening from the public git repository.
> >
> >  -- John
>
> --
> To unsubscribe from this list: send the line "unsubscribe netdev" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html



  reply	other threads:[~2009-03-04 18:00 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <a5d9929e0903011636w6bff1032y28ab58c0ff8c8052@mail.gmail.com>
2009-03-02  0:57 ` some tc commands fail on 2.6.29-rc6-git5, works on 2.6.28.7 Andrew Morton
2009-03-02 18:44   ` Jarek Poplawski
2009-03-03 23:10     ` Joao Correia
2009-03-04  0:06       ` Jarek Poplawski
2009-03-04  2:50       ` John Dykstra
2009-03-04 14:09         ` Joao Correia
2009-03-04 17:59           ` Denys Fedoryschenko [this message]
2009-03-04 23:34         ` [PATCH] " Jarek Poplawski
2009-03-05  0:32           ` Joao Correia
2009-03-05  1:38             ` David Miller

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=200903041959.57439.denys@visp.net.lb \
    --to=denys@visp.net.lb \
    --cc=akpm@linux-foundation.org \
    --cc=jarkao2@gmail.com \
    --cc=joaomiguelcorreia@gmail.com \
    --cc=john.dykstra1@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=netdev@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;
as well as URLs for NNTP newsgroup(s).