Skip to contentSkip to conversation

error : unable to register queue handler

DISCUSSION Abhishek Misra 3 participants 3 messages Aug 14, 2005 – Aug 16, 2005 netfilter

lore
Share & tools
lore
#0 lore raw

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

#1 lore raw
Quoted 3 lines

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

Signature · 1 line
| Alphagate Systems, http://alphagate.hopto.org/
#2 lore raw
Quoted 4 lines · Jan Engelhardt
Quoted 2 lines

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.