arthurmco / rainos

A hobby operating system, designed for old computers
4 stars 2 forks source link

fatfs: directory listing corrupt in fat32 #7

Closed arthurmco closed 7 years ago

arthurmco commented 7 years ago

Somehow, when listing directories in a fat32 fileystem, the fatfs driver load wrong data after some cluster chains.

Might have something to do with #6.

arthurmco commented 7 years ago

Temporarily fixed this in f73d985, but need to find the real cause -- maybe it's a VMM problem? Directories and files don't seem to be corrupted.

arthurmco commented 7 years ago

Note that we don't load the whole fat, but this is more a precaution to not triggering the #6 bug. Might close this and leave #6 alone?

arthurmco commented 7 years ago

VMM bug confirmed. Closing, since FAT driver is not guilty.