On 7/27/22 10:25, Thomas J Powderly wrote:
congrats on the fix Jon
tomp
Well, the problem is that the /usr/share/misc/pci.ids file
in the LinuxCNC 2.8.2 distro has missing info.
It would be good to get this fixed and re-issue the distro.
Jon
On 7/27/22 00:13, Alec Ari via Emc-developers wrote:
I have solved one issue with the LinuxCNC 2.8.2
distribution, relating to at least the NetMos MCS9900 chip.
Here are the details:
The file /usr/share/misc/pci.ids has no entry for the
vendor:product IDs 9710:9900. This apparently causes
CONFIG_X86_IOPL_IOPERM was disabled. This is enabled by default in Debian, I
was running a custom kernel on Debian and didn't check the GRUB boot order. If
this switch ever gets disabled or disappears in the kernel though, LinuxCNC
will not function. IOPERM and IOPL is considered legacy, but
I just grepped in /boot/config* and can confirm that a default 5.18
kernel in Debian has it enabled.
Am 25.07.2022 um 11:44 schrieb Rod Webster:
From what I can see,
CONFIG_X86_IOPL_IOPERM should be enabled in the kernel by default
From what I can see,
CONFIG_X86_IOPL_IOPERM should be enabled in the kernel by default
https://github.com/torvalds/linux/blob/master/arch/x86/Kconfig#L1248
Rod Webster
*1300 896 832*
+61 435 765 611
Vehicle Modifications Network
www.vehiclemods.net.au
On Mon, 25 Jul 2022 at 19:18, andy pugh
On Mon, 25 Jul 2022 at 05:37, Alec Ari via Emc-developers
wrote:
> Having CONFIG_X86_IOPL_IOPERM disabled was the problem, took me a bit to
> figure it out.
Is that the case in the officially distributed preempt kernels? If so,
then we might have a problem looming.
--
atp
"A motorcycle is a
udev rules?
Den 2022-07-24 kl. 05:22, skrev Alec Ari via Emc-developers:
I get the same error on Debian with both iopl and ioperm function tests... Not
sure how LinuxCNC is working anymore on anything..
Alec
___
Emc-developers mailing list
Hi Alec, understood ( forgetabout ARM RTAI)
I can put Gentoo on an unused partition of my AMD box
becuz its more inmyface and would get more attention
Good to hear the permissions problem is fixed & understood.
thanks again
tomp
___
Hi Andy,
Having CONFIG_X86_IOPL_IOPERM disabled was the problem, took me a bit to figure
it out.
Hi Tom,
5.19-rc7-rt7 was the kernel version (PREEMPT_RT linux-rt-devel git sources,
custom kernel on Gentoo, amd64 architecture) RTAI on ARM hasn't been touched
since around 2011 (at least in
On Sun, 24 Jul 2022 at 04:11, Alec Ari via Emc-developers
wrote:
> cannot gain I/O privileges - forgot 'sudo make setuid' or using secure boot?
> -parallel port access is not allow
Is your user part of the lpadmin group?
Or maybe another of these is relevant?
andypugh@rm-one:~$ groups
On 7/24/22 08:18, Thomas J Powderly wrote:
Hi Alec
I am trying to follow your work...
I think it is to make an RTAI for LinuxCNC to work in, with a better
environment/system than Debian/Ubuntu.
correct so far?
This was a just a project to create an ebuild of LCNC for Gentoo.
Gentoo
Hi Alec
I am trying to follow your work...
I think it is to make an RTAI for LinuxCNC to work in, with a better
environment/system than Debian/Ubuntu.
correct so far?
I think your custom kernel is built on
5.18.2-1~bpo11+1
which I could try on this box ( Pentium(R) Dual-Core CPU
I ran `uname -r` after the iopl and ioperm example tests failed and saw it
booted my custom Debian kernel.. I reboot, select the Debian 5.18 bpo
(backported) kernel and the tests return:
status: 255
So I thought OK... Either something changed between 5.18 and 5.19 or I'm
missing something in
I get the same error on Debian with both iopl and ioperm function tests... Not
sure how LinuxCNC is working anymore on anything..
Alec
___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
The example code I pasted earlier didn't compile, and I made a few changes.
/*
* iopl.c: very simple example of port I/O
*
* This code does nothing useful, just a port write, a pause,
* and a port read. Compile with `gcc -O2 iopl.c -o iopl.o',
* and run as root with `./iopl.o'.
*/
#include
Hey everyone,
I've been at this all day and I'm stuck.. I run `sudo make setuid` after
compiling LinuxCNC master branch and then I run latency-test and then I get
this error (the latency-test window still comes up):
cannot gain I/O privileges - forgot 'sudo make setuid' or using secure boot?
16 matches
Mail list logo