[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[altq 36] Re: Error loading altq_cbq on FreeBSD 3.1
You do not need to kldload a queueing discipline when the discipline
is already built in the kernel.
If you want to dynamically load a discipline, only the following
options are needed.
options ALTQ #alternate queueing
options ALTQ_ACCOUNT #altq accounting
options ALTQ_ECN #ecn extention to tcp
options HZ=1000
-Kenjiro
hlj@brasilnet.net said:
>> Hi
>> I'm new to altq, and installed the altq-1.2 package.
>> After successfully compiled my kernel with the options (i put all of them):
>> options ALTQ #alternate queueing
>> options CBQ #class based queueing
>> options WFQ #weighted fair queueing
>> options FIFOQ #fifo queueing
>> options RED #random early detection
>> options FLOWVALVE #flowvalve for RED (needs RED)
>> options CBQ_RED #red for cbq (needs CBQ and RED)
>> options RIO #twin red for diffserv (needs RED)
>> options CBQ_RIO #rio for cbq (needs CBQ, RIO, RED, CBQ_RED)
>> options LOCALQ #local use
>> options ALTQ_ACCOUNT #altq accounting
>> options ALTQ_ECN #ecn extention to tcp
>> options HZ=1000
>> I just want to use CBQ/RED, and maybe WFQ (not important).
>> Obviously, I compiled the modules!
>> When I rebooted, the following appeared at startup:
>> altq: major number is 96
>> Well, then I tried to load the altq with the kldload and received
>> the following error message ( that i don't know what it means )
>> freebsd# kldload altq_cbq
>> freebsd# Jun 14 14:16:57 freebsd /kernel: module_register_init:
>> module_register(altq_cbq, f0195e14, 0xf0ddc9e4) error 16
>> Jun 14 14:16:57 freebsd /kernel: module_register_init:
>> module_register(altq_cbq, f0195e14, 0xf0ddc9e4) error 16
>> Jun 14 14:16:57 freebsd /kernel: module_register_init:
>> module_register(altq_red, f0195e14, 0xf0ddca2c) error 16
>> Jun 14 14:16:57 freebsd /kernel: module_register_init:
>> module_register(altq_red, f0195e14, 0xf0ddca2c) error 16
>> After this, the kldstatus is the following:
>> freebsd# kldstat
>> Id Refs Address Size Name
>> 1 3 0xf0100000 253eac kernel
>> 2 1 0xf0dc4000 d000 linux.ko
>> 4 1 0xf0dd7000 6000 altq_cbq.ko
>> It "seems" that the module was loaded, but WHAT THE H@#$ MEANS THAT ERROR
>> MESSAGE ?
>> After this, I tested CBQ with some examples. Well, it "seems" that it is
>> working but as it is being not so accurate i ask for help here.
>> Thank you in advance,
>> Helio Luchtenberg Junior
>> hlj@brasilnet.net
>> ----------------------------------
>> E-Mail: hlj@brasilnet.net
>> Date: 14-Jun-99
>> Time: 14:17:20
>> This message was sent by XFMail
>> ----------------------------------