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

Lost files on 2.0RC5 upgrade

Scheduled Pinned Locked Moved
Firmware installation
2
7
951
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.
  • undefined
    daveidmx
    last edited by daveidmx 30 May 2018, 02:28

    I updated from 1.21 to 2.0RC5, and when the device rebooted it looks like I'm missing a bunch of files from /sys. According to my backup, I had 72 files beforehand, and there are 48 now.

    Is there any information I can provide now after the fact to investigate?

    <edit>
    I think my issue is at least partially (if not fully) explained by this comment:
    https://forum.duet3d.com/topic/5394/new-firmware-2-0rc5-available/30
    There's one remaining concern though. (See below.)
    </edit>

    1 Reply Last reply Reply Quote 0
    • undefined
      daveidmx
      last edited by daveidmx 30 May 2018, 02:50

      Pulled the SD card and put it in a reader. Confirmed that the files don't appear under Windows either.

      I ran Windows chkdsk on the volume. Afterwards I did a comparison between my backup and the recovered volume, and it looks like chkdsk was able to recover everything. So it seems like filesystem corruption for sure, and of a recoverable variety. Hopefully that will give you an idea of what's going on.

      Let me know if you want this disk image and I'll PM you a link.

      PS C:\Users\David> chkdsk d:
      The type of the file system is FAT32.
      Volume Serial Number is 13A9-FA3E
      Windows is verifying files and folders...
      File and folder verification is complete.
      Windows found errors on the disk, but will not fix them
      because disk checking was run without the /F (fix) parameter.
      Convert lost chains to files (Y/N)?

      1 Reply Last reply Reply Quote 0
      • undefined
        daveidmx
        last edited by 30 May 2018, 03:04

        This post is deleted!
        1 Reply Last reply Reply Quote 0
        • undefined
          daveidmx
          last edited by 30 May 2018, 04:27

          This post is deleted!
          1 Reply Last reply Reply Quote 0
          • undefined
            daveidmx
            last edited by daveidmx 30 May 2018, 05:25

            This post is deleted!
            1 Reply Last reply Reply Quote 0
            • undefined
              daveidmx
              last edited by daveidmx 30 May 2018, 05:43

              I did a full, fresh format, copied all the files back, and booted up. DWC still shows some files as missing. (Alphabetically the last ones, now, more or less.)

              However I was able to do an "M98" to run one of the macros that does not appear in DWC, and that macro executed successfully. So it would seem that the part of the system does in fact know about and can read those "missing" files just fine!

              I suspect dc42's comment here explains some of the symptoms I was seeing:
              https://forum.duet3d.com/topic/5394/new-firmware-2-0rc5-available/30

              My remaining concern is that the files were initially missing in Windows too, before running chkdsk. Is it possible that the reduced buffer sizes might cause directories to get truncated when they're written out?

              I will pull up my pre-repaired image to make sure I'm not misremembering.

              1 Reply Last reply Reply Quote 0
              • undefined
                dc42 administrators
                last edited by 30 May 2018, 06:54

                The reduced buffer sizes apply only to output sent to DWC, USB and PanelDue - not to the file write buffers.

                Duet WiFi hardware designer and firmware engineer
                Please do not ask me for Duet support via PM or email, use the forum
                http://www.escher3d.com, https://miscsolutions.wordpress.com

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