public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] linux-headers-3.5 with 3.4 kernel?
@ 2012-07-23 14:16 Nikos Chantziaras
  2012-07-23 16:46 ` Florian Philipp
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Nikos Chantziaras @ 2012-07-23 14:16 UTC (permalink / raw
  To: gentoo-user

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.



^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [gentoo-user] linux-headers-3.5 with 3.4 kernel?
  2012-07-23 14:16 [gentoo-user] linux-headers-3.5 with 3.4 kernel? Nikos Chantziaras
@ 2012-07-23 16:46 ` Florian Philipp
  2012-07-23 19:58   ` Paul Hartman
  2012-07-23 20:01 ` Helmut Jarausch
  2012-07-23 21:10 ` »Q«
  2 siblings, 1 reply; 8+ messages in thread
From: Florian Philipp @ 2012-07-23 16:46 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 731 bytes --]

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


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 262 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [gentoo-user] linux-headers-3.5 with 3.4 kernel?
  2012-07-23 16:46 ` Florian Philipp
@ 2012-07-23 19:58   ` Paul Hartman
  0 siblings, 0 replies; 8+ messages in thread
From: Paul Hartman @ 2012-07-23 19:58 UTC (permalink / raw
  To: gentoo-user

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. :)


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [gentoo-user] linux-headers-3.5 with 3.4 kernel?
  2012-07-23 14:16 [gentoo-user] linux-headers-3.5 with 3.4 kernel? Nikos Chantziaras
  2012-07-23 16:46 ` Florian Philipp
@ 2012-07-23 20:01 ` Helmut Jarausch
  2012-07-23 20:12   ` Paul Hartman
  2012-07-24 17:01   ` [gentoo-user] " Nikos Chantziaras
  2012-07-23 21:10 ` »Q«
  2 siblings, 2 replies; 8+ messages in thread
From: Helmut Jarausch @ 2012-07-23 20:01 UTC (permalink / raw
  To: gentoo-user

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.


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [gentoo-user] linux-headers-3.5 with 3.4 kernel?
  2012-07-23 20:01 ` Helmut Jarausch
@ 2012-07-23 20:12   ` Paul Hartman
  2012-07-24 17:01   ` [gentoo-user] " Nikos Chantziaras
  1 sibling, 0 replies; 8+ messages in thread
From: Paul Hartman @ 2012-07-23 20:12 UTC (permalink / raw
  To: gentoo-user

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. :)


^ permalink raw reply	[flat|nested] 8+ messages in thread

* [gentoo-user] Re: linux-headers-3.5 with 3.4 kernel?
  2012-07-23 14:16 [gentoo-user] linux-headers-3.5 with 3.4 kernel? Nikos Chantziaras
  2012-07-23 16:46 ` Florian Philipp
  2012-07-23 20:01 ` Helmut Jarausch
@ 2012-07-23 21:10 ` »Q«
  2012-07-24  6:12   ` Oszkár Ocsenás
  2 siblings, 1 reply; 8+ messages in thread
From: »Q« @ 2012-07-23 21:10 UTC (permalink / raw
  To: gentoo-user

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_should_be_used.3F>.



^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [gentoo-user] Re: linux-headers-3.5 with 3.4 kernel?
  2012-07-23 21:10 ` »Q«
@ 2012-07-24  6:12   ` Oszkár Ocsenás
  0 siblings, 0 replies; 8+ messages in thread
From: Oszkár Ocsenás @ 2012-07-24  6:12 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 1032 bytes --]

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_should_be_used.3F
> >.
>
>
>

[-- Attachment #2: Type: text/html, Size: 1580 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [gentoo-user] Re: linux-headers-3.5 with 3.4 kernel?
  2012-07-23 20:01 ` Helmut Jarausch
  2012-07-23 20:12   ` Paul Hartman
@ 2012-07-24 17:01   ` Nikos Chantziaras
  1 sibling, 0 replies; 8+ messages in thread
From: Nikos Chantziaras @ 2012-07-24 17:01 UTC (permalink / raw
  To: gentoo-user

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.



^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2012-07-24 17:03 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-07-23 14:16 [gentoo-user] linux-headers-3.5 with 3.4 kernel? Nikos Chantziaras
2012-07-23 16:46 ` Florian Philipp
2012-07-23 19:58   ` Paul Hartman
2012-07-23 20:01 ` Helmut Jarausch
2012-07-23 20:12   ` Paul Hartman
2012-07-24 17:01   ` [gentoo-user] " Nikos Chantziaras
2012-07-23 21:10 ` »Q«
2012-07-24  6:12   ` Oszkár Ocsenás

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox