View previous topic :: View next topic |
Author |
Message |
Xiderpunk Tux's lil' helper
Joined: 05 Mar 2003 Posts: 149 Location: London, UK
|
Posted: Thu Mar 06, 2003 3:44 pm Post subject: Recompiling kernel |
|
|
I finished installation and was able to boot successfully, however later realised I needed a usb mouse setting in the kernel setup.
So I carried out the following steps again:
Code: | #cd /usr/src/linux
#source /etc/profile
#make menuconfig
(Added the required module with "a")
#make dep && make clean bzImage modules modules_install |
This run through for awhile then ended with error 2...
Are these the right steps to take in order to recompile a kernel?
One other question..
I did an emerge -kde and found it has 58 stages! 4 hours later and it is still compiling :-/ is this normal?
Many thanks for any help.
Chris[/code] |
|
Back to top |
|
|
guero61 l33t
Joined: 14 Oct 2002 Posts: 811 Location: Behind you
|
Posted: Thu Mar 06, 2003 3:57 pm Post subject: |
|
|
KDE: Yes. It takes a helluva long time to compile the window managers from code. I'm running an 1800+ w/512MB of RAM, and I think it took me ~8 hours. |
|
Back to top |
|
|
cederberg Guru
Joined: 23 Jan 2003 Posts: 349 Location: Stockholm / Sweden
|
Posted: Thu Mar 06, 2003 4:00 pm Post subject: Re: Recompiling kernel |
|
|
Xiderpunk wrote: | Are these the right steps to take in order to recompile a kernel? |
As far as I can tell, yes. You've probably encountered some kind of configuration problem.
Try checking a bit higher up in the output for the actual error message. The error codes don't say very much about what really happened. Also try searching here in the forums for the error message that you find (or post it in a reply here).
Xiderpunk wrote: | I did an emerge -kde and found it has 58 stages! 4 hours later and it is still compiling :-/ is this normal? |
I think so (not using KDE myself). Gnome and KDE are fairly large beasts and take some time to compile... |
|
Back to top |
|
|
thinair Tux's lil' helper
Joined: 01 Nov 2002 Posts: 144 Location: Suisse
|
Posted: Thu Mar 06, 2003 4:02 pm Post subject: |
|
|
Everytimes you recompile your kernel with different option..
You should #make mrproper (DONT forget to backup your config file before !)
It clean the source as they were before...
And try again...
make menuconf (load your backup config file)
make dep && make clean bzImage modules modules_install
and it should work... if you select the right option...
Good Luck,
thinair, |
|
Back to top |
|
|
Xiderpunk Tux's lil' helper
Joined: 05 Mar 2003 Posts: 149 Location: London, UK
|
Posted: Thu Mar 06, 2003 4:12 pm Post subject: |
|
|
Thanks guys,
I will wait till the compile of kde finishes then try the kernel again.
When you say backup config file.. I should change the name of the existing one to something like *.old? |
|
Back to top |
|
|
thinair Tux's lil' helper
Joined: 01 Nov 2002 Posts: 144 Location: Suisse
|
Posted: Thu Mar 06, 2003 4:21 pm Post subject: |
|
|
I hope it will work for you (the recompile) but perhaps an option is false and that's why it failed... but evertime you recompile and change an option a make mrproper is very important...
Yes I mean a backup of the file...
You can just go in the folder :
cd /usr/sr/linux-2.4.20-gentoo-r1/
cp .config .config_backup
or
make menuconfig (before the make mrproper)
save configuration to a file (other than .config)
then
make mrproper
make menuconfig
load file....
--
thinair |
|
Back to top |
|
|
pjp Administrator
Joined: 16 Apr 2002 Posts: 20485
|
Posted: Thu Mar 06, 2003 4:31 pm Post subject: |
|
|
Moved from Installing Gentoo. _________________ Quis separabit? Quo animo? |
|
Back to top |
|
|
Xiderpunk Tux's lil' helper
Joined: 05 Mar 2003 Posts: 149 Location: London, UK
|
Posted: Thu Mar 06, 2003 6:05 pm Post subject: |
|
|
Thank you Thinair, very helpful response.
I will give that a try, feeling a whole lot more sure of what I'm doing now.. just need to wait till this KDE finishes compiling. |
|
Back to top |
|
|
|