I looked some more and it seems that the uname -a report for
your custom debian stretch kernel:
Code:
latheoperator@125cnc:~$ uname -a
Linux 125cnc 4.8.9-jbc01 #1 SMP PREEMPT Sun Nov 20 09:34:59 CET 2016 x86_64 GNU/
does not comply with a test in src/rtapi/uspace_common.h
Code:
static int detect_realtime() {
struct utsname u;
int crit1, crit2 = 0;
FILE *fd;
uname(&u);
crit1 = strcasestr (u.version, "PREEMPT RT") != 0;
if ((fd = fopen("/sys/kernel/realtime","r")) != NULL) {
int flag;
crit2 = ((fscanf(fd, "%d", &flag) == 1) && (flag == 1));
fclose(fd);
}
return crit1 && crit2;
}
Your kernel is reporting "SMP PREEMPT without the specific
substring expected, namely: "PREEMPT RT".
So it appears no preempt-rt patch has been applied to the kernel you are using.
On a system i use (jessie,uspace), the report is:
Code:
Linux t520 4.1.0-0.bpo.2-rt-amd64 #1 SMP PREEMPT RT Debian 4.1.6-1~bpo8+1 (2015-09-09) x86_64 GNU/Linux
ref (2.7 tree):
git.linuxcnc.org/gitweb?p=linuxcnc.git;a...d8;hb=refs/heads/2.7