Joined: Aug 17, 2004 Posts: 29 Location: georgetown,oh
Posted: Sun Jun 08, 2008 3:55 pm Post subject: genkernel
what would be the proper steps for re-compiling a kernel using genkernel?i am currently running kernel version 2.6.25-sabayon and have 2.6.24-sabayon as a back-up kernel.i have various things that work under the 2.6.24-sabayon that won't work under 2.6.25 so,i thought a re-compile might solve the problems.the problems are to many to mention here.and i'm also feeling a little brave so,why not learn how to re-compile a kernel.i have also read the man page on genkernel but,sometimes man pages confuse me. _________________ Brian Edmisten
teufel36@maysville-linux-users-group.com
i refuse to use anything but linux.
Toshiba Satellite P205D AMD Turion X2 TL-58 1900 Ghz Each
150 GB HDD 2GB DDR2 Memory ATI X1200 Graphics
17 Inch Widescreen 1400x900 Resolution
Sabayon Linux
Boot to the old working kernel first. You can skip the first few steps and start at the zcat command step after booting to the old working kernel first.
That should work - let me know if you have problems. I have been working at the Manchester Schools running cabling and my cell phone doesn't work there...so if you need help, best to call after 6:30PM.
Joined: Aug 17, 2004 Posts: 29 Location: georgetown,oh
Posted: Tue Jun 10, 2008 2:25 pm Post subject: genkernel
will i still be able to keep my old kernel?i would like to keep it as a backup.my main problem with the new kernel is that when i watch a video or dvd when you go to double size or larger on any media player the picture becomes very choppy and play like one frame at a time.it does fine with the old kernel.and with the new kernel my wireless is reconized. _________________ Brian Edmisten
teufel36@maysville-linux-users-group.com
i refuse to use anything but linux.
Toshiba Satellite P205D AMD Turion X2 TL-58 1900 Ghz Each
150 GB HDD 2GB DDR2 Memory ATI X1200 Graphics
17 Inch Widescreen 1400x900 Resolution
Sabayon Linux
Joined: Aug 13, 2004 Posts: 340 Location: Maysville, KY
Posted: Tue Jun 10, 2008 8:13 pm Post subject:
just make a backup first of the boot folder:
# tar czfvp /root/boot-backup.tar.gz /boot
I don't think the kernel is the cause of the choppy video but could be the cause of the wireless not working. I would actually suspect outdated modules before anything.
Before you do anything at all, boot to the new kernel and verify you have an internet connection then run:
# equo update
# equo world
# eselect kernel list
Make sure there is an [x] next to the new kernel version. If not, run the following and use the number of the new kernel where the X is located:
# eselect kernel set x
Then run the following to update all of the modules for that kernel version.
# modules-update rebuild
# equo conf update
If you want to find out for sure if the kernel is the cause of the wireless not working, then do this:
Boot to new kernel and copy the config file to /root, i.e.:
# zcat /proc/config.gz > /root/config-2.6.25.txt
Then reboot to the old kernel and do the same thing but name it 2.6.24:
# zcat /proc/config.gz > /root/config-2.6.24.txt
Then do a diff between the two files and send me the results by email:
Joined: Aug 17, 2004 Posts: 29 Location: georgetown,oh
Posted: Wed Jun 11, 2008 4:11 pm Post subject: genkernel
ok,i followed the steps and when i got to eselect kernel list it listed three kernels,there was am asterisk instead of an x next to my new kernel.so i skipped the eselect set x step because that's how i understood that step.i did modules-update rebuild and that said did'nt understand rebuild and to use update-modules instead..i did that,it only took about a second to do,in case it was supposed to take longer.video was still choppy so,i re-booted just for grins (old ms habit lol) video was still choppy.so,i went back and did the eselect kernel set x command.my new kernel was number 3 from the eselect kernel list command,this is how i typed it eselect kernel set x 3 i'm not sure if that was the correct way or not.i did update modules again video was still choppy,i ran kernel set x linux-2.6.25-sabayon in case i misunderstood re-ran update modules again video still choppy.i forgot when i ran kernel set x i got an error x not a valid selection or something like that.i forgot to write down the exact error,i know better than that lol.i did the diff and am mailing it to ya. oh i almost forgot something else,after rebooting again out of curiousity i re-ran eselect kernel list and the asterisk was gone,if that helps any.and my wireless is reconized under the new kernel,i just don;t have a hot-spot to test if it actually works. _________________ Brian Edmisten
teufel36@maysville-linux-users-group.com
i refuse to use anything but linux.
Toshiba Satellite P205D AMD Turion X2 TL-58 1900 Ghz Each
150 GB HDD 2GB DDR2 Memory ATI X1200 Graphics
17 Inch Widescreen 1400x900 Resolution
Sabayon Linux
Joined: Aug 13, 2004 Posts: 340 Location: Maysville, KY
Posted: Wed Jun 11, 2008 8:13 pm Post subject:
eselect kernel set x
where x is the number of the kernel you wish to use.
eselect kernel set 3
all the eselect does is sets the /usr/src/linux symbolic link to the correct kernel. If you don't want to use that method, you can also do it manually like this:
Joined: Aug 17, 2004 Posts: 29 Location: georgetown,oh
Posted: Thu Jun 12, 2008 2:39 pm Post subject: genkernel
ok,i did misunderstand i'll try it again.i'm running an ati radeon X1200.and since i have high speed internet now i do equo update and world just about every nite so,i keep my system up to date.i was able to find an article and an xorg conf sample to get beryl running on my video card.just have'nt done it yet.looks like a weekend job for me. _________________ Brian Edmisten
teufel36@maysville-linux-users-group.com
i refuse to use anything but linux.
Toshiba Satellite P205D AMD Turion X2 TL-58 1900 Ghz Each
150 GB HDD 2GB DDR2 Memory ATI X1200 Graphics
17 Inch Widescreen 1400x900 Resolution
Sabayon Linux
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
All content Copyright 2000 - 2008, Maysville Linux Users Group unless otherwise credited.
All Rights Reserved!
The opinions expressed by visitors to this web site are their own and not necessarily the opinions of the MLUG!