RTAI with 4.19.152 - Bugs Fixed. Testers Needed

More
02 Dec 2020 12:50 #190868 by andypugh
I have them, just need to put them on the server.
(A complication is that 2.8.1 is waiting in the wings, on 4.14.174)

Please Log in or Create an account to join the conversation.

More
03 Dec 2020 23:32 #190988 by andypugh
There are debs for a patched kernel, RTAI and LinuxCNC 2.8.1 here:

www.linuxcnc.org/temp/
The following user(s) said Thank You: tommylight, JohnnyCNC

Please Log in or Create an account to join the conversation.

More
04 Dec 2020 01:26 - 04 Dec 2020 03:54 #191001 by Vescovo
Your deb files have been installed after a complete removal of the current
linuxcnc
rtai-4.14-174
Using synaptic package manager.
Image file boots but freezes on reboot for a while, then stops indicating reboot.
Managed to get it it to reboot after ^_alt_F1 ^_alt_F7 ^_alt_F1.
I could not copy error files because could not see extra USB drive. The boot is from USB.
Latency-Histogram produced errors
linuxcnc produced errors
g*****@debian-amd64:~/linuxcnc-dev/src$ uname -r
4.19.152-rtai-amd64
g*****@debian-amd64:~/linuxcnc-dev/src$ uname -v
#1 SMP PREEMPT Thu Nov 26 19:14:57 GMT 2020
g*****@debian-amd64:~/linuxcnc-dev/src$ latency-histogram --base 25000 --servo 1000000
insmod: ERROR: could not insert module /usr/realtime-4.19.152-rtai-amd64/modules/linuxcnc/threads.ko: Unknown symbol in module
exit value: 1
insmod for threads failed, returned -1
See the output of 'dmesg' for more information.
    while executing
"hal loadrt threads name1=t_base period1=25000 name2=t_servo period2=1000000"
    ("eval" body line 1)
    invoked from within
"eval hal loadrt threads "$args""
    (procedure "start_collection" line 7)
    invoked from within
"start_collection"
    invoked from within
"if ![info exists ::LH(start)] {
  set_defaults
  config
  progress "Loading packages"
  load_packages
  signal trap SIGINT finish
  progress "Making g..."
    (file "/usr/bin/latency-histogram" line 840)
g*****@debian-amd64:~/linuxcnc-dev/src$ 

File Attachment:

File Name: linuxcnc_2...2-03.zip
File Size:22 KB
Attachments:
Last edit: 04 Dec 2020 03:54 by Vescovo. Reason: More info

Please Log in or Create an account to join the conversation.

More
04 Dec 2020 09:47 #191016 by andypugh

Image file boots but freezes on reboot for a while, then stops indicating reboot.

That's a bit strange, the RTAI and LinuxCNC debs were built on a machine with a kernel installed using that .deb, and there were no issues.

insmod: ERROR: could not insert module /usr/realtime-4.19.152-rtai-amd64/modules/linuxcnc/threads.ko: Unknown symbol in module


That path looks like nonsense, I wonder where it comes from?

Please Log in or Create an account to join the conversation.

More
04 Dec 2020 13:54 - 06 Dec 2020 18:50 #191027 by Vescovo
There is an error in the dmesg file named lboot2.log included in zip. I am not versed well enough to comment maybe this is a source of problems. Another strange occurrence is that all of the "Home" folders are greyed out in file manager.
The Computer is a old I7 with 8G of Dram. Is it possible I did something wrong?

Just in case the source install I tried to compiled caused the errors, I rebuilt a new disk from the Linuxcnc ISO 2.8 distribution with a graphical install.
1) Re partitioned USB disk so it has 2 primary partitions
2) Applied the grub bootloader to USB disk
3) Booted from USB
4) dpkg -i linux-image-4.19.152-rtai-amd64.deb
5) dpkg -i rtai-modules-4.19.152_5.2.3-linuxcnc_amd64
6) dpkg -i linuxcnc_2.8.1_amd64. Conflict with existing
7) Synaptic removed Linuxcnc all languages, uspace, and uspace-dev
8) dpkg -i linuxcnc_2.8.1_amd64. Conflict with existing: Successful install
9) latency-histogram --base 25000 --servo 1000000: Produced more errors then before!
10) sudo apt-get update
11) sduo apt-get dist-upgrade
12) latency-histogram --base 25000 --servo 1000000: Produced same error as before!
insmod: ERROR: could not insert module /usr/realtime-4.19.152-rtai-amd64/modules/linuxcnc/threads.ko: Unknown symbol in module

A RETEST of the USB functions without the previous errors. Did the use of the USB in the other 3 computers make changes? YES IT DOES!!! A repeat situation with a build of USB-2 drive created the same error as above. Following steps 1->5 below did not clear the problem. After USB-2 was booted on the Acer-Veritron with the latency-histogram test successful the USB-2 drive was moved to the ACER-8943G. The problem no longer occurred. Most likely the Environment variables changed? I was not smart enough to make a copy of them beforehand!

The Hang on reboot also disappeared. The reboot hang is similar to the what occurs when the UUID of the swap partition is incorrect. The following steps did NOT correct the problem. The hang occurs because the RTAI scheduler cannot be unloaded.
sudo halrun -U did not unload it.
sudo kill UID did not unload it.

The other changes made to the USB prior to the retest were.
1) Reinstalled ISO on partiton 1, Andy's packages on Partion 2 of USB
2) Reinstalled GRUB on MBR.
3) Edited /etc/fstab on Partiton 2 to reflect new UUID for Swap drive
4) Edited /etc/initramfs-tools/conf.d/remove on Partiton 2 to reflect new UUID for Swap drive
5) sudo update-initramfs -u on Partiton 2 to reflect new UUID for Swap drive

File Attachment:

File Name: Acer-8943G...rror.txt
File Size:59 KB

File Attachment:

File Name: Acer-8943G.log.txt
File Size:59 KB

File Attachment:

File Name: Acer-8943G.HW.txt
File Size:5 KB


Warning: Spoiler!
Attachments:
Last edit: 06 Dec 2020 18:50 by Vescovo. Reason: All of a sudden it works!

Please Log in or Create an account to join the conversation.

More
05 Dec 2020 13:20 - 06 Dec 2020 11:13 #191121 by Vescovo
Successful boot from SAME USB on Acer Veritron dual core. See Veritron.log.txt file.

File Attachment:

File Name: Acer-Veriton.log.txt
File Size:48 KB

File Attachment:

File Name: Acer-Veritron.HW.txt
File Size:3 KB
Attachments:
Last edit: 06 Dec 2020 11:13 by Vescovo.

Please Log in or Create an account to join the conversation.

More
05 Dec 2020 15:38 - 06 Dec 2020 11:10 #191128 by Vescovo

File Attachment:

File Name: Dell-1525.log.txt
File Size:80 KB

File Attachment:

File Name: Dell-1525.HW.txt
File Size:3 KB
Attachments:
Last edit: 06 Dec 2020 11:10 by Vescovo.

Please Log in or Create an account to join the conversation.

More
16 Dec 2020 08:16 #192109 by mirkap
p@p-pc:~/Pobrane$ sudo uname -a
Linux p-pc 4.19.152-rtai-amd64 #3 SMP Sat Dec 12 23:13:39 CET 2020 x86_64 GNU/Linux
p@p-pc:~/Pobrane$ linuxcnc
LINUXCNC - 2.8.1
/usr/bin/linuxcnc: linia 291: /usr/bin/grep: Nie ma takiego pliku ani katalogu
Machine configuration directory is '/home/p/linuxcnc/configs/sim.axis'
Machine configuration file is 'axis.ini'
Starting LinuxCNC...
libnml/cms/tcp_srv.cc 280: bind error: 98 -- Address already in use
libnml/cms/tcp_srv.cc 281: Server can not bind the connection socket on port 5005.
libnml/rcs/rcs_exit.cc 96:
 Errors Reported!!!
 Press ^C to exit.
insmod: ERROR: could not insert module /usr/realtime-4.19.152-rtai-amd64/modules/rtai_hal.ko: Invalid module format
Realtime system did not load
Shutting down and cleaning up LinuxCNC...
/usr/bin/linuxcnc: linia 593: /usr/bin/pidof: Nie ma takiego pliku ani katalogu
/usr/bin/linuxcnc: linia 593: /usr/bin/pidof: Nie ma takiego pliku ani katalogu
/usr/bin/linuxcnc: linia 593: /usr/bin/pidof: Nie ma takiego pliku ani katalogu
/usr/bin/linuxcnc: linia 593: /usr/bin/pidof: Nie ma takiego pliku ani katalogu
/usr/bin/linuxcnc: linia 593: /usr/bin/pidof: Nie ma takiego pliku ani katalogu
/usr/bin/linuxcnc: linia 593: /usr/bin/pidof: Nie ma takiego pliku ani katalogu
/usr/bin/linuxcnc: linia 593: /usr/bin/pidof: Nie ma takiego pliku ani katalogu
/usr/bin/linuxcnc: linia 593: /usr/bin/pidof: Nie ma takiego pliku ani katalogu
/usr/bin/linuxcnc: linia 593: /usr/bin/pidof: Nie ma takiego pliku ani katalogu
/usr/bin/linuxcnc: linia 626: /usr/bin/pidof: Nie ma takiego pliku ani katalogu
/usr/bin/linuxcnc: linia 626: /usr/bin/pidof: Nie ma takiego pliku ani katalogu
RTAPI: ERROR: could not open shared memory (No such file or directory)
HAL: ERROR: could not initialize RTAPI
halcmd: hal_init() failed: -22
NOTE: 'rtapi' kernel module must be loaded
RTAPI: ERROR: could not open shared memory (No such file or directory)
HAL: ERROR: could not initialize RTAPI
halcmd: hal_init() failed: -22
NOTE: 'rtapi' kernel module must be loaded
RTAPI: ERROR: could not open shared memory (No such file or directory)
HAL: ERROR: could not initialize RTAPI
halcmd: hal_init() failed: -22
NOTE: 'rtapi' kernel module must be loaded
RTAPI: ERROR: could not open shared memory (No such file or directory)
HAL: ERROR: could not initialize RTAPI
halcmd: hal_init() failed: -22
NOTE: 'rtapi' kernel module must be loaded
RTAPI: ERROR: could not open shared memory (No such file or directory)
HAL: ERROR: could not initialize RTAPI
halcmd: hal_init() failed: -22
NOTE: 'rtapi' kernel module must be loaded
RTAPI: ERROR: could not open shared memory (No such file or directory)
HAL: ERROR: could not initialize RTAPI
halcmd: hal_init() failed: -22
NOTE: 'rtapi' kernel module must be loaded
RTAPI: ERROR: could not open shared memory (No such file or directory)
HAL: ERROR: could not initialize RTAPI
halcmd: hal_init() failed: -22
NOTE: 'rtapi' kernel module must be loaded
RTAPI: ERROR: could not open shared memory (No such file or directory)
HAL: ERROR: could not initialize RTAPI
halcmd: hal_init() failed: -22
NOTE: 'rtapi' kernel module must be loaded
RTAPI: ERROR: could not open shared memory (No such file or directory)
HAL: ERROR: could not initialize RTAPI
halcmd: hal_init() failed: -22
NOTE: 'rtapi' kernel module must be loaded
RTAPI: ERROR: could not open shared memory (No such file or directory)
HAL: ERROR: could not initialize RTAPI
halcmd: hal_init() failed: -22
NOTE: 'rtapi' kernel module must be loaded
RTAPI: ERROR: could not open shared memory (No such file or directory)
HAL: ERROR: could not initialize RTAPI
halcmd: hal_init() failed: -22
NOTE: 'rtapi' kernel module must be loaded
RTAPI: ERROR: could not open shared memory (No such file or directory)
HAL: ERROR: could not initialize RTAPI
halcmd: hal_init() failed: -22
NOTE: 'rtapi' kernel module must be loaded
rmmod: ERROR: Module hal_lib is not currently loaded
rmmod: ERROR: Module rtapi is not currently loaded
rmmod: ERROR: Module rtai_math is not currently loaded
rmmod: ERROR: Module rtai_sched is not currently loaded
rmmod: ERROR: Module rtai_hal is not currently loaded
LinuxCNC terminated with an error.  You can find more information in the log:
    /home/p/linuxcnc_debug.txt
and
    /home/p/linuxcnc_print.txt
as well as in the output of the shell command 'dmesg' and in the terminal

Please Log in or Create an account to join the conversation.

More
16 Dec 2020 10:18 #192113 by tommylight
Did you install rtai-modules also ?
To much stuff missing there.

Please Log in or Create an account to join the conversation.

More
16 Dec 2020 11:31 - 16 Dec 2020 11:33 #192123 by mirkap
Of course.
p@p-pc:~/Pobrane$ sudo dpkg -i rtai-modules-4.19.152_5.2.3-linuxcnc_amd64.deb
(Odczytywanie bazy danych ... 297663 pliki i katalogi obecnie zainstalowane.)
Przygotowywanie do rozpakowania pakietu rtai-modules-4.19.152_5.2.3-linuxcnc_amd64.deb ...
Rozpakowywanie pakietu rtai-modules-4.19.152 (5.2.3-linuxcnc) nad (5.2.3-linuxcnc) ...
Konfigurowanie pakietu rtai-modules-4.19.152 (5.2.3-linuxcnc) ...
p@p-pc:~/Pobrane$ linuxcnc
LINUXCNC - 2.8.1

Last edit: 16 Dec 2020 11:33 by mirkap.

Please Log in or Create an account to join the conversation.

Time to create page: 0.134 seconds
Powered by Kunena Forum