Ok, Looking at my original installation procedure, including the slight tweaks to get
libvirt-7 loaded, and checking the current server ... it appears the libvirt-7 packages
mention the O/S version (eg el8.7), and there are packages for several versions, but not
for el8.8 ... and yet my server (after patching) is now running OL 8.8 ... is that the
issue ?
[root@ol-kvm-h01 tmp]# yum --showduplicates list libvirt
Installed Packages
libvirt.x86_64 7.10.0-2.module+el8.7.0+21035+a8208c98 @ol8_kvm_appstream
Available Packages
libvirt.x86_64 7.10.0-2.module+el8.5.0+20635+d56619be ol8_kvm_appstream
libvirt.x86_64 7.10.0-2.module+el8.6.0+20842+e9607200 ol8_kvm_appstream
libvirt.x86_64 7.10.0-2.module+el8.7.0+20916+50473d5a ol8_kvm_appstream
libvirt.x86_64 7.10.0-2.module+el8.7.0+21035+a8208c98 ol8_kvm_appstream
Regards,
Dennis
From: Clark, Dennis
Sent: Saturday, 30 September 2023 11:37 PM
To: Richard W.M. Jones <rjones(a)redhat.com
Cc:
libguestfs(a)redhat.com
Subject: RE: [Libguestfs] libguestfs kernel panic
Yes, it is unmodified OL 8.8, and I have not (manually) compiled, or recompiled anything
(including supermin or libguestfs)
[root@ol-kvm-h01 tmp]# cat /etc/*rele*
Oracle Linux Server release 8.8
NAME="Oracle Linux Server"
VERSION="8.8"
ID="ol"
ID_LIKE="fedora"
VARIANT="Server"
VARIANT_ID="server"
VERSION_ID="8.8"
PLATFORM_ID="platform:el8"
PRETTY_NAME="Oracle Linux Server 8.8"
ANSI_COLOR="0;31"
CPE_NAME="cpe:/o:oracle:linux:8:8:server"
HOME_URL="https://linux.oracle.com/"
BUG_REPORT_URL="https://github.com/oracle/oracle-linux"
ORACLE_BUGZILLA_PRODUCT="Oracle Linux 8"
ORACLE_BUGZILLA_PRODUCT_VERSION=8.8
ORACLE_SUPPORT_PRODUCT="Oracle Linux"
ORACLE_SUPPORT_PRODUCT_VERSION=8.8
Red Hat Enterprise Linux release 8.8 (Ootpa)
Oracle Linux Server release 8.8
cpe:/o:oracle:linux:8:8:server
[root@ol-kvm-h01 tmp]# uname -a
Linux ol-kvm-h01 5.15.0-105.125.6.2.2.el8uek.x86_64 #2 SMP Tue Sep 19 21:02:08 PDT 2023
x86_64 x86_64 x86_64 GNU/Linux
FYI: The KVM Host was installed/configured using the below process (I mention this since I
needed to perform some additional repo/module configuration in order to get libvirt-7
installed):
# Install the Oracle Linux Virtualization Manager Release 4.4 package
yum install oracle-ovirt-release-el8 -y
Required oVirt 4.4 Yum Channels enabled.
Installed: oracle-ovirt-release-el8.x86_64 1.0-1.0.3.el8
Dependency Installed: oracle-gluster-release-el8.x86_64 1.0-2.el8
yum clean all; yum repolist
repo id
ol8_UEKR6
ol8_UEKR7
ol8_addons
ol8_appstream
ol8_baseos_latest
ol8_gluster_appstream
ol8_kvm_appstream
ovirt-4.4
ovirt-4.4-extra
# Remove any unwanted repos
dnf config-manager --disable "ol8_UEKR6"
# Ensure libvirt-7 package is available
# Disable virt:ol and enable virt:kvm_utils2 (this will make the libvirt-7 package
available)
# Ref:
https://docs.oracle.com/en/virtualization/oracle-linux-virtualization-man...
if ! yum --showduplicates list libvirt | grep "libvirt.* 7"; then
dnf -y module disable virt:ol
dnf -y module enable virt:kvm_utils2
yum --showduplicates list libvirt
fi
# Make sure all packages are up-to-date
dnf update -y
reboot
# Open the Cockpit port
firewall-cmd --zone=public --add-port=9090/tcp
Regards,
Dennis
-----Original Message-----
From: Richard W.M. Jones <rjones@redhat.com<mailto:rjones@redhat.com>
Sent: Saturday, 30 September 2023 7:20 PM
To: Clark, Dennis <dclark66@dxc.com<mailto:dclark66@dxc.com>
Cc: libguestfs@redhat.com<mailto:libguestfs@redhat.com
Subject: Re: [Libguestfs] libguestfs kernel panic
On Thu, Sep 28, 2023 at 12:30:28PM +0000, Clark, Dennis wrote:
[root@ol-kvm-h01 work]# LIBGUESTFS_BACKEND=direct
libguestfs-test-tool
...
libguestfs: launch: version=1.44.0rhel=8,release=
5.0.1.module+el8.7.0+21035+a8208c98,libvirt
\x1b[2J[ 0.000000] Linux version
5.15.0-105.125.6.2.2.el8uek.x86_64 (mockbuild at host-100-100-224-56) (gcc (GCC) 11.2.1
20220127 (Red Hat 11.2.1-9.1.0.6), GNU ld version 2.36.1-2.0.1.el8) #2 SMP Tue Sep 19
21:02:08 PDT 2023
^ Looks like OEL.
[ 0.843934] Run /init as init process
^ This messsage come from the kernel.
[ 0.845792] traps: init[1] general protection fault ip:43faa8
sp:7ffe9b9904b0 error:0 in init[400000+a7000]
[ 0.849636] Kernel panic - not syncing: Attempted to kill init!
exitcode=
0x0000000b
Then the supermin embedded init process appears to crash. That's
somewhere probably very early on in this code:
https://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub....
Before I look further at this, is this unmodified OEL 8.7.0?
And you didn't recompile supermin or libguestfs?
Rich.
--
Richard Jones, Virtualization Group, Red Hat
https://nam12.safelinks.protection.outlook.com/?url=http%3A%2F%2Fpeople.r...
Read my programming and virtualization blog:
https://nam12.safelinks.protection.outlook.com/?url=http%3A%2F%2Frwmj.wor...
virt-p2v converts physical machines to virtual machines. Boot with a
live CD or over the network (PXE) and turn machines into KVM guests.
https://nam12.safelinks.protection.outlook.com/?url=http%3A%2F%2Flibguest...
DXC Technology NZ Limited (Company number 1441241).