Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Profile for 2.6 kernel?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on Sparc
View previous topic :: View next topic  
Author Message
brundage
Tux's lil' helper
Tux's lil' helper


Joined: 02 Dec 2004
Posts: 138

PostPosted: Mon Nov 14, 2005 10:23 pm    Post subject: Profile for 2.6 kernel? Reply with quote

I'm confused as to where I choose which kernel version to build. My make.profile points to a recent profile, but emerge still tries to build a 2.4 kernel. The development-sources mentioned in the sparc install guide don't exist any more. What am I missing here?
Thanks,
--Dean
Code:
livecd ~ # uname -a
Linux livecd 2.4.31-sparc #1 SMP Sat Jul 30 22:59:19 UTC 2005 sparc64 sun4u TI UltraSparc II  (BlackBird) GNU/Linux

Code:
livecd etc # ll -d /etc/make.profile
lrwxrwxrwx  1 root root 58 Nov 20 13:18 /etc/make.profile -> ../usr/portage/profiles/default-linux/sparc/sparc64/2005.1/

Code:
livecd etc # emerge -a sparc-sources

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild  N    ] sys-kernel/sparc-sources-2.4.31-r2 

Do you want me to merge these packages? [Yes/No] no

Code:
livecd ~ # emerge -s linux-headers
Searching...   
[ Results for search key : linux-headers ]
[ Applications found : 1 ]
 
*  sys-kernel/linux-headers
      Latest version available: 2.6.11-r2
      Latest version installed: 2.6.11-r2
      Size of downloaded files: 36,238 kB
      Homepage:    http://www.kernel.org/ http://www.gentoo.org/
      Description: Linux system headers
      License:     GPL-2
Back to top
View user's profile Send private message
adaptr
Watchman
Watchman


Joined: 06 Oct 2002
Posts: 6730
Location: Rotterdam, Netherlands

PostPosted: Mon Nov 14, 2005 10:49 pm    Post subject: Reply with quote

Several issues at work here:

1. since 2005.0, the 2.6 kernel is in fact the default profile - if there is no profile level specified you will have a 2.6-level profile.
2. sparc-sources only has 2.4 kernels; use gentoo-sources for sparc kernels above 2.4.x.

Leave the profile as it is, and allow for unstable kernels to be built:
Code:
echo "sys-kernel/gentoo-sources ~sparc" >> /etc/portage/package.keywords
emerge gentoo-sources

_________________
>>> emerge (3 of 7) mcse/70-293 to /
Essential tools: gentoolkit eix profuse screen
Back to top
View user's profile Send private message
brundage
Tux's lil' helper
Tux's lil' helper


Joined: 02 Dec 2004
Posts: 138

PostPosted: Mon Nov 14, 2005 10:54 pm    Post subject: Reply with quote

Thanks, that didi it
--Dean
Back to top
View user's profile Send private message
Weeve
Retired Dev
Retired Dev


Joined: 30 Oct 2002
Posts: 641

PostPosted: Tue Nov 15, 2005 5:09 am    Post subject: Reply with quote

The default sparc profiles do *not* specify a 2.6 kernel as they have not been reliable on enough hardware yet for us to feel comfortable with us releasing them to the masses. Things have been getting better of late, so hopefully that will soon be changing :)
Back to top
View user's profile Send private message
adaptr
Watchman
Watchman


Joined: 06 Oct 2002
Posts: 6730
Location: Rotterdam, Netherlands

PostPosted: Tue Nov 15, 2005 8:23 pm    Post subject: Reply with quote

Well, he says he can use gentoo-sources for his sparc; so what is the difference between gentoo-sources and sparc-sources ?
I have nothing even remotely like a Sparc, you understand - I'm just curious.
_________________
>>> emerge (3 of 7) mcse/70-293 to /
Essential tools: gentoolkit eix profuse screen
Back to top
View user's profile Send private message
Weeve
Retired Dev
Retired Dev


Joined: 30 Oct 2002
Posts: 641

PostPosted: Wed Nov 16, 2005 10:17 pm    Post subject: Reply with quote

sparc-sources is based on the 2.4 vanilla kernels with grsec + any sparc specific patches that we feel are warranted. Gentoo-sources has a long and varied history, but with regards to 2.6, it is the intention to use that as a stock kernel for most users/arches with a minimal patchset (mostly bug and security fixes). This allows us to quickly patch a kernel for users that may have hardware or security issues before the next major kernel release.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on Sparc 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