Damn Small Linux Forums

Full Version: RC6: Needs a 686, a 586 is not enough :-(
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
While the kernel can work with a 586, it seems that init does need at least a 586 :-( The kernel cries with "Attempting to kill init" - the backtrace shows a exception regarding an illegal exception.

Tested with

qemu-system-x86_64 -m 256 -cpu 'pentium2-v1' /dev/sdd

.

The culprit: /lib/runit/runit-init uses CMOV (2 times in the whole binary), and this is supported only on Pentium Pro onwards.

Would it be possible to recompile the binaries with march=586 (or pentium)? Then I could probably run it on an IBM Thinkpad 760 (P1-133 and 64 MB RAM - for the RAM see the other thread) :-)

Btw, even the K6... K6-3 are 586 class CPUs.

Another way to fix this would by to apply the kernel patch found under https://lore.kernel.org/lkml/20210626130...@orca.pet/ .
This way, the user mode binaries do not to be changed :-)
haven't seen a new update since june hope everything is alright. and that would be a good idea :3
(10-24-2024, 12:11 PM)lordmmx Wrote: [ -> ]haven't seen a new update since june hope everything is alright. and that would be a good idea :3

There have been two incremental and bug release updates since June.   I have been working a lot recently so the project has slowed down.  I am going to close off features for 2024 soon and just work on bug fixes.  For 2025 I am going to do a more compact release.
(10-27-2024, 02:57 AM)John Wrote: [ -> ]
(10-24-2024, 12:11 PM)lordmmx Wrote: [ -> ]haven't seen a new update since june hope everything is alright. and that would be a good idea :3

There have been two incremental and bug release updates since June.   I have been working a lot recently so the project has slowed down.  I am going to close off features for 2024 soon and just work on bug fixes.  For 2025 I am going to do a more compact release.

that's understandable Big Grin