Page 10 of 22

Porteus 5.0 RC2 bug reports

Posted: 14 Sep 2020, 13:08
by ncmprhnsbl
amplatfus wrote:
14 Sep 2020, 05:44
Could you please advices what we should try next?
apologies, we put out a quite old build of mate, hence blueman and dbus-python are out of date..
maybe try:

Code: Select all

getpkg blueman dbus-python
this will get the latest from slackware current, compatible with python3.8..
will look into trying to update mate..

Porteus 5.0 RC2 bug reports

Posted: 14 Sep 2020, 14:15
by paf
fulalas wrote:
14 Sep 2020, 09:01
@paf, thanks for the feedback. :)

I can confirm the issue that you reported. We're still investigating it, but in the meantime try this guest module and let us know if it works for you:

http://www.mediafire.com/file/e97g9pilp ... 4-1prt.xzm
(3.55 MB)

YES! Many Thanks!

This Virtual Box guest module works perfectly.
No automount of the shared folders, but that is Virtual Box problem, as mounting the shared folders on the command line works perfectly.

Can I help with something more?

Porteus 5.0 RC2 bug reports

Posted: 14 Sep 2020, 18:45
by amplatfus
ncmprhnsbl wrote:
14 Sep 2020, 13:08
amplatfus wrote:
14 Sep 2020, 05:44
Could you please advices what we should try next?
apologies, we put out a quite old build of mate, hence blueman and dbus-python are out of date..
maybe try:

Code: Select all

getpkg blueman dbus-python
this will get the latest from slackware current, compatible with python3.8..
will look into trying to update mate..
Dear @ncmprhnsbl,

Thank you from the bottom of my heart!
No reason to apologies. I am very happy that this project is in active development and thank yo again to development team.

I have run the command and I got the xzm modules saved in this folder: porteus_is_the_best_and_development_team_rocks :))
After I activated, i tried and ...icon appeard in tray area. I managed also to pari my headprones and tried to listen the first song: Tina Turner - The Best and it worked. I heard the song in headphones.

Thank you so much agan and again.
PS: as I mantion before, with the same changes loaded, on the same laptop, the RC2 is using less Mb than RC1 with alomst 30-40 Mb.

All the best,
amplatfus

Below is the output, maybe it will help others too:

Code: Select all

root@porteus:~# getpkg blueman dbus-python
Checking that mirror is online ...

--2020-09-14 21:02:51--  https://dfw.mirror.rackspace.com/slackware//slackware64-current/FILELIST.TXT
Resolving dfw.mirror.rackspace.com (dfw.mirror.rackspace.com)... 74.205.112.120
Connecting to dfw.mirror.rackspace.com (dfw.mirror.rackspace.com)|74.205.112.120|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1279720 (1.2M) [text/plain]
Saving to: ‘/tmp/getpkg/FILELIST.TXT’

FILELIST.TXT                                                100%[=========================================================================================================================================>]   1.22M   787KB/s    in 1.6s    

2020-09-14 21:02:54 (787 KB/s) - ‘/tmp/getpkg/FILELIST.TXT’ saved [1279720/1279720]


[OK] blueman-2.1.3-x86_64-2.txz
[OK] dbus-python-1.2.16-x86_64-1.txz

Please enter a directory to download the packages to.
> porteus_is_the_best_and_development_team_rocks

Downloading: blueman-2.1.3-x86_64-2.txz   DONE 
Converting blueman-2.1.3-x86_64-2.txz ...
Verifying package blueman-2.1.3-x86_64-2.txz.
Installing package blueman-2.1.3-x86_64-2.txz:
PACKAGE DESCRIPTION:
# Blueman (Graphical Bluetooth Manager)
#
# Blueman is a GTK+ Bluetooth Manager for tasks such as:
#
#  - Connecting to 3G/EDGE/GPRS via DUN profile.
#  - Connecting to/Creating bluetooth networks
#  - Connecting to input and audio devices
#  - Sending/Receiving/Browsing files via OBEX
#  - Pairing
#
# Homepage: https://github.com/blueman-project/blueman
Executing install script for blueman-2.1.3-x86_64-2.txz.
Package blueman-2.1.3-x86_64-2.txz installed.
Creating /root/porteus_is_the_best_and_development_team_rocks/blueman-2.1.3-x86_64-2.xzm

Downloading: dbus-python-1.2.16-x86_64-1.txz   DONE 
Converting dbus-python-1.2.16-x86_64-1.txz ...
Verifying package dbus-python-1.2.16-x86_64-1.txz.
Installing package dbus-python-1.2.16-x86_64-1.txz:
PACKAGE DESCRIPTION:
# dbus-python (Python bindings for dbus)
#
# This package includes python bindings for the D-Bus messagebus.
#
Package dbus-python-1.2.16-x86_64-1.txz installed.
Creating /root/porteus_is_the_best_and_development_team_rocks/dbus-python-1.2.16-x86_64-1.xzm


 Processing finished. 
Your files are in: porteus_is_the_best_and_development_team_rocks
root@porteus:~# 

Porteus 5.0 RC2 bug reports

Posted: 14 Sep 2020, 23:05
by fulalas
paf wrote:
14 Sep 2020, 14:15
YES! Many Thanks!
This Virtual Box guest module works perfectly.
Oh, I'm glad it's working! :)
paf wrote:
14 Sep 2020, 14:15
No automount of the shared folders, but that is Virtual Box problem, as mounting the shared folders on the command line works perfectly.
Yeah, some services are not starting during the boot, which is wrong, of course. I manually changed the main service script. Download the module again (same link) and give it a try :good:
paf wrote:
14 Sep 2020, 14:15
Can I help with something more?
No need to worry. Your feedback is awesome! :)

Porteus 5.0 RC2 bug reports

Posted: 15 Sep 2020, 08:29
by paf
fulalas wrote:
14 Sep 2020, 23:05
....
Yeah, some services are not starting during the boot, which is wrong, of course. I manually changed the main service script. Download the module again (same link) and give it a try :good:
....

It works perfectly with automount of shared folders working in Virtual Box!

Many thanks!

Porteus 5.0 RC2 bug reports

Posted: 16 Sep 2020, 02:25
by fulalas
paf wrote:
15 Sep 2020, 08:29
It works perfectly with automount of shared folders working in Virtual Box!

Many thanks!
Cool! :magic:

Porteus 5.0 RC2 bug reports

Posted: 22 Sep 2020, 01:09
by Ed_P
The Xdialog and kdialog files appear to be missing since a script I have that uses them doesn't work in 5.0.

And rc.local_shutdown is not displaying savedat file usage when shutting down.

Porteus 5.0 RC2 bug reports

Posted: 22 Sep 2020, 08:31
by ncmprhnsbl
Ed_P wrote:
22 Sep 2020, 01:09
The Xdialog and kdialog files appear to be missing since a script I have that uses them doesn't work in 5.0.
yeah, we removed it, because there's nothing using it.. what sort of function do you use it for?
Ed_P wrote:
22 Sep 2020, 01:09
And rc.local_shutdown is not displaying savedat file usage when shutting down.
do you get any output if you run it directly in a terminal?

Porteus 5.0 RC2 bug reports

Posted: 22 Sep 2020, 10:33
by Blaze
roadie wrote:
12 Aug 2020, 16:24
Porteus-CINNAMON-v5.0rc2-x86_64.iso........obviously applies to all.

For Elan touchpads.

Code: Select all

# CONFIG_HID_ELAN is not set
Try this kernel Porteus Kernel Builder (Пост Blaze #78812)

Thanks for the report.

Porteus 5.0 RC2 bug reports

Posted: 22 Sep 2020, 14:07
by Ed_P
ncmprhnsbl wrote:
22 Sep 2020, 08:31
Ed_P wrote:
22 Sep 2020, 01:09
And rc.local_shutdown is not displaying savedat file usage when shutting down.
do you get any output if you run it directly in a terminal?
Yes.

Code: Select all

guest@porteus:~$ cd /etc/rc.d/
guest@porteus:/etc/rc.d$ ./rc.local_shutdown

save.dat file 33% full.  Used: 130M  Free: 268M
guest@porteus:/etc/rc.d$ 
When shutting down there are 5 or 6 errors listed which may be the problem. I will try to reboot and write them down.

As for the missing dialog files I use them in this desktop script to display the usage of my savedat file.

Code: Select all

#!/bin/sh
# Add to /etc/rc.d/rc.local_shutdown.  And make rc.local_shutdown executable.
#                                      sudo chmod +x /etc/rc.d/rc.local_shutdown
# Bogomips help: https://forum.porteus.org/viewtopic.php?f=140&t=6069&p=47591#p47589
#                https://forum.porteus.org/viewtopic.php?f=140&t=6069&p=47614#p47598

# du -BM -d3 /mnt/live/memory/images/changes 

# Color definitions
txtbld=$(tput bold)               # Bold
txtred=${txtbld}$(tput setaf 1)   # Red
rst=$(tput sgr0)                  # Reset

function redwarning() {
echo -e $txtred "$1" $rst
}

#set -x;

if [ -a /mnt/live/memory/images/changes ]; then
   SDspace=$(df -BM --output=size,used,avail,pcent /mnt/live/memory/images/changes | tail -n1)
   Changes=/mnt/live/memory/images/changes
else
   BOOTDEV=`grep -A1 "Booting" /var/log/porteus-livedbg|tail -n1|sed 's^//^/^g'`
   if [ "$BOOTDEV" == "/mnt/isoloop" ]; then
      BOOTDEV=`grep -A1 "ISO=" /var/log/porteus-livedbg`
      BOOTDEV=${BOOTDEV:4:9}
   fi
   VERSION=$(cat /etc/porteus-version)
   FOLDER=porteus${VERSION:9:3}
   Changes=$BOOTDEV/$FOLDER/changes
   if [ ! -d $Changes ]; then 
      Changes="$BOOTDEV/changes"
   fi
   if [ ! -f $Changes/porteussave.dat ]; then
      echo "No $Changes/porteussave.dat file."
      read
      exit
   fi
#   echo "When prompted, enter guest's password."   https://forum.porteus.org/viewtopic.php?p=63884#p63884
   echo toor | sudo -S -u root mloop $Changes/porteussave.dat &>/dev/null        
   SDspace=$(df -BM --output=size,used,avail,pcent /mnt/loop | tail -n1)
   Changes=$Changes/porteussave.dat
   echo toor | sudo -S -u root uloop &>/dev/null
fi
# echo $SDspace
read size used avail percent <<< $SDspace
if [ ${percent%\%} -gt  85 ]; then
   echo 
   redwarning "Warning! save.dat file $percent full.  Used: $used  Free: $avail"
   echo 
   sleep 5
else
#   echo "save.dat file $percent full.  Used: $used  Free: $avail"
   if [ "$(which kdialog &>/dev/null)" ]; then
      kdialog --msgbox "save.dat file $percent full....Used: $used....Free: $avail"  
      exit
   else
#     Xdialog --msgbox "save.dat file $percent full.  Used: $used  Free: $avail" 33 128 
      Xdialog --rc-file /home/guest/Savedat/bluetxt.rc --title $Changes --msgbox "save.dat file $percent full - Used: $used - Free: $avail" 5 60
      exit
   fi
# http://xdialog.free.fr/doc/common.html#RCFILE
# http://www.murga-linux.com/puppy/viewtopic.php?p=523767&#523767
# guest@porteus:~$ Xdialog --colorsel 0 0 0
fi
And when it runs I get:

Code: Select all

guest@porteus:~$ cd /etc/rc.d/
guest@porteus:/etc/rc.d$ ./rc.local_shutdown

save.dat file 33% full.  Used: 130M  Free: 268M
guest@porteus:/etc/rc.d$ cd /home/guest/
guest@porteus:~$ ./Savedat/spaceck.sh
./Savedat/spaceck.sh: line 60: Xdialog: command not found
guest@porteus:~$ 
And no it is not my rc.local-shutdown file but is based on it.

Porteus 5.0 RC2 bug reports

Posted: 22 Sep 2020, 19:20
by roadie
Blaze wrote:
22 Sep 2020, 10:33
roadie wrote:
12 Aug 2020, 16:24
Porteus-CINNAMON-v5.0rc2-x86_64.iso........obviously applies to all.

For Elan touchpads.

Code: Select all

# CONFIG_HID_ELAN is not set
Try this kernel Porteus Kernel Builder (Пост Blaze #78812)

Thanks for the report.

Not working here. I think because of this:

Code: Select all

# CONFIG_PINCTRL_AMD is not set

Porteus 5.0 RC2 bug reports

Posted: 23 Sep 2020, 02:27
by ncmprhnsbl
kdialog is a kde thing..
Ed_P wrote:
22 Sep 2020, 14:07
As for the missing dialog files I use them in this desktop script to display the usage of my savedat file.
so, just a simple info dialog..
you could use /usr/share/porteus/gtkdialog.py as an alternative... '/usr/share/porteus/gtkdialog.py -h' to see the usage.. in this case, something like:

Code: Select all

 /usr/share/porteus/gtkdialog.py -p "save.dat file $percent full - Used: $used - Free: $avail" -d info 

Porteus 5.0 RC2 bug reports

Posted: 23 Sep 2020, 05:14
by Blaze
roadie, what about output of

Code: Select all

dmesg
?
CONFIG_PINCTRL_AMD: AMD GPIO pin control
driver for memory mapped GPIO functionality on AMD platforms (x86 or arm).Most pins are usually muxed to some other functionality by firmware,so only a small amount is available for gpio use.

Requires ACPI/FDT device enumeration code to set up a platform device.
https://cateee.net/lkddb/web-lkddb/PINCTRL_AMD.html

Porteus 5.0 RC2 bug reports

Posted: 23 Sep 2020, 15:51
by roadie
Blaze wrote:
23 Sep 2020, 05:14
roadie, what about output of

Code: Select all

dmesg
?
CONFIG_PINCTRL_AMD: AMD GPIO pin control
driver for memory mapped GPIO functionality on AMD platforms (x86 or arm).Most pins are usually muxed to some other functionality by firmware,so only a small amount is available for gpio use.

Requires ACPI/FDT device enumeration code to set up a platform device.
https://cateee.net/lkddb/web-lkddb/PINCTRL_AMD.html

Blaze, dmesg shows only the fingerprint.

Code: Select all

guest@porteus:~$ dmesg | grep ELAN
[    1.261300] usb 1-1.1: Product: ELAN:Fingerprint
[    1.261301] usb 1-1.1: Manufacturer: ELAN

Code: Select all

guest@porteus:~$ dmesg | grep pinctrl
[    0.217115] pinctrl core: initialized pinctrl subsystem

Looking through the config, I see this as well:

Code: Select all

# CONFIG_X86_AMD_PLATFORM_DEVICE is not set
Also:

Code: Select all

# CONFIG_MEMORY_HOTPLUG is not set
.......this one had to be y when I compiled for touchpad.

Code: Select all

# CONFIG_HOTPLUG_PCI_ACPI_IBM is not set
.......this is set as module

Code: Select all

# CONFIG_HOTPLUG_PCI_SHPC is not set
......this I set as y

These are from what I found on the net while compiling a kernel for my touchpad, I'm not sure if all are needed for other machines, ......but my touchpad wouldn't work until I had all these set.

Porteus 5.0 RC2 bug reports

Posted: 23 Sep 2020, 22:51
by Ed_P
ncmprhnsbl wrote:
23 Sep 2020, 02:27
something like:

Code: Select all

 /usr/share/porteus/gtkdialog.py -p "save.dat file $percent full - Used: $used - Free: $avail" -d info 
Thank you ncmp. It does indeed work. :good:

I've tried different options with it but all the windows look the same; -d info, -d err, -d warn. Same with -p and -s. Am I missing something?

Added in 5 hours 20 minutes 12 seconds:
Yes, missing the different icons on the left of the text and -s used with -p is not bold text. duh :mega_shok: