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 User

 
 
LinkBack Thread Tools
 
Old 07-23-2012, 04:46 PM
Florian Philipp
 
Default linux-headers-3.5 with 3.4 kernel?

Am 23.07.2012 16:16, schrieb Nikos Chantziaras:
> Portage now installs sys-kernel/linux-headers-3.5.
> sys-kernel/gentoo-sources is at 3.4.5.
>
> Is it even adviced to do that, installing 3.5 headers and running a 3.4
> kernel? This sounds like a bad idea to me.
>
>

Honestly, I cannot give you a satisfying explanation, but

a) I came across this:
http://forums.gentoo.org/viewtopic-t-570319-start-0.html

b) I was told the same years ago and never had issues.

c) until you re-emerge glibc nothing changes anyway.

d) your current glibc won't use new features, anyway (I guess)

e) and even then, forward/backward compatibility in kernel headers and
glibc are very good.

Regards,
Florian Philipp
 
Old 07-23-2012, 07:58 PM
Paul Hartman
 
Default linux-headers-3.5 with 3.4 kernel?

On Mon, Jul 23, 2012 at 11:46 AM, Florian Philipp <lists@binarywings.net> wrote:
> Am 23.07.2012 16:16, schrieb Nikos Chantziaras:
>> Portage now installs sys-kernel/linux-headers-3.5.
>> sys-kernel/gentoo-sources is at 3.4.5.
>>
>> Is it even adviced to do that, installing 3.5 headers and running a 3.4
>> kernel? This sounds like a bad idea to me.
>>
>>
>
> Honestly, I cannot give you a satisfying explanation, but
>
> a) I came across this:
> http://forums.gentoo.org/viewtopic-t-570319-start-0.html
>
> b) I was told the same years ago and never had issues.
>
> c) until you re-emerge glibc nothing changes anyway.
>
> d) your current glibc won't use new features, anyway (I guess)
>
> e) and even then, forward/backward compatibility in kernel headers and
> glibc are very good.

I have no official information either, but I always mask headers
greater than the version of kernel I'm using right now, just because
it feels wrong to me. there are about two dozen packages on my system
that depend on os-headers or linux-headers, so I don't get comfort
from "basically only glibc cares" statements. But maybe I'm just
worrying for no good reason.
 
Old 07-23-2012, 08:01 PM
Helmut Jarausch
 
Default linux-headers-3.5 with 3.4 kernel?

On 07/23/2012 04:16:41 PM, Nikos Chantziaras wrote:
Portage now installs sys-kernel/linux-headers-3.5.
sys-kernel/gentoo-sources is at 3.4.5.


Is it even adviced to do that, installing 3.5 headers and running a
3.4 kernel? This sounds like a bad idea to me.




Why are you not using the 3.5.0 kernel (vanilla-sources has it). It
contains some import fixes.

Helmut.
 
Old 07-23-2012, 08:12 PM
Paul Hartman
 
Default linux-headers-3.5 with 3.4 kernel?

On Mon, Jul 23, 2012 at 3:01 PM, Helmut Jarausch
<jarausch@igpm.rwth-aachen.de> wrote:
> On 07/23/2012 04:16:41 PM, Nikos Chantziaras wrote:
>>
>> Portage now installs sys-kernel/linux-headers-3.5.
>> sys-kernel/gentoo-sources is at 3.4.5.
>>
>> Is it even adviced to do that, installing 3.5 headers and running a 3.4
>> kernel? This sounds like a bad idea to me.
>>
>
> Why are you not using the 3.5.0 kernel (vanilla-sources has it). It contains
> some import fixes.

3.5.0 was not in portage tree last time I did sync a few hours ago. I
guess it is new.
 
Old 07-23-2012, 09:10 PM
»Q«
 
Default linux-headers-3.5 with 3.4 kernel?

On Mon, 23 Jul 2012 17:16:41 +0300
Nikos Chantziaras <realnc@gmail.com> wrote:

> Portage now installs sys-kernel/linux-headers-3.5.
> sys-kernel/gentoo-sources is at 3.4.5.
>
> Is it even adviced to do that, installing 3.5 headers and running a
> 3.4 kernel? This sounds like a bad idea to me.

As I read the glibc faq, linux-headers are backwards-compatible as far
as glibc is concerned; that is, newer linux-headers still have
everything needed to make glibc work with older kernels. And I assume
that holds for other packages which need linux-headers, not just glibc.

Whether my understanding of why is correct or not, the glibc folks do
recommend using the latest linux-headers, even if your kernel is older.

<https://www.gnu.org/software/libc/documentation.html> links to
<http://sourceware.org/glibc/wiki/FAQ#What_version_of_the_Linux_kernel_headers_shoul d_be_used.3F>.
 
Old 07-24-2012, 06:12 AM
Oszkár Ocsenás
 
Default linux-headers-3.5 with 3.4 kernel?

I totally agree with Q

2012.07.23. 23:15, "»Q«" <boxcars@gmx.net> ezt írta:
On Mon, 23 Jul 2012 17:16:41 +0300

Nikos Chantziaras <realnc@gmail.com> wrote:



> Portage now installs sys-kernel/linux-headers-3.5.

> sys-kernel/gentoo-sources is at 3.4.5.

>

> Is it even adviced to do that, installing 3.5 headers and running a

> 3.4 kernel? *This sounds like a bad idea to me.



As I read the glibc faq, linux-headers are backwards-compatible as far

as glibc is concerned; *that is, newer linux-headers still have

everything needed to make glibc work with older kernels. *And I assume

that holds for other packages which need linux-headers, not just glibc.



Whether my understanding of why is correct or not, the glibc folks do

recommend using the latest linux-headers, even if your kernel is older.



<https://www.gnu.org/software/libc/documentation.html> links to

<http://sourceware.org/glibc/wiki/FAQ#What_version_of_the_Linux_kernel_headers_shoul d_be_used.3F>.
 
Old 07-24-2012, 05:01 PM
Nikos Chantziaras
 
Default linux-headers-3.5 with 3.4 kernel?

On 23/07/12 23:01, Helmut Jarausch wrote:

On 07/23/2012 04:16:41 PM, Nikos Chantziaras wrote:

Portage now installs sys-kernel/linux-headers-3.5.
sys-kernel/gentoo-sources is at 3.4.5.

Is it even adviced to do that, installing 3.5 headers and running a
3.4 kernel? This sounds like a bad idea to me.



Why are you not using the 3.5.0 kernel


Because BFS doesn't support it yet.
 

Thread Tools




All times are GMT. The time now is 09:53 AM.

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