View previous topic :: View next topic |
Author |
Message |
nomad5770 n00b
Joined: 10 Jun 2011 Posts: 37 Location: Connersville, Indiana
|
Posted: Sun Jun 12, 2011 12:46 am Post subject: newer kernel |
|
|
Ok, I am wanting to install Gentoo but I am seeing that kernel-2.6.38-gentoo-r6, the one that I have been trying is broken at the moment. I saw someone on the forums post that they were using a newer version of the kernel and I'm wondering how they get it so I can use it. |
|
Back to top |
|
|
DONAHUE Watchman
Joined: 09 Dec 2006 Posts: 7651 Location: Goose Creek SC
|
Posted: Sun Jun 12, 2011 1:42 am Post subject: |
|
|
Code: | nano /etc/portage/package.keywords | edit to add Quote: | sys-kernel/gentoo-sources ~amd64 | then Code: | emerge gentoo-sources
eselect kernel set linux-2.6.39-gentoo | The very newest sys-kernel/git-sources-2.6.39-r19 can be obtained by a similar process for a different name. _________________ Defund the FCC. |
|
Back to top |
|
|
nomad5770 n00b
Joined: 10 Jun 2011 Posts: 37 Location: Connersville, Indiana
|
Posted: Sun Jun 12, 2011 1:43 am Post subject: |
|
|
Thank you DONAHUE, can this be used on x86 too? Or is it only for 64 |
|
Back to top |
|
|
DONAHUE Watchman
Joined: 09 Dec 2006 Posts: 7651 Location: Goose Creek SC
|
Posted: Sun Jun 12, 2011 1:46 am Post subject: |
|
|
change ~amd64 to ~x86 and yes
Code: | eselect kernel list | to check for possible revision change _________________ Defund the FCC. |
|
Back to top |
|
|
d2_racing Bodhisattva
Joined: 25 Apr 2005 Posts: 13047 Location: Ste-Foy,Canada
|
Posted: Sun Jun 12, 2011 3:26 am Post subject: |
|
|
If you want, you can also try the vanilla-sources and the git-sources too. |
|
Back to top |
|
|
nomad5770 n00b
Joined: 10 Jun 2011 Posts: 37 Location: Connersville, Indiana
|
Posted: Sun Jun 12, 2011 4:19 am Post subject: |
|
|
I'll look into that too d2_racing... Question DONAHUE, when should I change the kernel? I tried to change it right before emerging the gentoo-sources, but I couldn't find portage.keywords |
|
Back to top |
|
|
DONAHUE Watchman
Joined: 09 Dec 2006 Posts: 7651 Location: Goose Creek SC
|
Posted: Sun Jun 12, 2011 4:24 am Post subject: |
|
|
Code: | nano /etc/portage/package.keywords | neither directory nor file exist in the tarball; you may need to You need to be in chroot for this command.
vanilla is also only at 2.6.39
git is, as I mentioned before, at 2.6.39-r19 _________________ Defund the FCC. |
|
Back to top |
|
|
nomad5770 n00b
Joined: 10 Jun 2011 Posts: 37 Location: Connersville, Indiana
|
|
Back to top |
|
|
DONAHUE Watchman
Joined: 09 Dec 2006 Posts: 7651 Location: Goose Creek SC
|
Posted: Sun Jun 12, 2011 5:42 am Post subject: |
|
|
> 3. LZMA (KERNEL_LZMA) is a problem
lzma is not in stage3, which package provides a useful version is not clear, so
enter the chroot.
do this Installation Issues With Current Stage3 Tarballs
What cd are you using for the install? Did you do "zcat /proc/config.gz > /usr/share/genkernel/arch/x86_64/kernel-config' per the handbook 7.d listing 4.2? For my curiosity.
To correct:
Code: | genkernel --menuconfig all | when menuconfig appears edit to: Quote: | General setup --->
Kernel compression mode (Gzip) --->
[*] Support initial ramdisks compressed using gzip
Device Drivers --->
Generic Driver Options --->
[*] Maintain a devtmpfs filesystem to mount at /dev
[*] Automount devtmpfs at /dev, after the kernel mounted the rootfs
[*] Include in-kernel firmware blobs in kernel binary
() External firmware blobs to build into the kernel binary
< > ATA/ATAPI/MFM/RLL support ---> |
Left/right arrow to Select and hit enter, edit in the new dialog box, in the first two up arrow to gzip, enter to select, in the last case backspace to empty the line.
Exit menuconfig; saving the configuration. _________________ Defund the FCC. |
|
Back to top |
|
|
nomad5770 n00b
Joined: 10 Jun 2011 Posts: 37 Location: Connersville, Indiana
|
Posted: Sun Jun 12, 2011 5:47 am Post subject: |
|
|
I am using the newest amd64 minimal install CD, and yes I did do the "zcat /proc/config.gz" step. And I did go into the menu and change to Gzip but when I look at the genkernel.log it shows it's using LZMA even though I changed it.
So with this last fail: I used a newer kernel, followed the Stage3 fix you linked me, and used Code: | genkernel --menuconfig all |
I wish I knew how to compile my own kernel, maybe all this would be avoided. |
|
Back to top |
|
|
DONAHUE Watchman
Joined: 09 Dec 2006 Posts: 7651 Location: Goose Creek SC
|
Posted: Sun Jun 12, 2011 5:51 am Post subject: |
|
|
Code: | genkernel --menuconfig all |
again change both to gzip in menuconfig exit out saving configuration _________________ Defund the FCC. |
|
Back to top |
|
|
nomad5770 n00b
Joined: 10 Jun 2011 Posts: 37 Location: Connersville, Indiana
|
Posted: Sun Jun 12, 2011 6:04 am Post subject: |
|
|
Ah, when I went to select the Support initial ramdisks compressed using gzip, the option for LZMA was selected too.
I am running genkernel now, it just started compiling the modules now. We'll see how it goes. |
|
Back to top |
|
|
nomad5770 n00b
Joined: 10 Jun 2011 Posts: 37 Location: Connersville, Indiana
|
Posted: Sun Jun 12, 2011 6:23 am Post subject: |
|
|
Got past the modules failure, now it's failing to compile the "all" target.
http://paste.pocoo.org/show/404812/
I changed both of the options to gzip but it is still showing that it is using LZMA. I'm sorry for all of this trouble. |
|
Back to top |
|
|
DONAHUE Watchman
Joined: 09 Dec 2006 Posts: 7651 Location: Goose Creek SC
|
Posted: Sun Jun 12, 2011 3:56 pm Post subject: |
|
|
Code: | nano /etc/portage/package.keywords | edit to add Quote: | sys-kernel/genkernel ~x86 |
Code: | emerge genkernel
etc-update #update the genkernel.conf -3 y enter
genkernel --menuconfig all |
when menuconfig appears edit to:
Quote: | General setup --->
Kernel compression mode (Gzip) --->
[*] Support initial ramdisks compressed using gzip
Device Drivers --->
Generic Driver Options --->
[*] Maintain a devtmpfs filesystem to mount at /dev
[*] Automount devtmpfs at /dev, after the kernel mounted the rootfs
[*] Include in-kernel firmware blobs in kernel binary
() External firmware blobs to build into the kernel binary
< > ATA/ATAPI/MFM/RLL support ---> |
Left/right arrow to Select and hit enter, edit in the new dialog box, in the first two up arrow to gzip, enter to select, in the last case backspace to empty the line.
Exit menuconfig; saving the configuration. _________________ Defund the FCC. |
|
Back to top |
|
|
cach0rr0 Bodhisattva
Joined: 13 Nov 2008 Posts: 4123 Location: Houston, Republic of Texas
|
Posted: Sun Jun 12, 2011 4:13 pm Post subject: |
|
|
nomad5770 wrote: |
I wish I knew how to compile my own kernel, maybe all this would be avoided. |
use one of Pappy's seeds. It may sound like you need advanced knowledge to do this, but with the right guides and documentation, configuring your own kernel is not painful at all. _________________ Lost configuring your system?
dump lspci -n here | see Pappy's guide | Link Stash |
|
Back to top |
|
|
nomad5770 n00b
Joined: 10 Jun 2011 Posts: 37 Location: Connersville, Indiana
|
Posted: Mon Jun 13, 2011 1:41 am Post subject: |
|
|
cach0rr0 wrote: |
use one of Pappy's seeds. It may sound like you need advanced knowledge to do this, but with the right guides and documentation, configuring your own kernel is not painful at all. |
I tried doing that, but for some reason it didn't want to compile.
Genkernel compiled finally. Thank you DONAHUE, for all of your help. |
|
Back to top |
|
|
DONAHUE Watchman
Joined: 09 Dec 2006 Posts: 7651 Location: Goose Creek SC
|
Posted: Mon Jun 13, 2011 5:44 am Post subject: |
|
|
wahoo!! _________________ Defund the FCC. |
|
Back to top |
|
|
nomad5770 n00b
Joined: 10 Jun 2011 Posts: 37 Location: Connersville, Indiana
|
Posted: Mon Jun 13, 2011 6:25 am Post subject: |
|
|
It's finally complete!!! Now I just need to get KDE on it, uh oh lol |
|
Back to top |
|
|
|