#linuxcnc-devel | Logs for 2018-12-16
Back
[01:01:20] -!- c-log has quit [Ping timeout: 244 seconds]
[01:03:56] -!- c-log has joined #linuxcnc-devel
[02:17:07] -!- c-log has quit [Ping timeout: 240 seconds]
[02:20:11] -!- c-log has joined #linuxcnc-devel
[03:58:43] -!- Robh__ has joined #linuxcnc-devel
[04:54:07] -!- c-log has quit [Ping timeout: 250 seconds]
[04:55:23] -!- Tom_L has quit [Ping timeout: 244 seconds]
[04:57:33] -!- c-log has joined #linuxcnc-devel
[06:51:43] -!- Tom_itx has joined #linuxcnc-devel
[07:54:06] -!- crazyben has joined #linuxcnc-devel
[07:56:53] -!- crazyben has quit [Remote host closed the connection]
[08:30:44] -!- crazyben has joined #linuxcnc-devel
[08:31:15] -!- crazyben has quit [Remote host closed the connection]
[11:34:01] -linuxcnc-github:#linuxcnc-devel- [13linuxcnc] 15KurtJacobson closed pull request #541: add ~/.local/bin to PATH in linuxcnc start script (06master...06local-bin-PATH) 02https://github.com/LinuxCNC/linuxcnc/pull/541
[14:40:53] -!- crazyben has joined #linuxcnc-devel
[15:01:29] -!- crazyben has quit [Remote host closed the connection]
[15:06:21] -!- Robh__ has quit [Ping timeout: 246 seconds]
[15:37:24] -!- crazyben has joined #linuxcnc-devel
[15:39:56] -!- andypugh has joined #linuxcnc-devel
[15:56:49] <crazyben> hello, someone here knows about linuxcnc?
[15:57:09] <crazyben> .. still having issues to get it running on my debian 9 machine
[15:57:16] <rmu> is that a question
[15:57:53] <crazyben> maybe I should add that I am using ethercat? :-D
[15:58:13] <rmu> no, i remember
[15:59:36] <crazyben> I tried hard to get it running the last days, but looks like I still far away to understand this issue. At the moment, I can see within the /var/log/messages "[ 1109.884006] kernel tried to execute NX-protected page - exploit attempt? (uid: 0) [ 1109.884009] BUG: unable to handle kernel paging requ"
[16:01:51] <crazyben> may this be related to change within "/git/linuxcnc-ethercat/src/lcec_main.c"? we added here '#include "rtapi_mutex.h"' below '#include "rtapi_app.h"'
[16:02:03] <rmu> no
[16:02:31] <crazyben> .. give me a minute to reboot
[16:02:48] <andypugh> I am afraid that not many of us know much about EtherCAT
[16:03:16] <andypugh> crazyben: Have you tried the forum, there is a small pocket of EtherCAT knowledge there
[16:03:40] <rmu> the things you quoted indicate some kernel problem. could be ethercat if you use any ethercat kernel modules
[16:04:43] <crazyben> sure, I do use
[16:05:36] <crazyben> My machine is made out of 2 main - adapters (EK1100). Looks like only the first one got up last time..
[16:05:43] <crazyben> 0 0:0 OP + EK1100 EtherCAT-Koppler (2A E-Bus) 1 0:1 OP + EL1008 8K. Dig. Eingang 24V, 3ms 2 0:2 OP + EL2008 8K. Dig. Ausgang 24V, 0.5A 3 0:3 INIT + EL7041 1K. Schrittmotor-Endstufe (50V, 5A) 4 0:4 PREOP + EL7041 1K. Schrittmotor-Endstufe (50V, 5A) 5 0:5 OP + EL66
[16:06:02] <crazyben> first one:
[16:06:03] <crazyben> 0 0:0 OP + EK1100 EtherCAT-Koppler (2A E-Bus) 1 0:1 OP + EL1008 8K. Dig. Eingang 24V, 3ms 2 0:2 OP + EL2008 8K. Dig. Ausgang 24V, 0.5A 3 0:3 INIT + EL7041 1K. Schrittmotor-Endstufe (50V, 5A) 4 0:4 PREOP + EL7041 1K. Schrittmotor-Endstufe (50V, 5A)
[16:06:12] <crazyben> second:
[16:06:17] <crazyben> 5 0:5 OP + EL6614 4 Port Switch (Ethernet, CoE) 6 0:6 PREOP + EK1100 EtherCAT-Koppler (2A E-Bus) 7 0:7 PREOP + EL3202 2K.Ana. Eingang PT100 (RTD) 8 0:8 PREOP + EL7041 1K. Schrittmotor-Endstufe (50V, 5A) 9 0:9 PREOP + EL7041 1K. Schrittmotor-Endstufe (50V, 5A)
[16:07:15] <rmu> sorry no idea about ethercat. but IIRC your issue two days ago was related to base- and servothread. you didn't disable the base-thread and ran the servothread way too fast.
[16:07:30] <rmu> ballpark-numbers: servo-thread 1kHz, no base-thread.
[16:07:33] <rmu> man motmod
[16:12:10] <crazyben> rmu: I tried it. give me a second, I have to do a reboot now
[16:12:16] -!- crazyben has quit [Remote host closed the connection]
[16:14:16] -!- crazyben has joined #linuxcnc-devel
[16:15:48] <crazyben> rmu: I am know in front of my machine again
[16:17:29] <crazyben> rmu: Changed within my INI-File "BASE_PERIOD = 100000" to "BASE_PERIOD = 0" again (yes, I did install the machine again today).
[16:18:19] <crazyben> also changed some bios entries
[16:19:14] <crazyben> (back to known values of ubun tu 12.04), hate it to say, but looks like this thing is know up and running :)
[16:22:10] <crazyben> looks like I frickeld so much around within the old installation, that the system went to no-more functional state.
[16:23:08] <rmu> easy to loose track of changes when "frickling" around
[16:25:43] <crazyben> my first idea was to get resources by tuning the bootloader (grub in my case). I am know a bit afraid to do any kind of perfromance optimization know.
[16:28:04] <crazyben> Ma disabling the "BASE_PERIOD" / base_thread have any negative or side effects?
[16:28:55] <rmu> no. that thread is used on machines that connect stepper drives on parallel port to generate step/dir pulses
[16:29:11] <rmu> BASE_PERIOD limits max step rate
[16:32:29] <crazyben> good point, within my profile/linuxnc/configs/ I have an "stepconf" file. Do I still need this file or is it just a fragment of good old "parallel-port" days?
[16:34:38] -!- ve7it has joined #linuxcnc-devel
[16:34:46] <crazyben> rmu, next question: Looks like linuxcnc does not fully unload when I close the gui. How can I check whats happening / what can't be unloaded?
[16:35:59] <rmu> hmm. not sure. start it in terminal and look at messages
[16:36:07] <rmu> you could also try to replicate in halrun
[16:36:47] <rmu> i.e. copy/paste stuff from your .hal files into interactive halrun session and narrow down which component causes the problem
[16:36:53] <crazyben> loks like a process "EtherCAT-EoE" is still running. ethercat slaves are also up as well as rtapi_app.
[16:37:56] <crazyben> I can't even get the realtime session when startung "halrun -U"
[16:38:31] <rmu> you can only have one hal realtime session at a time
[16:38:46] <crazyben> dmesg : INFO: task rtapi_app:1605 blocked for more than 120 seconds. 4.9.0-8-rt-amd64 #1 Debian 4.9.130-2 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this messag
[16:39:24] <rmu> seems hal is waiting for something. sleeping on an uninterruptible syscall.
[16:41:17] <rmu> you could try strace on the process
[16:41:30] <rmu> strace -p 1605
[16:42:23] <crazyben> did "strace -p 1605"
[16:42:29] <crazyben> .. no output
[17:01:42] <rmu> if it already hangs it is probably too late for strace
[17:34:07] -!- crazyben has quit [Ping timeout: 240 seconds]
[20:57:19] -!- Roguish has quit [Quit: ChatZilla 0.9.92-rdmsoft [XULRunner 35.0.1/20150122214805]]