Porteus 5.0 RC2 bug reports

Please reproduce your error on a second machine before posting, and check the error by running without saved changes or extra modules (See FAQ No. 13, "How to report a bug"). For unstable Porteus versions (alpha, beta, rc) please use the relevant thread in our "Development" section.
User avatar
ncmprhnsbl
DEV Team
DEV Team
Posts: 3924
Joined: 20 Mar 2012, 03:42
Distribution: v5.0-64bit
Location: australia
Contact:

Porteus 5.0 RC2 bug reports

Post#46 by ncmprhnsbl » 11 Aug 2020, 08:20

EDIT: a gtk+2 bundle for cinnamon, mate, lxqt and kde is now available (for use with programs that need it eg. palemoon)
just use the bundles app from the system menu or via terminal.. note: the integrity test will fail, due to a missing md5sum, should be safe to ignore this. hopefully will be fixed soon..
note about bundles: these were built for RC1, so, they may or may not work, will try to get these updated in the coming days..
Forum Rules : https://forum.porteus.org/viewtopic.php?f=35&t=44

otan
Black ninja
Black ninja
Posts: 36
Joined: 23 Jun 2020, 21:31
Distribution: mint

Porteus 5.0 RC2 bug reports

Post#47 by otan » 11 Aug 2020, 10:08

ERROR: Unable to build the NVIDIA kernel module.
ERROR: Installation has failed. Please see the file '/var/log/nvidia-installer.log' for details

Clean compile and load using sources for 5.1.5, but now

Code: Select all

   scripts/kconfig/conf  --syncconfig Kconfig
   init/Kconfig:1919: can't open file "arch/Kconfig"
   make[4]: *** [scripts/kconfig/Makefile:73: syncconfig] Error 1
   make[3]: *** [Makefile:567: syncconfig] Error 2
   make[2]: *** [Makefile:673: include/config/auto.conf.cmd] Error 2
   make[2]: *** [include/config/auto.conf.cmd] Deleting file 'include/config/tristate.conf'
   NVIDIA: left KBUILD.
   nvidia.ko failed to build!
   make[1]: *** [Makefile:262: module] Error 1
   make: *** [makefile:59: module] Error 2
-> Error.
ERROR: Unable to build the NVIDIA kernel module.

User avatar
Blaze
DEV Team
DEV Team
Posts: 3869
Joined: 28 Dec 2010, 11:31
Distribution: ⟰ Porteus current ☯ all DEs ☯
Location: ☭ Russian Federation, Lipetsk region, Dankov
Contact:

Porteus 5.0 RC2 bug reports

Post#48 by Blaze » 11 Aug 2020, 10:27

otan,
otan wrote:
11 Aug 2020, 10:08
5.1.5
in RC1

This topic about Porteus 5.0 RC2.

And not bad to look at this topic [HOWTO] make a xzm module driver for NVIDIA video card
Linux 6.6.11-porteus #1 SMP PREEMPT_DYNAMIC Sun Jan 14 12:07:37 MSK 2024 x86_64 Intel(R) Xeon(R) CPU E3-1270 v6 @ 3.80GHz GenuineIntel GNU/Linux
MS-7A12 » [AMD/ATI] Navi 23 [Radeon RX 6600] [1002:73ff] (rev c7) » Vengeance LPX 16GB DDR4 K2 3200MHz C16

otan
Black ninja
Black ninja
Posts: 36
Joined: 23 Jun 2020, 21:31
Distribution: mint

Porteus 5.0 RC2 bug reports

Post#49 by otan » 11 Aug 2020, 13:16

Nvidi Installer problem in 5.0rc2

Code: Select all

# Modules activated during boot time:
/memory/copy2ram/000-kernel.xzm
/memory/copy2ram/001-core.xzm
/memory/copy2ram/002-xorg.xzm
/memory/copy2ram/002-xtra.xzm
/memory/copy2ram/003-kde5.xzm
/memory/copy2ram/05-devel.xzm
/memory/copy2ram/06-crippled_sources-5.4.57-64bit.xzm
/memory/copy2ram/blacklist.xzm

Code: Select all

nvidia-installer log file '/var/log/nvidia-installer.log'
creation time: Tue Aug 11 09:46:28 2020
installer version: 304.137

PATH: /usr/local/sbin:/usr/local/bin:/sbin:/usr/sbin:/bin:/usr/bin:/usr/lib64/qt5/bin

nvidia-installer command line:
    ./nvidia-installer
    -Z

Using: nvidia-installer ncurses v6 user interface
-> License accepted.
-> Installing NVIDIA driver version 304.137.
-> Performing CC sanity check with CC="cc".
-> Performing CC version check with CC="cc".
-> Kernel source path: '/lib/modules/5.4.57-porteus/source'
-> Kernel output path: '/lib/modules/5.4.57-porteus/build'
-> Performing rivafb check.
-> Performing nvidiafb check.
-> Performing Xen check.
-> Cleaning kernel module build directory.
   executing: 'cd ./kernel; make clean'...
-> Building kernel module:
   executing: 'cd ./kernel; make module SYSSRC=/lib/modules/5.4.57-porteus/source SYSOUT=/lib/modules/5.4.57-porteus/build'...
   NVIDIA: calling KBUILD...
   make -f ./Makefile syncconfig
   make -f ./scripts/Makefile.build obj=scripts/basic
     gcc -Wp,-MD,scripts/basic/.fixdep.d -Wall -Wmissing-prototypes -Wstrict-prototypes -O2 -fomit-frame-pointer -std=gnu89         -o scripts/basic/fixdep scripts/basic/fixdep.c   
   rm -f .tmp_quiet_recordmcount
   make -f ./scripts/Makefile.build obj=scripts/kconfig syncconfig
     gcc -Wp,-MD,scripts/kconfig/.conf.o.d -Wall -Wmissing-prototypes -Wstrict-prototypes -O2 -fomit-frame-pointer -std=gnu89       -c -o scripts/kconfig/conf.o scripts/kconfig/conf.c
     gcc -Wp,-MD,scripts/kconfig/.confdata.o.d -Wall -Wmissing-prototypes -Wstrict-prototypes -O2 -fomit-frame-pointer -std=gnu89       -c -o scripts/kconfig/confdata.o scripts/kconfig/confdata.c
     gcc -Wp,-MD,scripts/kconfig/.expr.o.d -Wall -Wmissing-prototypes -Wstrict-prototypes -O2 -fomit-frame-pointer -std=gnu89       -c -o scripts/kconfig/expr.o scripts/kconfig/expr.c
     gcc -Wp,-MD,scripts/kconfig/.lexer.lex.o.d -Wall -Wmissing-prototypes -Wstrict-prototypes -O2 -fomit-frame-pointer -std=gnu89      -I ./scripts/kconfig -c -o scripts/kconfig/lexer.lex.o scripts/kconfig/lexer.lex.c
     gcc -Wp,-MD,scripts/kconfig/.parser.tab.o.d -Wall -Wmissing-prototypes -Wstrict-prototypes -O2 -fomit-frame-pointer -std=gnu89      -I ./scripts/kconfig -c -o scripts/kconfig/parser.tab.o scripts/kconfig/parser.tab.c
     gcc -Wp,-MD,scripts/kconfig/.preprocess.o.d -Wall -Wmissing-prototypes -Wstrict-prototypes -O2 -fomit-frame-pointer -std=gnu89       -c -o scripts/kconfig/preprocess.o scripts/kconfig/preprocess.c
     gcc -Wp,-MD,scripts/kconfig/.symbol.o.d -Wall -Wmissing-prototypes -Wstrict-prototypes -O2 -fomit-frame-pointer -std=gnu89       -c -o scripts/kconfig/symbol.o scripts/kconfig/symbol.c
     gcc   -o scripts/kconfig/conf scripts/kconfig/conf.o scripts/kconfig/confdata.o scripts/kconfig/expr.o scripts/kconfig/lexer.lex.o scripts/kconfig/parser.tab.o scripts/kconfig/preprocess.o scripts/kconfig/symbol.o   
   scripts/kconfig/conf  --syncconfig Kconfig
   init/Kconfig:1919: can't open file "arch/Kconfig"
   make[4]: *** [scripts/kconfig/Makefile:73: syncconfig] Error 1
   make[3]: *** [Makefile:567: syncconfig] Error 2
   make[2]: *** [Makefile:673: include/config/auto.conf.cmd] Error 2
   make[2]: *** [include/config/auto.conf.cmd] Deleting file 'include/config/tristate.conf'
   NVIDIA: left KBUILD.
   nvidia.ko failed to build!
   make[1]: *** [Makefile:262: module] Error 1
   make: *** [makefile:59: module] Error 2
-> Error.
ERROR: Unable to build the NVIDIA kernel module.
ERROR: Installation has failed.  Please see the file '/var/log/nvidia-installer.log' for details.  You may find suggestions on fixing installation problems in the README available on the Linux driver download page at www.nvidia.com.

User avatar
Blaze
DEV Team
DEV Team
Posts: 3869
Joined: 28 Dec 2010, 11:31
Distribution: ⟰ Porteus current ☯ all DEs ☯
Location: ☭ Russian Federation, Lipetsk region, Dankov
Contact:

Porteus 5.0 RC2 bug reports

Post#50 by Blaze » 11 Aug 2020, 13:45

otan, do you try it in Text mode?
Linux 6.6.11-porteus #1 SMP PREEMPT_DYNAMIC Sun Jan 14 12:07:37 MSK 2024 x86_64 Intel(R) Xeon(R) CPU E3-1270 v6 @ 3.80GHz GenuineIntel GNU/Linux
MS-7A12 » [AMD/ATI] Navi 23 [Radeon RX 6600] [1002:73ff] (rev c7) » Vengeance LPX 16GB DDR4 K2 3200MHz C16

otan
Black ninja
Black ninja
Posts: 36
Joined: 23 Jun 2020, 21:31
Distribution: mint

Porteus 5.0 RC2 bug reports

Post#51 by otan » 11 Aug 2020, 15:12

NVIDIA

Yes, Blaze

Code: Select all

quiet from=/dev/sda1/5.0/rc2/Porteus-KDE-v5.0rc2-x86_64.iso copy2ram ramsize=30% noauto 3 extramod=/dev/sda5/nvidia_5.4.57
The log for 5.1.5 seems to be totally different, and there are warnings about changes to makefile after 5.3.

Code: Select all

nvidia-installer log file '/var/log/nvidia-installer.log'
creation time: Tue Aug  4 14:11:35 2020
installer version: 304.137

PATH: /usr/local/sbin:/usr/local/bin:/sbin:/usr/sbin:/bin:/usr/bin:/usr/lib64/qt5/bin

nvidia-installer command line:
    ./nvidia-installer
    -Z

Using: nvidia-installer ncurses v6 user interface
-> License accepted.
-> Installing NVIDIA driver version 304.137.
-> Performing CC sanity check with CC="cc".
-> Performing CC version check with CC="cc".
-> Kernel source path: '/lib/modules/5.1.5-porteus/source'
-> Kernel output path: '/lib/modules/5.1.5-porteus/build'
-> Performing rivafb check.
-> Performing nvidiafb check.
-> Performing Xen check.
-> Cleaning kernel module build directory.
   executing: 'cd ./kernel; make clean'...
-> Building kernel module:
   executing: 'cd ./kernel; make module SYSSRC=/lib/modules/5.1.5-porteus/source SYSOUT=/lib/modules/5.1.5-porteus/build'...
   NVIDIA: calling KBUILD...
   make \
   -C /lib/modules/5.1.5-porteus/build KBUILD_SRC=/usr/src/linux-5.1.5 \
   -f /usr/src/linux-5.1.5/Makefile modules
   /usr/src/linux-5.1.5/Makefile:205: ================= WARNING ================
   /usr/src/linux-5.1.5/Makefile:206: 'SUBDIRS' will be removed after Linux 5.3
   /usr/src/linux-5.1.5/Makefile:207: Please use 'M=' or 'KBUILD_EXTMOD' instead
   /usr/src/linux-5.1.5/Makefile:208: ==========================================
   test -e include/generated/autoconf.h -a -e include/config/auto.conf || (		\
   echo >&2;							\
   echo >&2 "  ERROR: Kernel configuration is invalid.";		\
   echo >&2 "         include/generated/autoconf.h or include/config/auto.conf are missing.";\
   echo >&2 "         Run 'make oldconfig && make prepare' on kernel src to fix it.";	\
   echo >&2 ;							\
   /bin/false)
   mkdir -p /home/guest/p10/tmp/nvd/nv137/kernel/.tmp_versions ; rm -f /home/guest/p10/tmp/nvd/nv137/kernel/.tmp_versions/*
   make -f /usr/src/linux-5.1.5/scripts/Makefile.build obj=/home/guest/p10/tmp/nvd/nv137/kernel
   
End of 5.1.5 nvidia log

Code: Select all

[  320.314537] NVRM: loading NVIDIA UNIX x86_64 Kernel Module  304.137  Thu Sep 14 13:51:03 PDT 2017
-> Installing both new and classic TLS OpenGL libraries.
-> Installing classic TLS 32bit OpenGL libraries.
-> Install NVIDIA's 32-bit compatibility OpenGL libraries? (Answer: No)
-> Searching for conflicting X files:
-> done.
-> Searching for conflicting OpenGL files:
-> done.
-> Installing 'NVIDIA Accelerated Graphics Driver for Linux-x86_64' (304.137):
   executing: '/sbin/ldconfig'...
   executing: '/sbin/depmod -aq'...
   depmod: WARNING: Ignored deprecated option -q
-> done.
-> Driver file installation is complete.
-> Running post-install sanity check:
-> done.
-> Post-install sanity check passed.
-> Shared memory test passed.
-> Running runtime sanity check:
-> done.
-> Runtime sanity check passed.
-> Would you like to run the nvidia-xconfig utility to automatically update your X configuration file so that the NVIDIA X driver will be used when you restart X?  Any pre-existing X configuration file will be backed up. (Answer: Yes)
-> Your X configuration file has been successfully updated.  Installation of the NVIDIA Accelerated Graphics Driver for Linux-x86_64 (version: 304.137) is now complete.

User avatar
Blaze
DEV Team
DEV Team
Posts: 3869
Joined: 28 Dec 2010, 11:31
Distribution: ⟰ Porteus current ☯ all DEs ☯
Location: ☭ Russian Federation, Lipetsk region, Dankov
Contact:

Porteus 5.0 RC2 bug reports

Post#52 by Blaze » 11 Aug 2020, 18:43

otan, can you share photo of this error from your monitor (take a picture with your phone or camera)?
Please do not use 5.1.5 and extra cheat codes. Everything is in stock.
Linux 6.6.11-porteus #1 SMP PREEMPT_DYNAMIC Sun Jan 14 12:07:37 MSK 2024 x86_64 Intel(R) Xeon(R) CPU E3-1270 v6 @ 3.80GHz GenuineIntel GNU/Linux
MS-7A12 » [AMD/ATI] Navi 23 [Radeon RX 6600] [1002:73ff] (rev c7) » Vengeance LPX 16GB DDR4 K2 3200MHz C16

otan
Black ninja
Black ninja
Posts: 36
Joined: 23 Jun 2020, 21:31
Distribution: mint

Porteus 5.0 RC2 bug reports

Post#53 by otan » 11 Aug 2020, 19:21

Blaze, there is no picture to take. It is some sort of makefile error. Maybe we have now to change the makefile in nvidia.run. Certainly there is some sort of change after 5.3.

Think maybe this is clue: https://www.nvidia.com/download/driverR ... 3832/en-us
Last edited by otan on 12 Aug 2020, 10:36, edited 1 time in total.

donald
Full of knowledge
Full of knowledge
Posts: 2064
Joined: 17 Jun 2013, 13:17
Distribution: Porteus 3.2.2 XFCE 32bit
Location: Germany

Porteus 5.0 RC2 bug reports

Post#54 by donald » 11 Aug 2020, 21:05

ncmprhnsbl wrote:
11 Aug 2020, 00:23
in /etc/rc.d/rc.Firewall i commented line 48: "#$IPTABLES -P OUTPUT DROP
Hmm..this sets the whole OUTPUT chain to ACCEPT - not a good idea imo.
Aren't the following rules useless now?
Imo it would be better to use DROP as default and add a OUTPUT/ACCEPT rule for icmp (ping)
if necessary.

and -- Firewall "block all" should block all except Browsing -- :)

donald
Full of knowledge
Full of knowledge
Posts: 2064
Joined: 17 Jun 2013, 13:17
Distribution: Porteus 3.2.2 XFCE 32bit
Location: Germany

Porteus 5.0 RC2 bug reports

Post#55 by donald » 11 Aug 2020, 21:17

@otan
installer version: 304.137
Do you have any new patches for the 304 driver?
Because AFAIK the 304 driver does not work with a xorg-server >1.19
Porteus 5.0rc2 has xorg-server-1.20.8-x86_64-2

donald
Full of knowledge
Full of knowledge
Posts: 2064
Joined: 17 Jun 2013, 13:17
Distribution: Porteus 3.2.2 XFCE 32bit
Location: Germany

Porteus 5.0 RC2 bug reports

Post#56 by donald » 11 Aug 2020, 21:36

fulalas wrote:
11 Aug 2020, 02:07
@donald:
1- it moves on my machine. Have you tried in Always Fresh?
My bad - works (again) after reboot
2- this is just the default setting. You can change the associated command in the plugin properties -> advanced tab
OK
3- this is a known little issue that is probably upstream's fault (i.e. nothing related to Porteus). Since it doesn't affect normal use, I wouldn't mind if I were you :)
Yep..
4- it works for me. You should try in AF. This option only enables/disables an entry in the context menu when right click on the desktop.
Again, my bad.

One thing that is different now:
(thunar) right click a file (mp4 in this case) > open with.. > custom comand (entered + make default) > did not work as it did before.
I had to manually edit the file afterwards. (/home/guest/.local/share/applications/*.desktop)

fulalas
DEV Team
DEV Team
Posts: 2050
Joined: 26 Oct 2016, 15:34
Distribution: Porteus
Location: Brazil

Porteus 5.0 RC2 bug reports

Post#57 by fulalas » 11 Aug 2020, 22:35

donald wrote:
11 Aug 2020, 21:36
One thing that is different now:
(thunar) right click a file (mp4 in this case) > open with.. > custom comand (entered + make default) > did not work as it did before.
I had to manually edit the file afterwards. (/home/guest/.local/share/applications/*.desktop)
Hmm... It works for me, but in this case I haven't tried in AF. I changed the default to Celluloid (because on my machine Mpv is the default one), set as default and hit Open. It not only opened Celluloid with the selected video, but now every time I double click on a mp4 file it opens the new default. Did the same for jpg files, changing them to open on Firefox and it worked just nice. :unknown:

donald
Full of knowledge
Full of knowledge
Posts: 2064
Joined: 17 Jun 2013, 13:17
Distribution: Porteus 3.2.2 XFCE 32bit
Location: Germany

Porteus 5.0 RC2 bug reports

Post#58 by donald » 11 Aug 2020, 23:24

fulalas - ..I did it once more - to be sure...

Boot in AF
Copy a (short) video file - mp4 in my case - into Downloads
right click this file > open with.. > custom command ffplay -autoexit -nostats > check
make default > click open > nothing happens.

Open the newly created *.desktop file in /home/guest/.local/share/applications/
in mousepad.
The content looks like this:
........
Exec="ffplay -autoexit -nostats" %f
Name="ffplay -autoexit -nostats"
........

You have to remove the quotes:
Exec=ffplay -autoexit -nostats %f
now it works

and also here:
Name=ffplay
to get a cleaner context menu entry.

fulalas
DEV Team
DEV Team
Posts: 2050
Joined: 26 Oct 2016, 15:34
Distribution: Porteus
Location: Brazil

Porteus 5.0 RC2 bug reports

Post#59 by fulalas » 12 Aug 2020, 02:42

Oh, I wasn't aware that you're using parameters. This can be tricky. Anyway, it seems this behavior is not related to Porteus, but to Xfce.

The solution for this is to use quotes when setting the custom command: "ffplay -autoexit -nostats"

donald
Full of knowledge
Full of knowledge
Posts: 2064
Joined: 17 Jun 2013, 13:17
Distribution: Porteus 3.2.2 XFCE 32bit
Location: Germany

Porteus 5.0 RC2 bug reports

Post#60 by donald » 12 Aug 2020, 04:31

@ncmprhnsbl

Regarding ping
Revert your changes in rc.Firewall - sets the OUTPUT chain back to DROP
(toggle the firewall off/on)

now allow ping from in- to outside:
as root do

Code: Select all

iptables -A OUTPUT -p icmp --icmp-type echo-request -j ACCEPT
The response packets are already permitted according to an existing rule (RELATED, ESTABLISHED);
no further rule needed.

Just in case...
How to delete a rule:
iptables -L --line-numbers
iptables -D chain and line number of the rule
e.g
iptables -D OUTPUT 8

Post Reply