Go Back   TechArena Community > Software > Operating Systems
Become a Member!
Forgot your username/password?
Tags Active Topics RSS Search Mark Forums Read

Sponsored Links



Getting kernel compile error when using genkernel while installing Gentoo

Operating Systems


Reply
 
Thread Tools Search this Thread
  #1  
Old 02-06-2011
Member
 
Join Date: Apr 2011
Posts: 62
Getting kernel compile error when using genkernel while installing Gentoo
  

I am looking to install Gentoo on the laptop of mine. I have managed to get to the kernel complie stage while installing the doc to get easy way into the genkernel tool to make thing running. I tried couple of times to install Gentoo on the computer of mine but it seems to be generating an error message on the system of mine. Let me know if you are aware of anything which I can use to fix the matter of mine. Any help on this particular matter would be highly appreciated. Thanks a lot in advance.

Reply With Quote
  #2  
Old 02-06-2011
Member
 
Join Date: Nov 2009
Posts: 1,035
Re: Getting kernel compile error when using genkernel while installing Gentoo

I want to some basic information which would be useful to find out the root cause of the problem. Well let me know about the hardware configuration of the computer of yours. have you ever installed any version of Linux on computer? Well you told me that you are getting an error message on the computer while installing the OS so post the entire error message which you are getting on the computer of yours. I am waiting for the prompt replies of yours.
Reply With Quote
  #3  
Old 02-06-2011
Member
 
Join Date: May 2008
Posts: 859
Re: Getting kernel compile error when using genkernel while installing Gentoo

I am suspecting that the problem which you are facing might be happening due to hardware issue. I mean to say overheating might be the root cause of the problem. Also I am suggesting following command which you should execute before you begin with the usage of genkernel.
Code:
make clean
this particular command would clear the directory and all the faulty binary files on the system of yours. it would prevent the usage of the faulty binary files at the time of installation.
Reply With Quote
  #4  
Old 02-06-2011
Member
 
Join Date: May 2008
Posts: 962
Re: Getting kernel compile error when using genkernel while installing Gentoo

Well I was having the same problem which you have mentioned over here and I have managed to find out the root cause of the problem. The defaualt setting of genkernel kernel is looking to use lzma to compress the kernel. Into stage 3 there is no provision for the lzma. You will be able emerge lzma and/or xz-utils when you are at the chroot before we run genkernel all. Also you can run the genkernel --menuconfig all and simply change the compression mode to gzip.
Reply With Quote
  #5  
Old 02-06-2011
Member
 
Join Date: May 2008
Posts: 991
Re: Getting kernel compile error when using genkernel while installing Gentoo

According to me there would be setting on the kernel which would prompt that there is an effect on the prevent external firmware from being built. You should select that option and you would get the iwlwifi ucode from the portage. You should go for Device Drivers and click on the Generic Driver Option and you will have the option PREVENT_FIRMWARE_BUILD. I am hoping that it would be useful to make the thing working or not.
Reply With Quote
  #6  
Old 03-06-2011
Member
 
Join Date: May 2008
Posts: 1,020
Re: Getting kernel compile error when using genkernel while installing Gentoo

I am suggesting following thing which you should try and see whether it is working or not.
You should boot the CD and use the following command on the terminal.
Code:
mount /dev/sda3 /mnt/gentoo 
mount /dev/sda1 /mnt/gentoo/boot 
mount -t proc none /mnt/gentoo/proc 
mount -o bind /dev /mnt/gentoo/dev 
chroot /mnt/gentoo /bin/bash 
env-update 
source /etc/profile 
export PS1="(chroot) $PS1"
you have to enter chroot.
Code:
ls -l /boot
now you should run the following command on the terminal.
Code:
genkernel all
So try the same I am hoping that it would be helpful to you.
Reply With Quote
Reply

  TechArena Community > Software > Operating Systems
Tags: , , , ,



Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads for: "Getting kernel compile error when using genkernel while installing Gentoo"
Thread Thread Starter Forum Replies Last Post
Error 2 while compiling kernel in gentoo Virr Operating Systems 5 30-05-2011 08:08 PM
Debian i686 kernel compile chetna56 Operating Systems 3 04-01-2011 06:41 AM
Nvidia driver 2.6.36 kernel In Gentoo mANICKAVASAN Monitor & Video Cards 4 25-11-2010 06:34 AM
Compile kernel 2.6.35.7 for centos 5.5 hardyB Operating Systems 5 12-11-2010 11:12 PM
Can't compile driver under 2.6.33 kernel Sibi.D Windows Software 4 08-04-2010 03:45 AM


All times are GMT +5.5. The time now is 02:22 PM.