Linux Mint with RTAI

More
10 years 6 months ago - 10 years 6 months ago #73239 by PCW
Replied by PCW on topic Linux Mint with RTAI
the

(task: 513 cycles, min=0.000018, max=0.008041, avg=0.002026, 0 latency excursions (> 10x expected cycle time of 0.001000s)

message is just for information, its not an error message

I would start LinuxCNC from the command line to look for error messages
(and look through the kernel log (dmesg) if running RTAI )
Last edit: 10 years 6 months ago by PCW.

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

More
10 years 6 months ago #73240 by gmouer
Replied by gmouer on topic Linux Mint with RTAI

PCW wrote: the

(task: 513 cycles, min=0.000018, max=0.008041, avg=0.002026, 0 latency excursions (> 10x expected cycle time of 0.001000s)

message is just for information, its not an error message

I would start LinuxCNC from the command line to look for error messages
(and look through the kernel log (dmesg) if running RTAI )


Axis does fail to launch and terminates with that message as the only real hint. This was a old problem (page 2 of this thread) that several had. It was just never clear what specifically was the cause of this problem. Several install techniques and versions were used over time, I don't want to play trial and error with each install taking a couple hours. Hopefully someone can point at what specifically causes axis to fail to launch so I can fix that without numerous complete reinstall attempts.

Thanks Pete

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

More
10 years 6 months ago #73241 by PCW
Replied by PCW on topic Linux Mint with RTAI
I think the best thing is to look for the real error message
either in the log files or dmesg

Newer version of LinuxCNC _always_ print that timing message when Axis exits
so it doesn't mean anything

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

More
10 years 5 months ago #74384 by tommylight
Replied by tommylight on topic Linux Mint with RTAI
I had the same problem with axis not starting but all the other GUI did start and work, it turned out the noveau driver was causing it on computers with nvidia cards and Linux Mint, BlenderCam also did start but was transparent and unusable, caused by the same combo, since both use OpenGL. Just install whatever other drivers and disable Noveau. Works every time ( i have a lot of computers and laptops so i did that same thing 5 or 6 times, incidentally on some desktops with the same combo Mint/Nvidia had no problems working out of the box !!!).

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

More
10 years 5 months ago #74389 by gmouer
Replied by gmouer on topic Linux Mint with RTAI
Mine is a levono SFF computer with onboard video. It runs great on debian 7 and linuxcnc 2.7.4 or 2.8 pre so its not a issue of incompatible computer with linuxcnc, its something going on with mint.

I picked up the levono computers for a couple of future retrofits. I got a while yet before starting the retrofit so hopefully mint will mature and some of these compatibility bugs with linuxcnc will get sorted out by then.

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

More
9 years 11 months ago - 9 years 11 months ago #82850 by Patrick Obrien
Replied by Patrick Obrien on topic Linux Mint with RTAI
I installed linux mint on a hard drive today using this ISO on a usb stick:

Linux Mint 17.3 "Rosa" - MATE (32-bit)



Than ran through the mint17.3.txt on JT's site. When it got to this line it had an error:

$ sudo apt-get -y install linux-headers-3.4-9-rtai-686-pae
…
Examining /etc/kernel/header_postinst.d.
run-parts: executing /etc/kernel/header_postinst.d/dkms 3.4-9-rtai-686-pae
Error! Bad return status for module build on kernel: 3.4-9-rtai-686-pae (i686)
Consult /var/lib/dkms/ndiswrapper/1.59/build/make.log for more information.

$ cat /var/lib/dkms/ndiswrapper/1.59/build/make.log

DKMS make.log for ndiswrapper-1.59 for kernel 3.4-9-rtai-686-pae (i686)
Tue Nov 15 15:01:51 CST 2016
make: Entering directory `/usr/src/linux-headers-3.4-9-rtai-686-pae'
LD /var/lib/dkms/ndiswrapper/1.59/build/built-in.o
MKEXPORT /var/lib/dkms/ndiswrapper/1.59/build/crt_exports.h
MKEXPORT /var/lib/dkms/ndiswrapper/1.59/build/hal_exports.h
MKEXPORT /var/lib/dkms/ndiswrapper/1.59/build/ndis_exports.h
MKEXPORT /var/lib/dkms/ndiswrapper/1.59/build/ntoskernel_exports.h
MKEXPORT /var/lib/dkms/ndiswrapper/1.59/build/ntoskernel_io_exports.h
MKEXPORT /var/lib/dkms/ndiswrapper/1.59/build/rtl_exports.h
MKEXPORT /var/lib/dkms/ndiswrapper/1.59/build/usb_exports.h
CC [M] /var/lib/dkms/ndiswrapper/1.59/build/crt.o
/var/lib/dkms/ndiswrapper/1.59/build/crt.c: In function ‘_win_srand’:
/var/lib/dkms/ndiswrapper/1.59/build/crt.c:470:2: error: implicit declaration of function ‘prandom_seed’ [-Werror=implicit-function-declaration]
cc1: some warnings being treated as errors
make[3]: *** [/var/lib/dkms/ndiswrapper/1.59/build/crt.o] Error 1
make[2]: *** [_module_/var/lib/dkms/ndiswrapper/1.59/build] Error 2
make[1]: *** [sub-make] Error 2
make: *** [all] Error 2
make: Leaving directory `/usr/src/linux-headers-3.4-9-rtai-686-pae'


Any idea why a virgin install would error at this point?
Last edit: 9 years 11 months ago by Patrick Obrien. Reason: added: on a hard drive

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

Time to create page: 0.528 seconds
Powered by Kunena Forum