Results 1 to 6 of 6

Thread: How to build kernel-2.6.18-238.1.1.el5.src.rpm on CentOS5.5?

  1. #1
    Join Date
    Jan 2011
    Posts
    55

    How to build kernel-2.6.18-238.1.1.el5.src.rpm on CentOS5.5?

    I have installed CentOS 5.5 on the computer of mine. Well I have successfully build the kernel-2.6.18-238.1.1.el5.src.rpm with an exit station exit 0. I have look at into the computer of mine and I have found that the I was unable to find the kernel 2.6.18.238.1.1 rpm on the computer of mine. I am looking to install kernel on the computer but I was unable to do the same. Let me know if you are having any help to get the requirement of mine. Thanks a lot in advance.

  2. #2
    Join Date
    May 2008
    Posts
    991

    Re: How to build kernel-2.6.18-238.1.1.el5.src.rpm on CentOS5.5?

    In order to do successful kernel build on the computer you need to install the kernel package on the computer.
    • yum groupinstall "Development Tools"
    This tool would be required tool for the build.
    • yum install ncurses-devel #
    It will help you to create the config command on the computer.
    • yum install qt-devel #
    this particular package would be use to install xconfig rather than that of gconfig.

  3. #3
    Join Date
    May 2008
    Posts
    1,020

    Re: How to build kernel-2.6.18-238.1.1.el5.src.rpm on CentOS5.5?

    I am suggesting following instruction which you can use to fix the problem of yours.
    1. You have to directory to the ~/rpmbuild/BUILD/kernel-2.6.18/linux-2.6.18.`uname -m`/ and copy the same to the .config file.
    2. Either the appropriate type to the configuration file from the ./config/directory.
    3. Use the below mentioned command on the computer.
    Code:
    [user@host]$ cp configs/kernel-2.6.18-`uname -m`[-type].config .config

  4. #4
    Join Date
    Nov 2009
    Posts
    824

    Re: How to build kernel-2.6.18-238.1.1.el5.src.rpm on CentOS5.5?

    Looking at the problem of yours I am stating following instruction to build the kernel on the computer.
    Code:
    [user@host SPECS]$ rpmbuild -bb --target=`uname -m` kernel-2.6.spec 2> build-err.log | tee build-out.log
    You can also use the following things to do rpmbuild on while doing kernel build.
    Code:
    --with baseonly
    --with xenonly
    --without up
    --without xen
    --without debug
    --without debuginfo
    --without fips
    --without kabichk
    For example if you are looking to build a base kernel package then use the following command command on the terminal.
    Code:
    --with baseonly --without debug --without debuginfo
    Let me know if whether it helped you out or not.

  5. #5
    Join Date
    Apr 2009
    Posts
    970

    Re: How to build kernel-2.6.18-238.1.1.el5.src.rpm on CentOS5.5?

    I think you need to alter the kernel specification file on the computer of yours by using the below mentioned command.
    Code:
    [user@host]$ cd ~/rpmbuild/SPECS
    [user@host SPECS]$ cp kernel-2.6.spec kernel-2.6.spec.distro
    [user@host SPECS]$ vi kernel-2.6.spec
    You need uncomment the line no 73 which might be causing the problem while installing the kernel.
    Code:
    %define buildid .your_identifier
    If you are having any patched then you should apply and simply make reference while adding two patches.

  6. #6
    Join Date
    Nov 2009
    Posts
    792

    Re: How to build kernel-2.6.18-238.1.1.el5.src.rpm on CentOS5.5?

    I am sure that there is something wrong with the kernel itself. Hence I recommend that you should contact the technical support team and see whether they are able to help you out or not. If they are failing to do the same then you should simply file a bug report to the developer. Well they will work on the situation and fix the bug from the software. I am sure that they will definitely help you out to solve the matter of yours.

Similar Threads

  1. Replies: 2
    Last Post: 14-05-2012, 10:56 AM
  2. Not able to use utorrent on centos5.5
    By WarlordD in forum Networking & Security
    Replies: 3
    Last Post: 04-05-2011, 07:13 AM
  3. Mutibooting : NITroid and Maemo kernel,power kernel
    By Disha N in forum Portable Devices
    Replies: 3
    Last Post: 12-02-2011, 09:07 PM
  4. Want to know about 2.6 Kernel in Linux
    By mewlyo in forum Operating Systems
    Replies: 4
    Last Post: 26-12-2010, 08:53 AM
  5. What are the causes of Kernel Panic in MAC OS X
    By Enriqueta in forum Operating Systems
    Replies: 6
    Last Post: 29-01-2010, 12:13 AM

Tags for this Thread

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
  •  
Page generated in 1,717,232,143.26143 seconds with 16 queries