View previous topic :: View next topic |
Author |
Message |
gnychis Veteran
Joined: 23 Mar 2005 Posts: 1004 Location: Pittsburgh, PA
|
Posted: Wed Sep 07, 2005 11:17 pm Post subject: how do i install this specific kernel patch? it says "c |
|
|
Hey all,
I'd like to install the 1gb low memory patch by Con Kolivas here:
http://members.optusnet.com.au/ckolivas/kernel/
but in the archives everything is like kernel-2.6.12-ck3
what is ck? I run gentoo sources 2.6.12-r10
what do i use and how do i install it?
Thanks!
George |
|
Back to top |
|
|
cynric Guru
Joined: 08 Oct 2004 Posts: 439
|
Posted: Thu Sep 08, 2005 12:00 am Post subject: |
|
|
CK would be for the Con Kolivas sources (ck-sources). Patches are, I believe, written for that kernel. You might be able to find vanilla patches as well, but that still won't help with running gentoo-sources. _________________ "This Snow Crash thing -- is it a virus, a drug, or a religion?" "What's the difference?"
-- Neal Stephenson - Snow Crash |
|
Back to top |
|
|
gnychis Veteran
Joined: 23 Mar 2005 Posts: 1004 Location: Pittsburgh, PA
|
Posted: Thu Sep 08, 2005 4:31 am Post subject: |
|
|
ohh I see, I guess i couldn't put two and two together with the ck thing
so, can I apply these to my gentoo kernel sources without breaking them? If so, how do I do this? |
|
Back to top |
|
|
vipernicus Veteran
Joined: 17 Jan 2005 Posts: 1462 Location: Your College IT Dept.
|
Posted: Thu Sep 08, 2005 2:39 pm Post subject: |
|
|
hedpe wrote: | ohh I see, I guess i couldn't put two and two together with the ck thing
so, can I apply these to my gentoo kernel sources without breaking them? If so, how do I do this? |
Actually, what you might prefer doing, if you really want some extra speed on the desktop:
echo 'sys-kernel/ck-sources ~x86' >> /etc/portage/package.keywords
then,
emerge ck-sources
afterwards, go to /usr/src/, do an ls -al to make sure that /usr/src/linux is symlinking to the 2.6.13-ck2 directory, and then:
cd /usr/src/linux; make menuconfig (or genkernel if you use genkernel); make && make modules && make modules_install && make install
then, check /boot/grub/menu.lst add in location to new kernel, and reboot. You will have to reemerge alsa-driver and nvidia-kernel if you use either of those and reboot again.
Hope that helps _________________ Viper-Sources Maintainer || nesl247 Projects || vipernicus.org blog |
|
Back to top |
|
|
gnychis Veteran
Joined: 23 Mar 2005 Posts: 1004 Location: Pittsburgh, PA
|
Posted: Thu Sep 08, 2005 2:57 pm Post subject: |
|
|
will this remove all the gentoo sources and all the gentoo specific patches?
is this a good thing to do? |
|
Back to top |
|
|
cynric Guru
Joined: 08 Oct 2004 Posts: 439
|
Posted: Thu Sep 08, 2005 11:57 pm Post subject: |
|
|
What vipernicus suggested was to isntall the ck-sources. This does not remove your gentoo-sources. You can switch back to them at any time, just leave the entry in grub.conf; however, you will need to re-emerge nvidia and alsa before they will work since they are compiled against the specific kernel you wish to use. _________________ "This Snow Crash thing -- is it a virus, a drug, or a religion?" "What's the difference?"
-- Neal Stephenson - Snow Crash |
|
Back to top |
|
|
Dlareh Advocate
Joined: 06 Aug 2005 Posts: 2102
|
Posted: Fri Sep 09, 2005 12:05 am Post subject: |
|
|
cynric wrote: | however, you will need to re-emerge nvidia and alsa before they will work since they are compiled against the specific kernel you wish to use. |
If you have previously emerged nvidia and alsa for a particular version of any sources, you shouldn't have to re-emerge them again if you switch back to that same kernel. _________________ "Mr Thomas Edison has been up on the two previous nights discovering 'a bug' in his phonograph." --Pall Mall Gazette (1889)
Are we THERE yet?
Last edited by Dlareh on Fri Sep 09, 2005 2:16 am; edited 1 time in total |
|
Back to top |
|
|
cynric Guru
Joined: 08 Oct 2004 Posts: 439
|
Posted: Fri Sep 09, 2005 1:45 am Post subject: |
|
|
Hrm. I've always had it balk, but perhaps due to other factors. *shrug* _________________ "This Snow Crash thing -- is it a virus, a drug, or a religion?" "What's the difference?"
-- Neal Stephenson - Snow Crash |
|
Back to top |
|
|
gnychis Veteran
Joined: 23 Mar 2005 Posts: 1004 Location: Pittsburgh, PA
|
Posted: Fri Sep 09, 2005 2:55 am Post subject: |
|
|
cynric wrote: | What vipernicus suggested was to isntall the ck-sources. This does not remove your gentoo-sources. You can switch back to them at any time, just leave the entry in grub.conf; however, you will need to re-emerge nvidia and alsa before they will work since they are compiled against the specific kernel you wish to use. |
yes, i understand that i can switch back, but if I use ck-sources, they will not have any specific gentoo patches. Therefore, am i worse or better off? |
|
Back to top |
|
|
cynric Guru
Joined: 08 Oct 2004 Posts: 439
|
Posted: Fri Sep 09, 2005 3:06 am Post subject: |
|
|
Ahh. No, I don't believe it would use the gentoo specific patches. If you need a specific patch, you might consider trying to patch it in manually. That'll be a hassle so go with the kernel that requires the least amount of patching. The easiest thing would be to look at other kernels out there and see if they have a better mix of patches for your needs. Not overly famaliar with many myself, but you'll be sure to find threads here. I know that nitro is based off of ck and has the 1Gig lowmem patch already so you might want to check it out.
Hopefully I pointed you in a better direction than last time; good luck. _________________ "This Snow Crash thing -- is it a virus, a drug, or a religion?" "What's the difference?"
-- Neal Stephenson - Snow Crash |
|
Back to top |
|
|
|