View previous topic :: View next topic |
Author |
Message |
Citizen Bleys n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 02 Dec 2003 Posts: 54 Location: Moncton, NB
|
Posted: Tue Apr 04, 2006 4:13 pm Post subject: Failure to compile kernel |
|
|
...and I'm supposedly doing it the easy way, with genkernel. But it's obviously not auto-detecting very well, because I see a lot of ipw2100 error messages, and I don't even want ipw2100 support in my kernel. My wireless card uses ipw2200.
Here's what I have:
EDIT: genkernel.log is too big to fit in one post, so I uploaded it here
1) Is it safe to turn off my computer after genkernel fails, or is my old kernel still active until genkernel completes?
2) would it be easier to just compile the kernel manually as per the HOWTO on gentoo wiki? _________________ You're either an eagle, or an earthworm |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
NeddySeagoon Administrator
![Administrator Administrator](/images/ranks/rank-admin.gif)
![](images/avatars/3946266373f47d606a2db3.jpg)
Joined: 05 Jul 2003 Posts: 54834 Location: 56N 3W
|
Posted: Tue Apr 04, 2006 4:41 pm Post subject: |
|
|
Citizen Bleys,
First, genkernel does not auto detect, it compiles a general purpose very small kernel and almost every module in the kernel tree.
Detecting the right bits is done at module load time, which is a waste of disk space and comppile time.
If you want to understand whats going into your kernel, do it by hand, if the semi automatic genkernel ve time/space seems like a good trade off to you, stick with genkernel.
You may run genkernel with the -menuconfig option, so you can tune the configuration before genkernel does the build and install. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
djay Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/11161914084398668601b94.jpg)
Joined: 18 Apr 2005 Posts: 188 Location: Israel
|
Posted: Tue Apr 04, 2006 4:49 pm Post subject: |
|
|
Hey
Just shooting in the dark - try to enable 802.11 stack in Network Menu.
Its just net/80211.h errors that make me think that way....
Hope it helps,
Alex. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Citizen Bleys n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 02 Dec 2003 Posts: 54 Location: Moncton, NB
|
Posted: Wed Apr 05, 2006 1:58 pm Post subject: |
|
|
Well, I managed to shatter my kernel beyond all recognition, and now Linux has become unbootable. Time for a reinstall!
I'm living up to the "n00b" title ![Smile :)](images/smiles/icon_smile.gif) _________________ You're either an eagle, or an earthworm |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
rev138 l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
![](images/avatars/115186396341f6ff26dd887.gif)
Joined: 19 Jun 2003 Posts: 848 Location: Vermont, USA
|
Posted: Wed Apr 05, 2006 2:09 pm Post subject: |
|
|
Citizen Bleys wrote: | Well, I managed to shatter my kernel beyond all recognition, and now Linux has become unbootable. Time for a reinstall! |
If buy "reinstall" you mean, "wipe the disks and start from scratch", that's unnecessary. Just boot from the liveCD, mount your partitions, chroot into your system, and reconfigure/rebuild your kernel. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
djay Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/11161914084398668601b94.jpg)
Joined: 18 Apr 2005 Posts: 188 Location: Israel
|
Posted: Wed Apr 05, 2006 2:32 pm Post subject: |
|
|
And you might consider compiling it manually this time.
![Wink :wink:](images/smiles/icon_wink.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Citizen Bleys n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 02 Dec 2003 Posts: 54 Location: Moncton, NB
|
Posted: Thu Apr 06, 2006 1:08 pm Post subject: |
|
|
It was a manual recompile that shattered it beyond recognition. I actually got a buddy who has done manual recompiles on gentoo before to SSH into my system and gave him my root password. _________________ You're either an eagle, or an earthworm |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
djay Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/11161914084398668601b94.jpg)
Joined: 18 Apr 2005 Posts: 188 Location: Israel
|
Posted: Thu Apr 06, 2006 1:42 pm Post subject: |
|
|
Citizen Bleys wrote: | It was a manual recompile that shattered it beyond recognition. I actually got a buddy who has done manual recompiles on gentoo before to SSH into my system and gave him my root password. |
It still not that bad, you can always recompile kernel from clean - just do make clean (and if you're really want then also make depclean) and start over with default .config).
Just a side note - until you got some kind of optimized kernel, you should not override a simple working one. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Citizen Bleys n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 02 Dec 2003 Posts: 54 Location: Moncton, NB
|
Posted: Thu Apr 06, 2006 2:59 pm Post subject: |
|
|
A reinstall got me a working kernel and a working xorg.conf ![Smile :)](images/smiles/icon_smile.gif) _________________ You're either an eagle, or an earthworm |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
rev138 l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
![](images/avatars/115186396341f6ff26dd887.gif)
Joined: 19 Jun 2003 Posts: 848 Location: Vermont, USA
|
Posted: Thu Apr 06, 2006 3:15 pm Post subject: |
|
|
Citizen Bleys wrote: | A reinstall got me a working kernel and a working xorg.conf ![Smile :)](images/smiles/icon_smile.gif) |
Good, but it was also unnecessary. I promise you that. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|