excellent - perfect - I have a strange keyboard and some errors - but it works......
thanks a lot
excellent - perfect - I have a strange keyboard and some errors - but it works......
thanks a lot
I made a rootfs.gz with all the packages I would do in a minimal iso - no gtk3 needed.
Only installed - not configured. What is installed, you find in /var/log/slitaz/tazpkg.log
create ~/.config/openbox/autostart file and start whatever you want - like "tint2 &" or "conky &"
I left netsurf on 3.8 - 3.9 has still segfaults
and what would be cool - if we get mpv video player (https://mpv.io/)
Problems are:
spacefm does not start, because of a wrong x265.so file (I want to replace pcmanfm, because we dont need all the udisk stuff - udevil is more lightwight)
pm-suspend is working, but only as root - I just quick checked all the permissoins and they are all set to execute as user....
main problem is the mismatch of xorg with the drivers - only modsetting works - I attach the file (alanyih already mentioned it)
https://we.tl/t-BD8kKmFw8J - the download is until 22.12. or 23.12 (they dont tell when)
EDIT: forgot md5sum: bfad7d334f26de39331ae3e8691b7c8b
next version of rootfs.gz
this time I started with the iso of alanyih, because I did not find the error, that x does not start straight....
still no sucess with spacefm, but I will continue
I attach the necesarry config files from .config/openbox/autostart & .config/tint2/tint2rc - just remove the .txt
desktop.jpg shows how the desktop looks like
the rootfs.gz can be downloaded here https://drive.google.com/drive/folders/1TjrnPWn9xH37eiYkfQHQGcqN3DR1gXLq?usp=sharing
EDIT: I changed now to a shared google drive folder - so it will not be deleted
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
#kultex Can you make and share a iso file which include your latest progress on kernel update with us?thx
@mini536
I cannot make a iso file, because tazlito in next is broken - I can save my changes only with tazusb. So you can start with the iso of alanyih - you will find it on page 3 of this thread, make a bootable usb, use home=sdxx change his rootfs.gz with my rootfs.gz and also change all my config files in /home/tux.
I dont know, when I can continue, because I have 2 theater premieres until 4. of february. Whenever I will have some time, I will continue, but maybe just after 04. 02.
@alanyih thanks for solving spacefm
linux-source - get-linux-source
Unable to find package "busybox-boot" in the mirrored packages list.
/usr/bin/get-linux-source: line 42: can't open slitaz/patches: no such file
cp: can't stat 'slitaz/config': No such file or directory
SOURCES_REPOSITORY=$SLITAZ_DIR/$SLITAZ_VERSION/src
cp -a /usr/src/kernel-patches/slitaz /usr/src/linux-$VERSION
# tazpkg -gi linux-source bc elfutils-dev openssl-dev
# ln -s /usr/lib/libmpfr.so.6.0.1 /usr/lib/libmpfr.so.4
1.
root@slitaz:~# tazpkg -s busybox-boot
Search result for "busybox-boot"
================================================================================
Installed packages
--------------------------------------------------------------------------------
================================================================================
0 installed packages found for "busybox-boot"
Available packages
--------------------------------------------------------------------------------
================================================================================
0 available packages found for "busybox-boot"
2.
root@slitaz:~# get-linux-source
Connecting to http://www.kernel.org (147.75.46.191:443)
Connecting to mirrors.edge.kernel.org (147.75.95.133:443)
Connecting to http://www.kernel.org (147.75.46.191:443)
Connecting to mirrors.edge.kernel.org (147.75.95.133:443)
Connecting to http://www.kernel.org (147.75.46.191:443)
Connecting to mirrors.edge.kernel.org (147.75.95.133:443)
linux-4.17.tar.xz 100% |*******************************| 99771k 0:00:00 ETA
/usr/bin/get-linux-source: line 42: can't open slitaz/patches: no such file
cp: can't stat 'slitaz/config': No such file or directory
----
To modify the kernel configuration:
$ cd /usr/src/linux-4.17.7
$ make menuconfig
3.
root@slitaz:~# ls /usr/src
linux linux-4.17.7 kernel-patches linux-4.17 root@slitaz:~# ls -a /usr/src/linux-4.17 . LICENSES ipc .. MAINTAINERS kernel .clang-format Makefile lib .cocciconfig README mm .get_maintainer.ignore arch net .gitattributes block samples .gitignore certs scripts .mailmap crypto security COPYING drivers sound CREDITS firmware tools Documentation fs usr Kbuild include virt Kconfig init root@slitaz:~# ls -a /usr/src/linux-4.17.7 . config .. copy_modules.sh aufs-patches gztazmod.sh aufs4-base.patch install_module_headers.sh aufs4-mmap.patch linux-4.17.7.patch aufs4-standalone.patch list_modules.sh bootloader.sh make-tazpkg.u buildtaz patches check_modules.sh url root@slitaz:~#
4.
root@slitaz:~# ls -l /next64/src
total 99772
-rw-r--r-- 1 root root 102165892 Jan 19 21:40 linux-4.17.tar.xz
5.
root@slitaz:~# diff /usr/bin/get-linux-source-orig /usr/bin/get-linux-source
--- /usr/bin/get-linux-source-orig
+++ /usr/bin/get-linux-source
@@ -2,7 +2,7 @@
source /etc/slitaz/slitaz.conf
-SOURCES_REPOSITORY=$SLITAZ_DIR/$SLITAZ_VERSION/src
+SOURCES_REPOSITORY=$SLITAZ_HOME/$SLITAZ_VERSION/src
VERSION=4.17.7
url=$(cat /usr/src/kernel-patches/slitaz/url | sed "s/-${VERSION:0:3}.tar/-$VERSION.tar/")
@@ -26,7 +26,8 @@
tar -xf $SOURCES_REPOSITORY/$(basename $url)
fi
-cp -a /usr/src/kernel-patches/slitaz /usr/src/linux-$VERSION
+mv /usr/src/linux-4.17 /usr/src/linux-4.17.7
+cp -a /usr/src/kernel-patches/slitaz /usr/src/linux-$VERSION/.
# Add tazpkg support
if [ -d "/usr/src/linux-$VERSION/scripts/package" ]; then
root@slitaz:~#
6.
root@slitaz:~# get-linux-source
Connecting to http://www.kernel.org (147.75.46.191:443)
Connecting to mirrors.edge.kernel.org (147.75.95.133:443)
Connecting to http://www.kernel.org (147.75.46.191:443)
Connecting to mirrors.edge.kernel.org (147.75.95.133:443)
Connecting to http://www.kernel.org (147.75.46.191:443)
Connecting to mirrors.edge.kernel.org (147.75.95.133:443)
linux-4.17.tar.xz 100% |*******************************| 99771k 0:00:00 ETA
patching file scripts/package/Makefile
Hunk #1 succeeded at 100 with fuzz 2.
Hunk #2 succeeded at 160 (offset 1 line).
Apply linux-4.17.7.patch
patching file Documentation/ABI/stable/sysfs-bus-vmbus
[..]
Apply aufs4-standalone.patch
patching file fs/dcache.c
patching file fs/exec.c
patching file fs/fcntl.c
patching file fs/file_table.c
patching file fs/inode.c
patching file fs/namespace.c
patching file fs/notify/group.c
patching file fs/notify/mark.c
patching file fs/open.c
patching file fs/read_write.c
patching file fs/splice.c
patching file fs/sync.c
patching file fs/xattr.c
patching file kernel/locking/lockdep.c
patching file kernel/task_work.c
patching file security/commoncap.c
patching file security/device_cgroup.c
patching file security/security.c
HOSTCC scripts/basic/fixdep
HOSTCC scripts/kconfig/conf.o
YACC scripts/kconfig/zconf.tab.c
LEX scripts/kconfig/zconf.lex.c
HOSTCC scripts/kconfig/zconf.tab.o
HOSTLD scripts/kconfig/conf
scripts/kconfig/conf --oldconfig Kconfig
#
# configuration written to .config
#
scripts/kconfig/conf --syncconfig Kconfig
SYSTBL arch/x86/include/generated/asm/syscalls_32.h
SYSHDR arch/x86/include/generated/asm/unistd_32_ia32.h
SYSHDR arch/x86/include/generated/asm/unistd_64_x32.h
SYSTBL arch/x86/include/generated/asm/syscalls_64.h
SYSHDR arch/x86/include/generated/uapi/asm/unistd_32.h
SYSHDR arch/x86/include/generated/uapi/asm/unistd_64.h
SYSHDR arch/x86/include/generated/uapi/asm/unistd_x32.h
HOSTCC scripts/basic/bin2c
HOSTCC arch/x86/tools/relocs_32.o
HOSTCC arch/x86/tools/relocs_64.o
HOSTCC arch/x86/tools/relocs_common.o
HOSTLD arch/x86/tools/relocs
CHK include/config/kernel.release
UPD include/config/kernel.release
WRAP arch/x86/include/generated/uapi/asm/bpf_perf_event.h
WRAP arch/x86/include/generated/uapi/asm/poll.h
WRAP arch/x86/include/generated/asm/dma-contiguous.h
WRAP arch/x86/include/generated/asm/early_ioremap.h
WRAP arch/x86/include/generated/asm/mcs_spinlock.h
WRAP arch/x86/include/generated/asm/mm-arch-hooks.h
CHK include/generated/uapi/linux/version.h
UPD include/generated/uapi/linux/version.h
CHK include/generated/utsrelease.h
UPD include/generated/utsrelease.h
CC kernel/bounds.s
CHK include/generated/bounds.h
UPD include/generated/bounds.h
CHK include/generated/timeconst.h
UPD include/generated/timeconst.h
CC arch/x86/kernel/asm-offsets.s
CHK include/generated/asm-offsets.h
UPD include/generated/asm-offsets.h
CALL scripts/checksyscalls.sh
DESCEND objtool
HOSTCC /usr/src/linux-4.17.7/tools/objtool/fixdep.o
HOSTLD /usr/src/linux-4.17.7/tools/objtool/fixdep-in.o
LINK /usr/src/linux-4.17.7/tools/objtool/fixdep
CC /usr/src/linux-4.17.7/tools/objtool/exec-cmd.o
CC /usr/src/linux-4.17.7/tools/objtool/help.o
CC /usr/src/linux-4.17.7/tools/objtool/pager.o
CC /usr/src/linux-4.17.7/tools/objtool/parse-options.o
CC /usr/src/linux-4.17.7/tools/objtool/run-command.o
CC /usr/src/linux-4.17.7/tools/objtool/sigchain.o
CC /usr/src/linux-4.17.7/tools/objtool/subcmd-config.o
LD /usr/src/linux-4.17.7/tools/objtool/libsubcmd-in.o
AR /usr/src/linux-4.17.7/tools/objtool/libsubcmd.a
GEN /usr/src/linux-4.17.7/tools/objtool/arch/x86/lib/inat-tables.c
CC /usr/src/linux-4.17.7/tools/objtool/arch/x86/decode.o
LD /usr/src/linux-4.17.7/tools/objtool/arch/x86/objtool-in.o
CC /usr/src/linux-4.17.7/tools/objtool/builtin-check.o
CC /usr/src/linux-4.17.7/tools/objtool/builtin-orc.o
CC /usr/src/linux-4.17.7/tools/objtool/check.o
CC /usr/src/linux-4.17.7/tools/objtool/orc_gen.o
CC /usr/src/linux-4.17.7/tools/objtool/orc_dump.o
CC /usr/src/linux-4.17.7/tools/objtool/elf.o
CC /usr/src/linux-4.17.7/tools/objtool/special.o
CC /usr/src/linux-4.17.7/tools/objtool/objtool.o
CC /usr/src/linux-4.17.7/tools/objtool/libstring.o
CC /usr/src/linux-4.17.7/tools/objtool/str_error_r.o
LD /usr/src/linux-4.17.7/tools/objtool/objtool-in.o
LINK /usr/src/linux-4.17.7/tools/objtool/objtool
HOSTCC scripts/genksyms/genksyms.o
YACC scripts/genksyms/parse.tab.c
HOSTCC scripts/genksyms/parse.tab.o
LEX scripts/genksyms/lex.lex.c
YACC scripts/genksyms/parse.tab.h
HOSTCC scripts/genksyms/lex.lex.o
HOSTLD scripts/genksyms/genksyms
CC scripts/mod/empty.o
HOSTCC scripts/mod/mk_elfconfig
MKELF scripts/mod/elfconfig.h
HOSTCC scripts/mod/modpost.o
CC scripts/mod/devicetable-offsets.s
CHK scripts/mod/devicetable-offsets.h
UPD scripts/mod/devicetable-offsets.h
HOSTCC scripts/mod/file2alias.o
HOSTCC scripts/mod/sumversion.o
HOSTLD scripts/mod/modpost
HOSTCC scripts/kallsyms
HOSTCC scripts/pnmtologo
HOSTCC scripts/conmakehash
HOSTCC scripts/sortextable
HOSTCC scripts/asn1_compiler
HOSTCC scripts/extract-cert
----
To modify the kernel configuration:
$ cd /usr/src/linux-4.17.7
$ make menuconfig
To build the kernel and the modules:
$ cd /usr/src/linux-4.17.7
$ make bzImage && make modules
To install the new kernel and the modules:
$ make modules_install
$ cp -a arch/x86/boot/bzImage /boot/vmlinuz-4.17.7-slitaz
To make a Slitaz package with the new kernel and the modules:
$ make tazpkg
See /usr/src/linux-4.17.7/README
----
root@slitaz:~#
7.
root@slitaz:~# ls -l /home/slitaz/next64/src
total 99772
-rw-r--r-- 1 root root 102165892 Jan 20 08:32 linux-4.17.tar.xz
root@slitaz:~#
@alanyih Can you make a new iso which contains your latest progress?thx
@mini536
Try:
slitaz-next64-20191127.iso 96 MB
http://tiny.cc/41jxgzslitaz-next64-20191127.md5
http://tiny.cc/yckxgz
http://forum.slitaz.org/topic/update-kernel-1/page/3#post-48140
Hi all. Back at Next64 after a few months of interruption.
Wanted to recompile the kernel. I follow alanyih modifications in the get-linux-source script but when I type
cd /usr/src/linux-4.17.7
root@slitaz:/usr/src/linux-4.17.7# make menuconfig
make: *** No rule to make target 'menuconfig'. Stop.
What am I doing wrong?
@Ceel
please post your output
# get-linux-source
# ls -al /usr/src/linux-4.17.7
Hi alanyih,
Thanks for your help.
root@slitaz:/home/tux# ls -al /usr/src/linux-4.17.7
total 976
drwxrwxr-x 26 root root 4096 Apr 7 10:01 .
drwxr-xr-x 4 root root 4096 Apr 7 10:01 ..
drwxrwxr-x 26 root root 4096 Jun 3 2018 arch
drwxrwxr-x 3 root root 4096 Apr 7 10:01 block
-rw-r--r-- 1 root root 7253 Apr 7 10:01 .cache.mk
drwxrwxr-x 2 root root 4096 Jun 3 2018 certs
-rw-rw-r-- 1 root root 13060 Jun 3 2018 .clang-format
-rw-rw-r-- 1 root root 59 Jun 3 2018 .cocciconfig
-rw-r--r-- 1 root root 166845 Apr 7 10:01 .config
-rw-rw-r-- 1 root root 423 Jun 3 2018 COPYING
-rw-rw-r-- 1 root root 98651 Jun 3 2018 CREDITS
drwxrwxr-x 4 root root 4096 Apr 7 10:01 crypto
drwxrwxr-x 119 root root 12288 Jun 3 2018 Documentation
drwxrwxr-x 136 root root 4096 Jun 3 2018 drivers
drwxrwxr-x 2 root root 4096 Jun 3 2018 firmware
drwxrwxr-x 73 root root 4096 Apr 7 10:01 fs
-rw-rw-r-- 1 root root 31 Jun 3 2018 .get_maintainer.ignore
-rw-rw-r-- 1 root root 30 Jun 3 2018 .gitattributes
-rw-rw-r-- 1 root root 1498 Jun 3 2018 .gitignore
drwxrwxr-x 27 root root 4096 Jun 3 2018 include
drwxrwxr-x 2 root root 4096 Jun 3 2018 init
drwxrwxr-x 2 root root 4096 Jun 3 2018 ipc
-rw-rw-r-- 1 root root 2245 Jun 3 2018 Kbuild
-rw-rw-r-- 1 root root 287 Jun 3 2018 Kconfig
drwxrwxr-x 17 root root 4096 Apr 7 10:01 kernel
drwxrwxr-x 13 root root 12288 Apr 7 10:01 lib
drwxrwxr-x 5 root root 4096 Jun 3 2018 LICENSES
lrwxrwxrwx 1 root root 21 Apr 7 10:01 linux-4.17.7 -> /usr/src/linux-4.17.7
-rw-rw-r-- 1 root root 9395 Jun 3 2018 .mailmap
-rw-rw-r-- 1 root root 453173 Apr 7 10:01 MAINTAINERS
-rw-rw-r-- 1 root root 62438 Apr 7 10:01 Makefile
drwxrwxr-x 3 root root 4096 Apr 7 10:01 mm
drwxrwxr-x 68 root root 4096 Apr 7 10:01 net
-rw-rw-r-- 1 root root 800 Jun 3 2018 README
drwxrwxr-x 28 root root 4096 Jun 3 2018 samples
drwxrwxr-x 14 root root 4096 Jun 3 2018 scripts
drwxrwxr-x 10 root root 4096 Apr 7 10:01 security
drwxr-xr-x 2 root root 4096 Apr 7 09:54 slitaz
drwxrwxr-x 25 root root 4096 Jun 3 2018 sound
drwxrwxr-x 32 root root 4096 Jun 3 2018 tools
drwxrwxr-x 2 root root 4096 Jun 3 2018 usr
drwxrwxr-x 4 root root 4096 Jun 3 2018 virt
root@slitaz:/home/tux#
@Ceel
please check
patching file security/device_cgroup.c
patching file security/security.c
arch/x86/Makefile:184: *** Compiler lacks asm-goto support.. Stop.
----
To modify the kernel configuration:
$ cd /usr/src/linux-4.17.7
$ make menuconfig
You must log in to post.