* error : unable to register queue handler
@ 2005-08-14 10:11 Abhishek Misra
2005-08-16 16:40 ` Jan Engelhardt
0 siblings, 1 reply; 4+ messages in thread
From: Abhishek Misra @ 2005-08-14 10:11 UTC (permalink / raw)
To: netfilter-devel
hello,
I am having problem with inserting a module . It has compiled well but on
insertion (insmod) error message "failed to register queue handler" is
displayed.
the functiong call used is
nf_register_queue_handler(PF_INET,ipq_enquepacket,NULL);
i expect that the code is corect as it was working earlier . recently my
system had crashed and i had to reinstall linux. I have tried a lot with
kernel configuration (make menuconfig) but it did not help.
please let me know to fix this.
Thank You
Abhishek Misra
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: error : unable to register queue handler
2005-08-14 10:11 Abhishek Misra
@ 2005-08-16 16:40 ` Jan Engelhardt
2005-08-16 16:45 ` Patrick McHardy
0 siblings, 1 reply; 4+ messages in thread
From: Jan Engelhardt @ 2005-08-16 16:40 UTC (permalink / raw)
To: Abhishek Misra; +Cc: netfilter-devel
>I am having problem with inserting a module . It has compiled well but on
>insertion (insmod) error message "failed to register queue handler" is
(modprobe)!
Jan Engelhardt
--
| Alphagate Systems, http://alphagate.hopto.org/
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: error : unable to register queue handler
2005-08-16 16:40 ` Jan Engelhardt
@ 2005-08-16 16:45 ` Patrick McHardy
0 siblings, 0 replies; 4+ messages in thread
From: Patrick McHardy @ 2005-08-16 16:45 UTC (permalink / raw)
To: Jan Engelhardt; +Cc: netfilter-devel
Jan Engelhardt wrote:
>>I am having problem with inserting a module . It has compiled well but on
>>insertion (insmod) error message "failed to register queue handler" is
>
> (modprobe)!
There can be only one queue handler for each protocol. so the solution
is to make sure no other modules have registered. Most likely you
need to disable ip_queue.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: error : unable to register queue handler
@ 2005-08-16 17:20 Duncan Godfrey
0 siblings, 0 replies; 4+ messages in thread
From: Duncan Godfrey @ 2005-08-16 17:20 UTC (permalink / raw)
To: jengelh; +Cc: netfilter-devel
I don't know if this will be of any help to you but I have these two
scripts for inserting my Netfilter module called ker2...
You run the first one after you have (re)compiled the module and then
the second one whenever you want to use it.
Duncan
#!/bin/sh
install -m 644 ker2.ko /lib/modules/`uname -r`/kernel/drivers/ker2.ko
/sbin/depmod -a
--------------------------------------------------------------------------------------------------------------------------
#!/bin/sh
/sbin/modprobe iptable_filter
/sbin/modprobe ip_queue
/sbin/modprobe ker2
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2005-08-16 17:20 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-08-16 17:20 error : unable to register queue handler Duncan Godfrey
-- strict thread matches above, loose matches on Subject: below --
2005-08-14 10:11 Abhishek Misra
2005-08-16 16:40 ` Jan Engelhardt
2005-08-16 16:45 ` Patrick McHardy
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.