[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[altq 554] Re: open_module() in qop.c
Hi,
Thanks for the info. Now we defined the option in
opt_altq.h and it doesn't build it in the kernel
automatically. Now it gives the following error msg :
ALTQ config file is /home/kkumar/vtrs.conf
kld module altq_vtrs loaded
VTRS open
: Operation not supported by device
syscall error: can't add vtrs on interface 'fxp0'
: Operation not supported by device
Error in /home/kkumar/vtrs.conf, line 1
Config failed. Exiting.
This leads to my earlier suspicion regarding the
xxxxxx.ko file ? I think that the altq_vtrs.ko file is
not correct.. altq_vtrs.ko file doesn't have the
function names etc.. like altq_wfq.ko ? Can you let me
know how we should make altq_xxxx.ko files ? Also
altq_xxx.ko files are significantly larger comapred to
our altq_vtrs.ko file. Something is missing.
Thanks for your time,
Sunil Kumar,
Univ. of Minnesota.
--- Kenjiro Cho <kjc@csl.sony.co.jp> wrote:
>
> 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
__________________________________________________
Do You Yahoo!?
Yahoo! Mail - Free email you can access from anywhere!
http://mail.yahoo.com/