Problem install linuxcnc 2.9.1 RTAI on linux mint debian 6
16 Dec 2023 23:05 #288371
by Ismacr63
As the title says, I have a problem installing linuxcnc 2.9.1 rtai on linux mint debian 6.
I install the rtai kernel and linuxcnc 2.9.1 for rtai and when I run it it crashes and I have to restart the pc.
Do you think it is possible, or is it currently not supported?
I install the rtai kernel and linuxcnc 2.9.1 for rtai and when I run it it crashes and I have to restart the pc.
Do you think it is possible, or is it currently not supported?
Please Log in or Create an account to join the conversation.
17 Dec 2023 12:06 #288387
by bkt
Replied by bkt on topic Problem install linuxcnc 2.9.1 RTAI on linux mint debian 6
really think not .... debian 6 is 2014 .... linux mint last workable was 19.3 and rtai at that period give some problem, preempt was ok .... actually all work on debian 12 as you can see and download from official repo .... after these I run 2.10 on mint 19 AND unbuntu 18 ... but somthings get worse .... so is possible run machine but with not all magic Lcnc function avaiable .... better is use default version .... or upgrade to 2018 SO version at least .... Actually I run my old machine over 2.9.1 .... but my oldest SO is ubuntu 18.04 that is quite equal to mint 19.3 ...
The following user(s) said Thank You: Ismacr63
Please Log in or Create an account to join the conversation.
- tommylight
- Online
- Moderator
Less
More
- Posts: 19188
- Thank you received: 6432
17 Dec 2023 13:06 #288399
by tommylight
Replied by tommylight on topic Problem install linuxcnc 2.9.1 RTAI on linux mint debian 6
Linux Mint Debian edition 6 is not Debian 6, it is Debian 12.
Error report?
Debug info?
In a terminal
uname -a
Error report?
Debug info?
In a terminal
uname -a
Please Log in or Create an account to join the conversation.
17 Dec 2023 13:24 #288402
by Ismacr63
Replied by Ismacr63 on topic Problem install linuxcnc 2.9.1 RTAI on linux mint debian 6
When I run linuxcnc or the latency test, the PC freezes and I can't do anything, I have to restart it. How can I file a bug report?
Please Log in or Create an account to join the conversation.
17 Dec 2023 13:46 #288403
by Ismacr63
termbin.com/hs2q
Uname -a
Linux isma 5.4.258-rtai-amd64 #2 SMP Thu Oct 19 11:54:56 BST 2023 x86_64 GNU/Linux
Replied by Ismacr63 on topic Problem install linuxcnc 2.9.1 RTAI on linux mint debian 6
This is a bug report.Linux Mint Debian edition 6 is not Debian 6, it is Debian 12.
Error report?
Debug info?
In a terminal
uname -a
termbin.com/hs2q
Uname -a
Linux isma 5.4.258-rtai-amd64 #2 SMP Thu Oct 19 11:54:56 BST 2023 x86_64 GNU/Linux
Please Log in or Create an account to join the conversation.
- tommylight
- Online
- Moderator
Less
More
- Posts: 19188
- Thank you received: 6432
17 Dec 2023 15:36 #288415
by tommylight
Replied by tommylight on topic Problem install linuxcnc 2.9.1 RTAI on linux mint debian 6
First, do not upload stuff to third party servers, upload here on the forum. Using those websites is always a security hazard, although this one seems OK.
Segmentation fault, usually due to failing memory, but in this case it seems you are using the uspace version of LinuxCNC with an RTAI kernel as the thing causing the segmentation fault is hal.so.
Did you also install the RTAI version of LinuxCNC?
Segmentation fault, usually due to failing memory, but in this case it seems you are using the uspace version of LinuxCNC with an RTAI kernel as the thing causing the segmentation fault is hal.so.
Did you also install the RTAI version of LinuxCNC?
The following user(s) said Thank You: Ismacr63
Please Log in or Create an account to join the conversation.
17 Dec 2023 16:11 #288423
by Ismacr63
I think the Linux version is rtai, because if I boot linux without the kernel when trying to open linuxcnc it tells me that I have to have the rtai kernel (I have it installed but I don't have it by default at startup)
Replied by Ismacr63 on topic Problem install linuxcnc 2.9.1 RTAI on linux mint debian 6
I'm sorry. To upload the file I used an option that Linux Mint itself gives you.First, do not upload stuff to third party servers, upload here on the forum. Using those websites is always a security hazard, although this one seems OK.
Segmentation fault, usually due to failing memory, but in this case it seems you are using the uspace version of LinuxCNC with an RTAI kernel as the thing causing the segmentation fault is hal.so.
Did you also install the RTAI version of LinuxCNC?
I think the Linux version is rtai, because if I boot linux without the kernel when trying to open linuxcnc it tells me that I have to have the rtai kernel (I have it installed but I don't have it by default at startup)
Please Log in or Create an account to join the conversation.
17 Dec 2023 17:08 #288429
by Ismacr63
Replied by Ismacr63 on topic Problem install linuxcnc 2.9.1 RTAI on linux mint debian 6
I am following the steps to install the linuxcnc rtai version from here, linuxcnc.org/docs/html/getting-started/getting-linuxcnc.html+
but when it is installing an error appears and it does not finish installing.
but when it is installing an error appears and it does not finish installing.
Warning: Spoiler!
isma@isma:~$ sudo apt-get install linuxcnc
Leyendo lista de paquetes... Hecho
Creando árbol de dependencias... Hecho
Leyendo la información de estado... Hecho
Los paquetes indicados a continuación se instalaron de forma automática y ya no son necesarios.
python3-serial python3-yapps
Utilice «sudo apt autoremove» para eliminarlos.
Paquetes sugeridos:
mesaflash
Los siguientes paquetes se ELIMINARÁN:
linuxcnc-uspace linuxcnc-uspace-dev
Se instalarán los siguientes paquetes NUEVOS:
linuxcnc
0 actualizados, 1 nuevos se instalarán, 2 para eliminar y 0 no actualizados.
Se necesita descargar 0 B/26,9 MB de archivos.
Se liberarán 1.967 kB después de esta operación.
¿Desea continuar? [S/n] s
(Leyendo la base de datos ... 554020 ficheros o directorios instalados actualmente.)
Desinstalando linuxcnc-uspace-dev (1:2.9.1) ...
Desinstalando linuxcnc-uspace (1:2.9.1) ...
Seleccionando el paquete linuxcnc previamente no seleccionado.
(Leyendo la base de datos ... 548173 ficheros o directorios instalados actualmente.)
Preparando para desempaquetar .../linuxcnc_1%3a2.9.1_amd64.deb ...
Desempaquetando linuxcnc (1:2.9.1) ...
dpkg: error al procesar el archivo /var/cache/apt/archives/linuxcnc_1%3a2.9.1_amd64.deb (--unpack):
intentando sobreescribir `/usr/share/applications/linuxcnc-documentation.desktop', que está también en el paquete linuxcnc-doc-en 1:2.9.1
Se encontraron errores al procesar:
/var/cache/apt/archives/linuxcnc_1%3a2.9.1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
Leyendo lista de paquetes... Hecho
Creando árbol de dependencias... Hecho
Leyendo la información de estado... Hecho
Los paquetes indicados a continuación se instalaron de forma automática y ya no son necesarios.
python3-serial python3-yapps
Utilice «sudo apt autoremove» para eliminarlos.
Paquetes sugeridos:
mesaflash
Los siguientes paquetes se ELIMINARÁN:
linuxcnc-uspace linuxcnc-uspace-dev
Se instalarán los siguientes paquetes NUEVOS:
linuxcnc
0 actualizados, 1 nuevos se instalarán, 2 para eliminar y 0 no actualizados.
Se necesita descargar 0 B/26,9 MB de archivos.
Se liberarán 1.967 kB después de esta operación.
¿Desea continuar? [S/n] s
(Leyendo la base de datos ... 554020 ficheros o directorios instalados actualmente.)
Desinstalando linuxcnc-uspace-dev (1:2.9.1) ...
Desinstalando linuxcnc-uspace (1:2.9.1) ...
Seleccionando el paquete linuxcnc previamente no seleccionado.
(Leyendo la base de datos ... 548173 ficheros o directorios instalados actualmente.)
Preparando para desempaquetar .../linuxcnc_1%3a2.9.1_amd64.deb ...
Desempaquetando linuxcnc (1:2.9.1) ...
dpkg: error al procesar el archivo /var/cache/apt/archives/linuxcnc_1%3a2.9.1_amd64.deb (--unpack):
intentando sobreescribir `/usr/share/applications/linuxcnc-documentation.desktop', que está también en el paquete linuxcnc-doc-en 1:2.9.1
Se encontraron errores al procesar:
/var/cache/apt/archives/linuxcnc_1%3a2.9.1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
Please Log in or Create an account to join the conversation.
18 Dec 2023 21:41 #288523
by Ismacr63
Replied by Ismacr63 on topic Problem install linuxcnc 2.9.1 RTAI on linux mint debian 6
I have installed the official iso of debian 12 bookworm and I have tried to install linuxcnc rtai and I get the same error as in linux mint debian edition 6.
The truth is that I don't know what I'm doing wrong, because the official iso is supposed to install without problems.
The truth is that I don't know what I'm doing wrong, because the official iso is supposed to install without problems.
Please Log in or Create an account to join the conversation.
19 Dec 2023 00:43 - 19 Dec 2023 01:15 #288532
by cornholio
Replied by cornholio on topic Problem install linuxcnc 2.9.1 RTAI on linux mint debian 6
The official ISO is no problem will uspace (rt_preempt), rtai is a different kettle of fish.
Bull In The China Shop Method.
Personally I'd install from the ISO,reboot, install the required RTAI (not rt-preeempt) kernel, reboot making sure to boot with the RTAI kernel, uninstall & purge linuxcnc uspace, reboot, down load the RTAI packages (manually via wget or a web browser) and use gdebi to install the linuxcnc packages.
www.linuxcnc.org/dists/bookworm/2.9-rt/binary-amd64/
You'll need the linux image package and linux headrs package & rtai-modules
www.linuxcnc.org/dists/bookworm/base/binary-amd64/
The same method should work with LMDE6 but without having to uninstall the linuxcnc-uspace packages.
You may have to install gdebi, I'm not to sure of the exact packages installed by default.
Just did a install of LMDE6, manual install of rtai stuff & linuxcnc rt, installation was smooth, first run of latency-histogram failed but when run a second time was ok. This was all tested in VirtualBox 7 using Linuxmint 21 as a host, so latency doesn't mean anything. No guest additions were installed in the guest virtual machine.
Bull In The China Shop Method.
Personally I'd install from the ISO,reboot, install the required RTAI (not rt-preeempt) kernel, reboot making sure to boot with the RTAI kernel, uninstall & purge linuxcnc uspace, reboot, down load the RTAI packages (manually via wget or a web browser) and use gdebi to install the linuxcnc packages.
www.linuxcnc.org/dists/bookworm/2.9-rt/binary-amd64/
You'll need the linux image package and linux headrs package & rtai-modules
www.linuxcnc.org/dists/bookworm/base/binary-amd64/
The same method should work with LMDE6 but without having to uninstall the linuxcnc-uspace packages.
You may have to install gdebi, I'm not to sure of the exact packages installed by default.
Just did a install of LMDE6, manual install of rtai stuff & linuxcnc rt, installation was smooth, first run of latency-histogram failed but when run a second time was ok. This was all tested in VirtualBox 7 using Linuxmint 21 as a host, so latency doesn't mean anything. No guest additions were installed in the guest virtual machine.
Last edit: 19 Dec 2023 01:15 by cornholio.
The following user(s) said Thank You: Ismacr63
Please Log in or Create an account to join the conversation.
Time to create page: 0.260 seconds