My Oracle Support Banner

IaaS: Wrong Linux kernel version after reboot in OCI-Classic Compute (Doc ID 2403186.1)

Last updated on JUNE 05, 2018

Applies to:

Oracle Compute Cloud Service - Version N/A and later
Linux x86-64

Symptoms

Customer was unable to mount a volume after they rebooted an instance because the operating systems had missing modules (for EXT4 in this case)

[opc@localhost ~]$ sudo mount /dev/xvdd1 /fslocal/

mount: unknown filesystem type 'ext4'

[opc@localhost ~]$

 

 

Changes

The issue started after a reboot according to customer.

While troubleshooting it was observed that the running kernel was different than the one listed on the Grub config file:

 [opc@localhost ~]$ uname -a

Linux localhost 3.8.13-118.20.2.el7uek.x86_64 #2 SMP Sun Jan 28 10:40:49 PST 2018 x86_64 x86_64 x86_64 GNU/Linux

[root@localhost ~]# grep uek /etc/grub2-efi.cfg

menuentry 'Oracle Linux Server 7.5, with Unbreakable Enterprise Kernel 4.1.12-124.14.5.el7uek.x86_64' --class oracle --class gnu-linux --class gnu --class os --unrestricted $menuentry_id_option 'gnulinux-4.1.12-112.16.4.el7uek.x86_64-advanced-8e49bc6b-e56a-4442-bc6f-5de825a5781b' {

linuxefi /boot/vmlinuz-4.1.12-124.14.5.el7uek.x86_64 root=UUID=8e49bc6b-e56a-4442-bc6f-5de825a5781b ro crashkernel=auto LANG=en_US.UTF-8 transparent_hugepage=never console=tty0 console=ttyS0,9600 rd.luks=0 rd.lvm=0 rd.md=0 rd.dm=0 netroot=iscsi:169.254.0.2:::1:iqn.2015-02.oracle.boot:uefi iscsi_param=node.session.timeo.replacement_timeout=6000 net.ifnames=1 nvme_core.shutdown_timeout=10 ipmi_si.tryacpi=0 ipmi_si.trydmi=0 ipmi_si.trydefaults=0 network-config=e2NvbmZpZzogZGlzYWJsZWR9Cg==

initrdefi /boot/initramfs-4.1.12-124.14.5.el7uek.x86_64.img

if [ "x$default" = 'Oracle Linux Server (4.1.12-112.16.4.el7uek.x86_64 with Unbreakable Enterprise Kernel) 7.5' ]; then default='Advanced options for Oracle Linux Server>Oracle Linux Server (4.1.12-112.16.4.el7uek.x86_64 with Unbreakable Enterprise Kernel) 7.5'; fi;

[root@localhost ~]# 

  

 

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.