newbie struggling with p-o-m in kernel 2.6
Hello. I'm a newbie to patch-o-matic, though comfortable with patching and building my own kernels.
I'm running kernel 2.6.3, and I'd like to install the 'condition' and 'time' extensions to netfilter. But I'm having a really hard time of it. Here's as well as I can figure it right now:
- patch-o-matic, it seems, doesn't work at all with kernel 2.6. I can't find any statement about this on netfilter.org, but someone in a newsgroup said it was so, and when I try to apply patches with p-o-m it fails with complaints about not finding Config.help etc. Shouldn't this be a FAQ?
- I grabbed patch-o-matic-ng-20040302, and tried it. But it won't apply the condition and time patches, because both of them are marked 'linux < 2.6.0'.
So as far as I can tell, right now someone who wants to use the condition and time extensions with kernel 2.6 is just out of luck. Am I right, or is there some other technique that I'm missing? Do we have an ETA for 2.6-compliant condition and time patches?
Also, a couple of minor complaints from a newbie:
- It seems that all of the old patch suite structure is gone, but the docs haven't caught up yet. The Netfilter Extensions HOWTO is very nice, but unfortunately it's no longer accurate. The newbie is left to discover this for himself and guess that where before he would run e.g. './runme extra/condition', the new command is './runme condition'.
- Even though I try to run runme in batch mode, it always asks where my iptables source code is. Looking through the script, there doesn't seem to be an environment variable to set for that.
I realize that p-o-m-ng is a work in progress. Please consider these to be constructive suggestions for improvement.
Longer term, what is the plan for getting all of these useful extensions merged into the main kernel line?
Thanks for your help.
Andrew.
Signature · 1 line
To reply by email, replace "deadspam.com" by "alumni.utexas.net"
Quoted 20 lines · Andrew Schulman
Hello. I'm a newbie to patch-o-matic, though comfortable with patching and building my own kernels.
I'm running kernel 2.6.3, and I'd like to install the 'condition' and 'time' extensions to netfilter. But I'm having a really hard time of it. Here's as well as I can figure it right now:
- patch-o-matic, it seems, doesn't work at all with kernel 2.6. I can't
find any statement about this on netfilter.org, but someone in a newsgroup said it was so, and when I try to apply patches with p-o-m it fails with complaints about not finding Config.help etc. Shouldn't this be a FAQ?- I grabbed patch-o-matic-ng-20040302, and tried it. But it won't apply the condition and time patches, because both of them are marked 'linux < 2.6.0'.
So as far as I can tell, right now someone who wants to use the condition and time extensions with kernel 2.6 is just out of luck. Am I right, or is there some other technique that I'm missing? Do we have an ETA for 2.6-compliant condition and time patches?
Also, a couple of minor complaints from a newbie:
- It seems that all of the old patch suite structure is gone, but the
docs haven't caught up yet. The Netfilter Extensions HOWTO is very nice, but unfortunately it's no longer accurate. The newbie is left to discover this for himself and guess that where before he would run e.g. './runme extra/condition', the new command is './runme condition'.- Even though I try to run runme in batch mode, it always asks where my
iptables source code is. Looking through the script, there doesn't seem to be an environment variable to set for that.
Quoted 7 lines
I realize that p-o-m-ng is a work in progress. Please consider these to be constructive suggestions for improvement.
Longer term, what is the plan for getting all of these useful extensions merged into the main kernel line?
Thanks for your help.
Andrew.
Hi Andrew,
youre right pom-ng is currently under Testing mode watch out the list for statements from the coders Regards
Okay, I've figured out a couple of things.
Quoted 3 lines
- I grabbed patch-o-matic-ng-20040302, and tried it. But it won't apply the condition and time patches, because both of them are marked 'linux < 2.6.0'.
By deleting the line 'Requires: linux < 2.6.0' from the info files for these two parches, I got pom-ng to apply both of them to kernel 2.6.3 with complaint. The kernel then built with no trouble, although the option help texts weren't available in 'make xconfig'. However I haven't tested the modules yet. But it seems that at least these two extensions are close to ready for kernel 2.6.
Quoted 3 lines
- Even though I try to run runme in batch mode, it always asks where my iptables source code is. Looking through the script, there doesn't seem to be an environment variable to set for that.
Looking through the runme script again, I figured out that we have a new option for specifying the kernel and iptables source paths:
--path $KERNEL_DIR:$IPTABLES_DIR
Of course this needs to be documented for the user. And, I should be able to set an environment variable IPTABLES_DIR just as I do KERNEL_DIR, in order to avoid typing the directories on the command line each time.