2019-12-30

Next64 - spacefm


spacefm - libx264 & libx265
libx265.so.116: cannot open shared object file: No such file or directory
libx264.so.148: cannot open shared object file: No such file or directory
download libx264-265.tar.xz and extract to /usr/lib
# tar tvf libx264-265.tar.xz
-rwxrwxrwx root/root 892528 2018-02-27 12:06:41 libx264.so.148
-rwxrwxrwx root/root 4658320 2018-04-11 12:36:39 libx265.so.116
# tar xJvf /path-to/libx264-265.tar.xz -C /usr/lib

libx264-265.tar.xz 933K
http://tiny.cc/stj6hz


Next64 - anki


slitaz-next64 - anki



slitaz-next64 it works but is unstable.
slitaz-next64-20191127.iso 96 MB
http://tiny.cc/41jxgz
1. anki official build
Download Anki for older Linux (2.1.15-alternate)
The second option works on distributions without systemd,
tux@slitaz:~$ wget https://apps.ankiweb.net/downloads/current/anki-2.1.15-linux-amd64-alternate.tar.bz2
Connecting to apps.ankiweb.net (104.26.3.191:443)
anki-2.1.15-linux-am 100% |*******************************| 88996k 0:00:00 ETA
tux@slitaz:~$
download libx264-265.tar.xz and extract to /usr/lib for mplayer
libx264-265.tar.xz 933K
http://tiny.cc/stj6hz
2. install anki
$ sudo mkdir /opt
$ sudo tar xjvf anki-2.1.15-linux-amd64-alternate.tar.bz2 -C /opt
$ sudo mv /opt/anki-2.1.15-linux-amd64-alternate /opt/anki
$ sudo ln -s /opt/anki/bin/anki /usr/bin/.
$ sudo cp /opt/anki/anki.desktop /usr/share/applications/.
3. install mplayer, mesa-dri and libx264.so.184
$ sudo tazpkg -gi mesa-dri mplayer
$ sudo tar xJvf /path-to/libx264-265.tar.xz -C /usr/lib
4. logout and relogin 
Applications → Education → anki
or
$ anki &

2019-12-12

next64 - startx VS. slim login manager


startx VS. slim login manager

startx

tux@slitaz:~$ cat .xsession
# ~/.xsession: Start X window session manually on your system (startx).

#
. $HOME/.config/slitaz/applications.conf
Xorg &
#xterm &
#xpad &
exec $WINDOW_MANAGER

tux@slitaz:~$ ps

[..]
2091 root 0:00 /sbin/getty 115200 38400 9600 4800 2400 ttyS0
2149 messageb 0:00 /usr/bin/dbus-daemon --system
2153 tux 0:00 /usr/bin/openbox --startup /usr/lib/openbox/openbox-autos
2155 root 0:00 /usr/libexec/Xorg
2178 tux 0:00 pcmanfm --desktop
2179 tux 0:00 lxpanel --profile slitaz
2183 tux 0:00 dbus-launch --sh-syntax --exit-with-session
2184 tux 0:00 /usr/bin/dbus-daemon --syslog --fork --print-pid 5 --prin
2195 tux 0:00 /usr/libexec/menu-cache/menu-cached /home/tux/.cache/menu
2213 tux 0:00 sakura --sync --geometry 80x24 -t SliTaz next64
2215 tux 0:00 gnome-pty-helper
2216 tux 0:00 /bin/sh
2217 tux 0:00 ps

tux@slitaz:~$ pstree -p

init(1)-+-dbus-daemon(2149)
        |-dbus-daemon(2184)
        |-dbus-launch(2183)
        |-getty(2087)
        |-getty(2088)
        |-getty(2089)
        |-getty(2090)
        |-getty(2091)
        |-httpd(1945)
        |-klogd(1463)
        |-lxpanel(2179)-+-{gmain}(2187)
        |               `-{menu-cache-io}(2196)
        |-menu-cached(2195)---{gmain}(2198)
        |-pcmanfm(2178)-+-{gmain}(2188)
        |               |-{pool}(2222)
        |               `-{pool}(2223)
        |-sakura(2213)-+-gnome-pty-helpe(2215)
        |              |-sh(2216)---pstree(2221)
        |              `-{gmain}(2214)
        |-sh(2084)
        |-sh(2083)---openbox(2153)---Xorg(2155)---{InputThread}(2169)
        |-syslogd(1442)
        |-udevd(1350)
        `-udhcpc(2005)
tux@slitaz:~$



 

VS.


slim login manager

tux@slitaz:~$ cat .xinitrc
# ~/.xinitrc: Executed by Slim/LXDM login manager to startx X session.

# You can use F1 with Slim to change your window manager or configure
# it permanently with your personal applications.conf file.
#
. $HOME/.config/slitaz/applications.conf
tazbox mkmenu

[ "$1" ] && WINDOW_MANAGER="$1"

EXEC="exec ck-launch-session dbus-launch --sh-syntax --exit-with-session"

LOG="/dev/null" ; X=$LOG ; ERR=$X
case "$WINDOW_MANAGER" in
     openbox|lxde*|icewm*|xfce4|compiz|karmen|dwm|fluxbox*|razor*|mate*)
           $EXEC ${WINDOW_MANAGER%-session}-session ;;
     enlightenment)
           $EXEC enlightenment_start ;;
     kde)  $EXEC startkde ;;
     lxqt) $EXEC startlxqt ;;
     *)    $EXEC $WINDOW_MANAGER ;;
esac 2>>$ERR >>$X

tux@slitaz:~$ ps
PID USER TIME COMMAND
1 root 0:13 init

[..]
2007 root 0:00 /sbin/udhcpc -b -T 1 -A 12 -i eth0 -p /var/run/udhcpc.eth
2039 messageb 0:00 /usr/bin/dbus-daemon --system
2148 root 0:00 /usr/bin/slim -d
2154 root 0:00 /usr/libexec/Xorg -auth /var/run/slim.auth vt07
2163 root 0:00 /usr/sbin/console-kit-daemon --no-daemon
2169 polkitd 0:00 /usr/lib/polkit-1/polkitd --no-debug
2174 tux 0:00 ck-launch-session dbus-launch --sh-syntax --exit-with-ses
2217 tux 0:00 /usr/bin/openbox --startup /usr/lib/openbox/openbox-autos
2220 tux 0:00 dbus-launch --sh-syntax --exit-with-session openbox-sessi
2221 tux 0:00 /usr/bin/dbus-daemon --syslog --fork --print-pid 6 --prin
2234 tux 0:00 /usr/lib/gvfsd
2239 tux 0:00 /usr/lib/gvfsd-fuse /var/run/user/1000/gvfs -f -o big_wri
2252 tux 0:00 pcmanfm --desktop
2253 tux 0:00 lxpanel --profile slitaz
2264 tux 0:00 /usr/lib/gvfsd-metadata
2271 tux 0:00 /usr/libexec/menu-cache/menu-cached /var/run/user/1000/me
2279 tux 0:00 /usr/lib/gvfs-udisks2-volume-monitor
2283 root 0:00 /usr/libexec/udisks2/udisksd
2309 tux 0:00 /usr/lib/gvfs-gphoto2-volume-monitor
2314 tux 0:00 /usr/lib/gvfs-mtp-volume-monitor
2319 tux 0:00 /usr/lib/gvfsd-trash --spawner :1.1 /org/gtk/gvfs/exec_sp
2325 root 0:00 /sbin/getty 38400 tty1
2326 root 0:00 /sbin/getty 38400 tty2
2327 root 0:00 /sbin/getty 38400 tty3
2328 root 0:00 /sbin/getty 38400 tty4
2329 root 0:00 /sbin/getty 38400 tty5
2330 root 0:00 /sbin/getty 38400 tty6
2331 root 0:00 /sbin/getty 115200 38400 9600 4800 2400 ttyS0
2346 tux 0:00 sakura --sync --geometry 80x24 -t SliTaz next64
2349 tux 0:00 gnome-pty-helper
2350 tux 0:00 /bin/sh
2354 tux 0:00 ps

tux@slitaz:~$ pstree -p

init(1)-+-console-kit-dae(2163)-+-{console-kit-dae}(2167)
        |                       |-{gdbus}(2166)
        |                       |-{gmain}(2164)
        |                       `-{vt_thread_start}(2170)
        |-dbus-daemon(2039)
        |-dbus-daemon(2221)
        |-dbus-launch(2220)
        |-getty(2325)
        |-getty(2326)
        |-getty(2327)
        |-getty(2328)
        |-getty(2329)
        |-getty(2330)
        |-getty(2331)
        |-gvfs-gphoto2-vo(2309)-+-{gdbus}(2312)
        |                       `-{gmain}(2310)
        |-gvfs-mtp-volume(2314)-+-{gdbus}(2317)
        |                       `-{gmain}(2315)
        |-gvfs-udisks2-vo(2279)-+-{gdbus}(2281)
        |                       `-{gmain}(2280)
        |-gvfsd(2234)-+-gvfsd-trash(2319)-+-{gdbus}(2321)
        |             |                   `-{gmain}(2320)
        |             |-{gdbus}(2236)
        |             `-{gmain}(2235)
        |-gvfsd-fuse(2239)-+-{gdbus}(2244)
        |                  |-{gmain}(2243)
        |                  |-{gvfs-fuse-sub}(2249)
        |                  |-{gvfsd-fuse}(2241)
        |                  `-{gvfsd-fuse}(2242)
        |-gvfsd-metadata(2264)-+-{gdbus}(2266)
        |                      `-{gmain}(2265)
        |-httpd(1933)
        |-klogd(1465)
        |-lxpanel(2253)-+-{gdbus}(2258)
        |               |-{gmain}(2257)
        |               `-{menu-cache-io}(2272)
        |-menu-cached(2271)-+-{gdbus}(2277)
        |                   `-{gmain}(2276)
        |-pcmanfm(2252)-+-{gdbus}(2256)
        |               |-{gmain}(2255)
        |               |-{pool}(2358)
        |               `-{pool}(2359)
        |-polkitd(2169)-+-{gdbus}(2178)
        |               |-{gmain}(2177)
        |               |-{polkitd}(2180)
        |               `-{polkitd}(2182)
        |-sakura(2346)-+-gnome-pty-helpe(2349)
        |              |-sh(2350)---pstree(2357)
        |              |-{gdbus}(2348)
        |              `-{gmain}(2347)
        |-slim(2148)-+-Xorg(2154)---{InputThread}(2161)
        |            `-ck-launch-sessi(2174)---openbox(2217)-+-{gdbus}(2232)
        |                                                    `-{gmain}(2231)
        |-syslogd(1444)
        |-udevd(1352)
        |-udhcpc(2007)
        `-udisksd(2283)-+-{cleanup}(2306)
                        |-{gdbus}(2286)
                        |-{gmain}(2284)
                        `-{probing-thread}(2287)
tux@slitaz:~$

2019-12-05

next64 - tazpkg --forced


tazpkg --forced

root@slitaz:/home/tux/Downloads# tazpkg -i tazlito-523.tazpkg
/usr/libexec/tazpkg/install: line 428: can't open tazlito-523.tazpkg: no such file
Try:

root@slitaz:~# tazpkg -i /home/tux/Downloads/tazlito-523-any.tazpkg --forced
Installation of package "tazlito"
================================================================================
SliTaz Live Tool
--------------------------------------------------------------------------------
Copying package... [ Done ]
Extracting package... [ Done ]
Remember modified packages... [ Done ]
Saving configuration files... [ Done ]
Installing package... [ Done ]
Removing all tmp files... [ Done ]
Update system databases... [ Done ]
================================================================================
Package "tazlito" (523) is installed.

root@slitaz:~# tazlito | head -n 3
SliTaz Live Tool - Version: 523

2019-12-04

next64 - hard link


hard link
why a bzImage and a bzImage64 in the ISO?
tazlito - make_bzImage_hardlink() / alloc_uefi_part()
http://forum.slitaz.org/topic/update-kernel-1/page/3#post-48159

hard link
http://forum.slitaz.org/topic/slitaz-uefi#post-46366

The first ISO test run fails, and shows bootia32.efi and bzImage.

Therefore, I made hard links bzImage64, bootx64.efi and rootfs.gz, and then regenerated the ISO.

hard link

/media/cdrom/boot:
total 105633
-rw-r--r-- 5 root root 3879568 Nov 27 08:51 bzImage
-rw-r--r-- 5 root root 3879568 Nov 27 08:51 bzImage64
-rw-r--r-- 5 root root 3879568 Nov 27 08:51 vmlinuz-4.17.7-slitaz

/media/cdrom/efi/boot:
total 101842
-rw-r--r-- 5 root root 3879568 Nov 27 08:51 bootia32.efi
-rw-r--r-- 5 root root 3879568 Nov 27 08:51 bootx64.efi

----

/media/cdrom/boot:
-rw-r--r-- 2 root root 96525470 Nov 27 08:50 rootfs.gz

/media/cdrom/efi/boot:
-rw-r--r-- 2 root root 96525470 Nov 27 08:50 rootfs.gz

next64 - SliTaz Live Tool - Version: 520


SliTaz Live Tool - Version: 520

tux@slitaz:/home/slitaz/next64/distro$ tazlito | head -n 3

SliTaz Live Tool - Version: 520

tux@slitaz:/home/slitaz/next64/distro$ ls -l /mnt/next64-3/efi/boot
total 98053
-rw-r--r-- 3 root root 3879568 Dec 4 08:54 bootx64.efi
-rw-r--r-- 1 root root 51 Dec 1 00:40 linux.cmdline
-rw-r--r-- 2 root root 96525470 Dec 4 08:53 rootfs.gz

tux@slitaz:/home/slitaz/next64/distro$ ls -l /mnt/next64-3/boot/isolinux/efi.img
-rw-r--r-- 1 root root 100618240 Dec 4 20:45 /mnt/next64-3/boot/isolinux/efi.img
tux@slitaz:/home/slitaz/next64/distro$


Image is ready: slitaz-next64-1575492310.iso

tux@slitaz:/home/slitaz/next64/distro$ sudo mount -o loop,ro slitaz-next64-1575492310.iso /mnt/next64-3

tux@slitaz:/home/slitaz/next64/distro$ ls -lR /mnt/next64-3
/mnt/next64-3:
total 12
drwxr-xr-x    3 root     root          2048 Dec  4 20:45 boot
drwxr-xr-x    3 root     root          2048 Dec  1 00:40 efi
-rw-r--r--    1 root     root          4922 Sep 18 22:14 index.html
-rw-r--r--    1 root     root          1244 Dec  4 20:45 md5sum
-rw-r--r--    1 root     root           811 Sep 18 22:14 README

/mnt/next64-3/boot:
total 102228
-rw-r--r--    3 root     root       3879568 Dec  4 08:54 bzImage64
-rw-r--r--    1 root     root        344033 Dec  4 08:57 ipxe.exe
drwxr-xr-x    2 root     root          2048 Dec  4 20:45 isolinux
-rw-r--r--    1 root     root          3946 Dec  4 08:57 linld.com
-rw-r--r--    1 root     root         44920 Dec  4 08:57 memtest.exe
-rw-r--r--    2 root     root      96525470 Dec  4 08:53 rootfs.gz
-rw-r--r--    3 root     root       3879568 Dec  4 08:54 vmlinuz-4.17.7-slitaz64
/mnt/next64-3/boot/isolinux:
total 98411
-r--r--r--    1 root     root          2048 Dec  4 20:45 boot.cat
-rw-r--r--    1 root     root         17121 Nov 19 01:43 c32box.c32
-rw-r--r--    1 root     root     100618240 Dec  4 20:45 efi.img
-rw-r--r--    1 root     root           857 Nov 19 01:43 help.en
-rw-r--r--    1 root     root           875 Nov 19 01:43 help.fr
-rw-r--r--    1 root     root          3718 Nov 19 01:43 i18n.cfg
-rw-r--r--    1 root     root         24576 Dec  4 20:40 isolinux.bin
-rw-r--r--    1 root     root          1311 Dec  4 08:52 isolinux.cfg
-rw-r--r--    1 root     root          1436 Nov 19 01:43 kbd
-rw-r--r--    1 root     root          1000 Nov 19 01:43 opts.en
-rw-r--r--    1 root     root          1118 Nov 19 01:43 opts.fr
-rw-r--r--    1 root     root         23795 Mar  4  2018 splash.jpg
-rw-r--r--    1 root     root         74570 Nov 19 01:43 vesamenu.c32

/mnt/next64-3/efi:
total 2
drwxr-xr-x    2 root     root          2048 Dec  4 20:45 boot

/mnt/next64-3/efi/boot:
total 98053
-rw-r--r--    3 root     root       3879568 Dec  4 08:54 bootx64.efi
-rw-r--r--    1 root     root            51 Dec  1 00:40 linux.cmdline
-rw-r--r--    2 root     root      96525470 Dec  4 08:53 rootfs.gz
tux@slitaz:/home/slitaz/next64/distro$

next64 - tazlito - make_bzImage_hardlink() / alloc_uefi_part()


tazlito - make_bzImage_hardlink() / alloc_uefi_part()

# isolinux/syslinux first tries the '64' suffix with a 64bits cpu.

# mv vmlinuz-4.17.7-slitaz vmlinuz-4.17.7-slitaz64

ls: /mnt/next64/efi/boot/rootfs.gz: No such file or directory



1.
next64 - vmlinuz-4.17.7-slitaz


tux@slitaz:~$ file -k /media/cdrom/boot/vmlinuz-4.17.7-slitaz
/media/cdrom/boot/vmlinuz-4.17.7-slitaz: Linux kernel x86 boot executable bzImage, version 4.17.7-slitaz (root@tank) #2 SMP Sat Jul 21 03:23:55 UTC 2018, RO-rootFS, swap_dev 0x3, Normal VGA12- DOS/MBR boot sector DOS/MBR boot sector PE32+ executable (EFI application) x86-64 (stripped to external PDB), for MS Windows12- data


2.
tux@slitaz:~$ grep -A 24 'isolinux\.conf' /usr/bin/tazlito
# isolinux.conf doesn't know the kernel version.
# We name the kernel image 'bzImage'.
# isolinux/syslinux first tries the '64' suffix with a 64bits cpu.

make_bzImage_hardlink() {
    if [   -e ${1:-.}/vmlinuz*slitaz ]; then
        rm -f ${1:-.}/bzImage 2>/dev/null
        ln    ${1:-.}/vmlinuz*slitaz ${1:-.}/bzImage
    fi
    if [   -e ${1:-.}/vmlinuz*slitaz64 ]; then
        rm -f ${1:-.}/bzImage64 2> /dev/null
        ln    ${1:-.}/vmlinuz*slitaz64 ${1:-.}/bzImage64

    fi
}

create_iso() {
    cd $2
    deduplicate

    rm -rf $2/boot/grub*
    make_bzImage_hardlink $2/boot
    alloc_uefi_part $(ls -r $2/boot/vmlinuz*slitaz*)

    cat > /tmp/cdsort$$ <<EOT
tux@slitaz:~$


3.
tux@slitaz:~$ grep -A 20 -B 2 ^alloc_uefi_part /usr/bin/tazlito
# allocate efi.img stub to share EFI files in the EFI boot partition
alloc_uefi_part()
 {
    local basedir=$(dirname "$1")/..
    local clusters=$({
    [ -d $basedir/efi ] &&
        find $basedir/efi -type f -exec stat -c "%s" {} \;
    while [ -s "$1" ]; do
        local efifile
        case "$1" in
        *taz)    efifile=bootia32.efi ;;
        *taz64) efifile=bootx64.efi ;;
        esac
        if [ ! -s $basedir/efi/boot/$efifile ] &&
           [ $(get $((0x82)) "$1") == $((0x4550)) ]; then
            stat -c "%s" "$1"
            mkdir -p $basedir/efi/boot 2> /dev/null
            ln "$1" $basedir/efi/boot/$efifile
        fi
        shift
    done; } | awk '{ n+=int(($1+2047)/2048) } END { print n }')
    [ ${clusters:-0} -eq 0 ] && return
    local dclust=$( (cd $basedir; find efi -type d 2>/dev/null) | awk '
tux@slitaz:~$


4.
vmlinuz-4.17.7-slitaz64


tux@slitaz:/home/slitaz/next64/distro$ ls -l rootcd/boot/vmlinuz*
-rw-r--r-- 2 root root 3879568 Dec 4 08:54 rootcd/boot/vmlinuz-4.17.7-slitaz64

tux@slitaz:/home/slitaz/next64/distro$ sudo tazlito gen-iso

[..]
Image is ready: slitaz-next64-1575471495.iso

tux@slitaz:/home/slitaz/next64/distro$ sudo mount -o loop slitaz-next64-1575471495.iso /mnt/next64
mount: /mnt/next64: WARNING: device write-protected, mounted read-only.

tux@slitaz:/home/slitaz/next64/distro$ ls -lR /mnt/next64
/mnt/next64:
total 12
drwxr-xr-x 3 root root 2048 Dec 4 14:58 boot
drwxr-xr-x 3 root root 2048 Dec 1 00:40 efi
-rw-r--r-- 1 root root 4922 Sep 18 22:14 index.html
-rw-r--r-- 1 root root 1191 Dec 4 14:58 md5sum
-rw-r--r-- 1 root root 811 Sep 18 22:14 README

/mnt/next64/boot:
total 102228
-rw-r--r-- 3 root root 3879568 Dec 4 08:54 bzImage64
-rw-r--r-- 1 root root 344033 Dec 4 08:57 ipxe.exe
drwxr-xr-x 2 root root 2048 Dec 4 14:58 isolinux
-rw-r--r-- 1 root root 3946 Dec 4 08:57 linld.com
-rw-r--r-- 1 root root 44920 Dec 4 08:57 memtest.exe
-rw-r--r-- 1 root root 96525470 Dec 4 08:53 rootfs.gz
-rw-r--r-- 3 root root 3879568 Dec 4 08:54 vmlinuz-4.17.7-slitaz64

/mnt/next64/boot/isolinux:
total 3957
-r--r--r-- 1 root root 2048 Dec 4 14:58 boot.cat
-rw-r--r-- 1 root root 17121 Nov 19 01:43 c32box.c32
-rw-r--r-- 1 root root 3897344 Dec 4 14:58 efi.img
-rw-r--r-- 1 root root 857 Nov 19 01:43 help.en
-rw-r--r-- 1 root root 875 Nov 19 01:43 help.fr
-rw-r--r-- 1 root root 3718 Nov 19 01:43 i18n.cfg
-rw-r--r-- 1 root root 24576 Dec 4 08:59 isolinux.bin
-rw-r--r-- 1 root root 1311 Dec 4 08:52 isolinux.cfg
-rw-r--r-- 1 root root 1436 Nov 19 01:43 kbd
-rw-r--r-- 1 root root 1000 Nov 19 01:43 opts.en
-rw-r--r-- 1 root root 1118 Nov 19 01:43 opts.fr
-rw-r--r-- 1 root root 23795 Mar 4 2018 splash.jpg
-rw-r--r-- 1 root root 74570 Nov 19 01:43 vesamenu.c32

/mnt/next64/efi:
total 2
drwxr-xr-x 2 root root 2048 Dec 4 08:59 boot

/mnt/next64/efi/boot:
total 3790
-rw-r--r-- 3 root root 3879568 Dec 4 08:54 bootx64.efi
-rw-r--r-- 1 root root 51 Dec 1 00:40 linux.cmdline



VS.


vmlinuz-4.17.7-slitaz

tux@slitaz:/home/slitaz/next64/distro$ ls -l rootcd/boot/vmlinuz*
-rw-r--r-- 3 root root 3879568 Dec 4 08:54 rootcd/boot/vmlinuz-4.17.7-slitaz

tux@slitaz:/home/slitaz/next64/distro$ sudo tazlito gen-iso

[..]
Image is ready: slitaz-next64-1575472082.iso

tux@slitaz:/home/slitaz/next64/distro$ sudo mount -o loop slitaz-next64-1575472082.iso /mnt/next64-2
mount: /mnt/next64-2: WARNING: device write-protected, mounted read-only.

tux@slitaz:/home/slitaz/next64/distro$ ls -lR /mnt/next64-2
/mnt/next64-2:
total 12
drwxr-xr-x 3 root root 2048 Dec 4 15:08 boot
drwxr-xr-x 3 root root 2048 Dec 1 00:40 efi
-rw-r--r-- 1 root root 4922 Sep 18 22:14 index.html
-rw-r--r-- 1 root root 1190 Dec 4 15:08 md5sum
-rw-r--r-- 1 root root 811 Sep 18 22:14 README

/mnt/next64-2/boot:
total 102228
-rw-r--r-- 3 root root 3879568 Dec 4 08:54 bzImage
-rw-r--r-- 1 root root 344033 Dec 4 08:57 ipxe.exe
drwxr-xr-x 2 root root 2048 Dec 4 15:08 isolinux
-rw-r--r-- 1 root root 3946 Dec 4 08:57 linld.com
-rw-r--r-- 1 root root 44920 Dec 4 08:57 memtest.exe
-rw-r--r-- 1 root root 96525470 Dec 4 08:53 rootfs.gz
-rw-r--r-- 3 root root 3879568 Dec 4 08:54 vmlinuz-4.17.7-slitaz

/mnt/next64-2/boot/isolinux:
total 3957
-r--r--r-- 1 root root 2048 Dec 4 15:08 boot.cat
-rw-r--r-- 1 root root 17121 Nov 19 01:43 c32box.c32
-rw-r--r-- 1 root root 3897344 Dec 4 15:08 efi.img
-rw-r--r-- 1 root root 857 Nov 19 01:43 help.en
-rw-r--r-- 1 root root 875 Nov 19 01:43 help.fr
-rw-r--r-- 1 root root 3718 Nov 19 01:43 i18n.cfg
-rw-r--r-- 1 root root 24576 Dec 4 15:01 isolinux.bin
-rw-r--r-- 1 root root 1311 Dec 4 08:52 isolinux.cfg
-rw-r--r-- 1 root root 1436 Nov 19 01:43 kbd
-rw-r--r-- 1 root root 1000 Nov 19 01:43 opts.en
-rw-r--r-- 1 root root 1118 Nov 19 01:43 opts.fr
-rw-r--r-- 1 root root 23795 Mar 4 2018 splash.jpg
-rw-r--r-- 1 root root 74570 Nov 19 01:43 vesamenu.c32

/mnt/next64-2/efi:
total 2
drwxr-xr-x 2 root root 2048 Dec 4 15:08 boot

/mnt/next64-2/efi/boot:
total 3790
-rw-r--r-- 3 root root 3879568 Dec 4 08:54 bootia32.efi
-rw-r--r-- 1 root root 51 Dec 1 00:40 linux.cmdline

tux@slitaz:/home/slitaz/next64/distro$


5.
tux@slitaz:/home/slitaz/next64/distro$ tazpkg -l | grep tazlito
tazlito                            492               base-system
 

tux@slitaz:/home/slitaz/next64/distro$ ls -l /mnt/next64/efi/boot/rootfs.gz
ls: /mnt/next64/efi/boot/rootfs.gz: No such file or directory

VS.

slitaz-rolling-core64.iso

tux@slitaz:/home/slitaz/next64/distro$ sudo mount -o loop ~/Downloads/slitaz-rolling-core64.iso /mnt/core64
mount: /mnt/core64: WARNING: device write-protected, mounted read-only.

tux@slitaz:/home/slitaz/next64/distro$ ls -l /mnt/core64/efi/boot
total 50626
-rw-r--r-- 3 root root 3806640 Nov 18 11:29 bootx64.efi
-rw-r--r-- 1 root root 51 Dec 1 00:40 linux.cmdline
-rw-r--r-- 2 root root 48033380 Dec 1 00:40 rootfs.gz

tux@slitaz:/home/slitaz/next64/distro$

2019-11-28

next64 - slitaz-next64-20191127.iso



slitaz-next64-20191127.iso

# blkid slitaz-next64-20191127.iso
slitaz-next64-20191127.iso: UUID="2019-11-27-09-16-15-00" LABEL="SliTaz LiveCD" TYPE="iso9660" PTUUID="5dde3edf" PTTYPE="dos"

based on  http://mirror1.slitaz.org/packages/next64
openbox with slim autologin.
pcmanfm :  “Edit as Root” OK.
“Open Folder As Root” failed.

slitaz-next64-20191127.iso 96 MB
http://tiny.cc/41jxgz 

slitaz-next64-20191127.md5
http://tiny.cc/yckxgz 

 

https://forum.slitaz.org/topic/update-kernel-1/page/3#post-48140 


next64 - slitaz-toolchain



slitaz-toolchain

libmpfr.so.4: cannot open shared object file: No such file or directory

GNU C11 (SliTaz64) version 7.3.0 (x86_64-slitaz-linux)
    compiled by GNU C version 7.3.0, GMP version 6.1.2, MPFR version 3.1.5, MPC version 1.0.3, isl version none
warning: MPFR header version 3.1.5 differs from library version 4.0.1.
warning: MPC header version 1.0.3 differs from library version 1.1.0.


1.
root@slitaz:~# echo 'int main() { return 0; }' > test.c


2.
root@slitaz:~# gcc -v -o test.o test.c
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-slitaz-linux/7.3.0/lto-wrapper
Target: x86_64-slitaz-linux
Configured with: ../configure --enable-languages=c,c++,objc,fortran --disable-multilib --disable-bootstrap --with-system-zlib --with-pkgversion=SliTaz64 --build=x86_64-slitaz-linux --host=x86_64-slitaz-linux
Thread model: posix
gcc version 7.3.0 (SliTaz64)
COLLECT_GCC_OPTIONS='-v' '-o' 'test.o' '-mtune=generic' '-march=x86-64'
 /usr/libexec/gcc/x86_64-slitaz-linux/7.3.0/cc1 -quiet -v test.c -quiet -dumpbase test.c -mtune=generic -march=x86-64 -auxbase test -version -o /tmp/ccltXq0x.s
/usr/libexec/gcc/x86_64-slitaz-linux/7.3.0/cc1: error while loading shared libraries: libmpfr.so.4: cannot open shared object file: No such file or directory


3.
root@slitaz:~# ls -l /usr/lib/libmpfr*
lrwxrwxrwx 1 root root        16 Nov 24 09:26 /usr/lib/libmpfr.so -> libmpfr.so.6.0.1
lrwxrwxrwx 1 root root        16 Nov 24 09:26 /usr/lib/libmpfr.so.6 -> libmpfr.so.6.0.1
-rwxr-xr-x 1 root root    430480 Aug 11  2018 /usr/lib/libmpfr.so.6.0.1

root@slitaz:~# ln -s /usr/lib/libmpfr.so.6.0.1 /usr/lib/libmpfr.so.4


4.
root@slitaz:~# gcc -v -o test.o test.c
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-slitaz-linux/7.3.0/lto-wrapper
Target: x86_64-slitaz-linux
Configured with: ../configure --enable-languages=c,c++,objc,fortran --disable-multilib --disable-bootstrap --with-system-zlib --with-pkgversion=SliTaz64 --build=x86_64-slitaz-linux --host=x86_64-slitaz-linux
Thread model: posix
gcc version 7.3.0 (SliTaz64)
COLLECT_GCC_OPTIONS='-v' '-o' 'test.o' '-mtune=generic' '-march=x86-64'
 /usr/libexec/gcc/x86_64-slitaz-linux/7.3.0/cc1 -quiet -v test.c -quiet -dumpbase test.c -mtune=generic -march=x86-64 -auxbase test -version -o /tmp/cca3awNX.s
GNU C11 (SliTaz64) version 7.3.0 (x86_64-slitaz-linux)
    compiled by GNU C version 7.3.0, GMP version 6.1.2, MPFR version 3.1.5, MPC version 1.0.3, isl version none
warning: MPFR header version 3.1.5 differs from library version 4.0.1.
warning: MPC header version 1.0.3 differs from library version 1.1.0.
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=65536
ignoring nonexistent directory "/usr/local/include"
ignoring nonexistent directory "/usr/lib/gcc/x86_64-slitaz-linux/7.3.0/../../../../x86_64-slitaz-linux/include"
#include "..." search starts here:
#include <...> search starts here:
 /usr/lib/gcc/x86_64-slitaz-linux/7.3.0/include
 /usr/lib/gcc/x86_64-slitaz-linux/7.3.0/include-fixed
 /usr/include
End of search list.
GNU C11 (SliTaz64) version 7.3.0 (x86_64-slitaz-linux)
    compiled by GNU C version 7.3.0, GMP version 6.1.2, MPFR version 3.1.5, MPC version 1.0.3, isl version none
warning: MPFR header version 3.1.5 differs from library version 4.0.1.
warning: MPC header version 1.0.3 differs from library version 1.1.0.
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=65536
Compiler executable checksum: e8abc0a243e1de7ed2f388dead27f036
COLLECT_GCC_OPTIONS='-v' '-o' 'test.o' '-mtune=generic' '-march=x86-64'
 as -v --64 -o /tmp/cciAhQBR.o /tmp/cca3awNX.s
GNU assembler version 2.29 (x86_64-slitaz-linux) using BFD version (GNU Binutils) 2.29
COMPILER_PATH=/usr/libexec/gcc/x86_64-slitaz-linux/7.3.0/:/usr/libexec/gcc/x86_64-slitaz-linux/7.3.0/:/usr/libexec/gcc/x86_64-slitaz-linux/:/usr/lib/gcc/x86_64-slitaz-linux/7.3.0/:/usr/lib/gcc/x86_64-slitaz-linux/
LIBRARY_PATH=/usr/lib/gcc/x86_64-slitaz-linux/7.3.0/:/usr/lib/gcc/x86_64-slitaz-linux/7.3.0/../../../../lib/:/lib/../lib/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-slitaz-linux/7.3.0/../../../:/lib/:/usr/lib/
COLLECT_GCC_OPTIONS='-v' '-o' 'test.o' '-mtune=generic' '-march=x86-64'
 /usr/libexec/gcc/x86_64-slitaz-linux/7.3.0/collect2 -plugin /usr/libexec/gcc/x86_64-slitaz-linux/7.3.0/liblto_plugin.so -plugin-opt=/usr/libexec/gcc/x86_64-slitaz-linux/7.3.0/lto-wrapper -plugin-opt=-fresolution=/tmp/ccAgm2qL.res -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s --eh-frame-hdr -m elf_x86_64 -dynamic-linker /lib64/ld-linux-x86-64.so.2 -o test.o /usr/lib/gcc/x86_64-slitaz-linux/7.3.0/../../../../lib/crt1.o /usr/lib/gcc/x86_64-slitaz-linux/7.3.0/../../../../lib/crti.o /usr/lib/gcc/x86_64-slitaz-linux/7.3.0/crtbegin.o -L/usr/lib/gcc/x86_64-slitaz-linux/7.3.0 -L/usr/lib/gcc/x86_64-slitaz-linux/7.3.0/../../../../lib -L/lib/../lib -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-slitaz-linux/7.3.0/../../.. /tmp/cciAhQBR.o -lgcc --as-needed -lgcc_s --no-as-needed -lc -lgcc --as-needed -lgcc_s --no-as-needed /usr/lib/gcc/x86_64-slitaz-linux/7.3.0/crtend.o /usr/lib/gcc/x86_64-slitaz-linux/7.3.0/../../../../lib/crtn.o
COLLECT_GCC_OPTIONS='-v' '-o' 'test.o' '-mtune=generic' '-march=x86-64'


5.
root@slitaz:~# file test.o
test.o: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 3.2.0, with debug_info, not stripped
root@slitaz:~#


2019-11-27

next64 - Dropbear - daemons.conf


Dropbear - daemons.conf

Starting SSH server: Dropbear...                                     [ Failed ]

# Dropbear SSH server options.
DROPBEAR_OPTIONS="-w -g -b /etc/dropbear/banner"      ??



tux@slitaz:~$ uname -a
Linux slitaz 4.17.7-slitaz #2 SMP Sat Jul 21 03:23:55 UTC 2018 x86_64 GNU/Linux

tux@slitaz:~$ sudo /etc/init.d/dropbear start
Starting SSH server: Dropbear...                                     [ Failed ]

tux@slitaz:~$ ls -l /etc/dropbear/
total 4
-rw-r--r--    1 root     root            66 Mar 23  2018 banner
-rw-r--r--    1 root     root             0 Jul 20  2018 dropbear_dss_host_key
-rw-r--r--    1 root     root             0 Jul 20  2018 dropbear_ecdsa_host_key
-rw-r--r--    1 root     root             0 Jul 20  2018 dropbear_rsa_host_key

tux@slitaz:~$ sudo rm -f /etc/dropbear/*key

tux@slitaz:~$ sudo /etc/init.d/dropbear start
Generating Dropbear rsa key...                                       [ Done ]
Generating Dropbear dss key...                                       [ Done ]
Generating Dropbear ecdsa key...                                     [ Done ]
Starting SSH server: Dropbear...                                     [ Done ]

tux@slitaz:~$ ls -l /etc/dropbear/
total 16
-rw-r--r--    1 root     root            66 Mar 23  2018 banner
-rw-------    1 root     root           458 Nov 25 11:37 dropbear_dss_host_key
-rw-------    1 root     root           140 Nov 25 11:37 dropbear_ecdsa_host_key
-rw-------    1 root     root           805 Nov 25 11:37 dropbear_rsa_host_key

tux@slitaz:~$ ssh root@127.0.0.1

Host '127.0.0.1' is not in the trusted hosts file.
(ecdsa-sha2-nistp256 fingerprint sha1!! e3:94:50:9e:f5:7d:65:6c:63:61:4f:ac:41:7c:9c:bf:6e:82:34:22)
Do you want to continue connecting? (y/n) y
root@127.0.0.1's password:

root@slitaz:~# cat /etc/daemons.conf
# Domain name server options.
DNSD_OPTIONS="-d"

# Tftp daemon options.
TFTPD_OPTIONS="-r /boot"

# DBUS daemon options.
DBUS_OPTIONS="--system"


# wpa_supplicant daemon options
WPA_OPTIONS="-B -u -P /var/run/wpa_supplicant.pid -c /etc/wpa/wpa.conf -i $(. /etc/network.conf; echo $WIFI_INTERFACE)"

root@slitaz:~#

next64 - cookutils - uname


cookutils - uname

can't open '/home/slitaz/wok/linux/receipt'
Linux slitaz -slitaz
#2 SMP Sat Jul 21 03:23:55 UTC 2018 x86_64 GNU/Linux


tux@slitaz:~$ uname -a
/bin/uname: .: line 8: can't open '/home/slitaz/wok/linux/receipt'
Linux slitaz -slitaz #2 SMP Sat Jul 21 03:23:55 UTC 2018 x86_64 GNU/Linux

tux@slitaz:~$ ls -l /home/slitaz/wok/linux/receipt
ls: /home/slitaz/wok/linux/receipt: No such file or directory

tux@slitaz:~$ ls /home
tux

tux@slitaz:~$ cat /bin/uname
#!/bin/sh
# uname - special "fake" wrapper for using inside SliTaz cooker chroot.
# Although SliTaz cooker *host arch* is 64-bit, SliTaz *target arch* may be
# 32-bit and some configuration tools using uname could be improperly configured.
# This also applies to the kernel versions of the host and the target systems.

. /etc/slitaz/cook.conf
kernel_version=$(. /home/slitaz/wok/linux/receipt; echo $VERSION)
uname_r=$(/bin/busybox uname -r)
/bin/busybox uname $@ | sed "s|x86_64|$ARCH|g; s|$uname_r|$kernel_version-slitaz|g"
tux@slitaz:~$

next64 - mc - Unable to load 'default' skin



mc - Unable to load 'default' skin.


                      +----------------- Error ----------------+
                       |                                                 |
                       | Unable to load 'default' skin.   |
                       |  Default skin has been loaded |
                       |                                                 |
                      +------------------------------------------+

Update:

tux@slitaz:~$ grep DEPENDS /var/lib/tazpkg/installed/mc/receipt
DEPENDS="glib libssh2 ncurses"

Fixed
# tazpkg -gi mc-noarch

----

tux@slitaz:~$ mc
sfs_init(): Warning: file /etc/mc/sfs.ini not found
Warning: cannot open /usr/libexec/mc/extfs.d directory
Warning: cannot load codepages list

tux@slitaz:~$ uname -a
Linux slitaz 4.17.7-slitaz #2 SMP Sat Jul 21 03:23:55 UTC 2018 x86_64 GNU/Linux

tux@slitaz:~$ tazpkg -l | grep ^mc
mc 4.8.21 system-tools

tux@slitaz:~$ tazpkg -lf mc

Installed files by "mc"
================================================================================
/usr/bin/mc
/usr/bin/mcdiff
/usr/bin/mcedit
/usr/bin/mcview
/usr/libexec/mc/cons.saver
================================================================================
5 files

2019-11-24

next64 - glxgears


glxgears


 
Avg : 10481.648 FPS

Avg1: 8144.405 FPS

diff: 2337.243 FPS             22.298 %



  libglu-mesa                        9.0.0             x-window
  mesa17                             17.2.4            x-window
  mesa17-dri                         17.2.4            x-window
  xorg-server                        1.19.3            x-window
  xorg-server-module-glamor          1.19.3            x-window

 glu                                9.0.0             x-window
 mesa                               17.3.4            x-window
 mesa-dri                           17.3.4            x-window
 mesa-libwayland-egl                17.3.4            x-window
 xorg-server                        1.20.1            x-window
 xorg-server-module-glamor          1.20.1            x-window

Summary for: mesa 18.3.1
Summary for: xorg-server 1.20.3

tux@slitaz:~$ uname -a
Linux slitaz 4.14.16-slitaz #2 SMP Fri Feb 9 15:22:42 Europe 2018 x86_64 GNU/Linux

tux@slitaz:~$ file /lib/libc-2.26.so
/lib/libc-2.26.so: ELF 64-bit LSB shared object, x86-64, version 1 (GNU/Linux), dynamically linked, interpreter /lib/ld-linux-x86-64.so.2, for GNU/Linux 3.2.0, stripped

tux@slitaz:~$ vblank_mode=0 glxgears
ATTENTION: default value of option vblank_mode overridden by environment.
52742 frames in 5.0 seconds = 10548.254 FPS
52307 frames in 5.0 seconds = 10461.278 FPS
52310 frames in 5.0 seconds = 10461.818 FPS
52277 frames in 5.0 seconds = 10455.245 FPS

Avg: 10481.648 FPS

(10548.254+10461.278+10461.818+10455.245)/4= 10481.648



VS.



tux@slitaz:~$ uname -a
Linux slitaz 4.17.7-slitaz #2 SMP Sat Jul 21 03:23:55 UTC 2018 x86_64 GNU/Linux

tux@slitaz:~$ file /lib/libc-2.26.so
/lib/libc-2.26.so: ELF 64-bit LSB pie executable, x86-64, version 1 (GNU/Linux), dynamically linked, interpreter /lib/ld-linux-x86-64.so.2, for GNU/Linux 3.2.0, stripped

tux@slitaz:~$ vblank_mode=0 glxgears
ATTENTION: default value of option vblank_mode overridden by environment.
40455 frames in 5.0 seconds = 8090.896 FPS
40529 frames in 5.0 seconds = 8105.724 FPS
40327 frames in 5.0 seconds = 8065.400 FPS
41578 frames in 5.0 seconds = 8315.600 FPS

Avg1: 8144.405 FPS

(8090.896+8105.724+8065.400+8315.600)/4= 8144.405



diff: 2337.243 FPS          22.298 %


10481.648-8144.405= 2337.243 FPS

(10481.648-8144.405)/10481.648*100= 22.298 %

next64 - KISS - Keep It Simple Stupid



Great ! simple && compatible
 
KISS - Keep It Simple Stupid


The KISS principle states that most systems work best

if they are kept simple rather than made complicated;

therefore, simplicity should be a key goal in design,

and unnecessary complexity should be avoided.

2019-11-22

next64 - xorg-server - intel / fbdev / vesa / xkbcomp


xorg-server - intel / fbdev / vesa / xkbcomp 
 
(EE) intel: module ABI major version (23) doesn't match the server's version (24)

Unsupported high keycode 372 for name <I372> ignored

  xorg-server                        1.19.3            x-window

 xorg-server                        1.20.1            x-window

Summary for: xorg-server 1.20.3

1.
(EE) intel: module ABI major version (23) doesn't match the server's version (24)
(EE) fbdev: module ABI major version (23) doesn't match the server's version (24)
(EE) vesa: module ABI major version (23) doesn't match the server's version (24)
(II) modeset(0): Initializing kms color map for depth 24, 8 bpc.
The XKEYBOARD keymap compiler (xkbcomp) reports:
> Warning:          Unsupported high keycode 372 for name <I372> ignored
>                   X11 cannot support keycodes above 255.
>                   This warning only shows for the first high keycode.
Errors from xkbcomp are not fatal to the X server
The XKEYBOARD keymap compiler (xkbcomp) reports:
> Warning:          Unsupported high keycode 372 for name <I372> ignored
>                   X11 cannot support keycodes above 255.
>                   This warning only shows for the first high keycode.
Errors from xkbcomp are not fatal to the X server


2.
tux@slitaz:~$ grep -B 5 match /var/log/Xorg.0.log
[   195.476] (II) Loading /usr/lib/xorg/modules/drivers/intel_drv.so
[   195.477] (II) Module intel: vendor="X.Org Foundation"
[   195.477]     compiled for 1.19.3, module version = 2.99.917
[   195.477]     Module class: X.Org Video Driver
[   195.477]     ABI class: X.Org Video Driver, version 23.0
[   195.478] (EE) intel: module ABI major version (23) doesn't match the server's version (24)
[   195.478] (EE) Failed to load module "intel" (module requirement mismatch, 0)
--
[   195.478] (II) Loading /usr/lib/xorg/modules/drivers/fbdev_drv.so
[   195.478] (II) Module fbdev: vendor="X.Org Foundation"
[   195.478]     compiled for 1.19.3, module version = 0.5.0
[   195.478]     Module class: X.Org Video Driver
[   195.478]     ABI class: X.Org Video Driver, version 23.0
[   195.479] (EE) fbdev: module ABI major version (23) doesn't match the server's version (24)
[   195.479] (EE) Failed to load module "fbdev" (module requirement mismatch, 0)
--
[   195.479] (II) Loading /usr/lib/xorg/modules/drivers/vesa_drv.so
[   195.479] (II) Module vesa: vendor="X.Org Foundation"
[   195.479]     compiled for 1.19.3, module version = 2.4.0
[   195.479]     Module class: X.Org Video Driver
[   195.479]     ABI class: X.Org Video Driver, version 23.0
[   195.480] (EE) vesa: module ABI major version (23) doesn't match the server's version (24)
[   195.480] (EE) Failed to load module "vesa" (module requirement mismatch, 0)
tux@slitaz:~$



3.
tux@slitaz:~$ sudo X -version

X.Org X Server 1.20.1
X Protocol Version 11, Revision 0
Build Operating System: SliTaz GNU/Linux
Current Operating System: Linux slitaz 4.17.7-slitaz #2 SMP Sat Jul 21 03:23:55 UTC 2018 x86_64
Kernel command line: root=/dev/null autologin screen=text
Build Date: 03 September 2018  06:01:18AM

Current version of pixman: 0.34.0
    Before reporting problems, check http://www.slitaz.org/
    to make sure that you have the latest version.


4.
tux@slitaz:~$ tazpkg -l | egrep 'server|video|xkbcomp'

xorg-server                        1.20.1            x-window
xorg-server-module-glamor          1.20.1            x-window
xorg-xf86-video-fbdev              0.5.0             x-window
xorg-xf86-video-intel              2.99.917          x-window
xorg-xf86-video-vesa               2.4.0             x-window
xorg-xkbcomp                       1.4.2             x-window

next64 - modprobe binfmt-464c cannot be processed


modprobe binfmt-464c cannot be processed


Linux slitaz 4.4.1-slitaz64 #6 SMP Thu Nov 21 11:37:00 GMT 2019 x86_64 GNU/Linux
run correctly on rolling and all previous version of slitaz.

why use kernel-4.4.1 ?
longterm:     4.4.202      2019-11-16
Longterm release kernels
Version Maintainer                          Released      Projected EOL
5.4     Greg Kroah-Hartman & Sasha Levin    2019-XX-XX    Dec, 2021
4.19    Greg Kroah-Hartman & Sasha Levin    2018-10-22    Dec, 2020
4.14    Greg Kroah-Hartman & Sasha Levin    2017-11-12    Jan, 2024
4.9     Greg Kroah-Hartman & Sasha Levin    2016-12-11    Jan, 2023
4.4     Greg Kroah-Hartman & Sasha Levin    2016-01-10    Feb, 2022

kernel-4.17.7 with 32bit rootfs boot failed.

modprobe binfmt-464c cannot be processed
Starting init:/sbin/init exists but couldn't execute it (error -8)

 

[2/3] kmod: fix wait on recursive loop
https://lore.kernel.org/patchwork/patch/819637/
request_module: runaway loop modprobe binfmt-464c
Starting init:/sbin/init exists but couldn't execute it (error -8)
This issue could happen for instance when a 64-bit kernel boots a 32-bit
userspace on some architectures and has no 32-bit binary format hanlders.
This is visible, for instance, when a CONFIG_MODULES enabled 64-bit MIPS
kernel boots a into o32 root filesystem and the binfmt handler for o32
binaries is not built-in.

your config and kernel-4.17.7

tux@slitaz:~$ diff config-441 config-4177 | grep -A 25 -B 2 Emulations
 
@@ -671,24 +797,17 @@
 # Executable file formats / Emulations
 #
 CONFIG_BINFMT_ELF=y
-CONFIG_COMPAT_BINFMT_ELF=y
-# CONFIG_CORE_DUMP_DEFAULT_ELF_HEADERS is not set
+CONFIG_ELFCORE=y
+CONFIG_CORE_DUMP_DEFAULT_ELF_HEADERS=y
 CONFIG_BINFMT_SCRIPT=y
-# CONFIG_HAVE_AOUT is not set
 CONFIG_BINFMT_MISC=m
 CONFIG_COREDUMP=y
-CONFIG_IA32_EMULATION=y
-# CONFIG_IA32_AOUT is not set
+# CONFIG_IA32_EMULATION is not set
 # CONFIG_X86_X32 is not set
-CONFIG_COMPAT=y
-CONFIG_COMPAT_FOR_U64_ALIGNMENT=y
-CONFIG_SYSVIPC_COMPAT=y
-CONFIG_KEYS_COMPAT=y
 CONFIG_X86_DEV_DMA_OPS=y
-CONFIG_PMC_ATOM=y
 CONFIG_NET=y
-CONFIG_COMPAT_NETLINK_MESSAGES=y
 CONFIG_NET_INGRESS=y
+CONFIG_NET_EGRESS=y

tux@slitaz:~$

2019-11-20

next64 - glib segfault - lxsession / lxpanel


glib segfault - lxsession / lxpanel

$ tazpkg rdepends glib | wc -l
116

  glib 2.52.3 x-window

 glib 2.56.1 x-window

diff version
Summary for: glib 2.58.2
1.
glib-2.52.3 - lxsession

[ 1010.676823] lxsession[3188]: segfault at 0 ip 00007f7a04a0ba8b sp 00007ffc304b7740 error 4 in libglib-2.0.so.0.5200.3[7f7a0499e000+e8000]
[ 1010.705436] lxsession[3203]: segfault at 0 ip 00007f7a04a0ba8b sp 00007ffc304b7640 error 4 in libglib-2.0.so.0.5200.3[7f7a0499e000+e8000]

VS.

glib-2.56.1 - lxsession
[ 6729.584107] lxsession[2859]: segfault at 0 ip 00007fde6179edc9 sp 00007ffcf5e0d8d0 error 4 in libglib-2.0.so.0.5600.1[7fde6173d000+d1000]
[ 6729.819738] lxsession[2937]: segfault at 0 ip 00007fde6179edc9 sp 00007ffcf5e0d7d0 error 4 in libglib-2.0.so.0.5600.1[7fde6173d000+d1000]

glib-2.56.1 - lxpanel
[ 4770.880575] pool[2326]: segfault at 8 ip 00007f53a54e2127 sp 00007f539cc20b60 error 4 in libgobject-2.0.so.0.5600.1[7f53a54d1000+30000]

2.
tux@slitaz:~$ tazpkg -lf glib

Installed files by "glib"
================================================================================
/usr/bin/gapplication
/usr/bin/gdbus
/usr/bin/gio
/usr/bin/gio-querymodules
/usr/bin/glib-compile-resources
/usr/bin/glib-compile-schemas
/usr/bin/glib-genmarshal
/usr/bin/gobject-query
/usr/bin/gresource
/usr/bin/gsettings
/usr/lib/libgio-2.0.so
/usr/lib/libgio-2.0.so.0
/usr/lib/libgio-2.0.so.0.5600.1
/usr/lib/libglib-2.0.so
/usr/lib/libglib-2.0.so.0
/usr/lib/libglib-2.0.so.0.5600.1
/usr/lib/libgmodule-2.0.so
/usr/lib/libgmodule-2.0.so.0
/usr/lib/libgmodule-2.0.so.0.5600.1
/usr/lib/libgobject-2.0.so
/usr/lib/libgobject-2.0.so.0
/usr/lib/libgobject-2.0.so.0.5600.1
/usr/lib/libgthread-2.0.so
/usr/lib/libgthread-2.0.so.0
/usr/lib/libgthread-2.0.so.0.5600.1
================================================================================
25 files

3.
rdepends          Display reverse dependencies tree

tux@slitaz:~$ tazpkg rdepends glib | wc -l
116

tux@slitaz:~$ tazpkg rdepends glib

  asunder (188K)
  at-spi2-atk (240K)
    gtk3 (7.2M)
      sakura (124K)
      vte (356K)
  at-spi2-core (344K)
  atk (172K)
    atkmm (332K)
      gtkmm (4.4M)
    deadbeef (1.4M)
      deadbeef-opus (84K)
    gcolor2 (76K)
    gtk2 (4.5M)
      epdfview (184K)
      galculator (472K)
      gpicview (144K)
        lxde (56K)
      gtk-clearlooks (220K)
      gtk2-engine-murrine (284K)
        paper-gtk-theme (2.5M)
      keybinder (36K)
        lxpanel (900K)
      leafpad (128K)
      libfm-gtk (684K)
        pcmanfm (476K)
      libglade (188K)
        obconf (280K)
      libwnck2 (324K)
      lxappearance (164K)
        lxappearance-obconf (108K)
      lxinput (80K)
      lxrandr (68K)
      lxsession (832K)
      lxtask (76K)
 [..]

  libharfbuzz (596K)
    freetype (656K)
      fontconfig (624K)
        libbluray (356K)
        libgd (488K)
          libgphoto2 (3.6M)
        slim (288K)
          slim-theme-default (204K)
          slitaz-configs (456K)
          slitaz-themes (228K)
        xorg-libXft (96K)
          xterm (532K)
      imlib2 (644K)
      xorg-libXfont (224K)
      xorg-libXfont2 (212K)
        xorg-server (2.7M)
          xorg-xf86-input-mouse (84K)
          xorg-xf86-video-fbdev (60K)
    [..] 
 
 

slitaz - SliTaz Tank


SliTaz Tank
http://tank.slitaz.org/
Codename: tank
This is the SliTaz GNU/Linux main server and build host.
The server runs naturally SliTaz and provides some services to all contributors.
Virtual hosts
boot.slitaz.org    - SliTaz Web boot.          (stats)
cook.slitaz.org    - SliTaz Build Bot.         (stats)
people.slitaz.org  - SliTaz People stuff.      (stats)
….
developer:
1. SliTaz Repositories

Mercurial Repositories - Source code repositories
http://hg.slitaz.org
Real time improvements, fixes and goodies from SliTaz contributors

wok             SliTaz Cooking wok
wok-next        SliTaz Cooking 6.0 wok
wok-undigest    SliTaz Undigest wok
wok-tiny        Tiny SliTaz wok
….
2. SliTaz Cooker
http://cook.slitaz.org - SliTaz Build Bot

SliTaz Cooker         http://cook.slitaz.org/
SliTaz Next Cooker    http://cook.slitaz.org/next/
SliTaz Next64 Cooker  http://cook.slitaz.org/next64/
SliTaz ISO Cooker     http://cook.slitaz.org/cookiso.cgi

----

user:
SliTaz Mirror

http://mirror1.slitaz.org/
Welcome to Open Source!
This is the SliTaz GNU/Linux main mirror.
The server runs naturally SliTaz (stable) in an uml virtual machine
provided by ADS and is located in France.
--------------------------------------------------------------------------------
SliTaz GNU/Linux mirror - http://www.slitaz.org/
--------------------------------------------------------------------------------
  * /boot          →  Files used to boot from boot.slitaz.org.
  * /iso           →  Bootable ISO images.
  * /packages      →  Packages *.tazpkg for SliTaz.
  * /pxe           →  The menu files used by the PXE boot.
  * /sources       →  Tools and utilities distributed by SliTaz.
  * rolling-date.sh displays date of current rolling ISO.

2019-11-18

next64 - diff version


diff version

> cook.slitaz.org/next/

glib                               2.52.3            x-window
glib                               2.56.1            x-window

Summary for: glib 2.58.2
http://cook.slitaz.org/next64/glib

Summary for: glibc 2.28
http://cook.slitaz.org/next64/glibc-base

Summary for: gtk2 2.24.32
http://cook.slitaz.org/next64/gtk2

Summary for: mesa 18.3.1
http://cook.slitaz.org/next64/mesa

Summary for: xorg-server 1.20.3
http://cook.slitaz.org/next64/xorg-server

Debug information for linux 4.14.85
http://cook.slitaz.org/next64/linux



2019-11-17

next64 - next64-4.17.7


next64-4.17.7


tux@slitaz:~$ uname -a
Linux slitaz 4.14.16-slitaz #2 SMP Fri Feb 9 15:22:42 Europe 2018 x86_64 GNU/Linux

tux@slitaz:~$ tazpkg -l | egrep '^glib|^gtk|^lx|server|openbox|mesa'

glib 2.52.3 x-window
glib-networking 2.50.0 x-window
glibc-base 2.26 base-system
glibmm 2.52.0 x-window
gtk+ 2.24.31 x-window
gtk+3 3.22.8 x-window
gtk-clearlooks 2.20.2 x-window
gtk2-engine-murrine 0.98.2 customization
gtkmm 2.24.5 x-window
libglu-mesa 9.0.0 x-window
lxappearance 0.6.3 x-window
lxappearance-obconf 0.2.3 x-window
lxde 0.3.2.1 meta
lxinput 0.3.5 x-window
lxpanel 0.9.3.11 x-window
lxrandr 0.3.1 utilities
lxsession 0.5.3 x-window
lxtask 0.1.8 system-tools
mesa-demos 8.4.0 development
mesa17 17.2.4 x-window
mesa17-dri 17.2.4 x-window
mesa17-libegl 17.2.4 x-window
mesa17-libgbm 17.2.4 x-window
openbox 3.6.1 x-window
xorg-server 1.19.3 x-window
xorg-server-module-glamor 1.19.3 x-window


tux@slitaz:~$ uname -a
Linux slitaz 4.17.7-slitaz #2 SMP Sat Jul 21 03:23:55 UTC 2018 x86_64 GNU/Linux

tux@slitaz:~$ tazpkg -l | egrep '^glib|^gtk|^lx|server|openbox|mesa'
glib                               2.56.1            x-window
glib-networking                    2.56.1            x-window
glibc-base                         2.26              base-system
glibmm                             2.56.0            x-window
gtk-clearlooks                     2.20.2            x-window
gtk2                               2.24.31           x-window
gtk2-engine-murrine                0.98.2            customization
gtk3                               3.24.1            x-window
gtkmm                              2.24.5            x-window
lxappearance                       0.6.3             x-window
lxappearance-obconf                0.2.3             x-window
lxde                               0.3.2.1           meta
lxinput                            0.3.5             x-window
lxpanel                            0.9.3.postgit20180412 x-window
lxrandr                            0.3.1             utilities
lxsession                          0.5.3             x-window
lxtask                             0.1.8             system-tools
mesa                               17.3.4            x-window
mesa-demos                         8.4.0             development
mesa-dri                           17.3.4            x-window
mesa-libegl                        17.3.4            x-window
mesa-libgbm                        17.3.4            x-window
mesa-libwayland-egl                17.3.4            x-window
openbox                            3.6.1             x-window
xorg-server                        1.20.1            x-window
xorg-server-module-glamor          1.20.1            x-window

tux@slitaz:~$ tazpkg

SliTaz package manager - Version: 965
================================================================================
  Installed packages:    386
  Installed files:       9265
  Blocked packages:      0
  Upgradeable packages:  0

  Repository:            Main
  Last recharge:         4 days ago.
  Database timestamp:    11/12/18 09:59
  Mirrored packages:     6114
================================================================================

tux@slitaz:~$ spk info

Spk info
================================================================================
Architecture  : x86_64
Database      : /var/lib/tazpkg/installed
Cache info    : 0 /var/cache/tazpkg
Mirror URL    : http://mirror1.slitaz.org/packages/next64/
Extra mirrors : 0
Installed     : 386
Mirrored      : 6114
================================================================================

tux@slitaz:~$ 

2019-11-15

next64 - next64-4.14.16




next64-4.14.16

 
# ls -l ID*
-rw-r--r--    1 root     root            33 Feb 20  2018 ID
-rw-r--r--    1 root     root            44 Feb 20  2018 IDs

# cat IDs
bdfcd4f05102cbca8ad03a2b2d1c72da 1519168296

Mirror       : http://mirror1.slitaz.org/packages/next64/ 

tux@slitaz:~$ uname -a
Linux slitaz 4.14.16-slitaz #2 SMP Fri Feb 9 15:22:42 Europe 2018 x86_64 GNU/Linux

tux@slitaz:~$ tazpkg -l | egrep '^glib|^gtk|^lx|server|openbox|mesa'
glib                               2.52.3            x-window
glib-networking                    2.50.0            x-window
glibc-base                         2.26              base-system
glibmm                             2.52.0            x-window
gtk+                               2.24.31           x-window
gtk+3                              3.22.8            x-window
gtk-clearlooks                     2.20.2            x-window
gtk2-engine-murrine                0.98.2            customization
gtkmm                              2.24.5            x-window
libglu-mesa                        9.0.0             x-window
lxappearance                       0.6.3             x-window
lxappearance-obconf                0.2.3             x-window
lxde                               0.3.2.1           meta
lxinput                            0.3.5             x-window
lxpanel                            0.9.3.11          x-window
lxrandr                            0.3.1             utilities
lxsession                          0.5.3             x-window
lxtask                             0.1.8             system-tools
mesa-demos                         8.4.0             development
mesa17                             17.2.4            x-window
mesa17-dri                         17.2.4            x-window
mesa17-libegl                      17.2.4            x-window
mesa17-libgbm                      17.2.4            x-window
openbox                            3.6.1             x-window
xorg-server                        1.19.3            x-window
xorg-server-module-glamor          1.19.3            x-window

tux@slitaz:~$ tazpkg

SliTaz package manager - Version: 962
==================================================================================
  Installed packages:    357
  Installed files:       8902
  Blocked packages:      0
  Upgradeable packages:  0

  Repository:            Main
  Last recharge:         4 days ago.
  Database timestamp:    02/20/18 23:11
  Mirrored packages:     963
==================================================================================

tux@slitaz:~$ 


wsl - demo of WSL2 - runwsl.gif (2.0 MB)


demo of WSL2

    runwsl.gif (2.0 MB)
    https://devblogs.microsoft.com/commandline/wp-content/uploads/sites/33/2019/05/runwsl.gif

    Here’s a quick demo of WSL 2 in action. When we start our distro we get access to a working bash shell in under two seconds, and can run services and apps like docker right away. To summarize: while WSL 2 does use a VM, it will be managed and run behind the scenes leaving you with the same user experience as WSL 1.

https://devblogs.microsoft.com/commandline/announcing-wsl-2/


1. launch ubuntu from windows10

2. start docker service

3. run alpine docker

4. ls alpine filesystem

5. show alpine-release

6. figlet WSL 2 IS AWESOME!

Total 23 seconds.


2019-11-09

wsl - WSL1 VS. WSL2


WSL1 VS. WSL2

Linux slitaz 4.4.0-18362-Microsoft #1-Microsoft Mon Mar 18 12:02:00 PST 2019 x86_64 GNU/Linux

Linux slitaz 4.4.0-18980-Microsoft #1-Microsoft Sat Sep 07 13:01:00 PST 2019 x86_64 GNU/Linux

Linux slitaz 4.19.67-microsoft-standard #1 SMP Sun Aug 18 13:37:54 UTC 2019 x86_64 GNU/Linux

----

4. WSL1
The original WSL is now known as WSL1. WSL1 is a compatibility layer for running Linux binary executables (ELF) natively on Windows 10. No re-compilation or 'porting' of applications is required. WSL1 provides a Linux-compatible kernel interface developed by Microsoft that allows a user to choose a Linux distribution to install from the Microsoft Store. WSL1 executes unmodified Linux ELF64 binaries by operating a Linux kernel interface on top of the Windows kernel in Windows 10. The WSL1 interface translates Linux system calls from the binaries into Windows system calls and then executes them at native speed. Linux applications run within the Linux distribution which provides the application's dependencies and package management in a container-like environment. WSL provides an interface to mount drives within WSL.

5. WSL2
WSL2 was announced at Microsoft Build 2019. WSL2 features a Linux kernel running inside Windows 10 and is built on the core technology of Hyper-V to provide better Linux application support and improved file performance. Transitioning from WSL2 is seamless. WSL2 is still in active development and is only available in Insider builds. These builds are not suitable for production devices and are not recommended for a user's primary machine. Instead, users can try WSL2 using Hypver-V or on a secondary machine.

Announcing WSL2 - Microsoft blog announcing WSL2
https://devblogs.microsoft.com/commandline/announcing-wsl-2/

The new Windows subsystem for Linux architecture: a deep dive - WSL2 presentation at Microsoft Build 2019
https://www.youtube.com/watch?v=lwhMThePdIo

WSL2-Linux-Kernel - The source for the Linux kernel used in Windows Subsystem for Linux 2.
https://github.com/microsoft/WSL2-Linux-Kernel

https://github.com/sirredbeard/Awesome-WSL



The new Windows subsystem for Linux architecture: a deep dive - WSL2 presentation at Microsoft Build 2019
https://www.youtube.com/watch?v=lwhMThePdIo

What’s new with WSL - WSL2 presentation at Microsoft Build 2019
https://www.youtube.com/watch?v=9ZqeyTjX0TQ


2019-11-03

wsl - WSL2 - kernel 4.19.67


WSL2 - kernel 4.19.67

Linux slitaz 4.19.67-microsoft-standard #1 SMP Sun Aug 18 13:37:54 UTC 2019 x86_64 GNU/Linux



Microsoft Windows [Version 10.0.18980.1]
(c) 2019 Microsoft Corporation. All rights reserved.

C:\Users\slitaz>wsl -l -v
NAME STATE VERSION
* Debian Stopped 2

C:\Users\slitaz>Debian
tux@slitaz:~$ uname -a
Linux slitaz 4.19.67-microsoft-standard #1 SMP Sun Aug 18 13:37:54 UTC 2019 x86_64 GNU/Linux

tux@slitaz:~$ cat /etc/os-release
PRETTY_NAME="Debian GNU/Linux 10 (buster)"
NAME="Debian GNU/Linux"
VERSION_ID="10"
VERSION="10 (buster)"
VERSION_CODENAME=buster
ID=debian
HOME_URL="https://www.debian.org/"
SUPPORT_URL="https://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/"

tux@slitaz:~$ dmesg
[ 0.000000] Linux version 4.19.67-microsoft-standard (oe-user@oe-host) (gcc version 8.2.0 (GCC)) #1 SMP Sun Aug 18 13:37:54 UTC 2019
[ 0.000000] Command line: initrd=\initrd.img panic=-1 pty.legacy_count=0 nr_cpus=2
[ 0.000000] KERNEL supported cpus:
[ 0.000000] Intel GenuineIntel
[ 0.000000] AMD AuthenticAMD
[ 0.000000] Centaur CentaurHauls
[ 0.000000] x86/fpu: Supporting XSAVE feature 0x001: 'x87 floating point registers'
[ 0.000000] x86/fpu: Supporting XSAVE feature 0x002: 'SSE registers'
[ 0.000000] x86/fpu: Enabled xstate features 0x3, context size is 576 bytes, using 'standard' format.
[ 0.000000] BIOS-provided physical RAM map:
[ 0.000000] BIOS-e820: [mem 0x0000000000000000-0x000000000009ffff] usable
[ 0.000000] BIOS-e820: [mem 0x00000000000e0000-0x00000000000e0fff] reserved
[ 0.000000] BIOS-e820: [mem 0x0000000000100000-0x00000000001fffff] ACPI data
[ 0.000000] BIOS-e820: [mem 0x0000000000200000-0x00000000f7ffffff] usable
[ 0.000000] BIOS-e820: [mem 0x0000000100000000-0x00000001bf9fffff] usable
[ 0.000000] NX (Execute Disable) protection: active
[ 0.000000] DMI not present or invalid.
[ 0.000000] Hypervisor detected: Microsoft Hyper-V
[ 0.000000] Hyper-V: features 0x2e7f, hints 0x62c2c
[ 0.000000] Hyper-V Host Build:18980-10.0-0-0.1
[ 0.000000] Hyper-V: LAPIC Timer Frequency: 0x1e8480
[ 0.000000] tsc: Marking TSC unstable due to running on Hyper-V
[ 0.000000] Hyper-V: Using hypercall for remote TLB flush

….
[ 2.582158] FS-Cache: N-cookie d=00000000a7745499 n=00000000e389a659
[ 2.582158] FS-Cache: N-key=[10] '34323934393337353335'
[ 49.261120] hv_balloon: Max. dynamic memory size: 7034 MB
tux@slitaz:

wsl - Start WSL


Start WSL

launch a new instance. You can do this by clicking the "launch" button in the Microsoft Store app, or launching the distro from the Start menu.

1. Launch WSL
clicking the "launch" button in the Microsoft Store app


or

Start menu → Debian



2. Command Prompt

Microsoft Windows [Version 10.0.18980.1]
(c) 2019 Microsoft Corporation. All rights reserved.

C:\Users\slitaz>wsl -l -v
NAME STATE VERSION
* Debian Stopped 2

C:\Users\slitaz>Debian
tux@slitaz:~$ exit

C:\Users\slitaz>wsl
tux@slitaz:/mnt/c/Users/slitaz$ exit
logout

C:\Users\slitaz>bash
tux@slitaz:/mnt/c/Users/slitaz$ exit
logout

C:\Users\slitaz>debian.exe
tux@slitaz:~$ uname -a
Linux slitaz 4.19.67-microsoft-standard #1 SMP Sun Aug 18 13:37:54 UTC 2019 x86_64 GNU/Linux
tux@slitaz:~$ exit
logout

C:\Users\slitaz>

2019-11-01

wsl - WSL 2 is only available in Windows 10 builds 18917 or higher


WSL 2 is only available in Windows 10 builds 18917 or higher
https://docs.microsoft.com/en-us/windows/wsl/wsl2-install


1. Ensure that you are running Windows 10 build 18917 or higher
To make sure you are using build 18917 or higher please join the Windows Insider Program and select the 'Fast' ring. https://insider.windows.com/en-us/

C:\Users\slitaz>ver

Microsoft Windows [Version 10.0.18980.1]


2. Enable the ‘Virtual Machine Platform’ and ‘Windows Subsystem for Linux’
Control Panel → Programs → Turn Windows features on or off


3. Open the Microsoft Store and choose your favorite Linux distribution.


From the distro's page, select "Get"



4. Initializing a newly installed distro
To complete the initialization of your newly installed distro, launch a new instance. You can do this by clicking the "launch" button in the Microsoft Store app, or launching the distro from the Start menu.
https://docs.microsoft.com/en-us/windows/wsl/initialize-distro

Installing, this may take a few minutes...
Please create a default UNIX user account. The username does not need to match your Windows username.
For more information visit: https://aka.ms/wslusers
Enter new UNIX username: tux
New password:
Retype new password:
passwd: password updated successfully
Installation successful!

tux@slitaz:~$ uname -a
Linux slitaz 4.4.0-18980-Microsoft #1-Microsoft Sat Sep 07 13:01:00 PST 2019 x86_64 GNU/Linux

tux@slitaz:~$ free -m
total used free shared buff/cache available
Mem: 8058 3205 4629 17 223 4722
Swap: 7153 1 7152

tux@slitaz:~$ df -h
Filesystem Size Used Avail Use% Mounted on
rootfs 56G 25G 32G 45% /
none 56G 25G 32G 45% /dev
none 56G 25G 32G 45% /run
none 56G 25G 32G 45% /run/lock
none 56G 25G 32G 45% /run/shm
none 56G 25G 32G 45% /run/user
tmpfs 56G 25G 32G 45% /sys/fs/cgroup
C:\ 56G 25G 32G 45% /mnt/c


tux@slitaz:~$ cat /etc/os-release
PRETTY_NAME="Debian GNU/Linux 10 (buster)"
NAME="Debian GNU/Linux"
VERSION_ID="10"
VERSION="10 (buster)"
VERSION_CODENAME=buster
ID=debian
HOME_URL="https://www.debian.org/"
SUPPORT_URL="https://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/"
tux@slitaz:~$



5. Set a distro to be backed by WSL 2

Microsoft Windows [Version 10.0.18980.1]
(c) 2019 Microsoft Corporation. All rights reserved.

C:\Users\slitaz>wsl -l -v
NAME STATE VERSION
* Debian Stopped 1

C:\Users\slitaz>wsl uname -a
Linux slitaz 4.4.0-18980-Microsoft #1-Microsoft Sat Sep 07 13:01:00 PST 2019 x86_64 GNU/Linux

C:\Users\slitaz>wsl --set-version Debian 2
Conversion in progress, this may take a few minutes...
For information on key differences with WSL 2 please visit https://aka.ms/wsl2
Conversion complete.

C:\Users\slitaz>wsl -l -v
NAME STATE VERSION
* Debian Stopped 2

C:\Users\slitaz>debian.exe
tux@slitaz:~$ uname -a
Linux slitaz 4.19.67-microsoft-standard #1 SMP Sun Aug 18 13:37:54 UTC 2019 x86_64 GNU/Linux
tux@slitaz:~$



2019-10-27

wsl - Insider Preview Build 18980



Insider Preview Build 18980

Microsoft Windows [Version 10.0.18980.1]
(c) 2019 Microsoft Corporation. All rights reserved.

C:\Users\slitaz>ver

Microsoft Windows [Version 10.0.18980.1]

C:\Users\slitaz>



In-development builds of Windows 10 (20H1)
https://docs.microsoft.com/en-us/windows-insider/flight-hub

You can get builds of 20H1 today if you've opted into the Fast ring.

The items in bold are the latest releases for the individual versions of the item.

 

wsl - Windows 10 OS Build 18362.418


Windows 10 OS Build 18362.418

Microsoft Windows [Version 10.0.18362.418]
(c) 2019 Microsoft Corporation. All rights reserved.

C:\Users\WIN10>ver

Microsoft Windows [Version 10.0.18362.418]

C:\Users\WIN10>


Windows 10 current versions by servicing option
https://docs.microsoft.com/en-us/windows/release-information/

(All dates are listed in ISO 8601 format: YYYY-MM-DD)
Last Updated: 2019-10-15
Semi-Annual Channel


2019-10-21

wsl - slitaz-base


wsl-slitaz-base



root@slitaz:~# uname -a
Linux slitaz 4.4.0-18362-Microsoft #1-Microsoft Mon Mar 18 12:02:00 PST 2019 x86_64 GNU/Linux

root@slitaz:~# cat /etc/os-release
PRETTY_NAME="SliTaz GNU/Linux 5.0"
NAME="SliTaz GNU/Linux"
VERSION_ID="5.0"
VERSION="5.0"
ID=slitaz
HOME_URL="http://www.slitaz.org/"
SUPPORT_URL="http://www.slitaz.org/en/support.php"
BUG_REPORT_URL="http://bugs.slitaz.org/"

root@slitaz:~# /lib/libc.so.6
GNU C Library (GNU libc) stable release version 2.19, by Roland McGrath et al.
Copyright (C) 2014 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
Compiled by GNU CC version 4.9.2.
Compiled on a Linux 3.16.36 system on 2016-09-08.
Available extensions:
crypt add-on version 2.1 by Michael Glad and others
GNU Libidn by Simon Josefsson
Native POSIX Threads Library by Ulrich Drepper et al
BIND-8.2.3-T5B
libc ABIs: UNIQUE IFUNC
For bug reporting instructions, please see:
<http://www.gnu.org/software/libc/bugs.html>.

root@slitaz:~# slitaz
SliTaz GNU/Linux
================================================================================
Release      : 5.0
Architecture : x86_64
Kernel       : 4.4.0-18362-Microsoft
Machine type : x86_64
Home path    : /home/slitaz
Configs      : /etc/slitaz
Main config  : /etc/slitaz/slitaz.conf
Log files    : /var/log/slitaz
Packages DB  : /var/lib/tazpkg
Installed    : 6 packages
Mirror       : /var/www/packages/
System date  : Thu Oct 17 09:17:00 UTC 2019
--------------
Boot options : BOOT_IMAGE=/kernel init=/init
================================================================================

root@slitaz:~# 



root@slitaz:~# uname -a
Linux slitaz 4.4.0-18362-Microsoft #1-Microsoft Mon Mar 18 12:02:00 PST 2019 x86_64 GNU/Linux

root@slitaz:~# tazpkg -l
List of all installed packages
================================================================================
busybox                            1.23.2            base-system
gettext-base                       0.19.4            base-system
glibc-base                         2.19              base-system
ncurses-common                     5.9               base-system
slitaz-base-files                  309               base-system
tazpkg                             5.3.3             base-system
================================================================================
6 packages installed.

root@slitaz:~# cat /var/lib/tazpkg/installed.md5
520ba50265bdc3eebfe08357143a78ff  glibc-base-2.19-x86_64.tazpkg
2cb8d47efc737e788ae8a9b06c495b9d  tazpkg-5.3.3-x86_64.tazpkg
f03c6128eff3ee8bf75f29aefaed7a02  gettext-base-0.19.4-x86_64.tazpkg
e957b52454db2a1945083fb4b5616a02  busybox-1.23.2-x86_64.tazpkg
865c9ba69d16c7f0ac942422fc56fc73  slitaz-base-files-309-x86_64.tazpkg
29bcd51e983368248c275b5ae92017c6  ncurses-common-5.9-x86_64.tazpkg

root@slitaz:~# tazpkg info tazpkg

TazPKG information
================================================================================
Package    : tazpkg
Version    : 5.3.3
Category   : base-system
Short desc : SliTaz packages manager.
Maintainer : pankso@slitaz.org
License    : GPL3
Depends    : busybox gettext-base
Build deps : gettext
Web site   : http://www.slitaz.org/
================================================================================

root@slitaz:~# du -sh /
8.3M /
root@slitaz:~#