[PLUG] IMQ Kernel Patch

Dave Scott dave at ohga.org
Thu Apr 1 17:27:02 UTC 2004


I started from scratch with good luck but the thing still won't see imq.

I downloaded fresh kernel source 2.4.25
I patched this source with linux-2.4.24-imq.diff
I downloaded iptables-1.2.6a
I patched this source with iptables-1.2.6a-imq.diff-3
I ran patch-o-matic and added IMQ
I compiled the kernel with options for - IMQ target support > IMQ  and 
Network device support > IMQ
rebooted with new kernel
chmod +x extensions/.IMQ-test* in the iptables source directory
ran a make and make install to install the new iptables. it installed fine.
iptables -V = v1.2.6a

I also compiled kernel with full QoS support and most of the networking 
options.

Now, when I attempt to attach the imq0 device to the qdisc it shoots 
back this error. > Cannot find device "imq0"

qdisc works just fine with htb but still no imq.

Any ideas here? Thanks a bunch.

-dave




Technoumena wrote:

>Dave Scott wrote:
>  
>
>>Yes, I have CONFIG_NETFILTER set.
>>    
>>
>
>  
>
>>From what I understand, I need to apply two patches.
>>the first one  (kernel patch) I found at
>>http://www.linuximq.net/
>>It's labeled for 2.4.24, or 2.4.25.  This is the
>>one I applied to kernel sources.
>>    
>>
>
>  
>
>>Now the confusing part, they say I need to
>>patch my iptables , since I am using a package
>>from Debian, I'm not sure how to do this, I'm 
>>guessing I need this iptables patch in place
>>before the IMQ options will show in menuconfig.
>>    
>>
>
>iptables provides a module and a userspace interface
>for configuring netfilter.  While you need the kernel
>hooks that CONFIG_NETFILTER provides, the kernel
>should be fully buildable independent of the iptables
>source package.  You would need the patched iptables
>though as the IMQ patch basically extends the
>netfilter/iptables system.
>
>With Debian it might be best to just 'apt-get remove
>iptables' and then download the 1.2.6a version of
>iptables from
>http://www.netfilter.org/files/iptables-1.2.6a.tar.bz2
>, patch, build and install it.  I couldn't find an IMQ
>patched version in the apt-get repos but you might
>have more luck.
>
>Now the way the IMQ options are missing in the kernel
>configuration menus is interesting.  Check
>linux/drivers/net/Config.in for references to IMQ. 
>You could also check for the presence of
>linux/drivers/net/imq.c.  If nothing turns up in a
>'grep -r IMQ *' in your linux source directory
>something apparently went wrong with the patch.
>
>Good luck.
>
>Regards,
>Technoumena
>
>
>__________________________________
>Do you Yahoo!?
>Yahoo! Small Business $15K Web Design Giveaway 
>http://promotions.yahoo.com/design_giveaway/
>
>_______________________________________________
>PLUG mailing list
>PLUG at lists.pdxlinux.org
>http://lists.pdxlinux.org/mailman/listinfo/plug
>
>
>  
>





More information about the PLUG mailing list