You are not logged in.

#1 2022-11-05 00:49:01

lenhuppe
Member
From: New Hampshire USA
Registered: 2018-12-10
Posts: 308
Website

SOLVED Kernel panic when upgrading to linux-lts 5.15.77-1

My test system kernel panicked when upgrading linux-lts to version 5.15.77-1.
Upon reboot I got the following just before my system halted:

error while loading shared libraries: libcrypto.so.1.1: cannot open shared object file: No such file or directory  

I tried doing a reinstall and when running 'mkinitcpio -P' I got the following:

...> Running build hook: zfs
==> binary dependency 'libcypto.1.1' not found for 'mount.zfs'
==> binary dependency 'libcypto.1.1' not found for 'zed'
==> binary dependency 'libcypto.1.1' not found for 'zfs'
==> binary dependency 'libcypto.1.1' not found for 'zinject'
==> binary dependency 'libcypto.1.1' not found for 'zpool'
==> binary dependency 'libcypto.1.1' not found for 'zstreamdump'

My main system is running the same config on LTS kernel version 5.15.76-1 with no issues.

The file in question is located in /usr/lib64/ on the booted archiso, and symlinked to libcrypto.so.

Last edited by lenhuppe (2022-11-05 21:04:37)

Offline

#2 2022-11-05 00:54:55

loqs
Member
Registered: 2014-03-06
Posts: 18,891

Re: SOLVED Kernel panic when upgrading to linux-lts 5.15.77-1

You updated to openssl 3 so packages depending on libraries provided by the 1.1 version of openssl need to be rebuilt.  You could also install openssl-1.1 as a temporary measure.
Edit:
At a guess you need to rebuild the AUR package zfs-utils,  it is compatible with openssl 3.

Last edited by loqs (2022-11-05 01:00:20)

Offline

#3 2022-11-05 01:11:26

lenhuppe
Member
From: New Hampshire USA
Registered: 2018-12-10
Posts: 308
Website

Re: SOLVED Kernel panic when upgrading to linux-lts 5.15.77-1

loqs wrote:

You updated to openssl 3 so packages depending on libraries provided by the 1.1 version of openssl need to be rebuilt.  You could also install openssl-1.1 as a temporary measure.
Edit:
At a guess you need to rebuild the AUR package zfs-utils,  it is compatible with openssl 3.

Tried adding openssl 1.1 to the mix and that did not do the trick.

The zfs-utils and zfs-dkms packages are from the archzfs repo.

Don't know if pacstrap can install the previous kernel from the archives.

Offline

#4 2022-11-05 01:16:56

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,726

Re: SOLVED Kernel panic when upgrading to linux-lts 5.15.77-1

The kernel isn't the issue, the zfs utilities are. Upgrading or downgrading the kernel doesn't change anything.

Online

#5 2022-11-05 04:46:01

lenhuppe
Member
From: New Hampshire USA
Registered: 2018-12-10
Posts: 308
Website

Re: SOLVED Kernel panic when upgrading to linux-lts 5.15.77-1

loqs wrote:

You updated to openssl 3 so packages depending on libraries provided by the 1.1 version of openssl need to be rebuilt.  You could also install openssl-1.1 as a temporary measure.
Edit:
At a guess you need to rebuild the AUR package zfs-utils,  it is compatible with openssl 3.

I stand corrected, I was not able to revert to openssl 1.1 in my installer.
Could be that all of coreutils would have to be reverted in order to do that.

Installing zfs-utils-git from archzfs repo did not work.
Compiling zfs-utils-git from the AUR also failed.

Looks to me like openssl and openzfs are out of sync.
May have to wait until openzfs versions.

Offline

#6 2022-11-05 04:47:38

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,726

Re: SOLVED Kernel panic when upgrading to linux-lts 5.15.77-1

lenhuppe wrote:

Compiling zfs-utils-git from the AUR also failed.

That would have fixed it, but you don't need the -git version. Anyway, WHY did it fail?

Online

#7 2022-11-05 08:55:28

ehrenfest
Member
Registered: 2015-11-04
Posts: 2

Re: SOLVED Kernel panic when upgrading to linux-lts 5.15.77-1

Install openssl-1.1

Offline

#8 2022-11-05 12:21:36

lenhuppe
Member
From: New Hampshire USA
Registered: 2018-12-10
Posts: 308
Website

Re: SOLVED Kernel panic when upgrading to linux-lts 5.15.77-1

Scimmia wrote:
lenhuppe wrote:

Compiling zfs-utils-git from the AUR also failed.

That would have fixed it, but you don't need the -git version. Anyway, WHY did it fail?

The AUR does not host the current zfs-utils release so I was forced to try what was available.
The failure mode is unchanged from my original post.

Last edited by lenhuppe (2022-11-05 12:26:53)

Offline

#9 2022-11-05 12:27:08

lenhuppe
Member
From: New Hampshire USA
Registered: 2018-12-10
Posts: 308
Website

Re: SOLVED Kernel panic when upgrading to linux-lts 5.15.77-1

ehrenfest wrote:

Install openssl-1.1

When I tried doing a 'pacman -U' to install openssl from the archives the screen went nuts.
I can try openssl 1.1 again today so that I can get a better view of what is happening.

Offline

#10 2022-11-05 13:30:05

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,726

Re: SOLVED Kernel panic when upgrading to linux-lts 5.15.77-1

lenhuppe wrote:
Scimmia wrote:
lenhuppe wrote:

Compiling zfs-utils-git from the AUR also failed.

That would have fixed it, but you don't need the -git version. Anyway, WHY did it fail?

The AUR does not host the current zfs-utils release so I was forced to try what was available.
The failure mode is unchanged from my original post.

Of course it does. https://aur.archlinux.org/packages/zfs-utils

openssl-1.1 is a workaround, not a fix.

Online

#11 2022-11-05 15:42:31

lenhuppe
Member
From: New Hampshire USA
Registered: 2018-12-10
Posts: 308
Website

Re: SOLVED Kernel panic when upgrading to linux-lts 5.15.77-1

Scimmia wrote:
lenhuppe wrote:
Scimmia wrote:

That would have fixed it, but you don't need the -git version. Anyway, WHY did it fail?

The AUR does not host the current zfs-utils release so I was forced to try what was available.
The failure mode is unchanged from my original post.

Of course it does. https://aur.archlinux.org/packages/zfs-utils

openssl-1.1 is a workaround, not a fix.

Thanks for the heads up, I use pamac-aur to browse the AUR and it is not showing up.

Offline

#12 2022-11-05 16:46:58

loqs
Member
Registered: 2014-03-06
Posts: 18,891

Re: SOLVED Kernel panic when upgrading to linux-lts 5.15.77-1

lenhuppe wrote:

Thanks for the heads up, I use pamac-aur to browse the AUR and it is not showing up.

You are expected to rebuild the current release of all packages in AUR when their dependent libraries are updated.  If the current AUR PKGBUILD is already compatible it does not any changes.

Offline

#13 2022-11-05 21:04:12

lenhuppe
Member
From: New Hampshire USA
Registered: 2018-12-10
Posts: 308
Website

Re: SOLVED Kernel panic when upgrading to linux-lts 5.15.77-1

The zfs-utils package versioned today and that allowed me to re-install my test system.


Update:


While waiting for zfs-utils to be patched I created a Btrfs version of my installer as a fallback.

Last edited by lenhuppe (2022-11-06 13:40:53)

Offline

#14 2022-11-06 13:24:08

lenhuppe
Member
From: New Hampshire USA
Registered: 2018-12-10
Posts: 308
Website

Re: SOLVED Kernel panic when upgrading to linux-lts 5.15.77-1

loqs wrote:
lenhuppe wrote:

Thanks for the heads up, I use pamac-aur to browse the AUR and it is not showing up.

You are expected to rebuild the current release of all packages in AUR when their dependent libraries are updated.  If the current AUR PKGBUILD is already compatible it does not any changes.

I use pakku to stay on top of the aur packages that I need to update.
In this case zfs-utils was installed from the archzfs repo.
It was promptly patched and released to the wild.

your assistance is much appreciated

Offline

Board footer

Powered by FluxBB