Professional Web Applications Themes

RH9 - Building custom kernel - Linux Setup, Configuration & Administration

Guys, I'm pretty new to this game.. so here's what I'm trying to do.. I have a stock standard RH9 (Shrike running 2.4.20-8) and I'd like Crypto API support included (which is not the case with out-of-box installation). This is what I do: make mrproper make clean make xconfig - here I leave it exactly as it is - I only enable Crypto API and supprot for loopback devices - everything else stays as it is. make dep make modules make modules_install make install Now, this appears to be working (i.e. no compilation errors are reported) however, if I go ...

  1. #1

    Default RH9 - Building custom kernel

    Guys, I'm pretty new to this game.. so here's what I'm trying to do..

    I have a stock standard RH9 (Shrike running 2.4.20-8) and I'd like
    Crypto API support included (which is not the case with out-of-box
    installation).
    This is what I do:

    make mrproper
    make clean
    make xconfig - here I leave it exactly as it is - I only enable Crypto
    API and supprot for loopback devices - everything else stays as it is.

    make dep
    make modules
    make modules_install
    make install

    Now, this appears to be working (i.e. no compilation errors are
    reported) however, if I go to /lib/modules and compare a number of files
    in 2.4.20-8 as opposed to 2.4.20-8custom - 2.4.20-8custom hardly has any
    modules built whereas 2.4.20-8 has heaps of modules (~1000+ files in
    total) - needless to say the new kernel is a total mess as it cannot
    find any of the needed modules during boot process.

    Is there a way of loading .config that was used to build RH9 as it is
    distributed, because my approach does not do that.

    The only thing I'm after is to recompile it exactly as it is
    out-of-the-box + crypto API + loopback device support, nothing else.

    Any suggestions are most welcome.

    Mutombo


    mutombo Guest

  2. Moderated Post

    Default Re: RH9 - Building custom kernel

    Removed by Administrator
    Lenard Guest
    Moderated Post

  3. #3

    Default Re: RH9 - Building custom kernel

    mutombo <chumbobumbohotmail.com> wrote in message news:<bhrvg2$6n$2otis.netspace.net.au>...
    > I have a stock standard RH9 (Shrike running 2.4.20-8) and I'd like
    > Crypto API support included (which is not the case with out-of-box
    > installation).
    > Is there a way of loading .config that was used to build RH9 as it is
    > distributed, because my approach does not do that.
    >
    > The only thing I'm after is to recompile it exactly as it is
    > out-of-the-box + crypto API + loopback device support, nothing else.
    cd /usr/src/linux-2.4.20-8
    cp configs/kernel-2.4.20-i386.config .config <-- choose the best for
    the arch
    make menuconfig <-- add your adjustments

    now you can:
    make clean && make bzImage && make modules && make modules_install
    cp arch/i386/boot/bzImage /boot
    cp System.map /boot/System.map-2.4.20-8

    You can now adjust the bootloader and reboot the machine. Before
    doing a module_install I always rm -rf /lib/modules/2.4.20-9custom

    well I actually rename the EXTRAVERSION in Makefile to 18-9wm for
    convienience!

    Hope this helps.
    wayne Guest

Similar Threads

  1. Building a custom dialog look...
    By in forum ASP.NET Building Controls
    Replies: 1
    Last Post: March 3rd, 02:36 AM
  2. Need help with building a custom query
    By Stanley_G in forum Coldfusion Database Access
    Replies: 1
    Last Post: August 4th, 09:07 PM
  3. Kernel building made easier
    By Jürgen A.Erhard in forum Debian
    Replies: 8
    Last Post: July 16th, 05:00 PM
  4. Custom Filters building
    By Kyle Chastain in forum Adobe Photoshop 7, CS, CS2 & CS3
    Replies: 2
    Last Post: July 11th, 01:24 PM
  5. Building Custom Controls
    By chris fink in forum ASP.NET General
    Replies: 0
    Last Post: July 11th, 02:05 AM

Bookmarks

Posting Permissions

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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139