I'm updating a custom omap3-console-image based bitbake recipe to work with kernel version 2.6.39-102, and having trouble getting iptables working.  A year ago, I was able to do this successfully with kernel version 2.6.29.  Now I'm back to where I was last year, where some of the netfilter modules (particularly ip_tables.ko) module aren't included in the image.  Even if all of the netfilter menuconfig entries are set to build directly into the kernel, I get the message "FATAL: Module ip_tables not found" when I run 'iptables -L'.  I'm also troubled by the fact that running modprobe on netfilter modules that ARE included in the generated image results in the error "Invalid module format". 

The steps I use to build the image are:
  1. Build the stock console image: bitbake omap3-console-image
  2. Run menuconfig on the linux-omap3-2.6.39-r102 kernel source: "cd ${OVEROTOP}/tmp/work/overo-angstrom-linux-gnueabi/linux-omap3-2.6.39-r102/git; make menuconfig"
  3. Enable all the netfilter entries, exit and save.
  4. Apply the modified config file: "cp .config ${OVEROTOP}/org.openembedded.dev/recipes/linux/linux-omap3/overo/defconfig"
  5. Re-build the kernel: "cd ${OVEROTOP}; bitbake -c clean virtual/kernel; bitbake virtual/kernel"
  6. Build the custom image: "bitbake overo-custom-image"
  7. Install the image and boot (either via network boot or creating a MicroSD card)
  8. Test iptables support: "iptables -L"

I noticed a post to the mailing list back in April that seemed to indicate that working iptables support could by had with Scott Ellis' minimal image simply by adding 'iptables' to an image recipe's TOOLS_INSTALL (or in my case IMAGE_INSTALL)..  Has anyone had success doing this with the 'normal' overo branch?

Anyone out there who has iptables working with recent kernels?

Best Regards,

Dave Billin

Graduate Research Assistant --MS Computer Engineering
University of Idaho
Moscow, Idaho 83844

e-mail: david.billin@vandals.uidaho.edu