• Tags
  • Documentation
  • Order
  • Register
  • Login
Duet3D Logo Duet3D
  • Tags
  • Documentation
  • Order
  • Register
  • Login

Duet 3 with RPi4 random crashes

Scheduled Pinned Locked Moved
General Discussion
5
9
369
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • undefined
    baua1024
    last edited by 9 Jan 2022, 21:53

    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.txt

    I'm glad for any help. Thanks!

    undefined 1 Reply Last reply 9 Jan 2022, 21:57 Reply Quote 0
    • undefined
      rjenkinsgb @baua1024
      last edited by 9 Jan 2022, 21:57

      @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.

      Robert J.

      Printers: Overlord pro, Kossel XL+ with Duet 6HC and "Frankentron", TronXY X5SA Pro converted to E3D toolchange with Duet 6HC and 1LC toolboards.

      undefined 1 Reply Last reply 9 Jan 2022, 22:21 Reply Quote 0
      • undefined
        baua1024 @rjenkinsgb
        last edited by 9 Jan 2022, 22:21

        @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?

        undefined undefined 2 Replies Last reply 10 Jan 2022, 20:33 Reply Quote 0
        • undefined
          Phaedrux Moderator @baua1024
          last edited by 10 Jan 2022, 20:33

          @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.

          Z-Bot CoreXY Build | Thingiverse Profile

          1 Reply Last reply Reply Quote 0
          • undefined
            jay_s_uk @baua1024
            last edited by 10 Jan 2022, 21:24

            @baua1024 i believe the pi zero 2 w is powerful enough

            Owns various duet boards and is the main wiki maintainer for the Teamgloomy LPC/STM32 port of RRF. Assume I'm running whatever the latest beta/stable build is

            undefined 1 Reply Last reply 11 Jan 2022, 18:41 Reply Quote 0
            • undefined
              baua1024 @jay_s_uk
              last edited by 11 Jan 2022, 18:41

              @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 ๐Ÿ™‚

              1 Reply Last reply Reply Quote 1
              • undefined
                baua1024
                last edited by 1 Feb 2022, 23:36

                @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!

                undefined 1 Reply Last reply 1 Feb 2022, 23:57 Reply Quote 0
                • undefined
                  oozeBot @baua1024
                  last edited by oozeBot 2 Jan 2022, 23:58 1 Feb 2022, 23:57

                  @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

                  undefined 1 Reply Last reply 2 Feb 2022, 00:08 Reply Quote 0
                  • undefined
                    baua1024 @oozeBot
                    last edited by 2 Feb 2022, 00:08

                    @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.

                    1 Reply Last reply Reply Quote 0
                    • First post
                      Last post
                    Unless otherwise noted, all forum content is licensed under CC-BY-SA