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 at 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 at redhat.com>
Cc: libguestfs at 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 at 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 at 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-manager/getstart/getstarted-manager-install.html#manager-prep-kvm
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 at redhat.com<mailto:rjones at
redhat.com>>
Sent: Saturday, 30 September 2023 7:20 PM
To: Clark, Dennis <dclark66 at dxc.com<mailto:dclark66 at dxc.com>>
Cc: libguestfs at redhat.com<mailto:libguestfs at redhat.com>
Subject: Re: [Libguestfs] libguestfs kernel panic
On Thu, Sep 28, 2023 at 12:30:28PM +0000, Clark, Dennis wrote:
> [root at 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.com%2Flibguestfs%2Fsupermin%2Fblob%2Fmaster%2Finit%2Finit.c&data=05%7C01%7Cdclark66%40dxc.com%7Cb14f2c9313694dcc237d08dbc17d42ea%7C93f33571550f43cfb09fcd331338d086%7C0%7C0%7C638316515975840513%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=j55BHS3h4R%2BdR2xifxQ3iPoq%2BKdMsxKBFRV1ufOqXFM%3D&reserved=0<https://github.com/libguestfs/supermin/blob/master/init/init.c>
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.redhat.com%2F~rjones&data=05%7C01%7Cdclark66%40dxc.com%7Cb14f2c9313694dcc237d08dbc17d42ea%7C93f33571550f43cfb09fcd331338d086%7C0%7C0%7C638316515975840513%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=XSOVmF7WWu9AA0OGf0KHJuQ0i8WBQFeWlcM6BA1jkww%3D&reserved=0<http://people.redhat.com/~rjones>
Read my programming and virtualization blog:
https://nam12.safelinks.protection.outlook.com/?url=http%3A%2F%2Frwmj.wordpress.com%2F&data=05%7C01%7Cdclark66%40dxc.com%7Cb14f2c9313694dcc237d08dbc17d42ea%7C93f33571550f43cfb09fcd331338d086%7C0%7C0%7C638316515975840513%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=3YGXsmiB3TmxJ6ufuCpTiuCG%2BX2ZO5zgMUIDRM5wg9A%3D&reserved=0<http://rwmj.wordpress.com/>
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%2Flibguestfs.org%2Fvirt-v2v&data=05%7C01%7Cdclark66%40dxc.com%7Cb14f2c9313694dcc237d08dbc17d42ea%7C93f33571550f43cfb09fcd331338d086%7C0%7C0%7C638316515975840513%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=UqKAdm1vFj6RAV3eDSCdH1itdAGCT2kKWVOmwhCur4E%3D&reserved=0<http://libguestfs.org/virt-v2v>
DXC Technology NZ Limited (Company number 1441241).
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://listman.redhat.com/archives/libguestfs/attachments/20230930/6e7c5233/attachment.htm>