DSF 2.1.1 hangs on apt upgrade with no Duet connected



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



  • 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 😊


  • Moderator

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


  • administrators

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



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


  • administrators

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



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

    case closed.


Log in to reply