All of lore.kernel.org
 help / color / mirror / Atom feed
* Re: [LARTC] Kernel options for QoS
@ 2003-05-28 20:54 Stef Coene
  2003-05-29 20:12 ` Mathieu MALAISE
  2003-05-30  7:38 ` Stef Coene
  0 siblings, 2 replies; 3+ messages in thread
From: Stef Coene @ 2003-05-28 20:54 UTC (permalink / raw)
  To: lartc

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@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)...
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@docum.org
 "Using Linux as bandwidth manager"
     http://www.docum.org/
     #lartc @ irc.oftc.net

_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [LARTC] Kernel options for QoS
  2003-05-28 20:54 [LARTC] Kernel options for QoS Stef Coene
@ 2003-05-29 20:12 ` Mathieu MALAISE
  2003-05-30  7:38 ` Stef Coene
  1 sibling, 0 replies; 3+ messages in thread
From: Mathieu MALAISE @ 2003-05-29 20:12 UTC (permalink / raw)
  To: lartc

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@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 / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [LARTC] Kernel options for QoS
  2003-05-28 20:54 [LARTC] Kernel options for QoS Stef Coene
  2003-05-29 20:12 ` Mathieu MALAISE
@ 2003-05-30  7:38 ` Stef Coene
  1 sibling, 0 replies; 3+ messages in thread
From: Stef Coene @ 2003-05-30  7:38 UTC (permalink / raw)
  To: lartc

On Friday 30 May 2003 09:04, mathieu.malaise@etu.utc.fr 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

-- 

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

_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2003-05-30  7:38 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-05-28 20:54 [LARTC] Kernel options for QoS Stef Coene
2003-05-29 20:12 ` Mathieu MALAISE
2003-05-30  7:38 ` Stef Coene

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.