SliTaz SliTaz Forum

You are not logged in.

#1 2026-02-17 16:28:20

shann
Administrator
Registered: 2011-04-01
Posts: 1,296
Website

linux5 for rolling

Hi,

Ray report issue of wireless card not work properly with 3.16.55-slitaz64, because firmware was missing.

With SliTaz 6.0 x64, it's work properly.

I suggest to backport linux 5.10.238 on rolling as linux5 package.

Successfully build linux5 5.10.238 but for x64 version issue, failed to build about elf.c issue and cc1 complain about CPU not support x86-64 (but i use 3.16.55-slitaz64 and cross toolchain x86_64).

After ding, need few adjust on my rolling chroot to build properly linux5 x64.

About cc1 issue for CPU not support x86-64, related to CFLAGS used.

Infact export PATH to use cross-toolchain, but CFLAGS remain "-march=i486 ..."

With right CFLAGS, build failed again about elf.c issue, related to

Remove linux-api-headers (3.16.55), install linux5-api-headers (5.10.238)

Remove elfutils (0.161), install elfutils (0.186)

Ensure glibc on chroot is 2.34 (cross toolchain x86_64 need it)

Kernel x64 build in progress.

Need to prepare linux5_64 packages stuff same as linux5 to ensure we have all subpackages available.

Offline

#2 2026-02-17 17:42:25

shann
Administrator
Registered: 2011-04-01
Posts: 1,296
Website

Re: linux5 for rolling

Build of kernel 5 x64 successfully.

[...]

  MKPIGGY arch/x86/boot/compressed/piggy.S

  AS      arch/x86/boot/compressed/piggy.o

  LD      arch/x86/boot/compressed/vmlinux

  ZOFFSET arch/x86/boot/zoffset.h

  OBJCOPY arch/x86/boot/vmlinux.bin

  AS      arch/x86/boot/header.o

  LD      arch/x86/boot/setup.elf

  OBJCOPY arch/x86/boot/setup.bin

  BUILD   arch/x86/boot/bzImage

Kernel: arch/x86/boot/bzImage is ready  (#1)                                   

* Configure bzImage64 with modules...                                           

#

# configuration written to .config

#                                                                               

* Building bzImage64 with modules...                                           

[...]

HDRINST usr/include/asm/types.h

  HDRINST usr/include/asm/poll.h

  HDRINST usr/include/asm/param.h

  HDRINST usr/include/asm/errno.h

  HDRINST usr/include/asm/termbits.h

  HDRINST usr/include/asm/unistd_32.h

  INSTALL /home/slitaz/wok/linux5/install/linux64/usr/include

555 blocks                                                                     

Starting gztazmod.sh to build compressed kernel modules...                     

Searching all modules to compress them...  Done

Building tmp.dep...  Done

Destroying modules.dep...  Done

Removing tmp.dep to modules.dep...  Done                                       

Kernel modules 5.10.238-slitaz64 are ready.                                     

* Skipping: x86 Kernel...

* Skipping: x86 PAE Kernel...

* Skipping: x86 586 Kernel...

================================================================================

Offline

#3 2026-02-18 09:48:22

shann
Administrator
Registered: 2011-04-01
Posts: 1,296
Website

Re: linux5 for rolling

Hi,

Repo available here for linux5 (linux5 and linux5_64)

https://people.slitaz.org/~shann/rolling-linux5

/!\ Warn that aufs module don't available, /usr/bin/cook need to be adjusted to use overlay instead /!\

To use it :

- Install cacerts [c]tazpkg -gi cacerts[/c], needed because it's https url

- Add undigest repository

[c]tazpkg add-undigest linux5[/c]

[c]tazpkg recharge[/c]

When ask url of mirror set [c]https://people.slitaz.org/~shann/rolling-linux5[/c]

[attachment=53836,3827]

Need to install all linux5_64 packages as this :

for pkg in "linux5_64" "linux5_64-agp" "linux5_64-chrome" "linux5_64-crypto" "linux5_64-drm" "linux5_64-hfsplus" "linux5_64-input-touchscreen" "linux5_64-mmc" "linux5_64-sound" "linux5_64-wireless" "linux5_64-zram"; do tazpkg -gi $pkg; done

Also [c]tazpkg info[/c] seem don't look on undigest repository hmm

Offline

#4 2026-02-21 19:00:56

Ceel
Administrator
Registered: 2011-04-02
Posts: 1,424

Re: linux5 for rolling

Hi shann,

Good thing!

linux5 32bit installed on my older computer works like a charm; maybe a few seconds longer at boot, but really few, not a problem.

I hope I can test it deeper during the weeks to come.

Thanks for this.

Offline

#5 2026-02-21 19:27:13

shann
Administrator
Registered: 2011-04-01
Posts: 1,296
Website

Re: linux5 for rolling

Hi Ceel,

Nice to read this, hope that work as expected smile

No problem, you're welcome

Offline

#6 2026-02-22 07:47:44

mifritscher
Member
Registered: 2026-02-07
Posts: 32

Re: linux5 for rolling

If you like I could test a linux5 kernel on my real 586 laptops as well ;-)

Offline

#7 2026-02-22 08:20:57

shann
Administrator
Registered: 2011-04-01
Posts: 1,296
Website

Re: linux5 for rolling

Hi mifritscher,

Thanks, with your message i see i forgot to build linux586 variant on this repo hmm.

Only linux5 (32bits) and linux5_64 (64bits) are available.

Sorry for that, need to run build for linux586.

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.020 seconds, 7 queries executed - Memory usage: 1.55 MiB (Peak: 1.77 MiB) ]