Kernel 3.3.0-rc7 [Solved]

Discussion in general that pertains to Sabayon Linux - Must Pertain to Sabayon Linux

Moderator: Moderators

Kernel 3.3.0-rc7 [Solved]

Postby lhuser » Fri Mar 16, 2012 2:43

Hey y'all.

I've been trying to install kernel 3.3, but something doesn't go quite right.

I've done "make menuconfig" and configured it to my taste, then saved it.
I then moved on to "make" which went according to plan.
"make_modules" went fine too.
Problem lies with "make install". This is the result I get:


sh /usr/src/linux-3.3-rc7/arch/x86/boot/install.sh 3.3.0-rc7 arch/x86/boot/bzImage \
System.map "/boot"



Last time I remember, I believe there was more action that just this. Anyways, so I go in the /boot and make sure that the kernel file and initramfs file are there, but nope...

I've been searching for hours, literally, and no avail...Google just won't work with me. I've ended up following Gentoo's how-to, and I somehow managed to get the missing boot files, but, like I expected, I get a blank screen.

Am I missing the bigger picture or am I doing something wrong altogether?
lhuser
Baby Hen
 
Posts: 18
Joined: Sun Nov 18, 2007 16:28

Re: Kernel 3.3.0-rc7

Postby cl00t » Fri Mar 16, 2012 14:05

Hello, kernels should be installed via the kernel switcher tool.

Code: Select all
#kernel-switcher --help
cl00t
Growing Hen
 
Posts: 168
Joined: Thu Jan 12, 2012 15:29

Re: Kernel 3.3.0-rc7

Postby sabayonino » Sat Mar 17, 2012 14:05

cl00t wrote:Hello, kernels should be installed via the kernel switcher tool.

Code: Select all
#kernel-switcher --help

kernel-switcher doesn't work with kernel source

3.3.x kernel version is not present in our repository

https://packages.sabayon.org/quicksearc ... on&x=0&y=0

I suggest to compile 3.3.0 kernel using genkernel and some options (man genkernel)

e.g. : --install --splash=sabayon --menuconfig

Merge last git-kernel source
Code: Select all
# emerge --sync && USE="symlink" emerge git-sources


copy current kernel config to a work direcotry)
Code: Select all
 # zcat /proc/config.gz > /etc/kernels/config


If /etc/kernels dowsn't exist , creat it :
Code: Select all
# mkdir /etc/kernels


Code: Select all
# genkernel --install  --splash=sabayon --kernel-config=/etc/kernels/config --menuconfig all


after compiling , the new kernel and initramfs are available in /boot direcotry

Update grub
Code: Select all
# grub-mkconfig -o /boot/grub/grub.cfg


Remember that all thirdpart module must be compiled

Code: Select all
# equo install module-rebuild


Rebuild all third part modules (like ATI/Nvidia drivers if present or others)
Code: Select all
# module-rebuild rebuild


enjoy
User avatar
sabayonino
Sagely Hen
 
Posts: 2531
Joined: Sun Sep 21, 2008 1:12
Location: Italy

Re: Kernel 3.3.0-rc7

Postby lhuser » Sat Mar 17, 2012 17:01

Well, it did it! Thanks a million!

Main reason why I wanted to do it from scratch was to configure the kernel for the first time and see the results. It wasn't the first compiled kernel I've done but it was my first menuconfig I did. Since you mentioned genkernel, that was my first kernel compiled with genkernel.

At first it wouldn't boot; it sent me to a black screen. Then, I noticed there was 6 entries to it and realised that 4 of them was missing the initramfs line. I removed them manually and now it boots fine. All I need now is to rebuild my Nvidia drivers and I'll be enjoying the newer kernel.

Thanks again!
lhuser
Baby Hen
 
Posts: 18
Joined: Sun Nov 18, 2007 16:28


Return to Sabayon Linux General Discussion

Who is online

Users browsing this forum: No registered users and 2 guests