Skip to contentSkip to conversation

Failed to insmod sch_htb

LARTC D. Gregory 2 participants 3 messages Mar 18, 2002 – Mar 19, 2002

lore
Share & tools
lore

D. Gregory

author
#0 lore raw

Hi,
I'm new to HTB and CBQ, and i want to try it.
But i failed the first step: load modules.
I patch the kernel 2.4.17 succesfully, add QoS support, and all QoS scheds in modules instead off kernel. make clean dep bzImage modules modules_install copy the new kernel
reboot
fine

But when i :

server:~# insmod sch_htb
Using /lib/modules/2.4.17/kernel/net/sched/sch_htb.o
/lib/modules/2.4.17/kernel/net/sched/sch_htb.o: unresolved symbol
qdisc_get_rtab/lib/modules/2.4.17/kernel/net/sched/sch_htb.o:
unresolved symbol
unregister_qdisc/lib/modules/2.4.17/kernel/net/sched/sch_htb.o:
unresolved symbol
qdisc_put_rtab/lib/modules/2.4.17/kernel/net/sched/sch_htb.o:
unresolved symbol
register_qdisc/lib/modules/2.4.17/kernel/net/sched/sch_htb.o:
unresolved symbol
pfifo_qdisc_ops/lib/modules/2.4.17/kernel/net/sched/sch_htb.o:
unresolved symbol qdisc_kill_estimator
server:~# grep qdisc_get_rtab /boot/System.map
c01f4ecc T qdisc_get_rtab
c0286a20 ? __kstrtab_qdisc_get_rtab
c028ad20 ? __ksymtab_qdisc_get_rtab

Where is the problem ??
(i will try with all scheds _in_ the kernel)
--
Grégory Duchatelet
_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

#1 lore raw

Seems like if you booted the old kernel. grep qdisc_get_rtab /boot/System.map doesn't assure it for you. Try grep qdisc_get_rtab /proc/ksyms
to be sure you are running new one.
devik

Quoted 30 lines · D. Gregory

Hi,
I'm new to HTB and CBQ, and i want to try it.
But i failed the first step: load modules.
I patch the kernel 2.4.17 succesfully, add QoS support, and all QoS scheds in modules instead off kernel. make clean dep bzImage modules modules_install copy the new kernel
reboot
fine

But when i :

server:~# insmod sch_htb
Using /lib/modules/2.4.17/kernel/net/sched/sch_htb.o
/lib/modules/2.4.17/kernel/net/sched/sch_htb.o: unresolved symbol
qdisc_get_rtab/lib/modules/2.4.17/kernel/net/sched/sch_htb.o:
unresolved symbol
unregister_qdisc/lib/modules/2.4.17/kernel/net/sched/sch_htb.o:
unresolved symbol
qdisc_put_rtab/lib/modules/2.4.17/kernel/net/sched/sch_htb.o:
unresolved symbol
register_qdisc/lib/modules/2.4.17/kernel/net/sched/sch_htb.o:
unresolved symbol
pfifo_qdisc_ops/lib/modules/2.4.17/kernel/net/sched/sch_htb.o:
unresolved symbol qdisc_kill_estimator
server:~# grep qdisc_get_rtab /boot/System.map
c01f4ecc T qdisc_get_rtab
c0286a20 ? __kstrtab_qdisc_get_rtab
c028ad20 ? __ksymtab_qdisc_get_rtab
Quoted 9 lines

Where is the problem ??
(i will try with all scheds _in_ the kernel)
--
Grégory Duchatelet
_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

author
#2 lore raw
In reply to D. Gregory
Quoted 5 lines · On Mon, 18 Mar 2002 19:33:27 +0100 (CET) Martin Devera <[email protected]> wrote:

Seems like if you booted the old kernel. grep qdisc_get_rtab /boot/System.map doesn't assure it for you. Try grep qdisc_get_rtab /proc/ksyms
to be sure you are running new one.
devik

OK.
I try with scheds compiled in the kernel: it works. Now i have to make my rules :)

thx.

--
Greg
_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/