[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[altq 552] Re: open_module() in qop.c




Kondapally Kumar wrote:
> I am implementing a new queueing scheme. When I do a
> kldload altq_new_scheme, I can verify it thru kldstat.
> But when I execute altqd, it is supposed to load
> altq_new_scheme automatically. I think it does load
> it, since our queueing scheme gets active, but it
> doesn't show in kldstat -v. Am I missing something ? 

I guess it is already built into the kernel and altqd succeeded to
open the device before kldloading the module.

> Also when I see the files /modules/altq_wfq.ko and
> /modules/altq_new_scheme.ko and compare they are
> drastically different (I mean they will be different
> but altq_new_scheme.ko doesn't have the function names
> etc in it, unlike altq_wfq.ko). 
> Is there anything special we should do to get the
> /modules/altq_xxx.ko files ? Please let me know.

Did you set the corrent option in opt_altq.h in the module directory?

-Kenjiro