Версия для печати темы
Нажмите сюда для просмотра этой темы в оригинальном формате
Форум программистов > Администрирование Web серверов и Web служб > пересборка ядра


Автор: box 15.7.2009, 19:10
всем привет !
не получается пропачить ядро 2.6.18-128.1.10.el5-x86_64 при  помощи patch-o-matic-ng-20040621

./runme connlimit --kernel-path=/usr/src/kernels/2.6.18-128.1.10.el5-x86_64 --iptables-path=/usr/src/iptables

постаянно вылетает :

unable to find ladd slot in src /usr/src/kernels/2.6.18-128.1.10.el5-x86_64/net/ipv4/netfilter/Makefile

как с этим бороться ?

Автор: Nigel 15.7.2009, 20:48
А вы перед ./runme файл пропатчивали? Точно не помню, что-то вроде
cd patch-o-matic-ng-20040621
patch -p1 < ../patch...

Автор: box 15.7.2009, 21:06
Цитата(Nigel @ 15.7.2009,  20:48)
А вы перед ./runme файл пропатчивали? Точно не помню, что-то вроде
cd patch-o-matic-ng-20040621
patch -p1 < ../patch...

я только указал путь к ядру и к iptables 

Автор: Nigel 15.7.2009, 21:11
А в инструкции по установке ничего не написано разве? И киньте ссылку откуда скачивали

Автор: box 15.7.2009, 21:16
Цитата(Nigel @ 15.7.2009,  21:11)
А в инструкции по установке ничего не написано разве? И киньте ссылку откуда скачивали

Код

README:
   This is the patch-o-matic distribution by the netfilter project
   (http://www.netfilter.org/)

   As of iptables-1.2.7, patch-o-matic is distributed as a seperate
   package, available from ftp://ftp.netfilter.org/pub/patch-o-matic.

================================================================

FOLLOW THESE STEPS:

0) There may be some outstanding bugfixes or tweaks which are not yet
   in the official kernel.  To look through these, do:
    # KERNEL_DIR=<<where-you-built-your-kernel>> \
      IPTABLES_DIR=<<where-the-source-of-iptables>> \
      ./runme pending

   Please note that you have to recompile your kernel and your kernel modules
   after this step of kernel patching.

That's it!
================================================================

FEELING BRAVE?

1) The netfilter core team is maintaining a set of extensions / new 
   features which are not yet committed to the mainstream kernel tree.

They are a collection of maybe-broken maybe-cool third-party extensions. 

Please note that you cannot apply any combination of any of those patches.
Some of them are incompatible... 

This is why we provide two ways of applying them:

If you want to try some extensions, and be sure that they don't break each
other, you can do the following:

    # KERNEL_DIR=<<where-you-built-your-kernel>> \
      IPTABLES_DIR=<<where-the-source-of-iptables>> \
      ./runme base

It will modify you kernel source (so back it up first!).  You will have
to recompile / rebuild your kernel and modules.

Alternatively, if you really know what your are doing, you can use the
following command in order to offer you the full list of choices.  Be aware
that we don't prevent you from shooting yourself in the foot.

    % KERNEL_DIR=<<where-you-built-your-kernel>> \
      IPTABLES_DIR=<<where-the-source-of-iptables>> \
      ./runme extra

================================================================

QUESTIONS ?

There is a FAQ, and a netfilter-extensions-HOWTO, both can be found
at http://www.netfilter.org/documentation/

Please direct any usage questions to the netfilter mailinglist:

[email protected].




и мне нужно   добавить только connlimit патч

Powered by Invision Power Board (http://www.invisionboard.com)
© Invision Power Services (http://www.invisionpower.com)