[ User ] Login

Bug 254: OPEN

Slitaz does not install on CPUs before i586

Date: 2021-03-06 - Creator: luzemario - Priority standard - 1 message

Trying to install Slitaz on a Vortex86DX brings the message for an incompatible 
kernel:

"This kernel requires a i586 CPU, but only detected a i486 CPU, unable to boot 
- please use a kernel appropriate for ypur CPU."

Is it not meant to boot on an i386SX?

Affected package(s): kernel

Messages

By: Aktivist on 2023-04-05 16:45

Hi, I just had the same problem on my ebox-3300MX with a Vortex86 CPU. The 
current ISO would not
start because CMOV was required but not supported by the CPU. Fortunately I had 
an old 3.2.71 kernel around which was able to boot into the current ISO 
rootfs.gz. But then GCC-4.6.3 would not
start either (CMOV in cc1). 

So I had to cross-compile GCC on another machine with some additional CFLAGS in 
/etc/slitaz/cook.conf: 
CFLAGS="-march= -Os -pipe -fomit-frame-pointer"
##Avoid CMOV optimization for i586 (Vortex86, Pentium I, ...) 
CFLAGS=" -fno-if-conversion -fno-if-conversion2 
-fno-tree-loop-if-convert

The new package was running on my Vortex86 and was able to compile a new kernel 
with following
.config:
# CONFIG_M486 is not set
CONFIG_M586=y
# CONFIG_M586TSC is not set
# CONFIG_M586MMX is not set

So the Vortex86 seems to be a 586 (Pentium-class) without PAE, CMOV, SSE, MMX, 
...
Slitaz should provide a "real" i486 kernel for systems with older CPUs.