[prev in list] [next in list] [prev in thread] [next in thread] 

List:       libguestfs
Subject:    Re: [Libguestfs] libguestfs kernel panic
From:       "Clark, Dennis" <dclark66 () dxc ! com>
Date:       2023-09-30 11:57:31
Message-ID: PH7PR01MB78699BE060DCD63B21E18A66D9C7A () PH7PR01MB7869 ! prod ! exchangelabs ! com
[Download RAW message or body]

Hi Richard,

Thank you !

I was not aware of 'supermin' before, but that definitely pointed me in the right \
direction ...

Looking at the supermin packages, I was running the latest package, from \
'ol8_appstream' repo ... not from the 'ol8_kvm_appstream' repo.

[root@ol-kvm-h01]# yum --showduplicates list supermin
Last metadata expiration check: 1:45:46 ago on Sat 30 Sep 2023 09:32:40 AM GMT.
Installed Packages
supermin.x86_64                                      \
5.2.1-2.module+el8.8.0+20990+60c1530a                                         \
@ol8_appstream Available Packages
supermin.x86_64                                      \
5.1.19-10.module+el8.5.0+20635+d56619be                                       \
ol8_kvm_appstream supermin.x86_64                                      \
5.2.1-1.module+el8.6.0+20842+e9607200                                         \
ol8_kvm_appstream supermin.x86_64                                      \
5.2.1-1.module+el8.7.0+20916+50473d5a                                         \
ol8_kvm_appstream supermin.x86_64                                      \
5.2.1-1.module+el8.7.0+21035+a8208c98                                         \
ol8_kvm_appstream

When trying to obtain the header file you requested, I ended up installing the \
supermin-devel package ... which warned me that it wanted to downgrade my existing \
supermin package - so I let it ...

[root@ol-kvm-h01 dennis]# yum install supermin-devel
====================================================================================================================================================
  Package                            Architecture         Version                     \
Repository                       Size \
====================================================================================================================================================
 Installing:
 supermin-devel                     x86_64               \
5.2.1-1.module+el8.7.0+21035+a8208c98                ol8_kvm_appstream                \
26 k Installing dependencies:
 annobin                            x86_64               10.94-1.0.1.el8              \
ol8_appstream                   965 k  dwz                                x86_64      \
0.12-10.el8                                          ol8_appstream                   \
109 k  efi-srpm-macros                    noarch               3-3.0.1.el8            \
ol8_appstream                    22 k  gcc-plugin-annobin                 x86_64      \
8.5.0-18.0.5.el8                                     ol8_appstream                    \
44 k  ghc-srpm-macros                    noarch               1.4.2-7.el8             \
ol8_appstream                   9.3 k  go-srpm-macros                     noarch      \
2-17.el8                                             ol8_appstream                    \
13 k  ocaml-srpm-macros                  noarch               5-4.el8                 \
ol8_appstream                   9.3 k  openblas-srpm-macros               noarch      \
2-2.el8                                              ol8_appstream                   \
7.9 k  patch                              x86_64               2.7.6-11.el8           \
ol8_baseos_latest               139 k  perl-srpm-macros                   noarch      \
1-25.el8                                             ol8_appstream                    \
11 k  python-rpm-macros                  noarch               3-45.el8                \
ol8_appstream                    16 k  python-srpm-macros                 noarch      \
3-45.el8                                             ol8_appstream                    \
16 k  python3-rpm-macros                 noarch               3-45.el8                \
ol8_appstream                    15 k  qt5-srpm-macros                    noarch      \
5.15.3-1.el8                                         ol8_appstream                    \
11 k  redhat-rpm-config                  noarch               131-1.0.1.el8           \
ol8_appstream                    91 k  rpm-build                          x86_64      \
4.14.3-26.el8                                        ol8_appstream                   \
174 k  rust-srpm-macros                   noarch               5-2.el8                \
ol8_appstream                   9.2 k  zstd                               x86_64      \
1.4.5-6.el8                                          ovirt-4.4-extra                 \
617 k Downgrading:
 supermin                           x86_64               \
5.2.1-1.module+el8.7.0+21035+a8208c98                ol8_kvm_appstream               \
713 k

Transaction Summary
====================================================================================================================================================
 Install    19 Packages
Downgrade   1 Package

Total download size: 2.9 M
Is this ok [y/N]: y

Downgraded:
  supermin-5.2.1-1.module+el8.7.0+21035+a8208c98.x86_64
Installed:
  annobin-10.94-1.0.1.el8.x86_64               dwz-0.12-10.el8.x86_64                \
efi-srpm-macros-3-3.0.1.el8.noarch  gcc-plugin-annobin-8.5.0-18.0.5.el8.x86_64   \
ghc-srpm-macros-1.4.2-7.el8.noarch    go-srpm-macros-2-17.el8.noarch  \
ocaml-srpm-macros-5-4.el8.noarch             openblas-srpm-macros-2-2.el8.noarch   \
patch-2.7.6-11.el8.x86_64  perl-srpm-macros-1-25.el8.noarch             \
python-rpm-macros-3-45.el8.noarch     python-srpm-macros-3-45.el8.noarch  \
python3-rpm-macros-3-45.el8.noarch           qt5-srpm-macros-5.15.3-1.el8.noarch   \
redhat-rpm-config-131-1.0.1.el8.noarch  rpm-build-4.14.3-26.el8.x86_64               \
rust-srpm-macros-5-2.el8.noarch       \
supermin-devel-5.2.1-1.module+el8.7.0+21035+a8208c98.x86_64  zstd-1.4.5-6.el8.x86_64

Complete!

After that downgrade of my supermin package to the latest one provided by the \
ol8_kvm_appstream repo, supermin and libguestfs is now working fine !

[root@ol-kvm-h01 dennis]# yum --showduplicates list supermin
Last metadata expiration check: 2:16:59 ago on Sat 30 Sep 2023 09:32:40 AM GMT.
Installed Packages
supermin.x86_64                                      \
5.2.1-1.module+el8.7.0+21035+a8208c98                                        \
@ol8_kvm_appstream Available Packages
supermin.x86_64                                      \
5.1.19-10.module+el8.5.0+20635+d56619be                                      \
ol8_kvm_appstream supermin.x86_64                                      \
5.2.1-1.module+el8.6.0+20842+e9607200                                        \
ol8_kvm_appstream supermin.x86_64                                      \
5.2.1-1.module+el8.7.0+20916+50473d5a                                        \
ol8_kvm_appstream supermin.x86_64                                      \
5.2.1-1.module+el8.7.0+21035+a8208c98                                        \
ol8_kvm_appstream

Thanks, once again 😊

(maybe it was an incompatibility between the libvirt+el8.7 package and the \
supermin+el8.8 package, which was resolved when the supermin package was downgraded \
to the supermin+el8.7 package)

Regards,
Dennis

-----Original Message-----
From: Richard W.M. Jones <rjones@redhat.com>
Sent: Sunday, 1 October 2023 12:04 AM
To: Clark, Dennis <dclark66@dxc.com>
Cc: libguestfs@redhat.com
Subject: Re: [Libguestfs] libguestfs kernel panic

On Sat, Sep 30, 2023 at 10:42:55AM +0000, Clark, Dennis wrote:
> 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 ?

No I don't think so.

The main thing is to try to find out which part of init.c is crashing (and later, \
why).

> > [    0.845792] traps: init[1] general protection fault ip:43faa8
> 
> > sp:7ffe9b9904b0 error:0 in init[400000+a7000]

As I don't have OEL, could you try extracting the init binary.  It's buried in the \
supermin executable, so it's best to get it from the debug sources:

(1) debuginfo-install supermin

(2) rpm -ql supermin-debugsource | grep src/format-ext2-init-bin.h

(eg. it will print something like <blahblah>/src/format-ext2-init-bin.h )

(3) Attach the copy of <blahblah>/src/format-ext2-init-bin.h or send it to me by \
email if it's too big for the list.  You might have to compress it.

Rich.

--
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming and virtualization blog: http://rwmj.wordpress.com/
libguestfs lets you edit virtual machines.  Supports shell scripting, bindings from \
many languages.  http://libguestfs.org/


DXC Technology NZ Limited (Company number 1441241).
_______________________________________________
Libguestfs mailing list
Libguestfs@redhat.com
https://listman.redhat.com/mailman/listinfo/libguestfs


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic