- Posts: 8
- Thank you received: 0
Debugging sporadic read errors from Mesa 7i95
I get sporadic read errors from my Mesa card, and I would like ask for an advice how to debug them.
The card most of the time works fine, but when I leave linuxcnc running, after some time, from several hours to a day or two, communication stops, and I get an error similar to this:
hm2/hm2_7i95.0: error finishing read! iter=79413542
Besides showing the error and killing communication, everything else seems to work ok (LinuxCNC does not crash). During the this time system is completely idle, with screen blanked.
Card is connected directly to the ethernet port on the computer, everything is sitting on my desk in office-like conditions (no heavy EMI), all peripherals are disconnected from the board.
The card is powered from the same 5V power supply as the computer.
The system runs on AtomicPi board with Atom x5-Z8350, OS is Debian 10.6 with kernel 4.19.0-11-rt-amd64 #1 SMP PREEMPT RT, installed from live LinuxCNC image. LinuxCNC version is 2.9.0-pre0 installed from Github source.
Thank you,
p
Please Log in to join the conversation.
- BeagleBrainz
- New Member
-
- Thank you received: 0
Please Log in to join the conversation.
halcmd show all *.tmax
with LinuxCNC running and post the results along with the CPU speed?
Please Log in to join the conversation.
- BeagleBrainz
- New Member
-
- Thank you received: 0
Or would it be that the board is a little underpowered CPU wise ?
Please Log in to join the conversation.
power management that has not been disabled,
or the CPU is just slow (a 2 ms Servo thread might solve the issue)
Please Log in to join the conversation.
3A. This is more than what I received in the "full devel kit" (2.5A)BeagleBrainz wrote: What are the Amperage rating of the PSU for the Atomic Pi ?
Please Log in to join the conversation.
The PSU is more powerful than what I received in the AtomicPi devel kit. It is a bit strange, because everything worked fine under load, with all motors and peripherals runningBeagleBrainz wrote: I know from the redit forums that many people aren't using the recommended PSU for the Atomic Pi. The sellers recommend a 5v 4A supply. If the OP has a borderline PSU would this be a contributing factor to the errors he is seeing ? He does mention both the Atomic Pi & 7i95 are powered by the same supply.
Or would it be that the board is a little underpowered CPU wise ?
I'll power the board from a separate PS, and see what will happen.
Please Log in to join the conversation.
PCW wrote: Can you run this command:
halcmd show all *.tmax
with LinuxCNC running and post the results along with the CPU speed?
CPU runs at 1.68GHz. Motion runs without problems, system doesn't feel underpowered.
Here is the output from "halcmd show all *.tmax"
Please Log in to join the conversation.
PCW wrote: It could be power supply related. It could also be
power management that has not been disabled,
or the CPU is just slow (a 2 ms Servo thread might solve the issue)
Installing OS from the live LinuxCNC image I did not expect any power saving mechanisms, and cpufreqd is not even installed, but I'll try to force performance governor and see if it will help.
Please Log in to join the conversation.
- BeagleBrainz
- New Member
-
- Thank you received: 0
Please Log in to join the conversation.
