Public bug reported:

As part of debugging bug #1871687 I was asked to add a ppa and install a
new kernel. My system booted not into that kernel, but the older
original one shipping in Ubuntu.

Steps to reproduce

On a zfs/zsys enabled 20.04 system, add ppa:canonical-kernel-team/proposed and 
update/upgrade. 
As of today you'll get linux-image-5.4.0-29-generic
Reboot

Expected outcome

Boot to newer linux-image-5.4.0-29-generic kernel

Actual outcome

Booted to older stock kernel - 5.4.0-21-generic


Data:


alan@mcp:~$ uname -a
Linux mcp 5.4.0-21-generic #25-Ubuntu SMP Sat Mar 28 13:10:28 UTC 2020 x86_64 
x86_64 x86_64 GNU/Linux


alan@mcp:~$ dpkg -l linux-image* | grep ^ii
ii  linux-image-5.4.0-14-generic          5.4.0-14.17  amd64        Signed 
kernel image generic
ii  linux-image-5.4.0-21-generic          5.4.0-21.25  amd64        Signed 
kernel image generic
ii  linux-image-5.4.0-28-generic          5.4.0-28.32  amd64        Signed 
kernel image generic
ii  linux-image-5.4.0-29-generic          5.4.0-29.33  amd64        Signed 
kernel image generic
ii  linux-image-generic                   5.4.0.29.34  amd64        Generic 
Linux kernel image


alan@mcp:~$ ls -l /boot
total 192029
-rw-r--r-- 1 root root   237718 Apr 22 15:08 config-5.4.0-28-generic
-rw-r--r-- 1 root root   237718 Apr 29 14:34 config-5.4.0-29-generic
drwxr-xr-x 2 root root        5 May  2 06:17 grub
lrwxrwxrwx 1 root root       27 May  1 10:36 initrd.img -> 
initrd.img-5.4.0-29-generic
-rw-r--r-- 1 root root 86232405 Apr 29 10:09 initrd.img-5.4.0-28-generic
-rw-r--r-- 1 root root 86232164 May  1 10:37 initrd.img-5.4.0-29-generic
lrwxrwxrwx 1 root root       27 May  1 10:36 initrd.img.old -> 
initrd.img-5.4.0-28-generic
-rw------- 1 root root  4736015 Apr 22 15:08 System.map-5.4.0-28-generic
-rw------- 1 root root  4736015 Apr 29 14:34 System.map-5.4.0-29-generic
lrwxrwxrwx 1 root root       24 May  1 10:36 vmlinuz -> vmlinuz-5.4.0-29-generic
-rw------- 1 root root 11657976 Apr 22 15:43 vmlinuz-5.4.0-28-generic
-rw------- 1 root root 11657976 Apr 29 14:54 vmlinuz-5.4.0-29-generic
lrwxrwxrwx 1 root root       24 May  1 10:36 vmlinuz.old -> 
vmlinuz-5.4.0-28-generic


alan@mcp:~$ cat /proc/cmdline 
BOOT_IMAGE=/BOOT/ubuntu_pyyy5h@/vmlinuz-5.4.0-21-generic 
root=ZFS=rpool/ROOT/ubuntu_pyyy5h ro quiet splash

ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: zsys 0.4.5
ProcVersionSignature: Ubuntu 5.4.0-21.25-generic 5.4.27
Uname: Linux 5.4.0-21-generic x86_64
NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair
ApportVersion: 2.20.11-0ubuntu27
Architecture: amd64
CasperMD5CheckResult: skip
CurrentDesktop: ubuntu:GNOME
Date: Sat May  2 11:35:41 2020
InstallationDate: Installed on 2020-03-01 (61 days ago)
InstallationMedia: Ubuntu 20.04 LTS "Focal Fossa" - Alpha amd64 (20200301)
ProcKernelCmdLine: BOOT_IMAGE=/BOOT/ubuntu_pyyy5h@/vmlinuz-5.4.0-21-generic 
root=ZFS=rpool/ROOT/ubuntu_pyyy5h ro quiet splash
RelatedPackageVersions:
 zfs-initramfs  0.8.3-1ubuntu12
 zfsutils-linux 0.8.3-1ubuntu12
SourcePackage: zsys
UpgradeStatus: No upgrade log present (probably fresh install)
ZFSImportedPools:
 NAME    SIZE  ALLOC   FREE  CKPOINT  EXPANDSZ   FRAG    CAP  DEDUP    HEALTH  
ALTROOT
 rpool   920G   656G   264G        -         -    32%    71%  1.00x    ONLINE  -
ZFSListcache-bpool:
 bpool  /boot   off     on      on      off     on      off     on      off
 bpool/BOOT     none    off     on      on      off     on      off     on      
off
 bpool/BOOT/ubuntu_pyyy5h       /boot   on      on      on      off     on      
off     on      off
ZSYSJournal:
 -- Logs begin at Mon 2020-04-13 16:16:40 BST, end at Sat 2020-05-02 11:35:46 
BST. --
 [  102.002626] mcp zsysd[12235]: alan

** Affects: zsys (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug focal

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1876440

Title:
  Wrong kernel is booted

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/zsys/+bug/1876440/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to