• Re: [gentoo-user] LLVM and friends is not compatible.

    From Wol@21:1/5 to Alan Grimes on Sun Dec 5 23:00:02 2021
    On 05/12/2021 21:21, Alan Grimes wrote:
    I was playing Superliminal the other day and it wasn't doing too well, probably my GPU is too rusty to run it well, and it took down X11. Which meant it was time to update packages and reboot....

    Biig mistake...

    Look, I know a lot of you are in the process of being killed to death by
    the slow acting poison known as the covid 19 vaccine. I'm really sorry
    about that neither myself nor God can do jack shit about that at this
    point.

    Let's hope we're not dying from the quick poison known as CoVid-19 (that
    said, I do my best to avoid both :-)

    I also know that one of the several pathologies the poison inflicts is a
    form of brain rot as prion crystals grow and disrupt neural pathways.
    =\  It really sucks and I wish things had not gotten to this point.

    Portage is actually working, to some extent this time so I am actually a
    bit shocked and amazed on that front, it's been ages since it actually
    worked decently well.

    Just make sure you have a working python !!!

    But then a large number of absolutely critical things are now broken.

    Xosview can't find the font it needs (!!! WTF???? )
    None of my steam games play anymore.
    The web browser and mail reader that I've been using since the '90s
    won't build or run. I've been reduced to using WEBMAIL FOR GOD'S SAKE!
    to post this. I feel unclean.

    Well my latest update seems to have fixed Thunderbird (which was
    randomly locking up input to the extent it was a Big Red Switch job to
    recover ...).

    Neither python 3.9 nor 3.10 will finish building. It appears they run
    some self-tests which fail and then they just freeze up at 0% CPU usage
    and I never get any clear diagnostic information.
    GCC-11.2 feels like it is mostly working but might be responsible for
    python failing specific tests as it may have been using trick
    optimizations that were hacks to start with but now don't work with the current GCC which is actually working as advertised.

    Do you still have Python 3.8? Can you delete 3.9 and 3.10?

    Which gcc is default? can you eselect a newer working gcc than your
    current version?

    I think one of the root issues is that llvm-13 deprecated several
    command line options that broke a number of packages that took a great
    many more packages down with them. I first just masked clang-13 but that doesn't seem to be enough, I also masked llvm-13 and llvm-common-13 and
    am running --emptytree world AGAIN.

    Well, what I always do then is first an "emerge system" (no extra
    options), then an emerge world, then finally an emerge deep newuse
    world. Just a little bit each time. Forcing a bit at a time.

    The other thing is (as I found out ...) are any default emerge options
    screwing you over? I had to comment out my default options to get
    virtualbox to emerge update properly, so if you've got any, comment them
    out and see if it improves matters ...

    I'm going to have more "fun" soon, I think ... I looked at funtoo linux
    earlier today, but I think that'll be a no-no - it goes about "wolves
    owning their own shit" then craps all over systemd. I get some people
    don't like it, but when people say "if you like it we don't want you
    here" then I am afraid I don't want to know bigots like that.

    I then found SourceMage ... looks very interesting! It's a pretty basic
    distro it seems to me, but it also seems to be a distro that doesn't try
    to tell its users what to run. So I'll be playing ... and it doesn't
    give you all that portage grief! Not that I like the sound of bash ...
    :-) but all the basic system tools are written in it. They're very much
    "no dependency spaghetti", and that hopefully makes for easier admin...

    The only problem is it seems very short-staffed. It's clearly up-to-date
    as in there's plenty of recent time stamps, but you have to look for
    them as much of the docu is 5, 10 years old ...

    Cheers,
    Wol

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Alan Grimes@21:1/5 to All on Sun Dec 5 22:30:02 2021
    I was playing Superliminal the other day and it wasn't doing too well, probably my GPU is too rusty to run it well, and it took down X11. Which meant it was time to update packages and reboot.... 
    Biig mistake...
    Look, I know a lot of you are in the process of being killed to death by the slow acting poison known as the covid 19 vaccine. I'm really sorry about that neither myself nor God can do jack shit about that at this point. 
    I also know that one of the several pathologies the poison inflicts is a form of brain rot as prion crystals grow and disrupt neural pathways. =\  It really sucks and I wish things had not gotten to this point. 
    Portage is actually working, to some extent this time so I am actually a bit shocked and amazed on that front, it's been ages since it actually worked decently well. 
    But then a large number of absolutely critical things are now broken. 
    Xosview can't find the font it needs (!!! WTF???? ) -> None of my steam games play anymore. -> The web browser and mail reader that I've been using since the '90s won't build or run. I've been reduced to using WEBMAIL FOR GOD'S SAKE! to post this. I
    feel unclean. -> Neither python 3.9 nor 3.10 will finish building. It appears they run some self-tests which fail and then they just freeze up at 0% CPU usage and I never get any clear diagnostic information. -> GCC-11.2 feels like it is mostly working
    but might be responsible for python failing specific tests as it may have been using trick optimizations that were hacks to start with but now don't work with the current GCC which is actually working as advertised. 
    I think one of the root issues is that llvm-13 deprecated several command line options that broke a number of packages that took a great many more packages down with them. I first just masked clang-13 but that doesn't seem to be enough, I also masked
    llvm-13 and llvm-common-13 and am running --emptytree world AGAIN. 


    <div style="color:black;font: 10pt arial;">I was playing Superliminal the other day and it wasn't doing too well, probably my GPU is too rusty to run it well, and it took down X11. Which meant it was time to update packages and reboot....&nbsp;
    <div><br>
    </div>

    <div>Biig mistake...</div>

    <div><br>
    </div>

    <div>Look, I know a lot of you are in the process of being killed to death by the slow acting poison known as the covid 19 vaccine. I'm really sorry about that neither myself nor God can do jack shit about that at this point.&nbsp;</div>

    <div><br>
    </div>

    <div>I also know that one of the several pathologies the poison inflicts is a form of brain rot as prion crystals grow and disrupt neural pathways. =\&nbsp; It really sucks and I wish things had not gotten to this point.&nbsp;</div>

    <div><br>
    </div>

    <div>Portage is actually working, to some extent this time so I am actually a bit shocked and amazed on that front, it's been ages since it actually worked decently well.&nbsp;</div>

    <div><br>
    </div>

    <div>But then a large number of absolutely critical things are now broken.&nbsp;</div>

    <div><br>
    </div>

    <div>-&gt; Xosview can't find the font it needs (!!! WTF???? )&nbsp;</div>

    <div>-&gt; None of my steam games play anymore.&nbsp;</div>

    <div>-&gt; The web browser and mail reader that I've been using since the '90s won't build or run. I've been reduced to using WEBMAIL FOR GOD'S SAKE! to post this. I feel unclean.&nbsp;</div>

    <div>-&gt; Neither python 3.9 nor 3.10 will finish building. It appears they run some self-tests which fail and then they just freeze up at 0% CPU usage and I never get any clear diagnostic information.&nbsp;</div>

    <div>-&gt; GCC-11.2 feels like it is mostly working but might be responsible for python failing specific tests as it may have been using trick optimizations that were hacks to start with but now don't work with the current GCC which is actually working
    as advertised.&nbsp;</div>

    <div><br>
    </div>

    <div>I think one of the root issues is that llvm-13 deprecated several command line options that broke a number of packages that took a great many more packages down with them. I first just masked clang-13 but that doesn't seem to be enough, I also
    masked llvm-13 and llvm-common-13 and am running --emptytree world AGAIN.&nbsp;</div>

    <div><br>
    </div>

    <div><br>
    </div>
    </div>

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Alan Grimes@21:1/5 to Wol on Mon Dec 6 17:40:01 2021
    Wol wrote:
    On 05/12/2021 21:21, Alan Grimes wrote:

    I think one of the root issues is that llvm-13 deprecated several
    command line options that broke a number of packages that took a
    great many more packages down with them. I first just masked clang-13
    but that doesn't seem to be enough, I also masked llvm-13 and
    llvm-common-13 and am running --emptytree world AGAIN. Wol


    Managed to get a stale build of my old client working again by resorting
    to symlink bulshittery again.

    (working through an inbox of 500 new...)

    I did get a substantial chunk of my stuff working by purging llvm-13.
    However, there is a Rust somewhere on my system that is still linked to
    llvm-13 in some way, I have unmerged *rust* but it still exists and is
    causing spidermonkey to instabarf... [paste below]

    Seamonkey seems to be having issues with C++ usage so that's not
    directly a gentoo issue....


     * Package:    dev-lang/spidermonkey-78.15.0
     * Repository: gentoo
     * Maintainer: mozilla@gentoo.org
     * USE:        abi_x86_64 amd64 clang elibc_glibc jit kernel_linux lto userland_GNU
     * FEATURES:   network-sandbox nostrip sandbox splitdebug userpriv usersandbox
     * Checking for at least 6400 MiB disk space at "/var/tmp/portage/dev-lang/spidermonkey-78.15.0/temp" ...
     [ ok ]
     * sys-devel/llvm:13 is missing! Cannot use LLVM slot 13 ...
     * Using LLVM slot 12 to build
     * Rust is using LLVM version 13 but ld.lld version belongs to LLVM
    version 12.
     * You will be unable to link dev-lang/spidermonkey. To proceed you have
    the following options:
     *   - Manually switch rust version using 'eselect rust' to match used
    LLVM version
     *   - Switch to dev-lang/rust[system-llvm] which will guarantee
    matching version
     *   - Build dev-lang/spidermonkey without USE=lto
     * ERROR: dev-lang/spidermonkey-78.15.0::gentoo failed (setup phase):
     *   LLVM version used by Rust (13) does not match with ld.lld version (12)!  *
     * Call stack:
     *                     ebuild.sh, line 127:  Called pkg_setup
     *   spidermonkey-78.15.0.ebuild, line 199:  Called die
     * The specific snippet of code:  *                              die "LLVM version used by Rust
    (${version_llvm_rust}) does not match with ld.lld version (${version_lld})!"  *
     * If you need support, post the output of `emerge --info '=dev-lang/spidermonkey-78.15.0::gentoo'`,
     * the complete build log and the output of `emerge -pqv '=dev-lang/spidermonkey-78.15.0::gentoo'`.
     * The complete build log is located at '/var/tmp/portage/dev-lang/spidermonkey-78.15.0/temp/build.log'.
     * The ebuild environment file is located at '/var/tmp/portage/dev-lang/spidermonkey-78.15.0/temp/die.env'.
     * Working directory: '/var/tmp/portage/dev-lang/spidermonkey-78.15.0/empty'  * S: '/var/tmp/portage/dev-lang/spidermonkey-78.15.0/work/firefox-78.15.0/js/src'

    --
    Beware of Zombies. =O
    #EggCrisis #BlackWinter
    White is the new Kulak.
    Powers are not rights.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Wols Lists@21:1/5 to Laurence Perkins on Mon Dec 6 20:10:04 2021
    On 06/12/2021 17:51, Laurence Perkins wrote:
    Source Mage is a spinoff of Sourceror and is kind of the opposite of Gentoo.

    Well, I read the philosophy thing where it said it wasn't comparable
    with gentoo ...

    Gentoo is a source-based distro for people who want things to mostly just work like with the binary distros, but also want to do customizations and optimizations easily.

    Unfortunately, I can be a bit gruff and not suffer fools gladly. Having
    had a run in with the bug-wranglers over an issue that completely
    screwed up my boot (nothing to do with gentoo, admittedly), but that
    exposed idiotic decisions / other bugs in genkernel, I think I want to
    look elsewhere.

    Let's take a 2x2 truth table - do I have a boot partition, do I have
    "automount boot" switched on. Three of the four options stomp all over
    the live boot partition. The fourth fatal errors with "wah wah why won't
    you let me stomp all over your live boot partition".

    The REASON I don't want it stomping all over that partition is the last
    time a distro (SUSE) did it, it completely trashed my boot leading to
    several hours debugging and messing about in the systemd rescue shell to
    get it bootable again. If anybody is going to trash my live boot, I'd
    rather it was me, not an Artificial Stupidity software manager.

    The wranglers' solution was simply to "use the no-install option" -
    except that that promptly crashed with "can't find input files". Huh?
    Changing the OUTPUT destination makes the INPUT files disappear? wtf?

    Source Mage is a distro for Linux From Scratch folks who are tired of maintaining their own package manager. They don't change*anything* from upstream in their packages, (which makes it really easy to keep "updated" on their end) but the package
    manager does have a lot of nice features for easily storing whatever patches and configuration changes you choose to make in order to get it running on your system.

    Well, if I have to get into maintaining emerge to get it to behave
    sensibly, I might as well try somewhere else and see if it's an
    improvement.

    If you've always wanted to try LFS but tracking package files and patches and configs and so-forth seemed daunting then it's definitely an awesome set of tools.

    Otherwise it's kind of a lot of work...

    Well, given that I've got oodles of space (just added 3TB to my mirror
    to give myself a 5TB raid-5 /home lvm, along with 1TB root/ lvm, I've
    got plenty of space to play with distros. And I was shocked - 32GB of
    DD4 was just over £100, so my new system now has 11TB of hard drive,
    32GB of RAM, and a hefty 4-core Ryzen processor :-)

    And the bits from shop screw-up mean the new raid testbed I'm building
    will be a reasonably hefty system too - 4x1TB drives for hammering with
    raid, 3TB backup drive, 16GB ram - just the thing for learning to kernel program :-)

    And seeing as I won't care about trashing it by mistake, I'll be playing
    with KVM, and all those other fancy technologies to try and run multiple distros stacked on top of each other :-)

    Cheers,
    Wol

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Wols Lists@21:1/5 to Laurence Perkins on Mon Dec 6 23:20:02 2021
    On 06/12/2021 19:26, Laurence Perkins wrote:
    Genkernel is pretty... special... It's handy if your system is set up the way it expects. If not, well, then its utility drops off quickly.

    From what you're describing, my suggestion would be to simply only use it for initramfs generation and do the kernel make yourself. That shouldn't "stomp all over" anything except maybe a previous initramfs for the same kernel.

    :-)

    That's exactly what I was doing !!!

    I roll my own kernel, make install quite happily shoves it in whatever
    /boot it finds.

    If I tell genkernel to create an initramfs, provided I let it stomp all
    over the LIVE /boot, it works fine. As soon as I try and stop it, by
    saying "don't automount /boot", or "don't actually install the
    initramfs", all hell breaks loose.

    In the past, genkernel's always worked fine for me. That's why I use it
    - dracut looks a lot more complicated ... but when genkernel throws a
    hissy fit and craps all over my system because I won't let it do what IT
    thinks is best, then it makes you want to dump the lot.

    What else in gentoo has the same craptastic logic? --keep-going is the
    same - it doesn't do what it says ...

    Oh well, if SourceMage works for me, then I'll probably dual-boot for a
    while and we'll see what happens ...

    Cheers,
    Wol

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Dale@21:1/5 to Wols Lists on Mon Dec 6 23:50:02 2021
    Wols Lists wrote:


    That's exactly what I was doing !!!

    I roll my own kernel, make install quite happily shoves it in whatever
    /boot it finds.

    If I tell genkernel to create an initramfs, provided I let it stomp
    all over the LIVE /boot, it works fine. As soon as I try and stop it,
    by saying "don't automount /boot", or "don't actually install the
    initramfs", all hell breaks loose.

    In the past, genkernel's always worked fine for me. That's why I use
    it - dracut looks a lot more complicated ... but when genkernel throws
    a hissy fit and craps all over my system because I won't let it do
    what IT thinks is best, then it makes you want to dump the lot.

    What else in gentoo has the same craptastic logic? --keep-going is the
    same - it doesn't do what it says ...

    Oh well, if SourceMage works for me, then I'll probably dual-boot for
    a while and we'll see what happens ...

    Cheers,
    Wol




    Wol, I think you been around long enough to know if it is broken, I'll
    find it.  I use dracut and figuring it out the first time is interesting
    when you have more than one kernel installed but once you get it right,
    and make a note of how to use it, it works really easy.  I do all my
    kernel stuff the manual way.  I run make oldconfig, then compile with
    make all && make modules_install and then manually copy the image to
    /boot with my own name that the tools allow.  I then use dracut to build
    the init thingy.  After that, I rename the init thingy to match the
    kernel and update grub.  If the names don't match, grub won't find the
    init thingy.

    This is the note I have in my cheat sheet. 


    dracut --kver 4.14.19-gentoo #like in /usr/src.  In /boot, init & kernel
    must match. 


    The key to knowing you did it right, when you update grub, it will find
    both the kernel and init thingy and list them.  The naming is what is critical. 

    If I can do this, you should be able to.  I might add two things.  I did
    once long ago have a init thingy to fail.  Only once and it was fairly
    early on.  It could have been dracut, it could have been me.  The most critical things is the kernel version when running dracut and names
    matching for the kernel and init thingy in /boot. 

    Example commands and output.

    dracut --kver 5.10.46-gentoo  # The kernel version comes from /usr/src
    but leave off "kernel-" if you have it.  I use gentoo-sources here. 
    Example output:


    root@fireball / # dracut --kver 5.10.46-gentoo
    dracut: Executing: /usr/bin/dracut --kver 5.10.46-gentoo
    dracut: dracut module 'dash' will not be installed, because command
    '/bin/dash' could not be found!
    dracut: dracut module 'mksh' will not be installed, because command
    '/bin/mksh' could not be found!
    dracut: dracut module 'systemd' will not be installed, because command '/lib/systemd/systemd' could not be found!
    dracut: dracut module 'systemd-ask-password' will not be installed,
    because command 'systemd-ask-password' could not be found!
    dracut: dracut module 'systemd-coredump' will not be installed, because
    command 'coredumpctl' could not be found!
    dracut: dracut module 'systemd' will not be installed, because command '/lib/systemd/systemd' could not be found!
    dracut: dracut module 'systemd-initrd' depends on 'systemd', which can't
    be installed
    dracut: dracut module 'systemd-modules-load' will not be installed,
    because command '/lib/systemd/systemd-modules-load' could not be found!
    dracut: dracut module 'systemd-repart' will not be installed, because
    command 'systemd-repart' could not be found!
    dracut: dracut module 'systemd-sysctl' will not be installed, because
    command '/lib/systemd/systemd-sysctl' could not be found!
    dracut: dracut module 'systemd-sysusers' will not be installed, because
    command 'systemd-sysusers' could not be found!
    dracut: dracut module 'dbus-broker' will not be installed, because
    command 'dbus-broker' could not be found!
    dracut: dracut module 'rngd' will not be installed, because command
    'rngd' could not be found!
    dracut: dracut module 'network-wicked' will not be installed, because
    command 'wicked' could not be found!
    dracut: dracut module 'btrfs' will not be installed, because command
    'btrfs' could not be found!
    dracut: dracut module 'dmraid' will not be installed, because command
    'dmraid' could not be found!
    dracut: dracut module 'mdraid' will not be installed, because command
    'mdadm' could not be found!
    dracut: dracut module 'cifs' will not be installed, because command 'mount.cifs' could not be found!
    dracut: dracut module 'iscsi' will not be installed, because command 'iscsi-iname' could not be found!
    dracut: dracut module 'iscsi' will not be installed, because command
    'iscsiadm' could not be found!
    dracut: dracut module 'iscsi' will not be installed, because command
    'iscsid' could not be found!
    dracut: 95nfs: Could not find any command of 'rpcbind portmap'!
    dracut: dracut module 'nvmf' will not be installed, because command
    'nvme' could not be found!
    cat: /sys/power/resume: No such file or directory
    dracut: dracut module 'biosdevname' will not be installed, because
    command 'biosdevname' could not be found!
    dracut: dracut module 'systemd-initrd' depends on 'systemd', which can't
    be installed
    dracut: dracut module 'dracut-systemd' depends on 'systemd-initrd',
    which can't be installed
    dracut: memstrack is not available
    dracut: If you need to use rd.memdebug>=4, please install memstrack
    dracut: dracut module 'squash' will not be installed, because command 'mksquashfs' could not be found!
    dracut: dracut module 'squash' will not be installed, because command 'unsquashfs' could not be found!
    dracut: dracut module 'dash' will not be installed, because command
    '/bin/dash' could not be found!
    dracut: dracut module 'mksh' will not be installed, because command
    '/bin/mksh' could not be found!
    dracut: dracut module 'systemd-ask-password' will not be installed,
    because command 'systemd-ask-password' could not be found!
    dracut: dracut module 'systemd-coredump' will not be installed, because
    command 'coredumpctl' could not be found!
    dracut: dracut module 'systemd-modules-load' will not be installed,
    because command '/lib/systemd/systemd-modules-load' could not be found!
    dracut: dracut module 'systemd-repart' will not be installed, because
    command 'systemd-repart' could not be found!
    dracut: dracut module 'systemd-sysctl' will not be installed, because
    command '/lib/systemd/systemd-sysctl' could not be found!
    dracut: dracut module 'systemd-sysusers' will not be installed, because
    command 'systemd-sysusers' could not be found!
    dracut: dracut module 'dbus-broker' will not be installed, because
    command 'dbus-broker' could not be found!
    dracut: dracut module 'rngd' will not be installed, because command
    'rngd' could not be found!
    dracut: dracut module 'network-wicked' will not be installed, because
    command 'wicked' could not be found!
    dracut: dracut module 'btrfs' will not be installed, because command
    'btrfs' could not be found!
    dracut: dracut module 'dmraid' will not be installed, because command
    'dmraid' could not be found!
    dracut: dracut module 'mdraid' will not be installed, because command
    'mdadm' could not be found!
    dracut: dracut module 'cifs' will not be installed, because command 'mount.cifs' could not be found!
    dracut: dracut module 'iscsi' will not be installed, because command 'iscsi-iname' could not be found!
    dracut: dracut module 'iscsi' will not be installed, because command
    'iscsiadm' could not be found!
    dracut: dracut module 'iscsi' will not be installed, because command
    'iscsid' could not be found!
    dracut: 95nfs: Could not find any command of 'rpcbind portmap'!
    dracut: dracut module 'nvmf' will not be installed, because command
    'nvme' could not be found!
    dracut: memstrack is not available
    dracut: If you need to use rd.memdebug>=4, please install memstrack
    dracut: dracut module 'squash' will not be installed, because command 'mksquashfs' could not be found!
    dracut: dracut module 'squash' will not be installed, because command 'unsquashfs' could not be found!
    dracut: *** Including module: bash ***
    dracut: *** Including module: i18n ***
    dracut: i18n_vars not set!  Please set up i18n_vars in  configuration file. dracut: No KEYMAP configured.
    dracut: *** Including module: dm ***
    dracut: Skipping udev rule: 64-device-mapper.rules
    dracut: Skipping udev rule: 60-persistent-storage-dm.rules
    dracut: Skipping udev rule: 55-dm.rules
    dracut: *** Including module: kernel-modules ***
    dracut: *** Including module: kernel-modules-extra ***
    dracut: *** Including module: lvm ***
    dracut: Skipping program /bin/systemd-run using in udev rule 69-dm-lvm-metad.rules as it cannot be found
    dracut: Skipping udev rule: 64-device-mapper.rules
    dracut: Skipping udev rule: 56-lvm.rules
    dracut: Skipping udev rule: 60-persistent-storage-lvm.rules
    dracut: *** Including module: resume ***
    dracut: *** Including module: rootfs-block ***
    dracut: *** Including module: terminfo ***
    dracut: *** Including module: udev-rules ***
    dracut: Skipping udev rule: 40-redhat.rules
    dracut: Skipping udev rule: 50-firmware.rules
    dracut: Skipping udev rule: 50-udev.rules
    dracut: Skipping udev rule: 91-permissions.rules
    dracut: Skipping udev rule: 80-drivers-modprobe.rules
    dracut: *** Including module: usrmount ***
    dracut: *** Including module: base ***
    dracut: *** Including module: fs-lib ***
    dracut: *** Including module: shutdown ***
    dracut: *** Including modules done ***
    dracut: *** Installing kernel module dependencies ***
    dracut: *** Installing kernel module dependencies done ***
    dracut: *** Resolving executable dependencies ***
    dracut: *** Resolving executable dependencies done ***
    dracut: *** Hardlinking files ***
    Mode:           real
    Files:          805
    Linked:         5 files
    Compared:       0 xattrs
    Compared:       383 files
    Saved:          6.25 KiB
    Duration:       0.007063 seconds
    dracut: *** Hardlinking files done ***
    dracut: *** Generating early-microcode cpio image ***
    dracut: *** Constructing AuthenticAMD.bin ***
    dracut: *** Store current command line parameters ***
    dracut: Stored kernel commandline:
    dracut:  rd.lvm.lv=OS/swap   rd.lvm.lv=OS/usr 
    dracut:  resume=/dev/mapper/OS-swap
    dracut:  root=UUID=888352dd-9c91-4a9f-9595-cd0e74b74ee7 rootfstype=ext4 rootflags=rw,relatime,data=ordered
    dracut: *** Stripping files ***
    dracut: *** Stripping files done ***
    dracut: *** Creating image file '/boot/initramfs-5.10.46-gentoo.img' *** dracut: *** Creating initramfs image file
    '/boot/initramfs-5.10.46-gentoo.img' done ***
    root@fireball / #


    Grub update command and output example, from my system of course.



    root@fireball / # grub-mkconfig -o /boot/grub2/grub.cfg
    Generating grub configuration file ...
    Found linux image: /boot/kernel-5.14.15-2
    Found initrd image: /boot/initramfs-5.14.15-2.img
    Found linux image: /boot/kernel-5.10.46-2
    Found initrd image: /boot/initramfs-5.10.46-2.img
    Found linux image: /boot/kernel-5.6.7-1
    Found initrd image: /boot/initramfs-5.6.7-1.img
    Warning: os-prober will not be executed to detect other bootable partitions. Systems on them will not be added to the GRUB boot configuration.
    Check GRUB_DISABLE_OS_PROBER documentation entry.
    Found memtest image: /boot/memtest86plus/memtest.bin
    Found memtest image: /boot/memtest86plus/memtest
    done
    root@fireball / #


    This is the end result, edited since you don't need to see the unrelated parts. 


    root@fireball / # ls -al /boot/
    total 109803
    -rw-r--r--  1 root root   113420 Jul  1 01:32 config-5.10.46-1
    -rw-r--r--  1 root root   116179 Nov 13 16:26 config-5.14.15-2
    -rw-r--r--  1 root root   110750 May  9  2020 config-5.6.7-2
    -rw-------  1 root root  9310818 Nov 30 10:28 initramfs-5.10.46-2.img -rw-------  1 root root  9312082 Dec  6 16:35 initramfs-5.10.46-gentoo.img -rw-------  1 root root  9093386 Nov 13 16:53 initramfs-5.14.15-2.img -rw-------  1 root root  9310789 Nov 30 10:54 initramfs-5.6.7-1.img -rw-r--r--  1 root root 11638944 Nov 30 10:26 kernel-5.10.46-2
    -rw-r--r--  1 root root 11859536 Nov 13 16:52 kernel-5.14.15-2
    -rw-r--r--  1 root root 11167744 Nov 30 10:40 kernel-5.6.7-1
    -rw-r--r--  1 root root  1193984 May  5  2013 memtest86-iso
    drwxr-xr-x  2 root root     1024 Nov 21 16:32 memtest86plus
    -rw-r--r--  1 root root   154120 Jun 15  2013 mt500rc1.bin
    root@fireball / #


    Note how the kernel and init thingys have the same basic name.  I add
    -1, -2 etc to kernels if I have to rebuild to add or fix something. 
    Example, when I had to add the driver for my new network card, it became
    -2.  The tools seem to not mind that. 

    Hope that helps if you want to try some part or all of this method. 

    Dale

    :-)  :-) 

    P. S.  Time to go season my cast iron skillets. 

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)