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

    DCS Crash with 3.01-R10 / DWC 2.1.5 / DSF 2.1.1

    Scheduled Pinned Locked Moved
    Beta Firmware
    12
    132
    7.3k
    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.
    • ChrisPundefined
      ChrisP @Garfield
      last edited by

      @Garfield said in DCS Crash with 3.01-R10 / DWC 2.1.5 / DSF 2.1.1:

      More hassle than I'm in the mood for, it is clear that the RPi runs for a while, then no more connection after a time ,,,,

      Currently trying to roll back (never done it before) ... so have RPi SD card on the bench ....

      I've done this a few times now. The easiest way I've found is to remove whats there first: sudo apt remove duet* reprap*

      Then to go back you have to install the components by specifying the version for each package. This will get you back to RC9 etc: sudo apt install duetsoftwareframework=2.1.0 duetcontrolserver=2.1.0 duettools=2.1.0 duetwebcontrol=2.1.4 reprapfirmware=2.1.0-1 duetruntime=2.1.0

      1 Reply Last reply Reply Quote 0
      • Garfieldundefined
        Garfield
        last edited by

        Very much appreciate the heads up.

        Notes taken and stored ....

        1 Reply Last reply Reply Quote 0
        • jay_s_ukundefined
          jay_s_uk
          last edited by

          I just had a crash with this in the console

          Warning: Lost connection to Duet (Timeout while waiting for transfer ready pin)
          

          Don't know if its the same.
          I'm having to reboot the pi to get back in.

          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

          A Former User? 1 Reply Last reply Reply Quote 0
          • A Former User?
            A Former User @jay_s_uk
            last edited by

            @jay_s_uk said in DCS Crash with 3.01-R10 / DWC 2.1.5 / DSF 2.1.1:

            Timeout while waiting for transfer ready pin

            that would imply DCS is blaming the duet; but not a guarantee DCS isnt at fault still i guess

            1 Reply Last reply Reply Quote 0
            • jay_s_ukundefined
              jay_s_uk
              last edited by

              @bearer

              The pi has been rebooted and as soon as I try and do something, I lose all connection to the pi. I can't even SSH into it.
              Cutting power and gets it back up and running again.

              First time round, the first thing I tried to do was run my tool unlock macro and the same thing happened again

              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

              1 Reply Last reply Reply Quote 0
              • jay_s_ukundefined
                jay_s_uk
                last edited by

                Spoke too soon. The whole thing has died again.

                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

                A Former User? 1 Reply Last reply Reply Quote 0
                • Garfieldundefined
                  Garfield
                  last edited by

                  Back down at RC9 but my CPU fan is still not working correctly - really don't want to go back to RC7 but can't handle the constant noise.

                  I KNOW this fan can work correctly - has done so since RC1 .... why can't I see fan 2 on the dashboard ? (doesn't even appear in the display filter)

                  Has something changed in gcode ????

                  M308 S2 Y"mcu-temp" A"CPU"
                  M950 F2 C"!out4" A"MCU" Q32000 L5  
                  M106 P2 T40:45 H2      ; set Duet cooling fan	
                  
                  1 Reply Last reply Reply Quote 0
                  • A Former User?
                    A Former User @Garfield
                    last edited by A Former User

                    @Garfield said in DCS Crash with 3.01-R10 / DWC 2.1.5 / DSF 2.1.1:

                    More hassle than I'm in the mood for

                    you could probably ssh in, stop DuetControlServer service and run it in the foreground to try and capture any relevant debugging info. installing and using screen would pervent DCS from being terminated if the ssh session is terminated.

                    sudo apt install -y screen and then run sudo systemctl stop duetcontrolserver followed by sudo screen /opt/dsf/bin/DuetControlServer -l debug

                    1 Reply Last reply Reply Quote 0
                    • Garfieldundefined
                      Garfield
                      last edited by

                      At the time you couldn't ssh - the RPi wasn't responsive at all, if you had an SSH session open it just stopped responding.

                      I will try the screen though - what does that offer? - a non DWC web gui ?

                      A Former User? 1 Reply Last reply Reply Quote 0
                      • A Former User?
                        A Former User @jay_s_uk
                        last edited by

                        @jay_s_uk said in DCS Crash with 3.01-R10 / DWC 2.1.5 / DSF 2.1.1:

                        Spoke too soon.

                        if you've got access to console/ssh could you also run something like top and see if it spots something to suggest DCS get stuck in a loop?

                        jay_s_ukundefined 1 Reply Last reply Reply Quote 0
                        • A Former User?
                          A Former User @Garfield
                          last edited by A Former User

                          @Garfield said in DCS Crash with 3.01-R10 / DWC 2.1.5 / DSF 2.1.1:

                          I will try the screen though - what does that offer?

                          its a terminal multiplexer / window manager or sometihng like so. it achieves that dcs will keep running if you have a network glitch. if you run dcs in the foreground and ssh stops all the processes in that shell are terminated - with screen they can keep running.

                          ChrisPundefined 1 Reply Last reply Reply Quote 0
                          • Garfieldundefined
                            Garfield
                            last edited by Garfield

                            First message

                            [warn] RepRapFirmware got a bad header checksum

                            and then [screen is terminating]

                            Danalundefined 1 Reply Last reply Reply Quote 0
                            • Danalundefined
                              Danal @Garfield
                              last edited by

                              @Garfield said in DCS Crash with 3.01-R10 / DWC 2.1.5 / DSF 2.1.1:

                              [warn] RepRapFirmware got a bad header checksum

                              I was getting those when I very first setup my D3 & Pi. Firmly re-seating the ribbon cable on both ends cleared them up.

                              Delta / Kossel printer fanatic

                              1 Reply Last reply Reply Quote 0
                              • jay_s_ukundefined
                                jay_s_uk @A Former User
                                last edited by

                                @bearer said in DCS Crash with 3.01-R10 / DWC 2.1.5 / DSF 2.1.1:

                                @jay_s_uk said in DCS Crash with 3.01-R10 / DWC 2.1.5 / DSF 2.1.1:

                                Spoke too soon.

                                if you've got access to console/ssh could you also run something like top and see if it spots something to suggest DCS get stuck in a loop?

                                Terminal dies as soon as the web connection does.
                                I'll try and run DCS through the session and see what it spits out. It'll be later on though as I'm on bedtime duty now.

                                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

                                1 Reply Last reply Reply Quote 0
                                • A Former User?
                                  A Former User
                                  last edited by

                                  the only thing I could think of that with respect to DCS to complaining about the RDY pin is basically an interrupt storm which can grind the Pi to a halt. not sure if relevant though.

                                  1 Reply Last reply Reply Quote 0
                                  • Garfieldundefined
                                    Garfield
                                    last edited by Garfield

                                    Well this sucks - it's just done the same thing with RC9 ..... I had screen running at the time and it reported nothing ....

                                    [debug] Assigning filament Prusament PETG to extruder drive 0
                                    [debug] Requesting update of key boards, seq 0 -> 0
                                    [debug] Requesting update of key directories, seq 0 -> 0
                                    [debug] Requesting update of key fans, seq 0 -> 7
                                    [debug] Requesting update of key heat, seq 0 -> 7
                                    [debug] Requesting update of key inputs, seq 0 -> 0
                                    [debug] Requesting update of key job, seq 0 -> 2
                                    [debug] Requesting update of key move, seq 0 -> 30
                                    [debug] Requesting update of key network, seq 0 -> 3
                                    [debug] Requesting update of key sensors, seq 0 -> 4
                                    [debug] Requesting update of key spindles, seq 0 -> 0
                                    [debug] Requesting update of key state, seq 0 -> 1
                                    [debug] Requesting update of key tools, seq 0 -> 5
                                    [debug] Requesting update of key volumes, seq 0 -> 0
                                    [debug] IPC#2: Got new UNIX connection, checking mode...
                                    [debug] IPC#2: Subscription processor registered in Patch mode
                                    [debug] IPC#3: Got new UNIX connection, checking mode...
                                    [debug] Updated key boards
                                    [debug] IPC#3: Command processor added
                                    [debug] IPC#3: Received command AddUserSession
                                    [debug] Updated key directories
                                    [debug] Updated key fans
                                    [debug] Updated key heat
                                    [debug] Updated key inputs
                                    [debug] Updated key job
                                    [debug] Updated key move
                                    [debug] Updated key network
                                    [debug] IPC#4: Got new UNIX connection, checking mode...
                                    [debug] IPC#4: Command processor added
                                    [debug] IPC#4: Received command ResolvePath
                                    [debug] IPC#5: Got new UNIX connection, checking mode...
                                    [debug] IPC#5: Command processor added
                                    [debug] IPC#4: Connection closed
                                    [debug] IPC#5: Received command ResolvePath
                                    [debug] IPC#6: Got new UNIX connection, checking mode...
                                    [debug] IPC#5: Connection closed
                                    [debug] IPC#7: Got new UNIX connection, checking mode...
                                    [debug] IPC#6: Command processor added
                                    [debug] IPC#6: Received command ResolvePath
                                    [debug] IPC#7: Command processor added
                                    [debug] IPC#7: Received command ResolvePath
                                    [debug] IPC#6: Connection closed
                                    [debug] IPC#7: Connection closed
                                    [debug] Updated key sensors
                                    [debug] IPC#8: Got new UNIX connection, checking mode...
                                    [debug] IPC#8: Command processor added
                                    [debug] IPC#8: Received command ResolvePath
                                    [debug] IPC#8: Connection closed
                                    [debug] Updated key state
                                    [debug] Updated key tools
                                    [debug] Updated key volumes
                                    [debug] IPC#9: Got new UNIX connection, checking mode...
                                    [debug] IPC#10: Got new UNIX connection, checking mode...
                                    [debug] IPC#11: Got new UNIX connection, checking mode...
                                    [debug] IPC#10: Command processor added
                                    [debug] IPC#9: Command processor added
                                    [debug] IPC#11: Command processor added
                                    [debug] IPC#9: Received command ResolvePath
                                    [debug] IPC#10: Received command ResolvePath
                                    [debug] IPC#11: Received command ResolvePath
                                    [debug] Requesting update of key job, seq 2 -> 3
                                    [debug] Requesting update of key move, seq 30 -> 31
                                    [debug] IPC#9: Connection closed
                                    [debug] IPC#11: Connection closed
                                    [debug] IPC#10: Connection closed
                                    [debug] Updated key job
                                    [debug] Updated key move
                                    [debug] IPC#12: Got new UNIX connection, checking mode...
                                    [debug] IPC#12: Subscription processor registered in Patch mode
                                    [debug] IPC#13: Got new UNIX connection, checking mode...
                                    [debug] IPC#13: Command processor added
                                    [debug] IPC#13: Received command ResolvePath
                                    
                                    

                                    I feel the need for a compatibility matrix for the 3 main components - which versions of RRF work wich versions of DWC.

                                    I'd like to help the team figure this out but I haven't a clue where to start and I need the printer at least 'functional' even if there are known issues. Right now it isn't even functional.

                                    I'm using a 4 Gig RPi 4 if it is worth anything (yes I know its OTT) ...

                                    A Former User? 1 Reply Last reply Reply Quote 0
                                    • A Former User?
                                      A Former User @Garfield
                                      last edited by

                                      @Garfield said in DCS Crash with 3.01-R10 / DWC 2.1.5 / DSF 2.1.1:

                                      Well this sucks - it's just done the same thing with RC9 ..... I had screen running at the time and it reported nothing ....

                                      unfortunate, but still probably still helpfull for chrishamm. what happened to the ssh session timed out after a while or was it terminated immediately?

                                      1 Reply Last reply Reply Quote 0
                                      • Garfieldundefined
                                        Garfield
                                        last edited by

                                        Terminated immediately ...

                                        A Former User? 1 Reply Last reply Reply Quote 0
                                        • ChrisPundefined
                                          ChrisP @A Former User
                                          last edited by

                                          @bearer said in DCS Crash with 3.01-R10 / DWC 2.1.5 / DSF 2.1.1:

                                          @Garfield said in DCS Crash with 3.01-R10 / DWC 2.1.5 / DSF 2.1.1:

                                          I will try the screen though - what does that offer?

                                          its a terminal multiplexer / window manager or sometihng like so. it achieves that dcs will keep running if you have a network glitch. if you run dcs in the foreground and ssh stops all the processes in that shell are terminated - with screen they can keep running.

                                          It's not a network glitch. When it happens it tends to take out the entire Pi. Completely. So using screen isn't going to help. I've managed to get the network to stay up about 3 or 4 times out of 40 or so crashes, in which case screen isn't needed as you can still issue commands.... everything just takes an age to respond. But yeh, as soon as the SSH connection goes a power cycle is the only fix.

                                          @Garfield said in DCS Crash with 3.01-R10 / DWC 2.1.5 / DSF 2.1.1:

                                          Well this sucks - it's just done the same thing with RC9 ..... I had screen running at the time and it reported nothing ....

                                          That sucks. It's only been RC10 that I've had this issue on. To the extent that the first time it happened I went and checked to see if my router had died.

                                          A Former User? 1 Reply Last reply Reply Quote 0
                                          • A Former User?
                                            A Former User @Garfield
                                            last edited by A Former User

                                            @Garfield said in DCS Crash with 3.01-R10 / DWC 2.1.5 / DSF 2.1.1:

                                            Terminated immediately ...

                                            thats interesting; it means the cpu is able to relatively cleanly terminate the session as opposed to just freezing; although it doesn't help you. see below for correction.

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