Git Product home page Git Product logo

Comments (6)

luukp avatar luukp commented on July 28, 2024 2

I am also having this issue. Possibly the documentation should be updated to state that drag and drop isn't supported on Linux? I'm assuming that this will affect chromebooks as well, which kind of seems like the primary use case.

As this is likely to be a bug with the EV3 firmware, rather than a problem with makecode itself, should it be raised with Lego to be resolved?

from pxt-ev3.

erwroth avatar erwroth commented on July 28, 2024 1

Same problem here on a Raspberry Pi 400 with Raspbian GNU/Linux 10.Would be great for teaching if this problem could be fixed soon!

Doing a fsck file system-check after rebooting the EV3 shows the following:

root@raspberrypi:/# fsck.fat  /dev/sda
fsck.fat 4.1 (2017-01-24)
0x25: Dirty bit is set. Fs was not properly unmounted and some data may be corrupt.
1) Remove dirty bit
2) No action
? 1
/EV3
  Contains a free cluster (782). Assuming EOF.
/dmesg.txt
  File size is 131072 bytes, cluster chain length is > 131072 bytes.
  Truncating file to 131072 bytes.
/Projects
  "." is missing. Can't fix this yet.
/Projects
  ".." is missing. Can't fix this yet.

from pxt-ev3.

JakubVanek avatar JakubVanek commented on July 28, 2024

Snapshot of the raw contents of the emulated USB drive: ev3fs.zip

from pxt-ev3.

JakubVanek avatar JakubVanek commented on July 28, 2024

This seems to be a problem with the Projects folder only. If I remove all files from the BrkProg_SAVE directory, the folder disappears and there are no more errors while mounting.

from pxt-ev3.

JakubVanek avatar JakubVanek commented on July 28, 2024

The issue can be reproduced with https://github.com/microsoft/uf2-linux/, so it is not specific to EV3.
With the following directory map, the same errors occur via NBD.

struct DirMap dirMaps[] = { //
    {"Uf2Dir", "/home/kuba/uf2", F_UF2},
    {NULL, NULL, 0}};

from pxt-ev3.

tentator avatar tentator commented on July 28, 2024

same here :(

lots of kernel: FAT-fs errors, first this:

    error, corrupted directory (invalid entries)  
    Filesystem has been set read-only

and then lots of these at each access:

    error, fat_get_cluster: invalid cluster chain (i_pos 0)

but it seems I cannot see the drive in windows as well and do not see the ev3 in the firmware upgrade tool anymore (otherwise I'd try to downgrade it for instance)..

I also found this alternative explanation/root cause so far: https://serverfault.com/questions/331779/how-do-i-debug-this-fs-error-on-a-flash-device

anyone has some progress on this?

from pxt-ev3.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.