1204_HWE_EOL

Differences between revisions 10 and 18 (spanning 8 versions)
Revision 10 as of 2014-05-18 14:06:09
Size: 4801
Editor: petermatulis
Comment:
Revision 18 as of 2014-07-18 00:18:26
Size: 5906
Editor: seth-arnold
Comment: caveat virtualbox
Deletions are marked like this. Additions are marked like this.
Line 5: Line 5:
Hardware Enablement Stacks (HWE) are incorporated into installers for select LTS point releases in order to provide hardware support introduced in newer Ubuntu releases. For Ubuntu 12.04 the point releases are .2/.3/.4/.5 and the corresponding Ubuntu releases are 12.10/13.04/13.10/14.04. Hardware Enablement Stacks (HWE) are incorporated into installers for select Ubuntu LTS (Long Term Support) point releases. It is a special Ubuntu feature that provides an LTS release with hardware support introduced in newer Ubuntu releases. For Ubuntu 12.04 the point releases are .2/.3/.4/.5 and the corresponding Ubuntu releases are 12.10/13.04/13.10/14.04.
Line 12: Line 12:
End-of-life (EOL) for 12.04, 12.04.1, and 12.04.5 HWE is April 2017 but for the other HWE stacks it is roughly when 14.04.1 is released: Aug 8, 2014.  Since HWE (and thus a new kernel series) cannot be introduced through regular package updates it is possible to update a 12.04 (or 12.04.1) system to arrive at a later point release and still preserve the EOL date of April 2017. End-of-life (EOL) for 12.04, 12.04.1, and 12.04.5 HWE is April 2017 but for the other HWE stacks it is roughly when 14.04.1 is released: Aug 8, 2014.
Line 37: Line 37:
COMES WITH WHAT PACKAGE? It will become available in package '''update-manager-core'''.

To run:
Line 40: Line 42:
hwe-support-status hwe-support-status --verbose
Line 43: Line 45:
To get it earlier you can get it from Launchpad: Get it from Launchpad if you want it earlier:
Line 50: Line 52:
./hwe-support-status ./hwe-support-status --verbose
Line 52: Line 54:

Notes on this tool:

 * Contains the central logic used by other mechanisms/software that have been modified to alert the user of HWE EOL. These are:

  1. update-manager (desktop)
  1. update-notifier
  1. ubuntu-support-status

 * On affected systems, it provides command line instructions for machines not running a graphics stack (typically servers). It will refer you to a graphical tool (update-manager) if a graphics stack is detected (typically desktops).
Line 55: Line 67:
You can get a basic idea by just checking your running kernel version: Check your running kernel version:
Line 66: Line 78:
= What are my options if I am affected? = = What to do if I'm affected? =
Line 68: Line 80:
You have the three options below. You have three options:
Line 70: Line 82:
== 1. Install Trusty HWE on 12.04 ==  1. Install 12.04.5 HWE (Trusty kernel/graphics)
 1. Upgrade to 14.04 LTS
 1. Fresh install of 14.04 LTS
Line 72: Line 86:
This depends if you are running on a desktop or server system. The hwe-support-status script will tell you exactly what you need to run.
 * Desktop: sudo apt-get install linux-generic-lts-trusty xserver-xorg-lts-trusty libgl1-mesa-glx-lts-trusty
 * Server: sudo apt-get install linux-generic-lts-trusty
== 1. Install 12.04.5 HWE (Trusty kernel/graphics) ==
Line 76: Line 88:
Then reboot into your new Trusty hardware stack. The hwe-support-status tool will tell you what you need to do.
Line 78: Line 90:
== 2. Upgrade from 12.04 LTS to 14.04 LTS == == 2. Upgrade to 14.04 LTS ==
Line 80: Line 92:
The only command you need to run is:
sudo do-release-upgrade (currently you would need to do '-d')
The hwe-support-status tool will tell you what you need to do.
Line 83: Line 94:
But it's strongly recommended to make sure the system is in a good state before upgrading. More details will be found here: https://help.ubuntu.com/community/TrustyUpgrades which unfortunately doens't have 12.04->14.04 notes yet. If you want to upgrade a desktop system to 14.04 before July 16, 2014 (the date at which all necessary software components are in the regular -updates repository) you will need to invoke update-manager from the command line:
Line 85: Line 96:
It generally boils down to make sure you have free space (2x the size of all installed packages - also consider running apt-get autoremove to clean up old packages), make sure you are fully up to date, make sure reboots works normally (and on dual boot Linux machines, note which one controls grub), and make a backup. {{{
update-manager -p
}}}
Line 87: Line 100:
== 3. Fresh Install of 14.04 LTS == For both servers and desktops it's strongly recommended to ensure a system is in a good state before upgrading. Here are some tips:
Line 89: Line 102:
You always have the option of reploying the machines with a fresh copy of Ubuntu 14.04 LTS and the reconfiguring them to your needs.  * Enough free space (2x the size of all installed packages)
 * Update all packages
 * Run ''sudo apt-get autoremove'' to clean up old packages
 * Ensure a reboot works normally (and on dual boot Linux machines, note which operating system controls the bootloader/GRUB)
 * Perform a backup of important data
Line 91: Line 108:
= What are the pros and cons of those options? = == 3. Fresh install of 14.04 LTS ==

Redeploy with a fresh copy of Ubuntu 14.04 LTS.

= FAQ =

 * '''I am running 12.04.2 HWE. From August 8, 2014 onwards my system will no longer receive package updates?'''
Not true. Such a system will only stop receiving updates for the kernel and the graphics stack. The rest of the software will continue to get updates.

 * '''So if I am running 12.04.3 (as seen from ''lsb_release -d'') then starting from August 8, 2014 my kernel and graphics stack will no longer receive package updates?'''
Not true. 12.04.3 is not 12.04.3 HWE. And since HWE (and thus a new kernel series) cannot be introduced through regular package updates it is possible to update a non-HWE system to arrive at a later point release, such as 12.04.3, and still preserve the EOL date of April 2017.

 * '''What are the pros and cons of those options?'''
Line 93: Line 123:
||Kernel || 14.04 Kernel version (3.13 kernel) || 14.04 Kernel version (3.13 kernel) || 14.04 Kernel ||
||Xorg   || 14.04 Xorg and Graphics Stack || 14.04 Xorg and Graphics Stack || 14.04 Xorg and Graphics Stack ||
||EOL    || 12.04 EOL (April 2017) || 14.04 EOL (April 2019) || 14.04 EOL ||
|| Applications/Servers || Generally no change<<FootNote(It's important to note that changing the Linux kernel/Xorg stack can affect applications. For example the 14.04 kernel can online resize ext4 partitions much faster than the 12.04 kernel can.)>> || Newer 14.04 Versions will be installed, may need reconfiguring || Needs to be fully reconfigured and restored ||
|| Time <<FootNote(These are just estimates, if you are scheduling a downtime window please do your own tests on your environment)>> || 10-30 Minutes with reboot || 1-3 hours with reboot + || 30 Minutes (just install) ||
|| Kernel || 14.04/Trusty version (v3.13) || 14.04/Trusty version (v3.13) || 14.04/Trusty version (v3.13) ||
|| Graphics || 14.04/Trusty Xorg and drivers || 14.04/Trusty Xorg and drivers || 14.04/Trusty Xorg and drivers ||
|| EOL || 12.04/Precise EOL (April 2017) || 14.04/Trusty EOL (April 2019) || 14.04/Trusty EOL (April 2019) ||
|| Applications/Servers || Generally no change<<FootNote(It's important to note that changing the Linux kernel/Xorg stack can affect applications. For example the 14.04 kernel can online resize ext4 partitions much faster than the 12.04 kernel can. [[https://bugs.launchpad.net/ubuntu/+source/virtualbox/+bug/1343305|VirtualBox's DKMS kernel module fails to build with the lts-trusty HWE.]])>> || Newer 14.04 versions will be installed, may need reconfiguring || Require complete installation and configuration ||
|| Time (minutes) <<FootNote(These are just estimates and do not include reboot times. Base downtime window length on tests performed in your environment.)>> || 2-10 || 30-120 || 30, not including configuration ||

What is HWE?

Hardware Enablement Stacks (HWE) are incorporated into installers for select Ubuntu LTS (Long Term Support) point releases. It is a special Ubuntu feature that provides an LTS release with hardware support introduced in newer Ubuntu releases. For Ubuntu 12.04 the point releases are .2/.3/.4/.5 and the corresponding Ubuntu releases are 12.10/13.04/13.10/14.04.

The HWE path can be obtained in 2 ways:

  1. Installing Ubuntu from the media (ISO) for these point releases (where HWE is used by default)
  2. Manually installing some packages

End-of-life (EOL) for 12.04, 12.04.1, and 12.04.5 HWE is April 2017 but for the other HWE stacks it is roughly when 14.04.1 is released: Aug 8, 2014.

Further reading:

And why should I care?

Starting Aug 8, 2014 systems running 12.04.2 HWE, 12.04.3 HWE, or 12.04.4 HWE will no longer receive software updates for the kernel and, if you're running it, the graphics stack.

How do I know if I'm affected?

You can:

  1. use a tool expressly designed to let you know
  2. look at what packages you have installed

Tool

The tool is called hwe-support-status and it will be available first in the -proposed and then in the -updates repositories:

  • precise-proposed (by June 13)
  • precise-updates (by June 27)

It will become available in package update-manager-core.

To run:

hwe-support-status --verbose

Get it from Launchpad if you want it earlier:

sudo apt-get install bzr -y
cd ~
bzr co --lightweight  lp:~mvo/update-manager/hwe-support-status
cd hwe-support-status
./hwe-support-status --verbose

Notes on this tool:

  • Contains the central logic used by other mechanisms/software that have been modified to alert the user of HWE EOL. These are:
    1. update-manager (desktop)
    2. update-notifier
    3. ubuntu-support-status
  • On affected systems, it provides command line instructions for machines not running a graphics stack (typically servers). It will refer you to a graphical tool (update-manager) if a graphics stack is detected (typically desktops).

Packages

Check your running kernel version:

uname -r
  • you are affected if it shows a kernel in these series: 3.5 or 3.8 or 3.11
  • you are not affected if it shows a kernel in these series: 3.2 or 3.13

This method does not check for a graphics stack HWE. However, you cannot get a HWE graphics stack without a corresponding HWE kernel unless you've done things manually. Note that such a combination (HWE graphics with non-HWE kernel) is not supported.

What to do if I'm affected?

You have three options:

  1. Install 12.04.5 HWE (Trusty kernel/graphics)
  2. Upgrade to 14.04 LTS
  3. Fresh install of 14.04 LTS

1. Install 12.04.5 HWE (Trusty kernel/graphics)

The hwe-support-status tool will tell you what you need to do.

2. Upgrade to 14.04 LTS

The hwe-support-status tool will tell you what you need to do.

If you want to upgrade a desktop system to 14.04 before July 16, 2014 (the date at which all necessary software components are in the regular -updates repository) you will need to invoke update-manager from the command line:

update-manager -p

For both servers and desktops it's strongly recommended to ensure a system is in a good state before upgrading. Here are some tips:

  • Enough free space (2x the size of all installed packages)
  • Update all packages
  • Run sudo apt-get autoremove to clean up old packages

  • Ensure a reboot works normally (and on dual boot Linux machines, note which operating system controls the bootloader/GRUB)
  • Perform a backup of important data

3. Fresh install of 14.04 LTS

Redeploy with a fresh copy of Ubuntu 14.04 LTS.

FAQ

  • I am running 12.04.2 HWE. From August 8, 2014 onwards my system will no longer receive package updates?

Not true. Such a system will only stop receiving updates for the kernel and the graphics stack. The rest of the software will continue to get updates.

  • So if I am running 12.04.3 (as seen from lsb_release -d) then starting from August 8, 2014 my kernel and graphics stack will no longer receive package updates?

Not true. 12.04.3 is not 12.04.3 HWE. And since HWE (and thus a new kernel series) cannot be introduced through regular package updates it is possible to update a non-HWE system to arrive at a later point release, such as 12.04.3, and still preserve the EOL date of April 2017.

  • What are the pros and cons of those options?

HWE Upgrade Only

Full 14.04 Upgrade

Fresh 14.04 Install

Kernel

14.04/Trusty version (v3.13)

14.04/Trusty version (v3.13)

14.04/Trusty version (v3.13)

Graphics

14.04/Trusty Xorg and drivers

14.04/Trusty Xorg and drivers

14.04/Trusty Xorg and drivers

EOL

12.04/Precise EOL (April 2017)

14.04/Trusty EOL (April 2019)

14.04/Trusty EOL (April 2019)

Applications/Servers

Generally no change1

Newer 14.04 versions will be installed, may need reconfiguring

Require complete installation and configuration

Time (minutes) 2

2-10

30-120

30, not including configuration

  1. It's important to note that changing the Linux kernel/Xorg stack can affect applications. For example the 14.04 kernel can online resize ext4 partitions much faster than the 12.04 kernel can. VirtualBox's DKMS kernel module fails to build with the lts-trusty HWE. (1)

  2. These are just estimates and do not include reboot times. Base downtime window length on tests performed in your environment. (2)

1204_HWE_EOL (last edited 2014-07-18 00:18:26 by seth-arnold)