LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   modprobe: Can't locate module sch_cbq (https://www.linuxquestions.org/questions/linux-networking-3/modprobe-cant-locate-module-sch_cbq-168319/)

JimmyMac 04-09-2004 07:34 PM

modprobe: Can't locate module sch_cbq
 
We have an off-site server that we need to limit the bandwidth on.
We tried out cbq on another server and it worked fine there, so we installed it on the problem server.
"cbq start" produces the following error message:

modprobe: Can't locate module sch_cbq
**CBQ: failed to load module sch_cbq

I did "locate sch_cbq" and got:

/usr/src/linux-2.4.20-30.9/net/sched/sch_cbq.c
/lib/modules/2.4.20-8/kernel/net/sched/sch_cbq.o
/lib/modules/2.4.20-30.9/kernel/net/sched/sch_cbq.o

So I went looking for the Linux source subdirectory so that I could run "Make Menuconfig"

"uname -a" gets this result:

Linux sv122.c-hosting.net 2.4.24 #6 SMP Wed Jan 7 16:33:57 PST 2004 i686 i686 i386 GNU/Linux

but "locate linux-2.4 |less" gives:

/boot/vmlinux-2.4.20-8
/boot/vmlinux-2.4.20-30.9
/usr/libexec/webmin/apache/config-open-linux-2.4
/usr/libexec/webmin/majordomo/config-open-linux-2.4
/usr/src/linux-2.4
/usr/src/linux-2.4.20-30.9
etc .....
/etc/makedev.d/linux-2.4.x

So, no linux-2.4.24 subdirectory.

???????????????????????

cbq is enabled as a module in the linux-2.4.20-30.9 config, (as is QoS) but I don't know if that is the correct subdirectory to do "menuconfig" in.

There is no mention of sch_cbq in menuconfig in the linux-2.4.20-30.9 config.

*******

The most important question is how to get the machine to find sch_cbq so we can run cbq to limit the speed of the server, but when trying to find out information on the configuration of the kernel, I ran into this other problem.

Any suggestions?


All times are GMT -5. The time now is 12:21 PM.