Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #177791

Re: Kernel Update on Stretch

From Christian Seiler <christian@iwakd.de>
Newsgroups linux.debian.user
Subject Re: Kernel Update on Stretch
Date 2017-02-14 15:20 +0100
Message-ID <taM7v-2Vs-11@gated-at.bofh.it> (permalink)
References <tayHg-2e2-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Hi,

On 02/14/2017 12:58 AM, Daniel Bareiro wrote:
> Some time ago I read that Linux 4.x incorporates the feature to be
> updated without requiring a restart of the operating system.

They incorporated parts of that. There are still some unsolved issues.

See for example this article from last November about the topic:
https://lwn.net/Articles/706327/

So there's no complete upstream support for this yet, there are
several distributions that roll their own variants.

> Since stretch incorporates a kernel of the 4.x series, this would imply
> that we can update the kernel package and avoid reboots?

No. There are two components to this:

 1. The kernel must support loading live patches

    This is partially true for the kernel that will come with
    Stretch (CONFIG_LIVEPATCH=y), but (see the LWN article I linked)
    it doesn't actually work safely yet.

 2. Someone needs to prepare the live patches. Currently nobody in
    Debian is doing that.

    You could do it yourself with the right tooling (look at kpatch
    and kgraft), but preparing these kinds of patches is very
    complicated. (And that still doesn't solve the problem that
    the current patch loading support is unsafe, see 1.)

Further reading:

https://lists.debian.org/1460472961.25201.200.camel@decadent.org.uk

Depending on whether there is movement in the upstream kernel there
is a chance this might be a thing in Buster, but it definitely
won't work out of the box in Stretch. You'll still need to reboot.

Regards,
Christian

Back to linux.debian.user | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

Kernel Update on Stretch Daniel Bareiro <daniel-listas@gmx.net> - 2017-02-14 01:00 +0100
  Re: Kernel Update on Stretch Sven Hartge <sven@svenhartge.de> - 2017-02-14 13:50 +0100
    Re: Kernel Update on Stretch Darac Marjal <mailinglist@darac.org.uk> - 2017-02-14 14:10 +0100
      Re: Kernel Update on Stretch Sven Hartge <sven@svenhartge.de> - 2017-02-14 14:30 +0100
        Re: Kernel Update on Stretch Daniel Bareiro <daniel-listas@gmx.net> - 2017-02-14 15:00 +0100
      Re: Kernel Update on Stretch Daniel Bareiro <daniel-listas@gmx.net> - 2017-02-14 14:50 +0100
  Re: Kernel Update on Stretch Christian Seiler <christian@iwakd.de> - 2017-02-14 15:20 +0100

csiph-web