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

    DSF 2.1.1 hangs on apt upgrade with no Duet connected

    Scheduled Pinned Locked Moved Solved
    Beta Firmware
    3
    7
    228
    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.
    • A Former User?
      A Former User
      last edited by

      Or more specifically upgrading DFS hangs when upgrading the reprapfirmware package.

      Unpacking duetcontrolserver (2.1.1) over (2.1.0) ...
      Preparing to unpack .../5-duetruntime_2.1.1_armhf.deb ...
      Unpacking duetruntime (2.1.1) over (2.1.0) ...
      Setting up duetruntime (2.1.1) ...
      Setting up duetwebcontrol (2.1.5) ...
      Setting up duetcontrolserver (2.1.1) ...
      Installing new version of config file /opt/dsf/conf/config.json ...
      Setting up duettools (2.1.1) ...
      Setting up reprapfirmware (2.1.1-1) ...
      
      Progress: [ 84%] [################################################..........]
      

      ps shows

       1267 ?        Ss     0:00 /usr/bin/dpkg --status-fd 22 --configure --pending
       1284 ?        S      0:00 /bin/sh /var/lib/dpkg/info/reprapfirmware.postinst co
       1286 ?        Sl     0:14 /opt/dsf/bin/DuetControlServer -u
      

      killing DCS was only way to proceed, a reasonable timeout for the update process may be needed?

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

        D'oh, this is admittedly a bit of an edge case, borderline corner case.

        The update hangs because the Pi thinks it has a Duet connected, but it is just two lonely jumpers across RDY/CS and MISO/MOSI after the loopback testing.

        Still, a reasonable timeout should be implemented given that another RRF update could break compatibility with DFS updates in the future causing a legitimate hang.

        On the bright side distinguisng between the different states of SPI problems are now much easier when looking at he DCS output so thats good 😊

        Phaedruxundefined 1 Reply Last reply Reply Quote 0
        • Phaedruxundefined
          Phaedrux Moderator @A Former User
          last edited by

          @bearer said in DSF 2.1.1 hangs on apt upgrade with no Duet connected:

          The update hangs because the Pi thinks it has a Duet connected, but it is just two lonely jumpers across RDY/CS and MISO/MOSI

          That's the saddest thing I've heard all day.

          Z-Bot CoreXY Build | Thingiverse Profile

          1 Reply Last reply Reply Quote 0
          • chrishammundefined
            chrishamm administrators
            last edited by

            OK, I must admit I have not tested this particular use-case yet 😂

            Duet software engineer

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

              @chrishamm said in DSF 2.1.1 hangs on apt upgrade with no Duet connected:

              OK, I must admit I have not tested this particular use-case yet 😂

              fair enough .. but wouldn't the change that caused RC6 and RC7 to not upgrade though DCS share the same fate?

              if not then ignore ofc.

              chrishammundefined 1 Reply Last reply Reply Quote 0
              • chrishammundefined
                chrishamm administrators @A Former User
                last edited by

                @bearer The latest DCS version only asks for the information it really needs for an update (i.e. the boards key) to avoid potential incompatibilities.

                Duet software engineer

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

                  gotcha, i thought it was a bigger change to the protocol on top of the spi bus.

                  case closed.

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