Re: about cbq

"Steven J. Yellin" <[email protected]> Fri, 24 May 2002 13:57:36 -0700 (PDT)
Newsgroups gmane.linux.redhat.release.zoot
Message-ID <[email protected]>
On Fri, 24 May 2002, admin wrote:

> Hello.
> Tell me about cbq working on RH6.2
> I installed iproute and cbq from rpm, and when i try do cbq start i see 
> the message that it can't locad sch_cbq.o because it is not exists.
> Can i do something without recompile kernel, because i can't do that on 
> remote servers.
> 
    In my computer /lib/modules/2.2.19-6.2.10/misc/sch_cbq.o came from the
kernel-2.2.19-6.2.10 rpm.  It looks like you need to get this file
somehow.  Another way to get it besides replacing your kernel with the one
from kernel-2.2.19-6.2.10, is to get the kernel-source-2.2.19-6.2.10 rpm
and use it to make sch_cbq.o.  It should work to cd to
/usr/src/linux-2.2.19, make a file .config containing the lines

CONFIG_MODULES=y
CONFIG_NET_SCHED=y
CONFIG_NET_SCH_CBQ=m 

and type "make modules" to produce /usr/src/linux-2.2.19/net/sched/sch_cbq.o
which can then be copied to lib/modules/2.2.19-6.2.10/misc/.
Of course you can use a kernel version other than "2.2.19-6.2.10".  


-- 
Steven Yellin