Kernel options for QoS
Quoted 49 lines · Mathieu MALAISE
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_MMAPis not setCONFIG_NETLINK=yCONFIG_NETLINK_DEV=yCONFIG_NETFILTER=y
#CONFIG_NETFILTER_DEBUGis not set
#CONFIG_FILTERis not setCONFIG_UNIX=yCONFIG_INET=yCONFIG_IP_MULTICAST=yCONFIG_IP_ADVANCED_ROUTER=y
#CONFIG_IP_PNPis not setCONFIG_NET_IPIP=m
#CONFIG_NET_IPGREis not set
#CONFIG_IP_MROUTEis not set
#CONFIG_INET_ECNis not setCONFIG_SYN_COOKIES=y
[...]
# QoS and/or fair queueing
#CONFIG_NET_SCHED=yCONFIG_NET_SCH_CBQ=yCONFIG_NET_SCH_HTB=yCONFIG_NET_SCH_CSZ=yCONFIG_NET_SCH_PRIO=yCONFIG_NET_SCH_RED=yCONFIG_NET_SCH_SFQ=yCONFIG_NET_SCH_TEQL=yCONFIG_NET_SCH_TBF=yCONFIG_NET_SCH_GRED=yCONFIG_NET_SCH_DSMARK=yCONFIG_NET_SCH_INGRESS=yCONFIG_NET_QOS=yCONFIG_NET_ESTIMATOR=y
#CONFIG_NET_CLSis not setbut when I try to do:
[root@mysystem]# tc qdisc add dev ppp0 root tbf rate 128kbit latency 50ms burst 1540
Quoted 8 lines
I get this:
RTNETLINK answers: Invalid argumentsyslog says:
modprobe: Can't locate modulesch_tbfif 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
Signature · 8 lines
[email protected] "Using Linux as bandwidth manager" http://www.docum.org/ #lartc @ irc.oftc.net _______________________________________________ LARTC mailing list / [email protected] http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
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 setCONFIG_NETLINK=yCONFIG_NETLINK_DEV=yCONFIG_NETFILTER=y
# CONFIG_NETFILTER_DEBUG is not set
# CONFIG_FILTER is not setCONFIG_UNIX=yCONFIG_INET=yCONFIG_IP_MULTICAST=yCONFIG_IP_ADVANCED_ROUTER=y
# CONFIG_IP_PNP is not setCONFIG_NET_IPIP=m
# CONFIG_NET_IPGRE is not set
# CONFIG_IP_MROUTE is not set
# CONFIG_INET_ECN is not setCONFIG_SYN_COOKIES=y
[...]
# QoS and/or fair queueing
#CONFIG_NET_SCHED=yCONFIG_NET_SCH_CBQ=yCONFIG_NET_SCH_HTB=yCONFIG_NET_SCH_CSZ=yCONFIG_NET_SCH_PRIO=yCONFIG_NET_SCH_RED=yCONFIG_NET_SCH_SFQ=yCONFIG_NET_SCH_TEQL=yCONFIG_NET_SCH_TBF=yCONFIG_NET_SCH_GRED=yCONFIG_NET_SCH_DSMARK=yCONFIG_NET_SCH_INGRESS=yCONFIG_NET_QOS=yCONFIG_NET_ESTIMATOR=y
# CONFIG_NET_CLS is not set
but when I try to do:
[root@mysystem]# 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)...
Do I miss an option that should be set in the kernel .config file ?
Thanks for your help,
Mathieu.
_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
Quoted 1 line · On Friday 30 May 2003 09:04, [email protected] wrote:
Actually yes, its the new kernel.
If you booted from your new kernel and you can't load the module, recompile everything from scratch and reboot from the kernel again.
cd /usr/src/linux ; make clean oldconfig deb bzImage modules modules_install
Quoted 5 lines
I've read on this mailing-list that
CONFIG_NETLINKdoesn't exist anymore in 2.4.20 and is not needed to run tc and thatCONFIG_NETLINK_DEVis not needed either.So what can it be ??
This is a kernel + modules problem. Not a tc problem.
Stef
Signature · 8 lines
[email protected] "Using Linux as bandwidth manager" http://www.docum.org/ #lartc @ irc.oftc.net _______________________________________________ LARTC mailing list / [email protected] http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/