Page 5 of 5 FirstFirst ... 2345
Results 101 to 116 of 116
  1. #101
    Join Date
    Jul 2001
    Location
    Singapore
    Posts
    1,889
    Did you paste the below command in one paste:
    Code:
    cat net/decnet/dn_neigh.c | sed 's@#include <linux/jhash.h>@#include <linux/jhash.h> \\\
    #include <linux/module.h>@g' > net/decnet/dn_neigh.c~

  2. #102
    Join Date
    Jul 2001
    Location
    Singapore
    Posts
    1,889
    Ops... my bad... try this might work :p
    Code:
    cat net/decnet/dn_neigh.c | sed 's@#include <linux/jhash.h>@#include <linux/jhash.h>\
    #include <linux/module.h>@g' > net/decnet/dn_neigh.c~

  3. #103
    Join Date
    Feb 2004
    Posts
    1,269
    basic simple question
    after downloading the vanilla kernel, isn't it needed to download the official patches?!
    http://www.kernel.org/diff/diffview....tch-2.4.29.bz2
    and
    http://www.kernel.org/diff/diffview....-rc4-final.bz2

    thanks

  4. #104
    Join Date
    Jul 2001
    Location
    Singapore
    Posts
    1,889
    Originally posted by Lem0nHead
    basic simple question
    after downloading the vanilla kernel, isn't it needed to download the official patches?!
    http://www.kernel.org/diff/diffview....tch-2.4.29.bz2
    and
    http://www.kernel.org/diff/diffview....-rc4-final.bz2

    thanks
    Not necessary... I would advice you to read the README file which can be found in the source after you unpack the tarball.

  5. #105
    Join Date
    Feb 2004
    Posts
    1,269
    now it's this error on make modules_install

    mkdir -p /lib/modules/2.4.29-grsec/kernel/arch/i386/kernel/
    cp cpuid.o edd.o microcode.o msr.o /lib/modules/2.4.29-grsec/kernel/arch/i386/kernel/
    cp: cannot stat `cpuid.o': No such file or directory
    cp: cannot stat `edd.o': No such file or directory
    cp: cannot stat `microcode.o': No such file or directory
    cp: cannot stat `msr.o': No such file or directory
    make[1]: *** [_modinst__] Error 1
    make[1]: Leaving directory `/usr/local/src/linux-2.4.29/arch/i386/kernel'
    make: *** [_modinst_arch/i386/kernel] Error 2
    no one got this error also?

  6. #106
    Join Date
    Jul 2001
    Location
    Singapore
    Posts
    1,889
    Can you try to recompile from scratch and see whether the error still appear... ...

  7. #107
    Join Date
    Feb 2004
    Posts
    1,269
    sorry
    i didn't understand

    i followed the steps on the first post

  8. #108
    Join Date
    Jul 2001
    Location
    Singapore
    Posts
    1,889
    I mean redo from scratch to see whether you still get the same error or not...

  9. #109
    Join Date
    Feb 2004
    Posts
    1,269
    Originally posted by choon
    I mean redo from scratch to see whether you still get the same error or not...
    this time i didn't get the error!

    will reboot this night for test

    btw... do you think that, if no errors were given on nohup.out, modules.out, modules.err (it has just warnings) and lilo didn't say anything wrong... is there a chance that it doesn't work?

    thanks

  10. #110
    Join Date
    Feb 2004
    Posts
    1,269
    it worked... again ;D

    thanks

  11. #111
    Join Date
    Feb 2004
    Posts
    1,269
    any ideas if it works on RHEL also, using the nptl patch?

    i mean... i've using this tutorial without problems (except this last time that a problem showed up while compiling) since 2.4.26 if I'm not wrong
    i just need to do the same now and it will probably work?

    thanks

  12. #112
    i had problems with php cpu crashing 100% if for example a user programmed a script that called itself recursively unlimited times, and somebody told me this GR security patch is what i need

    will this really solve the prob ???

  13. #113
    Join Date
    Feb 2004
    Posts
    1,269
    Originally posted by LT_Radio
    i had problems with php cpu crashing 100% if for example a user programmed a script that called itself recursively unlimited times, and somebody told me this GR security patch is what i need

    will this really solve the prob ???
    that's called fork bomb and even a simple bash script can do that:
    Code:
    #!/bin/sh
    
    $0 & $0 &
    it starts consuming a lot of CPU resource and other application don't get their time

    there isn't a way to don't suffer from that, since it's like a DoS, but there're ways to try to detect and kill process
    i'm almost sure grsecurity does that

  14. #114
    Join Date
    Jul 2001
    Location
    Singapore
    Posts
    1,889
    Originally posted by Lem0nHead
    any ideas if it works on RHEL also, using the nptl patch?

    i mean... i've using this tutorial without problems (except this last time that a problem showed up while compiling) since 2.4.26 if I'm not wrong
    i just need to do the same now and it will probably work?

    thanks
    No problem for me since I have personally compiled and installed vanilla kernels 2.4.x with my nptl patch in a few RHEL servers.

  15. #115
    Join Date
    Mar 2003
    Location
    California USA
    Posts
    13,681
    Originally posted by Lem0nHead
    that's called fork bomb and even a simple bash script can do that:
    Code:
    #!/bin/sh
    
    $0 & $0 &
    it starts consuming a lot of CPU resource and other application don't get their time

    there isn't a way to don't suffer from that, since it's like a DoS, but there're ways to try to detect and kill process
    i'm almost sure grsecurity does that
    Rlimits can help alot with that.

    <signature removed since this thread from the start I removed all signatures>
    Last edited by choon; 04-14-2005 at 08:20 PM.

  16. #116
    Join Date
    Feb 2004
    Posts
    1,269
    any hints on this error I got on the new 2.4.34 kernel?

    make[3]: *** [aic7xxx_osm.o] Error 1
    make[2]: *** [_modsubdir_aic7xxx] Error 2
    make[1]: *** [_modsubdir_scsi] Error 2
    make: *** [_mod_drivers] Error 2

Page 5 of 5 FirstFirst ... 2345

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •