Mesa 7i97 Watchdog has bit!

More
01 Dec 2021 20:45 #228151 by Arnold
At this point I achieved to connect and read servo encoders.
When I open Linuxcnc some times I have a message "Watchdog has bit".
I've observed that when the (Linuxcnc windows) is small, it is more stable, but if I expand or maximize the windows the problems always come up.
And red light on the car turn on
Any idea why? Thanks.
 
 


 
Attachments:

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

More
01 Dec 2021 21:19 - 01 Dec 2021 21:20 #228153 by PCW
Replied by PCW on topic Mesa 7i97 Watchdog has bit!
This means your host PC or operating system has real-time issues.
(this is expected if you still get the "using POSIX non-realtime" warning at startup)

Can you run:

latency-histogram --nobase --sbinsize 1000

and post the results here?
Last edit: 01 Dec 2021 21:20 by PCW.
The following user(s) said Thank You: Arnold

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

More
01 Dec 2021 22:22 #228156 by Arnold
Replied by Arnold on topic Mesa 7i97 Watchdog has bit!

This means your host PC or operating system has real-time issues.
(this is expected if you still get the "using POSIX non-realtime" warning at startup)

Can you run:

latency-histogram --nobase --sbinsize 1000

and post the results here?
 

 
HP Elite 8300 i5

What do you think?
Attachments:

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

More
01 Dec 2021 22:54 #228159 by Arnold
Replied by Arnold on topic Mesa 7i97 Watchdog has bit!

This means your host PC or operating system has real-time issues.
(this is expected if you still get the "using POSIX non-realtime" warning at startup)

 

I forget to said I don't get that message anymore 

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

More
01 Dec 2021 23:30 - 01 Dec 2021 23:46 #228161 by PCW
Replied by PCW on topic Mesa 7i97 Watchdog has bit!
Yes, that is unusably large latency

Have you gone through the BIOs settings and disabled all power management,
hyperthreading, Cstates > C1, AMT etc?
 
Also your CPU uses Intel MACS so you must disable IRQ coalescing
(this is described in the hm2_eth manual page)

Here is a similar CPU with all power management and AMT disabled:

 
Attachments:
Last edit: 01 Dec 2021 23:46 by PCW.
The following user(s) said Thank You: Arnold

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

More
02 Dec 2021 11:59 #228183 by Arnold
Replied by Arnold on topic Mesa 7i97 Watchdog has bit!

Yes, that is unusably large latency

Have you gone through the BIOs settings and disabled all power management,
hyperthreading, Cstates > C1, AMT etc?
 
Also your CPU uses Intel MACS so you must disable IRQ coalescing
(this is described in the hm2_eth manual page)

Here is a similar CPU with all power management and AMT disabled:

 
 

In plain words, my system is horrible
Please, can you tell me why I'm getting this message when I start, latency-histogram --nobase --sbinsize 1000
arnold@cnchp:~$  latency-histogram --nobase --sbinsize 1000
cannot gain I/O privileges - forgot 'sudo make setuid'?
Note: Using POSIX non-realtime
arnold@cnchp:~$

Using sudo latency-histogram --nobase --sbinsize 1000
arnold@cnchp:~$ sudo latency-histogram --nobase --sbinsize 1000
[sudo] password for arnold:
Refusing to run as root without fallback UID specified
To run under a debugger with I/O, use e.g.,
    sudo env RTAPI_UID=`id -u` RTAPI_FIFO_PATH=$HOME/.rtapi_fifo gdb /usr/bin/rtapi_app
waitpid failed /usr/bin/rtapi_app threads
/usr/bin/rtapi_app exited without becoming ready
insmod for threads failed, returned -1
    while executing
"hal loadrt threads name1=t_servo period1=1000000"
    ("eval" body line 1)
    invoked from within
"eval hal loadrt threads "$args""
    (procedure "start_collection" line 7)
    invoked from within
"start_collection"
    invoked from within
"if ![info exists ::LH(start)] {
  set_defaults
  config
  progress "Loading packages"
  load_packages
  signal trap SIGINT finish
  progress "Making g..."
    (file "/usr/bin/latency-histogram" line 840)
arnold@cnchp:~$

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

More
02 Dec 2021 15:04 #228189 by PCW
Replied by PCW on topic Mesa 7i97 Watchdog has bit!
This is the root of your latency issues:

cannot gain I/O privileges - forgot 'sudo make setuid'?
Note: Using POSIX non-realtime


Something is broken with your LinuxCNC installation
How did you Install LinuxCNC? (step by step)
Unless the latest LinuxCNC ISO is broken, I suspect
some installation problem
 
The following user(s) said Thank You: Arnold

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

More
06 Dec 2021 22:45 #228473 by Arnold
Replied by Arnold on topic Mesa 7i97 Watchdog has bit!

This is the root of your latency issues:

cannot gain I/O privileges - forgot 'sudo make setuid'?
Note: Using POSIX non-realtime

Something is broken with your LinuxCNC installation
How did you Install LinuxCNC? (step by step)
Unless the latest LinuxCNC ISO is broken, I suspect
some installation problem


 

Thanks very much for your reply.
I've been working on the hp elite 8300 without much luck. I've done the installation process multiple times with the same problem. I do not know if the bios security is causing such a malfunction, I tried everything with the same bad result.
I done the installation process right, that is easy and basic to do. I've done the same basic procedure on a Assus laptop i3, it never failed, never got a  ( Using POSIX non-realtime ).
This is the result of a latency test on the laptop
 
It is usable?
I'm trying to have something to  be able to make the 7i97 work and learn from this
Attachments:

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

More
06 Dec 2021 23:07 #228477 by PCW
Replied by PCW on topic Mesa 7i97 Watchdog has bit!
It may be usable but in general laptops have power management
that cannot be disabled and will often have large latency spikes
(say when you adjust the display brightness)

I don't actually see what BIOS settings could have to do with
Linux permissions, that really looks like an installation issue of some
kind on the 8300.
The following user(s) said Thank You: Arnold

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

More
07 Dec 2021 19:06 #228563 by Arnold
Replied by Arnold on topic Mesa 7i97 Watchdog has bit!

It may be usable but in general laptops have power management
that cannot be disabled and will often have large latency spikes
(say when you adjust the display brightness)

I don't actually see what BIOS settings could have to do with
Linux permissions, that really looks like an installation issue of some
kind on the 8300.

Thanks for your reply
I've been investing so many days in trying to make the 7i97 works,  I need some advice to get me out of this loop.
Here are the different options i see, perhaps there are others, please share yours opinion:
a) To forget about the 7i97, try to sell away and go back to something a have experience ie: 5i20+  7i37 etc (I have a old PC i can use with that)
b) Buy another PC, but wich one??, I would need to know something will run without so much problems, and finally be able to use the 7i97
c) Deactivate the lan on the motherboard on the 8300, and put a new PCI lan card (I do not know if it can be done on the 8300)
c) PCW, your 8300 run a 4.19.23-rt14, mine 4.19.0-18. Could I Compile e new linuxCNC on the PC, I have no experience but I can learn how to do that. It could solve the problem?

I would much appreciate any idea, so thanks in advance
PD: I have documented  the installation process on the 8300, just in case it would be worth to share and see if something was made wrong. So tell me if I should upload images of all the process, I do not like to waste others people time.




 

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

Moderators: PCWjmelson
Time to create page: 0.293 seconds
Powered by Kunena Forum