Find the answer to your Linux question:
Results 1 to 3 of 3
Hi All, I am trying to perform a patch on the current kernel version that was included in SLES SP1 and do a compile of the kernel. However, after installing ...
  1. #1
    Just Joined!
    Join Date
    Oct 2010
    Posts
    8

    Error in compiling kernel after fresh installation

    Hi All,

    I am trying to perform a patch on the current kernel version that was included in SLES SP1 and do a compile of the kernel. However, after installing the new kernel and rebooting, I got a "Waiting for device" error.
    I tried just compiling the kernel after a fresh installation of SLES SP1 on a physical and virtual machine and got the same problem.

    When I was doing make rpm, I got errors something like (can't remember but it was something like not in gzip format, file format not recognized and exec format error)
    Also, what I noticed when performing mkinitrd was that there were errors like the following:

    ERROR: modinfo :could not open /var/tmp/kernel-2.6.32.120.7paemod-root/lib/modules/2.6.32.12-0.7-pae-mod/kernel/drivers/char/agp/ali-agp.ko: No such file or directory

    The files include others such as amd-k7-agp.ko, ati-agp.ko, efficeon-agp.ko and others. There are also 2 files in the usb direcotry that has this problem.

    This happened even after a fresh installation. What I did was the following:

    cd /usr/src/linux
    make cloneconfig
    make menuconfig
    make rpm
    mkinitrd
    vim /boot/grub/menu.lst

    Anyone can help shed any light on this issue as I have been on it for a week. Thanks in advance!

    Terry

  2. #2
    ved
    ved is offline
    Linux User ved's Avatar
    Join Date
    Jan 2008
    Location
    New Delhi
    Posts
    309

    Smile

    i think you have to follow instruction in link and any problem post here
    http://www.linuxforums.org/forum/lin...are-linux.html

    if possible try to install rpm file it is easy
    Take risks: if you win, you will be happy; if you lose, you will be wise.
    New Users : Read This First

  3. #3
    Just Joined!
    Join Date
    Oct 2010
    Posts
    8
    ok i guess i forgot to add a rpm -ivh <kernel> after my 'make rpm'. However, the main point is that I am having compiling the kernel, nothing related to installation of the rpm i guess. Thanks for replying anyway, hope there are others that can help out as well.

Posting Permissions

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