Re: [LARTC] Kernel options for QoS

Linux Advanced Routing and Traffic Control

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

 



On Thursday 29 May 2003 22:12, Mathieu MALAISE wrote:
> Hello All,
>
> I'm new to QoS under Linux so please be indulgent
> with the following question.
>
> I try to run tc under Linux 2.4.20, my kernel has the
> following options:
>
> CONFIG_PACKET=y
> # CONFIG_PACKET_MMAP is not set
> CONFIG_NETLINK=y
> CONFIG_NETLINK_DEV=y
> CONFIG_NETFILTER=y
> # CONFIG_NETFILTER_DEBUG is not set
> # CONFIG_FILTER is not set
> CONFIG_UNIX=y
> CONFIG_INET=y
> CONFIG_IP_MULTICAST=y
> CONFIG_IP_ADVANCED_ROUTER=y
> # CONFIG_IP_PNP is not set
> CONFIG_NET_IPIP=m
> # CONFIG_NET_IPGRE is not set
> # CONFIG_IP_MROUTE is not set
> # CONFIG_INET_ECN is not set
> CONFIG_SYN_COOKIES=y
> [...]
> # QoS and/or fair queueing
> #
> CONFIG_NET_SCHED=y
> CONFIG_NET_SCH_CBQ=y
> CONFIG_NET_SCH_HTB=y
> CONFIG_NET_SCH_CSZ=y
> CONFIG_NET_SCH_PRIO=y
> CONFIG_NET_SCH_RED=y
> CONFIG_NET_SCH_SFQ=y
> CONFIG_NET_SCH_TEQL=y
> CONFIG_NET_SCH_TBF=y
> CONFIG_NET_SCH_GRED=y
> CONFIG_NET_SCH_DSMARK=y
> CONFIG_NET_SCH_INGRESS=y
> CONFIG_NET_QOS=y
> CONFIG_NET_ESTIMATOR=y
> # CONFIG_NET_CLS is not set
>
> but when I try to do:
>
> [root@xxxxxxxx]# tc qdisc add dev ppp0 root tbf rate 128kbit latency 50ms
> burst 1540
>
> I get this:
> RTNETLINK answers: Invalid argument
>
> syslog says:
> modprobe: Can't locate module sch_tbf
>
> if I compile it as a module, the module fails to load anyway (some
> unresolved symbols)...
Have you booted from your recompiled kernel?
If not, you are trying to load to module in the wrong kernel and that's why 
you get the inresovled symboles problem.

Stef

-- 

stef.coene@xxxxxxxxx
 "Using Linux as bandwidth manager"
     http://www.docum.org/
     #lartc @ irc.oftc.net



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