Watchdog has bit!

More
13 Jun 2020 04:28 #171364 by little_sparky
Hi All,

not sure if this is a Linuxcnc based error or PlasmaC but I had this watchdog has bit error come up before when I was using my machine as a router and now that I am finally running PlasmaC this error has come up again. Im not sure if its anything to do with plasmaC or just a coincidence but does anyone know how i can fix it?

Could it be an issue with my mesa card or is it definitely my computer?



Thanks in Advance
Attachments:

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

More
13 Jun 2020 04:56 #171365 by PCW
Replied by PCW on topic Watchdog has bit!
That is usually an issue with latency on the host but a few other possibilities are
1. Watchdog timeout too short
2. Some other cause of communication dropouts
3. Host PC has Intel Ethernet chip but IRQ coalescing left on

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

More
13 Jun 2020 04:59 #171366 by little_sparky
Replied by little_sparky on topic Watchdog has bit!
Okay thank you I’ll look into it.

Do I change watchdog timeout in Hal? And what should it be?

Also could it have anything to do with isolcpus?

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

More
13 Jun 2020 05:07 - 13 Jun 2020 05:10 #171368 by PCW
Replied by PCW on topic Watchdog has bit!
What is your host CPU?

isolcpus sometime helps. but not always

Normally the watchdog time is set for 5 to 50 ms if you have a 1 ms servo thread

Increasing the timeout value may avoid the watchdog biting but
just masks the real problem: You have a real time error.
Last edit: 13 Jun 2020 05:10 by PCW.

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

More
13 Jun 2020 05:15 #171370 by little_sparky
Replied by little_sparky on topic Watchdog has bit!
Dell Optiplex 990 SFF Intel Core i5 2400/3.1GHz, 4GB ram 120GB SSD WIN10

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

More
13 Jun 2020 05:22 #171371 by PCW
Replied by PCW on topic Watchdog has bit!
OK that has a Intel MAC, have you turned off IRQ coalescing?

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

More
13 Jun 2020 06:18 #171374 by little_sparky
Replied by little_sparky on topic Watchdog has bit!
I checked my /etc/network/interfaces file and it appears i have IRQ coalescing turned off.

I also looked into my interfaces.d/setup file and it looks pretty blank, should this have coalescing in it too?



I have also changed my isolcupus to isolcupus=3, i am running latency to see if this changes anything.

In this same file it has cstate=1, should this equal 0?

Files are attached.

interfaces



grub

Attachments:

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

More
13 Jun 2020 11:11 #171404 by Mike_Eitel
Replied by Mike_Eitel on topic Watchdog has bit!
You must not have eth0 and eth1 the same adress

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

More
13 Jun 2020 11:13 #171405 by little_sparky
Replied by little_sparky on topic Watchdog has bit!
Which one should I use? Or how do I know what one to use?

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

More
13 Jun 2020 11:41 - 13 Jun 2020 11:41 #171408 by Mike_Eitel
Replied by Mike_Eitel on topic Watchdog has bit!
As pcw proposed you already switched of irq on eth1 so stick to that.
Just for completeness give it a mask of 255.255.255.0.
And make a direkt cable from that port to the mesa card. Nothing in between.

And i would reconfigure eth0 to dhcp and connect to the rest of your network.
Mike
Last edit: 13 Jun 2020 11:41 by Mike_Eitel.

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

Moderators: snowgoer540
Time to create page: 0.133 seconds
Powered by Kunena Forum