Re: [Emc-developers] RTAI support for kernel 5.4 works so far, pending musl/math test

2022-10-24 Thread Alec Ari via Emc-developers
Firmware is always separate from kernel unless you build the firmware into the kernel image. Usually, you would only do this for kernel options that you decide to have built-in (i.e. CONFIG_DRM_I915=y) instead of as modules (=m) however distributions don't do this and instead build as modules.

Re: [Emc-developers] RTAI support for kernel 5.4 works so far, pending musl/math test

2022-10-24 Thread Jon Elson
On 10/24/22 15:28, Alec Ari via Emc-developers wrote: Jon, You can actually grab the sid 6.0 kernel and drop it on Bullseye and perhaps even Buster: Yes, I actually did this on a Bullseye install.  I also had to install the firmware files that didn't come in along with the new kernel for

Re: [Emc-developers] RTAI support for kernel 5.4 works so far, pending musl/math test

2022-10-24 Thread Alec Ari via Emc-developers
Jon, You can actually grab the sid 6.0 kernel and drop it on Bullseye and perhaps even Buster: https://packages.debian.org/sid/linux-image-6.0.0-2-amd64 Firmware: https://packages.debian.org/sid/firmware-misc-nonfree Install: sudo dpkg -i linux-image-6.0.0-2-amd64_6.0.3-1_amd64.deb sudo

Re: [Emc-developers] RTAI support for kernel 5.4 works so far, pending musl/math test

2022-10-23 Thread Jon Elson
On 10/22/22 21:54, Alec Ari via Emc-developers wrote: I will post Debian packages for the 5.4 RTAI kernel once it's ready, but it may be a few weeks of testing. I need to fool proof Kconfig as well. I'll be using the latest Debian Bullseye 5.10 kernel config as the baseline, and just let

Re: [Emc-developers] RTAI support for kernel 5.4 works so far, pending musl/math test

2022-10-23 Thread gene heskett
On 10/22/22 22:27, Alec Ari via Emc-developers wrote: Scratch that, I did a dumb thing with my build system. LinuxCNC works with RTAI 5.4 now, screenshot attached. WOOO! Alec I agree, Alec, that is lots s better that anything I've seen older amd's do. Which explains why my stuff with

Re: [Emc-developers] RTAI support for kernel 5.4 works so far, pending musl/math test

2022-10-22 Thread Alec Ari via Emc-developers
Warnings for 5.4 kernel, note: [-Wvla] Reading 0/204 dependency files Done reading dependencies Reading 0/204 dependency files Done reading dependencies In file included from hal/utils/halcmd_commands.cc:40: hal/utils/halcmd_commands.cc: In function ‘int do_loadrt_cmd(char*, char**)’:

Re: [Emc-developers] RTAI support for kernel 5.4 works so far, pending musl/math test

2022-10-22 Thread Alec Ari via Emc-developers
To clarify, you still need to use M instead of SUBDIRS, but the "FATAL: parse error in symbol dump file" was 100% PEBKAC lol. Alec ___ Emc-developers mailing list Emc-developers@lists.sourceforge.net

Re: [Emc-developers] RTAI support for kernel 5.4 works so far, pending musl/math test

2022-10-22 Thread Alec Ari via Emc-developers
Scratch that, I did a dumb thing with my build system. LinuxCNC works with RTAI 5.4 now, screenshot attached. WOOO! Alec___ Emc-developers mailing list Emc-developers@lists.sourceforge.net

Re: [Emc-developers] RTAI support for kernel 5.4 works so far, pending musl/math test

2022-10-22 Thread Alec Ari via Emc-developers
All the LinuxCNC kernel modules build now against 5.4 albeit with several VLA (variable length array) warnings and this fatal error at the very end:   MODPOST 185 modules FATAL: parse error in symbol dump file make[2]: *** [scripts/Makefile.modpost:95: __modpost] Error 1 make[1]: ***

Re: [Emc-developers] RTAI support for kernel 5.4 works so far, pending musl/math test

2022-10-22 Thread Alec Ari via Emc-developers
Found the problem: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/Makefile?h=v5.4.219=7e35b42591c058b91282f95ce3b2cf0c05ffe93d Fix: diff --git a/src/Makefile b/src/Makefile index 96eba38334..047419d4bc 100644 --- a/src/Makefile +++ b/src/Makefile @@ -537,8 +537,8 @@

Re: [Emc-developers] RTAI support for kernel 5.4 works so far, pending musl/math test

2022-10-21 Thread Alec Ari via Emc-developers
This error: > cp Module.symvers *.ko ../rtlib/ > cp: cannot stat 'Module.symvers': No such file or directory Is a red herring. Fix: diff --git a/src/Makefile b/src/Makefile index 96eba38334..374b4bf35d 100644 --- a/src/Makefile +++ b/src/Makefile @@ -538,7 +538,7 @@ ifeq ($(BUILD_SYS),kbuild)

Re: [Emc-developers] RTAI support for kernel 5.4 works so far, pending musl/math test

2022-10-21 Thread Alec Ari via Emc-developers
I can't use 2.8 because master has all of the things I need. I'll try a few things though, thanks! Alec On Friday, October 21, 2022 at 04:53:24 PM UTC, andy pugh wrote: On Fri, 21 Oct 2022 at 17:38, Alec Ari via Emc-developers wrote: > cp Module.symvers *.ko ../rtlib/ > cp: cannot

Re: [Emc-developers] RTAI support for kernel 5.4 works so far, pending musl/math test

2022-10-21 Thread andy pugh
On Fri, 21 Oct 2022 at 17:38, Alec Ari via Emc-developers wrote: > cp Module.symvers *.ko ../rtlib/ > cp: cannot stat 'Module.symvers': No such file or directory Seems to be here: https://github.com/LinuxCNC/linuxcnc/blob/master/src/Makefile#L539 Poking about in configure.ac it looks like you

Re: [Emc-developers] RTAI support for kernel 5.4 works so far, pending musl/math test

2022-10-21 Thread Alec Ari via Emc-developers
Trying to build LinuxCNC right now against the 5.4 kernel but ran into this, stuck now: Reading 204/204 dependency files Done reading dependencies MAKEFLAGS="ik -j4 --jobserver-auth=3,4" \ make KBUILD_EXTRA_SYMBOLS=/usr/realtime/modules/Module.symvers -C /home/ntu/linux-5.4.y SUBDIRS=`pwd`

Re: [Emc-developers] RTAI support for kernel 5.4 works so far, pending musl/math test

2022-10-21 Thread andy pugh
On Fri, 21 Oct 2022 at 01:40, Alec Ari via Emc-developers wrote: > https://mail.rtai.org/pipermail/rtai/2022-October/028319.html Which prompted me to check, and I haven't heard anything from [RTAI] since January. Apparently "Note: your list delivery is currently disabled; it was disabled due

Re: [Emc-developers] RTAI support for kernel 5.4 works so far, pending musl/math test

2022-10-21 Thread Steffen Moeller
Wow! Thank you! Steffen Am 21.10.2022 um 02:36 schrieb Alec Ari via Emc-developers: Success log: https://mail.rtai.org/pipermail/rtai/2022-October/028319.html I need to patch my RTAI repository to account for the 5.4 changes and test musl in kernel space. Intensive floating point arithmetic