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:~$