[LARTC] Kernel options for QoS

2003-05-30 Thread 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_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:

[EMAIL PROTECTED] 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/


Re: [LARTC] Kernel options for QoS

2003-05-30 Thread Stef Coene
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

 I've read on this mailing-list that CONFIG_NETLINK doesn't exist
 anymore in 2.4.20 and is not needed to run tc and that
 CONFIG_NETLINK_DEV is not needed either.

 So what can it be ??
This is a kernel + modules problem.  Not a tc problem.

Stef

-- 

[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/