Page 1 of 1

Kernel 3.3.0-rc7 [Solved]

Posted: Fri Mar 16, 2012 2:43
by lhuser
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/ 3.3.0-rc7 arch/x86/boot/bzImage \ "/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?

Re: Kernel 3.3.0-rc7

Posted: Fri Mar 16, 2012 14:05
by cl00t
Hello, kernels should be installed via the kernel switcher tool.

Code: Select all

#kernel-switcher --help

Re: Kernel 3.3.0-rc7

Posted: Sat Mar 17, 2012 14:05
by sabayonino
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 ... 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

Re: Kernel 3.3.0-rc7

Posted: Sat Mar 17, 2012 17:01
by lhuser
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!