FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Gentoo > Gentoo Embedded

 
 
LinkBack Thread Tools
 
Old 12-12-2007, 10:20 PM
Janusz Syrytczyk
 
Default Embedded stage - why kernels and headers 2.4 not 2.6?

I would like to compile small system (kernel, busybox, uclibs, some more
little stuff) and wanted to use embedded stage from experimental gentoo
stages. And

I'm curious why in /etc/make.profile/packages in embedded stage I can find:

<sys-kernel/linux-headers-2.5
<sys-kernel/gentoo-sources-2.5
<sys-kernel/hardened-sources-2.5
<sys-kernel/vanilla-sources-2.5
<virtual/linux-sources-2.5

<virtual/pcmcia-2.5

Why all kernels below 2.5 are ok and others are masked? I would really like to
compile against 2.6, so I'm trying to change that. Is it only somewhat
experimental or am I going to break-a-leg?

Thanks,

Janusz
--
gentoo-embedded@gentoo.org mailing list
 
Old 12-12-2007, 11:22 PM
Janusz Syrytczyk
 
Default Embedded stage - why kernels and headers 2.4 not 2.6?

> Why all kernels below 2.5 are ok and others are masked?

You look, you find:

"unlike the default-linux and standard hardened profiles we felt it
unneeded to force a 2.6 sub profile or we did not wish to have to
maintain twice as many profiles. Also all the last releases
were for all 2.4.x kernels. upgrading to 2.6.x is easy as -pie
however.. Just update headers, uclibc, kernel and modules.
Then go update everything else where needed. "

by Ned Ludd-2

Janusz
--
gentoo-embedded@gentoo.org mailing list
 
Old 12-24-2007, 07:34 PM
Mike Frysinger
 
Default Embedded stage - why kernels and headers 2.4 not 2.6?

On Wednesday 12 December 2007, Janusz Syrytczyk wrote:
> > Why all kernels below 2.5 are ok and others are masked?
>
> You look, you find:
>
> "unlike the default-linux and standard hardened profiles we felt it
> unneeded to force a 2.6 sub profile or we did not wish to have to
> maintain twice as many profiles. Also all the last releases
> were for all 2.4.x kernels. upgrading to 2.6.x is easy as -pie
> however.. Just update headers, uclibc, kernel and modules.
> Then go update everything else where needed. "

the other part is that unlike glibc, uClibc cannot (currently) build against
2.6 headers and run on 2.4 kernels. uClibc will use whatever features are
available. so if 2.6 has a newer way of doing something (like mount), then
uClibc will use whatever your headers say. but try to do it on an older
system where the functionality is not available and you get runtime failures.
glibc on the other hand builds support for every call ands will fallback to
older and older methods until something works.
-mike
 

Thread Tools




All times are GMT. The time now is 04:48 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org