• Tags
  • Documentation
  • Order
  • Register
  • Login
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
    last edited by 25 Apr 2020, 13:31

    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
      last edited by 25 Apr 2020, 13:37

      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 😊

      undefined 1 Reply Last reply 25 Apr 2020, 17:31 Reply Quote 0
      • undefined
        Phaedrux Moderator @A Former User
        last edited by 25 Apr 2020, 17:31

        @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
        • undefined
          chrishamm administrators
          last edited by 25 Apr 2020, 17:37

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

          Duet software engineer

          ? 1 Reply Last reply 25 Apr 2020, 18:10 Reply Quote 0
          • ?
            A Former User @chrishamm
            last edited by 25 Apr 2020, 18:10

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

            undefined 1 Reply Last reply 25 Apr 2020, 18:13 Reply Quote 0
            • undefined
              chrishamm administrators @A Former User
              last edited by 25 Apr 2020, 18:13

              @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
                last edited by 25 Apr 2020, 18:14

                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
                2 out of 7
                • First post
                  2/7
                  Last post
                Unless otherwise noted, all forum content is licensed under CC-BY-SA