All of lore.kernel.org
 help / color / mirror / Atom feed
* Pom patch error
@ 2006-06-22 12:17 Ali Ozaltin
  0 siblings, 0 replies; 6+ messages in thread
From: Ali Ozaltin @ 2006-06-22 12:17 UTC (permalink / raw)
  To: netfilter

Hello ,
How can i install patch-o-matic on  2.6.9-34.0.1.Elsmp kernel version ? When
i try ./runme pending its giving this error messages ;
Do you want to apply this patch [N/y/t/f/a/r/b/w/q/?] y
Testing patch submitted/01_2.4.19.patch...
Warning - no help text file could be found in either
/usr/src/kernels/2.6.9-34.0.1.EL-smp-i686/net/ipv4/netfilter/Config.help
or /usr/src/kernels/2.6.9-34.0.1.EL-smp-i686/Documentation/Configure.help
Failed to patch copy of /usr/src/kernels/2.6.9-34.0.1.EL-smp-i686
TEST FAILED: patch NOT applied.
[Press enter to continue]
What can i do ? pls help
Installed OS: CentOS 4.3




^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Pom patch error
       [not found] <20060622120928.8174E699BF@smtp.sterenborg.info>
@ 2006-06-22 13:16 ` Rob Sterenborg
  2006-06-22 13:44   ` Ali Ozaltin
                     ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Rob Sterenborg @ 2006-06-22 13:16 UTC (permalink / raw)
  To: netfilter

On Thu, June 22, 2006 14:17, Ali Ozaltin wrote:
> Hello ,
> How can i install patch-o-matic on �2.6.9-34.0.1.Elsmp kernel version ? When

This is probably a CentOS kernel ?

> i try ./runme pending its giving this error messages ; Do you want to apply
> this patch [N/y/t/f/a/r/b/w/q/?] y Testing patch submitted/01_2.4.19.patch...

Maybe I'm reading this wrong, but if not then I think it's strange that POM
tries to use a 2.4.29 patch on a 2.6.9 kernel.
Btw, what is the exact commandline that you use to execute "runme"?

> Warning - no help text file could be found in either
> /usr/src/kernels/2.6.9-34.0.1.EL-smp-i686/net/ipv4/netfilter/Config.help
> or /usr/src/kernels/2.6.9-34.0.1.EL-smp-i686/Documentation/Configure.help
> Failed to patch copy of /usr/src/kernels/2.6.9-34.0.1.EL-smp-i686
> TEST FAILED: patch NOT applied.
> [Press enter to continue]
> What can i do ? pls help
> Installed OS: CentOS 4.3

It could be that this kernel has been modified by CentOS. POM should be
working on a vanilla kernel from kernel.org so you could try using one of
those.


Gr,
Rob




^ permalink raw reply	[flat|nested] 6+ messages in thread

* RE: Pom patch error
  2006-06-22 13:16 ` Pom patch error Rob Sterenborg
@ 2006-06-22 13:44   ` Ali Ozaltin
       [not found]   ` <20060622133409.445E7699BF@smtp.sterenborg.info>
  2006-06-23 13:54   ` Pascal Hambourg
  2 siblings, 0 replies; 6+ messages in thread
From: Ali Ozaltin @ 2006-06-22 13:44 UTC (permalink / raw)
  To: 'Rob Sterenborg', netfilter

I want install fresh linux and patch POM which distb. You counsel ? 

-----Original Message-----
From: netfilter-bounces@lists.netfilter.org
[mailto:netfilter-bounces@lists.netfilter.org] On Behalf Of Rob Sterenborg
Sent: Thursday, June 22, 2006 4:17 PM
To: netfilter@lists.netfilter.org
Subject: Re: Pom patch error

On Thu, June 22, 2006 14:17, Ali Ozaltin wrote:
> Hello ,
> How can i install patch-o-matic on �2.6.9-34.0.1.Elsmp kernel version ?
When

This is probably a CentOS kernel ?

> i try ./runme pending its giving this error messages ; Do you want to
apply
> this patch [N/y/t/f/a/r/b/w/q/?] y Testing patch
submitted/01_2.4.19.patch...

Maybe I'm reading this wrong, but if not then I think it's strange that POM
tries to use a 2.4.29 patch on a 2.6.9 kernel.
Btw, what is the exact commandline that you use to execute "runme"?

> Warning - no help text file could be found in either
> /usr/src/kernels/2.6.9-34.0.1.EL-smp-i686/net/ipv4/netfilter/Config.help
> or /usr/src/kernels/2.6.9-34.0.1.EL-smp-i686/Documentation/Configure.help
> Failed to patch copy of /usr/src/kernels/2.6.9-34.0.1.EL-smp-i686
> TEST FAILED: patch NOT applied.
> [Press enter to continue]
> What can i do ? pls help
> Installed OS: CentOS 4.3

It could be that this kernel has been modified by CentOS. POM should be
working on a vanilla kernel from kernel.org so you could try using one of
those.


Gr,
Rob




^ permalink raw reply	[flat|nested] 6+ messages in thread

* RE: Pom patch error
       [not found]   ` <20060622133409.445E7699BF@smtp.sterenborg.info>
@ 2006-06-22 15:08     ` Rob Sterenborg
  0 siblings, 0 replies; 6+ messages in thread
From: Rob Sterenborg @ 2006-06-22 15:08 UTC (permalink / raw)
  To: netfilter

On Thu, June 22, 2006 15:44, Ali Ozaltin wrote:
> I want install fresh linux and patch POM which distb. You counsel ?

Well, patching the kernel is not that hard if you have compiled a new kernel
before.. If you have not, well, it's best to try it on a test-system first.
Actually, maybe you should do that first, but I'll leave that to you.

If you patch the kernel for the functionality you need then you also need to
patch iptables (which together is one step).

Download a new kernel from ftp.kernel.org or one of it's mirrors.
Download a new POM and iptables from ftp.netfilter.org.
Untar each to a separate directory of your liking.

(Not sure if you *need* this step. Some people do this, me too. AFAIK it does
no harm if you don't need it.)
cd to the kernel directory
Execute:
make menuconfig (do nothing, just exit and save config)

cd to the POM directory
Execute:
KERNEL_DIR="/path/to/kernel" IPTABLES_DIR="/path/to/iptables" \
./runme <pending|base|extra>

Patch the kernel for the functionality you need.

cd to the kernel directory
Execute:
make menuconfig

Configure, compile and install your kernel like you normally would. This would
look something like this:
make dep clean
make bzImage
make modules
make modules_install
cp System.map /boot
cp arch/i386/boot/bzImage /boot

Don't forget to edit lilo.conf (and run lilo) or grub.conf.
Don't throw away your old kernel untill you have everything working and you
really want to.

cd to the iptables directory
Execute:
make
make install

Make sure you uninstall the old iptables binary/package so you don't run the
old binary by accident.


I don't *know* if CentOS has patched it's kernels. If so; you might *need*
those patches to keep all functionality on your system. I cannot help you with
that.

Again, if this is the first time you are building/installing a new kernel from
source: don't do it on a live server, use a test server.


Gr,
Rob


> -----Original Message-----
> From: netfilter-bounces@lists.netfilter.org
> [mailto:netfilter-bounces@lists.netfilter.org] On Behalf Of Rob Sterenborg
> Sent: Thursday, June 22, 2006 4:17 PM
> To: netfilter@lists.netfilter.org
> Subject: Re: Pom patch error
>
>
> On Thu, June 22, 2006 14:17, Ali Ozaltin wrote:
>
>> Hello ,
>> How can i install patch-o-matic on �2.6.9-34.0.1.Elsmp kernel version ?
>>
> When
>
>
> This is probably a CentOS kernel ?
>
>
>> i try ./runme pending its giving this error messages ; Do you want to
> apply
>> this patch [N/y/t/f/a/r/b/w/q/?] y Testing patch
> submitted/01_2.4.19.patch...
>
> Maybe I'm reading this wrong, but if not then I think it's strange that POM
> tries to use a 2.4.29 patch on a 2.6.9 kernel. Btw, what is the exact
> commandline that you use to execute "runme"?
>
>> Warning - no help text file could be found in either
>> /usr/src/kernels/2.6.9-34.0.1.EL-smp-i686/net/ipv4/netfilter/Config.help
>> or /usr/src/kernels/2.6.9-34.0.1.EL-smp-i686/Documentation/Configure.help
>> Failed to patch copy of /usr/src/kernels/2.6.9-34.0.1.EL-smp-i686
>> TEST FAILED: patch NOT applied.
>> [Press enter to continue]
>> What can i do ? pls help
>> Installed OS: CentOS 4.3
>>
>
> It could be that this kernel has been modified by CentOS. POM should be
> working on a vanilla kernel from kernel.org so you could try using one of
> those.
>
>
> Gr,
> Rob
>
>
>
>
>


-- 
IMPORTANT: This email is intended for the use of  the individual addressee(s)
named above and may contain information that is confidential, privileged or
unsuitable for overly sensitive
persons with low self-esteem, no sense of humour or irrational religious
beliefs. If you are not  the intended recipient, any dissemination,
distribution or copying of this email is not
authorised (either explicitly or implicitly) and  constitutes an irritating
social faux pas. Unless the word absquatulation has been used in its correct
context somewhere other than in this
warning, it does not have any legal or grammatical use and may be ignored. No
animals were harmed in the transmission of this
email, although the yorkshire terrier next door is living on borrowed time,
let me tell you. Those of you with an overwhelming fear of the unknown will be
gratified to learn that there is no hidden message revealed by reading this
warning backwards, so just ignore that Alert Notice from Microsoft: However,
by pouring
a complete circle of salt around yourself and your computer you can ensure
that no harm befalls you and your pets. If you have received this email in
error, please add some nutmeg and egg
whites and place it in a warm oven for 40 minutes. Whisk briefly and let it
stand for 2 hours before icing.




^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Pom patch error
  2006-06-22 13:16 ` Pom patch error Rob Sterenborg
  2006-06-22 13:44   ` Ali Ozaltin
       [not found]   ` <20060622133409.445E7699BF@smtp.sterenborg.info>
@ 2006-06-23 13:54   ` Pascal Hambourg
  2006-06-23 14:17     ` Rob Sterenborg
  2 siblings, 1 reply; 6+ messages in thread
From: Pascal Hambourg @ 2006-06-23 13:54 UTC (permalink / raw)
  To: netfilter

Hello,

Rob Sterenborg a écrit :
> On Thu, June 22, 2006 14:17, Ali Ozaltin wrote:
> 
>>How can i install patch-o-matic on 2.6.9-34.0.1.Elsmp kernel version ? When
>>i try ./runme pending its giving this error messages ; Do you want to apply
>>this patch [N/y/t/f/a/r/b/w/q/?] y Testing patch submitted/01_2.4.19.patch...
> 
> Maybe I'm reading this wrong, but if not then I think it's strange that POM
> tries to use a 2.4.29 patch on a 2.6.9 kernel.

Yes you're reading wrong, Rob, it's a 2.4.19 patch (to upgrade a 2.4.18 
kernel), not 2.4.29. ;-)

Ali, from this message it looks like you're using a VERY old version of 
the original patch-o-matic (not patch-o-matic-ng) that was intended for 
older 2.4 kernels only and was replaced by patch-o-matic-ng. You should 
use a more recent patch-o-matic-ng (pom-ng) which is intended for recent 
2.4 kernels (above 2.4.18) and 2.6 kernels. As stated by the 2005-Jan-30 
announce in the news section of the Netfilter website, there are now no 
more pom-ng stable releases (I guess a patch is considered stable when 
it's included in the kernel and removed from pom-ng) but only daily 
snapshots available here :

ftp://ftp.netfilter.org/pub/patch-o-matic-ng/snapshot/
  or
http://ftp.netfilter.org/pub/patch-o-matic-ng/snapshot/

Avoid the older pom-ng stable release versions in 
http://ftp.netfilter.org/pub/patch-o-matic-ng/, they're broken.
And of course, apply only the patches you really need.


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Pom patch error
  2006-06-23 13:54   ` Pascal Hambourg
@ 2006-06-23 14:17     ` Rob Sterenborg
  0 siblings, 0 replies; 6+ messages in thread
From: Rob Sterenborg @ 2006-06-23 14:17 UTC (permalink / raw)
  To: netfilter

On Fri, June 23, 2006 15:54, Pascal Hambourg wrote:

>>> submitted/01_2.4.19.patch...
>>
>> Maybe I'm reading this wrong, but if not then I think it's strange that POM
>>  tries to use a 2.4.29 patch on a 2.6.9 kernel.
>
> Yes you're reading wrong, Rob, it's a 2.4.19 patch (to upgrade a 2.4.18
> kernel), not 2.4.29. ;-)

Darn.. I just knew it was coming!
Let's just say that the 1 is next to the 2 ;^)


Gr,
Rob




^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2006-06-23 14:17 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <20060622120928.8174E699BF@smtp.sterenborg.info>
2006-06-22 13:16 ` Pom patch error Rob Sterenborg
2006-06-22 13:44   ` Ali Ozaltin
     [not found]   ` <20060622133409.445E7699BF@smtp.sterenborg.info>
2006-06-22 15:08     ` Rob Sterenborg
2006-06-23 13:54   ` Pascal Hambourg
2006-06-23 14:17     ` Rob Sterenborg
2006-06-22 12:17 Ali Ozaltin

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.