Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
how do i install this specific kernel patch? it says "ck"???
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
gnychis
Veteran
Veteran


Joined: 23 Mar 2005
Posts: 1004
Location: Pittsburgh, PA

PostPosted: Wed Sep 07, 2005 11:17 pm    Post subject: how do i install this specific kernel patch? it says "c Reply with quote

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
View user's profile Send private message
cynric
Guru
Guru


Joined: 08 Oct 2004
Posts: 439

PostPosted: Thu Sep 08, 2005 12:00 am    Post subject: Reply with quote

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
View user's profile Send private message
gnychis
Veteran
Veteran


Joined: 23 Mar 2005
Posts: 1004
Location: Pittsburgh, PA

PostPosted: Thu Sep 08, 2005 4:31 am    Post subject: Reply with quote

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
View user's profile Send private message
vipernicus
Veteran
Veteran


Joined: 17 Jan 2005
Posts: 1462
Location: Your College IT Dept.

PostPosted: Thu Sep 08, 2005 2:39 pm    Post subject: Reply with quote

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
View user's profile Send private message
gnychis
Veteran
Veteran


Joined: 23 Mar 2005
Posts: 1004
Location: Pittsburgh, PA

PostPosted: Thu Sep 08, 2005 2:57 pm    Post subject: Reply with quote

will this remove all the gentoo sources and all the gentoo specific patches?

is this a good thing to do?
Back to top
View user's profile Send private message
cynric
Guru
Guru


Joined: 08 Oct 2004
Posts: 439

PostPosted: Thu Sep 08, 2005 11:57 pm    Post subject: Reply with quote

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
View user's profile Send private message
Dlareh
Advocate
Advocate


Joined: 06 Aug 2005
Posts: 2102

PostPosted: Fri Sep 09, 2005 12:05 am    Post subject: Reply with quote

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
View user's profile Send private message
cynric
Guru
Guru


Joined: 08 Oct 2004
Posts: 439

PostPosted: Fri Sep 09, 2005 1:45 am    Post subject: Reply with quote

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
View user's profile Send private message
gnychis
Veteran
Veteran


Joined: 23 Mar 2005
Posts: 1004
Location: Pittsburgh, PA

PostPosted: Fri Sep 09, 2005 2:55 am    Post subject: Reply with quote

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
View user's profile Send private message
cynric
Guru
Guru


Joined: 08 Oct 2004
Posts: 439

PostPosted: Fri Sep 09, 2005 3:06 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
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