LTSI Project update Long Term Support Ini0a0ve. Tsugikazu SHIBATA, NEC 23, Oct Embedded Linux Conference Europe Hilton Prague

Similar documents
LTSI Project update Long Term Support Ini0a0ve. Tsugikazu SHIBATA, NEC 21, February 2017 Embedded Linux Conference Hilton Portland, OR

LTSI Project update Long Term Support Ini0a0ve. Tsugikazu SHIBATA 20, June at Open Source Summit Japan, Ariake Tokyo

LTSI : Status update and discussion. Long Term Support Ini1a1ve

LTSI Project update Long Term Support Ini0a0ve. Tsugikazu SHIBATA, NEC Hisao Munakata, Renesas 20, May 2014 LinuxCon so

How to decide Linux Kernel for Embedded Products. Tsugikazu SHIBATA NEC 20, Feb Embedded Linux Conference 2013 SAN FRANCISCO

Embedded Linux Now and the future with LTSI. Hisao Munakata, Renesas Tsugikazu SHIBATA, NEC 27. March 2014 CollaboraDon Summit

LTSI Project update. Hisao Munakata, Renesas Tsugikazu SHIBATA, NEC 29. April 2014 Embedded Linux Confenrece

How to cook the LTSI kernel with Yocto recipe

LTSI Project Update. LTSI Kernel, How We Can Help Automotive Industries. Hisao Munakata, Tsugikazu Shibata

LTSI Project Update. for LTSI-3.10 and shared kernel test trial (part 2) Tsugikazu Shibata, Hisao Munakata

Disclaimer. This talk vastly over-simplifies things. See notes for full details and resources.

Disclaimer. This talk vastly over-simplifies things. See notes for full details and resources.

Open Enterprise & Open Community opensuse & SLE Empowering Each Other. Richard Brown opensuse Chairman

Operating System Support Plan for Test Delivery System

CLOSE ENCOUNTERS OF THE UPSTREAM RESOURCE

Keeping up with LTS Linux Kernel Functional Testing on Devices

Operating System Support Plan for Test Delivery System

A STUDY OF ANDROID OPERATING SYSTEM WITH RESPECT WITH USERS SATISFACTION

Operating System Support Plan for Test Delivery System

Project Treble. What Makes Android 8 different? August 2018

Roy Swonger Vice President Database Upgrades & Utilities Oracle Corporation

The Embedded Linux Problem

Yocto Overview. Dexuan Cui Intel Corporation

Are you Really Helped by Upstream Kernel Code?

Reboot adieu! Online Linux kernel patching. Udo Seidel

Review of the Stable Realtime Release Process

Practice LTSI Test Framework & Introduction of ethtool Test Set

UTILIZING A BIG.LITTLE TM SOLUTION IN AUTOMOTIVE

Status of Embedded Linux Status of Embedded Linux October 2014

Open Enterprise & Open Community

Kernel maintainership: an oral tradition

LINUX KERNEL UPDATES FOR AUTOMOTIVE: LESSONS LEARNED

A Smart Way to Manage Packages in Yocto Project

Time is ready for the Civil Infrastructure Platform

Operating System Support Plan for Connecticut Comprehensive Assessment Program

Azure Sphere: Fitting Linux Security in 4 MiB of RAM. Ryan Fairfax Principal Software Engineering Lead Microsoft

Git. Ľubomír Prda. IT4Innovations.

Long Term Support Initiative

Keeping Up With The Linux Kernel. Marc Dionne AFS and Kerberos Workshop Pittsburgh

Operating System Support Plan for Test Delivery System

Linux Kernel Evolution. OpenAFS. Marc Dionne Edinburgh

FUT92715 Solve the Paradox SUSE Linux Enterprise Live Patching Roadmap

App Economy Market analysis for Economic Development

Sony s Open Devices Project. Goals Achievements. What went right? What went wrong? Lessons learned

Contribute To Linux Mainline

SOFTWARE CONFIGURATION MANAGEMENT

Linux: Reducing the cost of upstream development to encourage collaboration

kpatch Have your security and eat it too!

Embedded in 2010: An End to the Entropy? Matt Asay COO, Canonical

Community preferred Renesas BSP Activity and How to use kingfisher on AGL

E-Guide WHAT WINDOWS 10 ADOPTION MEANS FOR IT

AOSP Devboard Update & Recent/Future Pain Points. John Stultz

Towards Sustainable Systems with the Civil Infrastructure Platform. Jan Kiszka, Siemens AG LinuxCon North America, 24 th August 2016

An Introduction to Android. Jason Chen Developer Advocate Google I/O 2008

LTSI kernel / Yocto Validation Proposal

DevOps Made Easy. Shireesh Thanneru, Platform Architect. Intel. Linoy Alexander, Director, DevOps

Operating System Support Plan for Test Delivery System

Digitalization of Kernel Diversion from the Upstream

A Review of the 2006 Linux Kernel Summit & >linuxsymposium

Industrial-grade Open Source Base Layer. Yoshitake Kobayashi, Toshiba Corporation Embedded Linux Conference North America, March 12-14, 2018

IT S COMPLICATED: THE ENTERPRISE OPEN SOURCE VENDOR RELATIONSHIP. Red Hat s POV

BUILDING APPLICATION SECURITY INTO PRODUCTION CONTAINER ENVIRONMENTS Informed by the National Institute of Standards and Technology

Tizen IVI Architecture New features. Dominig ar Foll, Intel Open Source

<Insert Picture Here> Linux: The Journey, Milestones, and What s Ahead Edward Screven, Chief Corporate Architect, Oracle

Operating System Support Plan for Test Delivery System

The VDC is already running on Windows, Mac OS and Linux. In Version 2 we implemented a lot new Functions and increased the stability.

Docker for People. A brief and fairly painless introduction to Docker. Friday, November 17 th 11:00-11:45

SUSE s vision for agile software development and deployment in the Software Defined Datacenter

RISC-V. Palmer Dabbelt, SiFive COPYRIGHT 2018 SIFIVE. ALL RIGHTS RESERVED.

Optimizing Field Operations. Jeff Shaner

A Survivor's Guide to Contributing to the Linux Kernel

[RFC] Obtaining Management Buy-in for Mainline Development

IOTIVITY AND EMBEDDED LINUX SUPPORT. Kishen Maloor Intel Open Source Technology Center

ONAP Release Planning

DPDK Roadmap. Tim O Driscoll & Chris Wright Open Networking Summit 2017

Flatpak and your distribution. Simon McVittie

RED HAT ENTERPRISE LINUX. STANDARDIZE & SAVE.

Cyber Hygiene: Uncool but necessary. Automate Endpoint Patching to Mitigate Security Risks

HOW TO MAKE THE CASE TO MANAGEMENT: PAYING FOR OPEN SOURCE

Case study on PhoneGap / Apache Cordova

Organising benchmarking LLVM-based compiler: Arm experience

IT DEPT MAINTAINER. Upstream in a LEGAL. Downstream Environment. PATCHES Dinh Nguyen Senior Embedded SW Engineer ELC Dublin 2015

Automated Kernel SECURITY UPDATES Without Reboots. Safe Kernel. Safer Linux.

Kubernetes 101. Doug Davis, STSM September, 2017

The Yocto Project. Chris Young S/W Specialist SILICA Europe. Harmonising Software Development across multiple Embedded ARM SOC targets

Frédéric Crozat SUSE Linux Enterprise Release Manager

Civil Infrastructure Platform : Industrial Grade SLTS Kernel and Base-Layer Development

Perceptive Experience Content Apps

Android Gingerbread Manually Update To Jelly Bean What's New

Branching and Merging

Computers for the whole world: An intro to GNOME and free software. Nuritzi Sanchez GNOME Foundation President, Board of Directors

ACTIVE MICROSOFT CERTIFICATIONS:

SCAP Security Guide Questions / Answers. Ján Lieskovský Contributor WorkShop November 2015

UNIVERSITY REFERENCING IN GOOGLE DOCS WITH PAPERPILE

Android. Lesson 1. Introduction. Android Developer Fundamentals. Android Developer Fundamentals. to Android 1

Linux and Open Source in Samsung

Introduction of the IoT Platform Node-RED and Hitachi s Activities Open Source Summit Japan 2018 Ide, Takaya Nakanishi, Kazuki

SAMSUNG ELECTRONICS RESERVES THE RIGHT TO CHANGE PRODUCTS, INFORMATION AND SPECIFICATIONS WITHOUT NOTICE. Products and specifications discussed

SOFTWARE MAINTENANCE PROGRAM for exo Platform

Sunil Shah SECURE, FLEXIBLE CONTINUOUS DELIVERY PIPELINES WITH GITLAB AND DC/OS Mesosphere, Inc. All Rights Reserved.

Transcription:

LTSI Project update Long Term Support Ini0a0ve Tsugikazu SHIBATA, NEC 23, Oct. 2017 Embedded Linux Conference Europe Hilton Prague

agenda Kernel stajsjcs and process History of LTSI and learned in 6 years Further steps for maintaining kernel long term

Who am I Tsugikazu SHIBATA, NEC Founder and project lead of LTSI LTS/LTSI Advocate Board member of Linux FoundaJon Involved with Linux community since 2.4

Linux = Open Source project Linux is one of the most successful Open Source project ConJnue growing in 26 years ; expanding adopjon for new area; IT enterprise, Cloud, Network, Smart Phone, RoboJcs, Embedded, IoT and many others Developing and delivering under GPLv2

Developed by the community ParJcipaJng ~1700 developer, ~230 companies every releases Growing yearly 1.5Mlines of code, 4000 files increased 26 Years of history Maintainers have great skill to manage the subsystem and professional knowledge of its area of technologies

Status of Latest Linux Kernel Latest released Kernel : 4.13 Released: Sep 3rd, 2017 Lines of code : 24,767,008 (+596,148) Files : 60,543 (+737) Developed period: 63 days from 4.12 Current Stable Kernel: 4.13.9 Current development kernel: 4.14-rc5

5 Kernel release cycle Release cycle: 65 ~ 70 days, 5~6 releases/year Version Release Rel. span 3.19 2015-2-9 64 4.0 2015-4-12 62 4.1 2015-6-22 71 4.2 2015-8-30 69 4.3 2015-11-2 64 4.4 2016-1-10 68 5 Version Release Rel. span 4.9 2016-12-11 70 4.10 2017-02-09 60 4.11 2017-04-30 80 4.12 2017-07-02 63 4.13 2017-09-03 63 4.14 2017-?? 4.5 2016-3-14 64 6 4.6 2016-5-15 63 4.7 2016-7-24 70 4.8 2016-10-2 70

Linux development policy Upstream is only the place to accept the patches Reviewed by skilled maintainer Tested with other proposals to confirm no conflicts Well coordinated development process for over thousands of developers New Features Upstream Fixes (Bug/Security)

Linux Development process Just aier the release of 4.n, two weeks of merge window will be opened for proposal of new features Aier 2 weeks of merge window, -rc1 will be released and the stabilizajon will be started 4.n+1 will be released when it becomes reasonably stable by some of -rcx released Merge Window (2weeks) Stabilization 4.n -rc1 -rc2 -rc3 -rc4 -rcx 4.n+1

Linux Source Code Growth Increasing 0.3ML/Version, 1.5ML/year 30,000,000 Linux source code growth 25,000,000 20,000,000 15,000,000 10,000,000 5,000,000 0 4.0 4.1 4.2 4.3 4.4 4.5 4.6 4.7 4.8 4.9 4.10 4.11 4..12 4.13

Rapid Release cycle of Linux Yearly more than 5 Jmes of chance to marge the code into upstream. Other project maybe 6 month release cycle that is 2 Jmes/year Lot s of chance to merge new code into upstream So many choice to use for newer products and need deeper knowledge to pick right version

Stable kernel release 4.n 4.n+1 4.n+2 4.N+1 Development 4.n.1 4.n.2 Recommended branch for users who want the most recent stable kernel 3 part version like 4.n.m EOL EOL Contain small and crijcal fixes for security problems or significant regressions discovered in a latest development version Becomes End Of Life when next stable kernel were released

Status of Latest Linux Kernel Again Latest released Kernel : 4.13 Current Stable Kernel : 4.13.7 Current development kernel : 4.14-rc5 4.13 4.14-rc5 4.14 Development 4.13.1 4.13.7

LTS: Long Term Stable Kernel Extended maintenance period for stable kernel Kernel tree conjnue to back port bug and Security fixes for more long term Pick one version per year and maintain 2 years Development Release Stable Release LTS

Why LTS? Only the tree get fixes from the community In the real use case, tested/confirmed kernel is important, less important for new features Fixes will be released # of Jmes and should be applied frequently, Security/Bug fixes are being more important Bugs found in LTS should be reported and fixed in upstream

Current LTS versions https://www.kernel.org/category/releases.html Version Maintainer Released Projected EOL Years 4.9 Greg Kroah-Hartman 2016-12-11 Jan, 2019 2 4.4 Greg Kroah-Hartman 2016-01-10 Feb, 2022 6 4.1 Sasha Levin 2015-06-21 May, 2018 3 3.16 Ben Hutchings 2014-08-03 Apr, 2020 6 3.10 Willy Tarreau 2013-06-30 Oct, 2017 4 3.2 Ben Hutchings 2012-01-04 May, 2018 6

LTS includes large number of fixes 600 700 fixes included in a Stable release LTS include several thousands of fixes Version FROM-TO #Com mits 3.2 3.2.94 8105 3.3 3.3.8 698 3.4 3.4.113 5929 3.5 3.5.7 816 3.6 3.6.11 757 3.7 3.7.10 718 3.8 3.8.13 996 3.9 3.9.11 746 3.10 3.10.107 6564 3.11 3.11.10 677 Version FROM-TO #com mits 3.12 3.12.70 7342 3.13 3.13.11 903 3.14 3.14.79 4977 3.15 3.15.10 703 3.16 3.16.49 7278 3.17 3.17.8 884 3.18 3.18.75 5281 3.19 3.19.8 873 4.0 4.0.9 757 4.1 4.1.44 4629 Version FROM-TO #com mits 4.2 4.2.8 903 4.3 4.3.6 618 4.4 4.4.92 5619 4.5 4.5.7 973 4.6 4.6.7 705 4.7 4.7.10 912 4.8 4.8.17 1102 4.9 4.9.56 4838 4.10 4.10.17 1136 4.11 4.11.12 984 Version FROM-TO As of 2017/10/15 #com mits 4.12 4.12.14 837 4.13 4.13.7 509 LTS EOLed LTS Stable

# of Yearly fixes in LTS LTS include 1 ~ 3 thousands of fixes every year ConJnue to apply these patches are very important for the security viewpoint Version Maintainer Released Years maintained Total Commits As of 2017/10/15 Fixes/year 4.9 Greg Kroah-Hartman 2016-12-11 0.8 4038 4038 4.4 Greg Kroah-Hartman 2016-01-10 1.8 5619 3176.0 4.1 Sasha Levin 2015-06-21 2.3 4629 1989.3 3.16 Ben Hutchings 2014-08-03 3.2 7278 2266.2 3.10 Willy Tarreau 2013-06-30 4.3 6564 1523.8 3.2 Ben Hutchings 2012-01-04 5.8 8105 1397.5

LTSI Status

What is LTSI Open Source community to create and maintain LTSI kernel tree for long term Based on LTS, All the LTS patches are applicable Add another chance to include further patches on top of LTS, That is LTSI tree Industry party to share best pracjce and help companies to use Linux for long term

LTSI includes LTS LTSI p Be able to add required features on top of LTS p Share status, info, problem among industry people p Huge tesjng by contributors p Auto test frame-work p Provide help developer for upstream LTS p Release 1 version / year, Maintain 2 years p Frequently and large number of bug /security fixes

History of LTSI Established 2011, in ELCE Prague 6 yeas now! Started for stable Kernel for Android Every Android release was used different kernel Android 3.0 Ice cream Sandwich was used Linux 3.0 Number of different tree need to be integrated Discussed about the shape of LTS 2 Years term and release every year Maintaining 2 LTS kernels is reasonable for both companies and maintainer

History of LTSI Maintained by Greg Kroah-Hartman, Fellow of Linux FoundaJon as same as LTS Released yearly basis; 3.0, 3.4, 3.10, 3.14, 4.1, 4.9 Integrated by Yocto Project (2012, May) Yocto is about 60% or more share of Embedded products Have had workshop/session to share informajon and discuss issue among industry Have many of use cases : AGL

Learned in 6 Years The value of LTS/LTSI were : 1. LTS and LTSI is only a choice for the products 2. Upstream First policy 3. Security and Bug fixes are being more important in Embedded space

1. LTS and LTSI is only a choice For Long-term usage, LTS/LTSI is just fit LTS provides 2-3K of patches in a year If the work should be done by a company, the company needs specific resources Now, all the Android device using LTS LTS is default choice even for the other use case There is more longer term requirements CIP, AGL and Android

2. Upstream First policy Changing kernel for the product first makes problem for long term use Large number of fixes may NOT applicable in the future Huge discussion happened before kernel summit 2016 That s why companies developers need parjcipate Linux kernel community IniJal hurdle may high but important for long term use LTSI is keeping upstream first policy

3. Security / Bug fixes are being more important Now fixing security problem is mandatory requirement To apply community provided security fixes, base code should be same as upstream. Otherwise Immediate patch release will not possible In-house patches must as small as possible

Further steps for maintaining kernel long term

Case of Project Treble for Android Isolate Android OS and hardware specific code Under the Vendor Specific Binder (/dev/vndbinder), all the vendor specific kernel code will run VTS/CTS can test its interface By this change, silicon specific patches and LTS patches can be applied separately That makes Android soiware does NOT depend on Hardware

Live Patching Feature for live patching the kernel code was merged in Linux 4.0 Result of kgrai of SUSE and kpatch of RedHat Most CVE can be safely to apply X86 is primary architecture By using Live patching, some super important patch can be applied without down Jme

Kernel update mechanism CoreOS and ChromeOS have feature to update kernel. There is 2 different parjjon. A is current working one and during working on A, new kernel will be down loaded into B and then boot from B. Google is providing basic code called Omaha Different commercial implementajon is available This will easier to upgrade kernel and also easy to roll back to previous kernel

Container based OS For Embedded space, Container will be able to used as packaging technology Be able to ignore problem of Libraries and Language processor version Building Container OS is different OS is just providing service for container Basic OS should include minimum packages Apps supports should be in Container

LTSI 2017 Development plan 2016 2017 2018 10 11 12 1 2 3 4 5 6 7 8 9 10 11 12 1 2 4.9 4.10 4.11 4.12 4.13 4.14 4.15 12/11 Events Announce AMM 2/8-4.9 LTS Announcements ELC 2/20-6 month Merge Window Open OSSJP 5/31- MW VP LTSI 4.9 Release OSSNA 9/11- Merge window Close Yocto2.4 ELCE/ KernelSummit 10/23- Release Electric Eel 2/8 or 20 End of June End of July End of August

LTSI 2018 Development plan 2017 2018 2018 10 11 12 1 2 3 4 5 6 7 8 9 10 11 12 1 2 4.14 4.15 4.16 4.17 4.18 4.19 4. 14 LTS Announcements 6 month MW VP LTSI 4.14 Release Yocto2. X FF You will be able to have chance to add new patches on top of 4.14 LTS in Merge Window next May

Conclusion LTSI was started to fill the gap between community and industry but sjll there is the gap We will conjnue our acjvity to discuss both side to beuer align each other Upstream first policy is important for Open Source Why don t you join LTSI? By joining LTSI, you will be able to share best pracjce Be able to get informajon for stable kernel

THANK YOU 36

You can parbcipate LTSI Follow on Twiuer account: @LinuxLTSI Web: hup://ltsi.linuxfoundajon.org Mailing list: hups://lists.linuxfoundajon.org/mailman/lisjnfo/ltsi-dev Git tree : hup://git.linuxfoundajon.org/?p=ltsiernel.git;a=summary 37