Duet 3 with RPi4 random crashes
-
Hi smart folks
I built a new CoreXY printer rocking a Duet3 Mainboard, Toolboard, and PanelDue7i. RRF and DWC are on 3.3. In the beginning I had random crashes of DWC or DCS and sometimes my print simply went to 100% although it stopped somewhere in the middle. Sometimes it was a SPI timeout in the log. On all occasions the RP was always still running and reachable via SSH.I did check the SPI connection of the pi and the ribbon cable with the help of an old forum post and they seemed okay. I then replaced the SD card and it looked like it solved the issues. I did not have any crashed during prints anymore since then but now the PI crashes randomly after a print has finished. This time completely so no SSH available either until a reboot. I copied the logfiles i could get from the pi to the post. The crash started with this (I assume):
Jan 9 21:17:01 RatRig CRON[1795]: (root) CMD ( cd / && run-parts --report /etc/cron.hourly)
Jan 9 21:18:31 RatRig kernel: [11242.248611] mmc1: Timeout waiting for hardware interrupt.I'm running mjpeg streamer to transmit the usb webcam signal to the DWC but I can't tell if that's the crash reason and I'm slowly running out of ideas.
config.g
rpi log.txtI'm glad for any help. Thanks!
-
@baua1024
The last machine Duet machine I built had all sorts of erratic problems; I came to the conclusions it was a memory fault in the Pi.I got another one and it has been flawless from day one.
The supplier is going to exchange the faulty one.
I've lost count of the number of Raspberry Pi's if used over the years & this is the first one I've had with a fault; they are pretty good, but obscure problems can still get past the quality testing.
-
@rjenkinsgb The retailer I bought it from is out of stock of RP 3/4 so I suppose a swap will take some time. The Pi Zero I suppose is not capable enough for the Job right?
-
@baua1024 said in Duet 3 with RPi4 random crashes:
The Pi Zero I suppose is not capable enough for the Job right?
It's not recommended.
-
@baua1024 i believe the pi zero 2 w is powerful enough
-
@jay_s_uk Unfortunately this is also sold out everywhere. I contacted the retailer and they will send me a new pi4 as soon as they have on stock for me to test it. I will let you guys know if it helped
-
@baua1024 So i am running the replacement PI for about two weeks now and everything runs fine now except a complete raspberry pi crash. I could trace this back to the MJPG-Streamer that turns my USB Webcam into an HTTP Image for the DWC. Whenever I watch the stream too long the pi completely crashes. If I don't do that it prints fine for hours and hours and hours...
But this case can be closed
Thanks again for the help! -
@baua1024 Iโd recommend disabling WiFi power save on the RPi as well as making certain your 5v power supply isnโt the culprit as you mentioned a webcam, which I assume is also powered through the RPi. Weโve witnessed both cases make an RPi become unresponsive.
https://forum.duet3d.com/topic/25950/psa-disable-rpi-wifi-power-save/1
-
@oozebot Thanks for the Hint but unfortunately I already switched off Power Management. The RPi is connected to a 6.5A PSU that also powers the LED strips in the printer. Since these are not drawing more than 2A(Measured) there should be plenty of power left. I will try another streamer to see if it makes a difference.