Masact File genrated file run in Linuxcnc not Work Linuxcnc Error

More
18 Mar 2024 02:27 #296167 by labheshvar
I Run Linuxcnc with Masact Generated INI File this Linuxcnc Error. please Help Any one?

Error report created by /usr/lib/tcltk/linuxcnc/show_errors.tcl:

Print file information:
RUN_IN_PLACE=no
  LINUXCNC_DIR=
LINUXCNC_BIN_DIR=/usr/bin
LINUXCNC_TCL_DIR=/usr/lib/tcltk/linuxcnc
LINUXCNC_SCRIPT_DIR=
LINUXCNC_RTLIB_DIR=/usr/lib/linuxcnc/modules
LINUXCNC_CONFIG_DIR=
LINUXCNC_LANG_DIR=/usr/lib/tcltk/linuxcnc/msgs
INIVAR=inivar
HALCMD=halcmd
LINUXCNC_EMCSH=/usr/bin/wish8.6
LINUXCNC - 2.9.2
Machine configuration directory is '/home/atul/linuxcnc/configs/dant'
Machine configuration file is 'dant.ini'
INIFILE=/home/atul/linuxcnc/configs/dant/dant.ini
VERSION=1.1
PARAMETER_FILE=parameters.var
TPMOD=
HOMEMOD=
TASK=milltask
HALUI=
DISPLAY=gmoccapy
COORDINATES=XYZAB
KINEMATICS=trivkins coordinates=XYZAB
Starting LinuxCNC...
Starting LinuxCNC server program: linuxcncsvr
Loading Real Time OS, RTAPI, and HAL_LIB modules
Starting LinuxCNC IO program: iov2
linuxcnc TPMOD=tpmod HOMEMOD=homemod EMCMOT=motmod
Found file(REL): ./main.hal
Shutting down and cleaning up LinuxCNC...
iov2: exiting
hm2: loading Mesa HostMot2 driver version 0.15
hm2_eth: loading Mesa AnyIO HostMot2 ethernet driver version 0.2
hm2_eth: ERROR: Could not retrieve hardware address (MAC) of 10.10.10.10: Resource temporarily unavailable
hm2: unloading
Removing HAL_LIB, RTAPI, and Real Time OS modules
Removing NML shared memory segments

Debug file information:
iopl() failed: Operation not permitted
cannot gain I/O privileges - forgot 'sudo make setuid' or using secure boot? -parallel port access is not allowed
Note: Using POSIX realtime
hm2_eth: rtapi_app_main: Resource temporarily unavailable (-11)
./main.hal:13: waitpid failed /usr/bin/rtapi_app hm2_eth
./main.hal:13: /usr/bin/rtapi_app exited without becoming ready
./main.hal:13: insmod for hm2_eth failed, returned -1
14194
Stopping realtime threads
Unloading hal components
iopl() failed: Operation not permitted
cannot gain I/O privileges - forgot 'sudo make setuid' or using secure boot? -parallel port access is not allowed
Note: Using POSIX realtime



Info report created by linuxcnc_info:
The file:    /tmp/linuxcnc_info.txt
can be posted to a forum or a web site like:
     pastebin.com
in order to provide information about the linuxcnc
system and configuration.

                Date: Sunday 17 March 2024 10:33:25 PM IST
            UTC Date: Sunday 17 March 2024 05:03:25 PM UTC
        this program: /usr/bin/linuxcnc_info
              uptime: 22:33:25 up 9:58, 1 user, load average: 1.81, 1.41, 1.20
     lsb_release -sa: Debian Debian GNU/Linux 12 (bookworm) 12 bookworm
            linuxcnc: /usr/bin/linuxcnc
                 pwd: /home/atul/linuxcnc/configs/dant
                USER: atul
             LOGNAME: atul
                HOME: /home/atul
              EDITOR:
              VISUAL:
            LANGUAGE: en_IN:en
                TERM: dumb
           COLORTERM:
             DISPLAY: :0.0
             DESKTOP: lightdm-xsession
        display size: 1920x1080 pixels (508x285 millimeters)
                PATH: /usr/bin:/home/atul/linuxcnc/configs/dant/bin:/usr/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games

uname items:
         nodename -n: debian
      kernel-name -s: Linux
      kernel-vers -v: #1 SMP PREEMPT_RT Debian 6.1.76-1 (2024-02-01)
          machine -m: x86_64
        processor -p: unknown
         platform -i: unknown
      oper system -o: GNU/Linux

/proc items:
             cmdline: BOOT_IMAGE=/boot/vmlinuz-6.1.0-18-rt-amd64 root=UUID=e4d5ad48-0535-4fe0-8f57-44bb296bea23 ro efi=runtime
          model name: Intel(R) Core(TM) i7-7700HQ CPU @ 2.80GHz
               cores: 4
             cpu MHz: 900.001
             parport:
              serial:

Versions:
                 gcc: gcc (Debian 12.2.0-14) 12.2.0
              python: Python 3.11.2
                 git: git version 2.39.2
          git commit: NA
                 tcl: 8.6
                  tk: 8.6
               glade: not_in_PATH

linuxcnc_var all:

     LINUXCNCVERSION: 2.9.2
LINUXCNC_AUX_GLADEVCP: /usr/share/linuxcnc/aux_gladevcp
LINUXCNC_AUX_EXAMPLES: /usr/share/linuxcnc/aux_examples
            REALTIME: /usr/lib/linuxcnc/realtime
                 RTS: uspace
          HALLIB_DIR: /usr/share/linuxcnc/hallib
              PYTHON: /usr/bin/python3

dpkg -l '*linuxcnc*':
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name                Version           Architecture Description
+++-===================-=================-============-=====================================================================
un  linuxcnc            <none>            <none>       (no description available)
un  linuxcnc-dev        <none>            <none>       (no description available)
un  linuxcnc-doc        <none>            <none>       (no description available)
ii  linuxcnc-doc-de     1:2.9.2           all          motion controller for CNC machines and robots (German documentation)
ii  linuxcnc-doc-en     1:2.9.2           all          motion controller for CNC machines and robots (English documentation)
ii  linuxcnc-doc-es     1:2.9.2           all          motion controller for CNC machines and robots (Spanish documentation)
ii  linuxcnc-doc-fr     1:2.9.2           all          motion controller for CNC machines and robots (French documentation)
ii  linuxcnc-ethercat   1.26.3.g86db9eb-0 amd64        LinuxCNC EtherCAT HAL driver
un  linuxcnc-sim        <none>            <none>       (no description available)
un  linuxcnc-sim-dev    <none>            <none>       (no description available)
ii  linuxcnc-uspace     1:2.9.2           amd64        motion controller for CNC machines and robots
ii  linuxcnc-uspace-dev 1:2.9.2           amd64        PC based motion controller for real-time Linux


 
Attachments:

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

More
18 Mar 2024 02:42 #296168 by cornholio
Look you are going to need to post the hal & ini files.

Check the address of your Mesa card, the documentation of your card contains this info, this documentation can be downloaded form the Mesa sight.
Make sure the mesa card and computer do not have the same address.
Check you cables.
Only have a cable between the mesa card and the pc no hub\switch\router or any other exotic hardware.
An USB to Ethernet device is not recommended to connect the computer & mesa card.

But the hal & ini files are important.

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

More
18 Mar 2024 03:11 #296169 by tommylight
Using MesaCT to create a config for parallel port will probably not work.
The error says no access to parallel port.

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

More
18 Mar 2024 04:10 #296173 by labheshvar
  No I connect Mesa 7i96s from by a Ethernet by Lan cable
Attachments:

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

More
18 Mar 2024 13:38 #296195 by tommylight

cannot gain I/O privileges - forgot 'sudo make setuid' or using secure boot? -parallel port access is not allowed

 


And also it looks like you have not set the networking to use the Mesa card.
forum.linuxcnc.org/27-driver-boards/3559...ethernet-mesa-boards

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

More
19 Mar 2024 04:46 #296287 by labheshvar
Thanks all sported team I try it’s but sub mask not 10.10.10.1 I set it. 255.255.255.1

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

More
19 Mar 2024 09:46 #296297 by tommylight
No, subnet mask must be 255.0.0.0 or 8 for 10..n.n.n, but it also works with 255.255.255.0 (not 1 at the end).
The following user(s) said Thank You: JT

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

Time to create page: 0.111 seconds
Powered by Kunena Forum