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

    Crashes during printing - "SPI connection has been reset".

    Scheduled Pinned Locked Moved
    General Discussion
    4
    24
    1.5k
    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.
    • T3P3Tonyundefined
      T3P3Tony administrators @jbjhjm
      last edited by

      @jbjhjm I mean are you running the Pi headless and connecting via a network interface on the Pi to the webserver, or do you have a screen connected to a pi and running DWC in a browser on the Pi?

      www.duet3d.com

      jbjhjmundefined 1 Reply Last reply Reply Quote 0
      • jbjhjmundefined
        jbjhjm @T3P3Tony
        last edited by

        @t3p3tony ah now I get you. It's both, the pi has a permanently attached screen, and I often access DWC through network too for more complex tasks and if I'm not in the same room.

        1 Reply Last reply Reply Quote 0
        • jbjhjmundefined
          jbjhjm
          last edited by jbjhjm

          ok it seems that the pi's network connection has again crashed just a few minutes ago; it's still listed in the routers active devices list, responds to pings, but DWC does not load anymore. The print is still being executed though.
          So I checked what happened on the touch panel: Chrome displayed a white page + a note that it has crashed and if it should reload.
          Now this is weird: I dismissed that message, exited fullscreen and then saw another instance of Chrome running below the crashed instance!
          I have no clue why it is there. I did not tweak the startup routine provided by duetPi.
          After closing the crashed chrome window, it seems that the network connection was recreated too...
          Nothing really useful in journal (re-enabled logging hoping to hunt down networking issues). Just way too many network connection losses and reconnects. This is related to the bad wifi that I still have to improve. Disallowed auto-switching frequency bands and 2.4/5Ghz, hopefully that will make the connection a bit more robust.

          T3P3Tonyundefined 1 Reply Last reply Reply Quote 0
          • T3P3Tonyundefined
            T3P3Tony administrators @jbjhjm
            last edited by

            @jbjhjm I hope @chrishamm has some ideas about what to look for in the logs as a cause of this.

            www.duet3d.com

            jbjhjmundefined 1 Reply Last reply Reply Quote 0
            • jbjhjmundefined
              jbjhjm @T3P3Tony
              last edited by

              @t3p3tony when my next print is completed I'll do a full restart and check chrome status right after, if two instances are running and such.
              If someone can point me into the right direction for finding the duetPi startup script, I'll check if there's anything unusual going on.

              Attached bootlog.txt by the way.
              Don't know enough about raspi + linux to spot anything useful unfortunately.

              jbjhjmundefined 1 Reply Last reply Reply Quote 0
              • jbjhjmundefined
                jbjhjm @jbjhjm
                last edited by

                The duplicate chromium seems to be related to beta5.
                Just did a full restart and the screen showed a crashed chromium window right away.
                This has never happened before so I'm quite sure it has to do with beta5.
                Opened a but report to discuss this separately.
                https://forum.duet3d.com/topic/25542/3-4-b5-bug-chromium-crashes-on-startup-sbc

                T3P3Tonyundefined 1 Reply Last reply Reply Quote 0
                • T3P3Tonyundefined
                  T3P3Tony administrators @jbjhjm
                  last edited by

                  @jbjhjm its not really crashed as such as I outlined in the other thread, rather its showing that chrome was not shutdown properly. I will leave discussion of that to the tother thread, but the huge number of chrome tasks is unusual and I am not seeing those.

                  www.duet3d.com

                  jbjhjmundefined 1 Reply Last reply Reply Quote 0
                  • jbjhjmundefined
                    jbjhjm @T3P3Tony
                    last edited by

                    @t3p3tony chrome shutdown/crash is fixed by the solution proposed in other topic!
                    About the number of processes, that's my fault. I just noticed that htop was showing not only processes but every thread too. I do still see a dozen processes but that is not unusual for chrome.

                    a9b58230-96a3-475c-9b3d-fbdcf8a3d1f6-image.png

                    T3P3Tonyundefined 1 Reply Last reply Reply Quote 0
                    • T3P3Tonyundefined
                      T3P3Tony administrators @jbjhjm
                      last edited by

                      @jbjhjm ok, so we still need to see if you have SPI disconnect errors now.

                      www.duet3d.com

                      jbjhjmundefined 1 Reply Last reply Reply Quote 0
                      • jbjhjmundefined
                        jbjhjm @T3P3Tony
                        last edited by

                        @t3p3tony I will let you know if anything new occurs. Maybe b5 and the tweaked raspi settings helped to make it go away. As the error did not occur often in the past, I'll continue and observe for some days.

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