Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Which kernel to keep as backup? 4.9 or 4.11[SOLVED]
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
Tony0945
Advocate
Advocate


Joined: 25 Jul 2006
Posts: 3293
Location: Illinois, USA

PostPosted: Sun Jul 09, 2017 6:50 pm    Post subject: Which kernel to keep as backup? 4.9 or 4.11[SOLVED] Reply with quote

My primary kernel is 4.12 but I keep a backup kernel in case the latest fails. Which kernel series would you keep as backup?

I also keep 4.4.73 (frozen) as an emergency boot.

Using grub legacy.


Last edited by Tony0945 on Tue Aug 08, 2017 1:16 pm; edited 2 times in total
Back to top
View user's profile Send private message
Jaglover
Watchman
Watchman


Joined: 29 May 2005
Posts: 7328
Location: Saint Amant, Acadiana

PostPosted: Sun Jul 09, 2017 6:53 pm    Post subject: Reply with quote

What's the difference, keep the latest kernel that worked for you before upgrade.
_________________
Please learn how to denote units correctly!
Back to top
View user's profile Send private message
Tony0945
Advocate
Advocate


Joined: 25 Jul 2006
Posts: 3293
Location: Illinois, USA

PostPosted: Sun Jul 09, 2017 10:46 pm    Post subject: Reply with quote

Jaglover wrote:
What's the difference, keep the latest kernel that worked for you before upgrade.
There might be a bug common to both, which is why I keep different series. Keeping all three up to date was working OK until Linus started the "kernel of the week club". I can't beleive these "stable" (according to kernel.org) releases are thoroughly tested.
Back to top
View user's profile Send private message
asturm
Developer
Developer


Joined: 05 Apr 2007
Posts: 7209
Location: Austria

PostPosted: Sun Jul 09, 2017 10:51 pm    Post subject: Reply with quote

Linus doesn't do kernel point releases.

Tony0945 wrote:
I can't beleive these "stable" (according to kernel.org) releases are thoroughly tested.

Wait for a week and they inevitably are...
_________________
backend.cpp:92:2: warning: #warning TODO - this error message is about as useful as a cooling unit in the arctic
Back to top
View user's profile Send private message
Tony0945
Advocate
Advocate


Joined: 25 Jul 2006
Posts: 3293
Location: Illinois, USA

PostPosted: Sun Jul 09, 2017 11:56 pm    Post subject: Reply with quote

asturm wrote:
Linus doesn't do kernel point releases.
OK, somebody at kernel.org
Back to top
View user's profile Send private message
saboya
Guru
Guru


Joined: 28 Nov 2006
Posts: 474
Location: Brazil

PostPosted: Mon Jul 10, 2017 3:56 am    Post subject: Reply with quote

Just wait a few weeks before upgrading?
Back to top
View user's profile Send private message
marax_faraii
n00b
n00b


Joined: 11 Apr 2016
Posts: 40

PostPosted: Mon Jul 10, 2017 7:01 am    Post subject: Reply with quote

What I do is that I have the latest stable from the portage tree but my main is ~amd64 so when there's an update, I compile it, test it but I keep the previous version until all is conformed to work and if there's something I rely on doesn't work anymore I search for bugs and if there isn't any I open one.
Back to top
View user's profile Send private message
Tony0945
Advocate
Advocate


Joined: 25 Jul 2006
Posts: 3293
Location: Illinois, USA

PostPosted: Mon Jul 10, 2017 12:55 pm    Post subject: Reply with quote

marax_faraii wrote:
What I do is that I have the latest stable from the portage tree but my main is ~amd64 so when there's an update, I compile it, test it but I keep the previous version until all is conformed to work and if there's something I rely on doesn't work anymore I search for bugs and if there isn't any I open one.

Thank you. Since none of the 4.11 branch are stable in the portage sense, then I would keep the 4.9 branch.

It would be good to do this automatically, but I don't know if it's possible to do "latest stable" in an ebuild. It is possible to specify the branch slot.
I used to specify specific versions in the world file when releases only came out every few months but I hate to edit the world file weekly; it's just an invitation to disaster.
Back to top
View user's profile Send private message
toralf
Developer
Developer


Joined: 01 Feb 2004
Posts: 3723
Location: Hamburg

PostPosted: Mon Jul 10, 2017 1:21 pm    Post subject: Reply with quote

Keep the last 2 working kernel versions, eg. both 4.9.36 and 4.11.9 - so you're on the save site.
Back to top
View user's profile Send private message
Tony0945
Advocate
Advocate


Joined: 25 Jul 2006
Posts: 3293
Location: Illinois, USA

PostPosted: Mon Jul 10, 2017 1:28 pm    Post subject: Reply with quote

toralf wrote:
Keep the last 2 working kernel versions, eg. both 4.9.36 and 4.11.9 - so you're on the save site.

More work, but a solution.

Or do you mean keep just one (or two) specific versions, updatng monthly or quarterly instead of compiling each new release in the series?

That's a good answer too.

Do you know what's different architecturally between 4.9 and 4.11? That was the real basis of this thread.
Why did 4.8 disappear from gentoo but 4.4 stayed?
Back to top
View user's profile Send private message
fcl
n00b
n00b


Joined: 31 Dec 2016
Posts: 72

PostPosted: Mon Jul 10, 2017 1:56 pm    Post subject: Reply with quote

Tony0945 wrote:
....
Why did 4.8 disappear from gentoo but 4.4 stayed?

If you check kernel.org you can see that 4.8 series isn't listed, ie. it's not supported anymore by upstream. Gentoo kernel team could manually patch it but it's not worth it as there are other older/newer kernels supported by upstream.
Back to top
View user's profile Send private message
Tony0945
Advocate
Advocate


Joined: 25 Jul 2006
Posts: 3293
Location: Illinois, USA

PostPosted: Mon Jul 10, 2017 3:22 pm    Post subject: Reply with quote

Versions changing too fast for me. And no longer any commentary on what changed.
Back to top
View user's profile Send private message
Jaglover
Watchman
Watchman


Joined: 29 May 2005
Posts: 7328
Location: Saint Amant, Acadiana

PostPosted: Mon Jul 10, 2017 4:04 pm    Post subject: Reply with quote

I think I'm missing the whole reason for this discussion. Once I have the sources on my hard drive, why should I worry if the ebuild is still in the tree?
_________________
Please learn how to denote units correctly!
Back to top
View user's profile Send private message
asturm
Developer
Developer


Joined: 05 Apr 2007
Posts: 7209
Location: Austria

PostPosted: Mon Jul 10, 2017 4:29 pm    Post subject: Reply with quote

Tony0945 wrote:
Versions changing too fast for me. And no longer any commentary on what changed.

The public git log really is enough for the small changes between point releases, I don't even remember the last time summary said anything else than 'all users must upgrade'.

Tony0945 wrote:
More work, but a solution.

What exactly is 'work' about simply not deleting already compiled kernel images?


Are you desperately trying to find reasons to complain?
_________________
backend.cpp:92:2: warning: #warning TODO - this error message is about as useful as a cooling unit in the arctic
Back to top
View user's profile Send private message
Tony0945
Advocate
Advocate


Joined: 25 Jul 2006
Posts: 3293
Location: Illinois, USA

PostPosted: Mon Jul 10, 2017 6:42 pm    Post subject: Reply with quote

asturm wrote:
What exactly is 'work' about simply not deleting already compiled kernel images?


Are you desperately trying to find reasons to complain?


The work is in compiling the new kernels, mostly in configuration.

Quote:
Are you desperately trying to find reasons to complain?

I wasn't complaining. I thought[/quote] maybe someone new why there is a 4.9 series and a 4.11 series, i.e. What's the difference?

Why are you so truculent?
Back to top
View user's profile Send private message
Tony0945
Advocate
Advocate


Joined: 25 Jul 2006
Posts: 3293
Location: Illinois, USA

PostPosted: Mon Jul 10, 2017 6:45 pm    Post subject: Reply with quote

Jaglover wrote:
I think I'm missing the whole reason for this discussion. Once I have the sources on my hard drive, why should I worry if the ebuild is still in the tree?

Yes, you are. It's not about keeping old versions. It's why should I keep building new subversions of both 4.9 and 4.11 instead of dumping one.

I'm marking it closed.
Back to top
View user's profile Send private message
asturm
Developer
Developer


Joined: 05 Apr 2007
Posts: 7209
Location: Austria

PostPosted: Mon Jul 10, 2017 6:46 pm    Post subject: Reply with quote

Why don't you ask that question right away? It's not hard to figure out that info (right from lkml), and there's much more than just 4.11 and 4.9 available:

Code:
mainline   4.12
stable   4.11.9
longterm   4.9.36
longterm   4.4.76
longterm   4.1.42
longterm   3.18.60 (EOL)
longterm   3.16.45
longterm   3.10.107
longterm   3.4.113
longterm   3.2.90


The further you go down, the more conservative the audience for these LTS releases are... It's really your choice, you know best which kernels work fine for your hardware. And if you don't want to make such decisions at all, just follow Gentoo stable kernels...

Tony0945 wrote:
The work is in compiling the new kernels, mostly in configuration.

Why would you? make oldconfig for the new kernel, keep old kernel as fallback...
_________________
backend.cpp:92:2: warning: #warning TODO - this error message is about as useful as a cooling unit in the arctic
Back to top
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 14371

PostPosted: Tue Jul 11, 2017 12:14 am    Post subject: Reply with quote

You shouldn't be updating both 4.9 series and 4.11 series on a single system. Pick whether you want to track an LTS kernel or track a short-term stable kernel. Build and switch to each point release of that series, ignoring any that you do not need (e.g. if a fix applies only to subsystems you know you do not build). Identifying which kernels are irrelevant to you can be a bit challenging since every announcement says "everyone must upgrade" and does not usually go into whether there are any critical changes. At that point, you need to choose either to err on the side of caution and take upgrades you may not need or err on the side of convenience and risk missing an update you should have taken.
Back to top
View user's profile Send private message
Tony0945
Advocate
Advocate


Joined: 25 Jul 2006
Posts: 3293
Location: Illinois, USA

PostPosted: Tue Aug 08, 2017 1:13 pm    Post subject: Reply with quote

The answer is 4.9, see here: https://fossbytes.com/linux-4-14-next-lts-kernel/

Good advice, Hu, but I prefer to keep at least two kernels in grub in case the latest has serious problems with my hardware.
Back to top
View user's profile Send private message
s4e8
Guru
Guru


Joined: 29 Jul 2006
Posts: 309

PostPosted: Tue Aug 08, 2017 3:00 pm    Post subject: Reply with quote

4.12 as backup, git-source as default.
Back to top
View user's profile Send private message
NTU
Apprentice
Apprentice


Joined: 17 Jul 2015
Posts: 165

PostPosted: Sat Aug 19, 2017 3:07 am    Post subject: Reply with quote

s4e8 wrote:
4.12 as backup, git-source as default.


:lol: :lol: :lol: :lol: :lol: :lol: :lol:

Finally some decent advice! lmao
Back to top
View user's profile Send private message
asturm
Developer
Developer


Joined: 05 Apr 2007
Posts: 7209
Location: Austria

PostPosted: Sat Aug 19, 2017 6:40 am    Post subject: Reply with quote

Tony0945 wrote:
The answer is 4.9, see here: https://fossbytes.com/linux-4-14-next-lts-kernel/

asturm wrote:

Code:
longterm   4.9.36

_________________
backend.cpp:92:2: warning: #warning TODO - this error message is about as useful as a cooling unit in the arctic
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