LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   elilo problems and 5.19.x kernels (https://www.linuxquestions.org/questions/slackware-14/elilo-problems-and-5-19-x-kernels-4175716114/)

trollog 08-26-2022 05:00 PM

elilo problems and 5.19.x kernels
 
anyone else having problems booting in -current?

has elilo gone EOL for practical purposes?

I know there was a thread in here about this, it was a kernel bug that was supposed to be fixed approx 2 5.19.x kernels ago.

5.18.x kernels boot without issues in -current

LuckyCyborg 08-26-2022 05:24 PM

Quote:

Originally Posted by trollog (Post 6376371)
anyone else having problems booting in -current?

has elilo gone EOL for practical purposes?

I know there was a thread in here about this, it was a kernel bug that was supposed to be fixed approx 2 5.19.x kernels ago.

5.18.x kernels boot without issues in -current

Believe or not, it was NOT a kernel bug, BUT an ELILO bug. Or, rather ELILO needed to be patched to work with the modern kernels.

Let's do not blame the kernels because some rotten code abandoned since 2014 by its authors. ;)

Anyway, it's not enough to just upgrade the ELILO package, but you need also to update the binary in your UEFI ESP partition. Manually.

trollog 08-26-2022 05:41 PM

replacing the binary was the step I missed.

gauchao 08-26-2022 06:19 PM

After upgrading elilo with the package from Aug 5th, under -Current tree, you can run eliloconfig again (or manually copy the binary to EFI):

Quote:

Fri Aug 5 21:04:39 UTC 2022
a/elilo-3.16-x86_64-13.txz: Rebuilt.
Patched to disable the Confidential Computing blob for SEV-SNP, which
fixes booting a 5.19 kernel with the EFI stub enabled. If you use elilo,
be sure to either run eliloconfig again or manually copy (and rename) the
proper elilo binary to your EFI System Partition.
Job done.

rkelsen 08-27-2022 12:29 AM

Quote:

Originally Posted by trollog (Post 6376371)
has elilo gone EOL for practical purposes?

No, thankfully it has been patched.

I'm spared from learning how GRUB works after >20 years of using (e)LILO.

:D

Thom1b 08-27-2022 03:10 AM

Quote:

Originally Posted by rkelsen (Post 6376455)
No, thankfully it has been patched.

I'm spared from learning how GRUB works after >20 years of using (e)LILO.

:D

Hi, like you I used lilo/elilo until linux 5.19. I switched to grub in 5 minutes. Now lilo/elilo has gone forever on my computers.

cycojesus 08-27-2022 03:42 AM

Quote:

Originally Posted by Thom1b (Post 6376474)
Hi, like you I used lilo/elilo until linux 5.19. I switched to grub in 5 minutes. Now lilo/elilo has gone forever on my computers.

Me too, the learning I feared all these years barely took a few minutes and I'm no longer relying on code everyone has long forgotten about.

truepatriot76 08-27-2022 05:33 AM

My switch to GRUB2 a few years ago was due to FS errors I was occasionally getting due repeatedly writing to the EFI partition. With current, and multiple kernels, using eLILO was pretty hard on that small partition. Microsoft's FAT FS isn't exactly robust. I grew tired of fixing that partition every month or so, so I switched to GRUB2. Problem solved, no more hammering the EFI partition, it just gets read.

allend 08-27-2022 10:23 AM

Quote:

Originally Posted by LuckyCyborg (Post 6376378)
Believe or not, it was NOT a kernel bug, BUT an ELILO bug. Or, rather ELILO needed to be patched to work with the modern kernels.

Let's do not blame the kernels because some rotten code abandoned since 2014 by its authors. ;)

Anyway, it's not enough to just upgrade the ELILO package, but you need also to update the binary in your UEFI ESP partition. Manually.

A kernel change affecting user space IS a kernel bug. Recompiling ELILO with a changed option is a work around.

Code that has been working since 2014 and then stops working IS to be blamed on the kernel changes. The code is not rotten. The endeavour to implement new features in the kernel is flawed.

Gott in himmel! Fancy needing to understand the boot process enough that undertaking a manual intervention is a chore. Geez, that is so old hat that I might as well run Slackware. If the automation in GRUB is so great, why does the Newbie forum get constant threads about boot problems?

Jan K. 08-27-2022 11:08 AM

Quote:

Originally Posted by allend (Post 6376524)
A kernel change affecting user space IS a kernel bug. Recompiling ELILO with a changed option is a work around.

This has been concluded before and agreed upon by the kernel devs, but has it been reported upstream via the official channels?

"We do not change user space" :study:

LuckyCyborg 08-27-2022 11:25 AM

Quote:

Originally Posted by allend (Post 6376524)
A kernel change affecting user space IS a kernel bug. Recompiling ELILO with a changed option is a work around.

The catch is that the bootloaders aren't "user space" , but (like I read somewhere in this forum), they are rather "god space" .

Quote:

Originally Posted by allend (Post 6376524)
Code that has been working since 2014 and then stops working IS to be blamed on the kernel changes. The code is not rotten. The endeavour to implement new features in the kernel is flawed.

Um, what?

There shall NOT be any progress on kernels, trying to respect the quirks of some bootloaders abandoned long time ago?

The software world does NOT frozen in AD 2014, you know... ;)

Quote:

Originally Posted by allend (Post 6376524)
Gott in himmel! Fancy needing to understand the boot process enough that undertaking a manual intervention is a chore. Geez, that is so old hat that I might as well run Slackware. If the automation in GRUB is so great, why does the Newbie forum get constant threads about boot problems?

Instead to looking on the others garden, you aren't astonished that the Slackware forum is full of booting failures, when we we represent, being told with great enthusiasm, somewhere around 0.1% of the Linux users?

Compared with the overall number of users, is obviously that Slackware have an extremely high number of boot failures. We should do nothing about this?

LuckyCyborg 08-27-2022 11:37 AM

Quote:

Originally Posted by Jan K. (Post 6376532)
"We do not change user space" :study:

I do not think that the bootloaders are user space.

No user space software have an absolute control over hardware system like a bootloader.

Aeterna 08-27-2022 11:53 AM

Actually the only way to isolate VM client from hypervisor is to run type 1. Everything else is a waste of time.
SEV-SNP is undone already (as is SGX).
In other words, SEV-SNP should be optional available for people who are willing to compile custom kernels. Not to mention that most (Slackware?) users are not affected by VM issues.

..and I think that one needs AMD EPYC 7003 "Milan" processor. How many users have it?
If this is the case (CPU requirement), then this option can be disabled for most of the uses.

Didier Spaier 08-27-2022 11:54 AM

Quote:

Originally Posted by allend (Post 6376524)
If the automation in GRUB is so great, why does the Newbie forum get constant threads about boot problems?

I don't know. What I know is that since Sunday 6 September 2020 in the distribution I maintain kernel upgrades are handled automatically, which includes building an initrd for the new kernel and updating the GRUB config file accordingly, with no issue reported with respect to this change.

Aeterna 08-27-2022 12:05 PM

Quote:

Originally Posted by Didier Spaier (Post 6376552)
I don't know. What I know is that since Sunday 6 September 2020 in the distribution I maintain kernel upgrades are handled automatically, which includes building an initrd for the new kernel and updating the GRUB config file accordingly, with no issue reported with respect to this change.

shrug, and I have 5.19.x kernel that never had an issue with elilo (in fact I never upgraded elilo). The fact that you do not have issues with GRUB, does not mean that users don't complain about it.


All times are GMT -5. The time now is 02:42 PM.