Re: how to debug RTNETLINK invalid argument?

Linux Advanced Routing and Traffic Control

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




Larry Brigman wrote:
> On 5/23/06, George Nychis <gnychis@xxxxxxx> wrote:
>> Larry Brigman wrote:
>> > On 5/23/06, George Nychis <gnychis@xxxxxxx> wrote:
>> >> Larry Brigman wrote:
>> >> > On 5/23/06, George Nychis <gnychis@xxxxxxx> wrote:
>> >> >> Hey,
>> >> >>
>> >> >> I am getting an invalid argument trying to insert a qdisc:
>> >> >>
>> >> >> [root@emu-5 iproute2]# tc qdisc add dev eth0 root xcp capacity
>> 50Mbit
>> >> >> limit 500
>> >> >> RTNETLINK answers: Invalid argument
>> >> >>
>> >> >> I'm not sure whats wrong here, because i can successfully insert
>> this
>> >> >> qdisc on other computers of mine.
>> >> >>
>> >> >> How can i debug this?
>> >> >>
>> >> > Check to see which kernel versions you have on the boxes that
>> work and
>> >> > the one that
>> >> > does not.  Also check to see if you have the latest version of
>> >> > iproute2 installed on the
>> >> > machine that does not work.
>> >> >
>> >>
>> >> They are both running the exact same kernel and version of iproute2,
>> >> however they are in different environments, what could the environment
>> >> have to do with it?
>> >>
>> > Modules that are not loaded?  modprobe.conf?
>> > lsmod on both boxes looking for specific networking modules.
>> >
>>
>> What modules would qdisc's be dependent on?  The weird thing is, netem
>> works on both machines... therefore I know qdisc's in general are
>> working.  Lets just say its not working on my other machine, how do i go
>> about debugging it on the one machine alone?
>>
> 
> Has the tc command been changed recently from your customized version back
> to the standard release (ie yum running via cron) or your environment
> path changed to
> pick up the wrong tc command?
> 

the tc I am using is the standard tc, i didn't change anything about tc,
only trying to use a new custom qdisc with it... i'm not sure honestly,
theres no way to figure out why i'm getting the invalid argument?
_______________________________________________
LARTC mailing list
LARTC@xxxxxxxxxxxxxxx
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

[Index of Archives]     [LARTC Home Page]     [Netfilter]     [Netfilter Development]     [Network Development]     [Bugtraq]     [GCC Help]     [Yosemite News]     [Linux Kernel]     [Fedora Users]
  Powered by Linux