-
Notifications
You must be signed in to change notification settings - Fork 67
Description
The error occurs during the FireMarshal build of the fedora-base workload. After successfully loading the configuration and preparing the Fedora root filesystem image, the process attempts to apply the overlay. Early in the log, there is a warning:
DEBUG: Failed checking if running in CYGWIN due to: FileNotFoundError(2, 'No such file or directory').
This indicates that FireMarshal tried to detect a CYGWIN environment but could not find the relevant file or directory. While this warning does not halt the build, it may signal missing dependencies or an incomplete environment setup.
The main failure happens when FireMarshal tries to mount the generated fedora-base.img using a loop device to apply the overlay. The mount command fails with the message:
mount: .../disk-mount: wrong fs type, bad option, bad superblock on /dev/loopXX, missing codepage or helper program, or other error.
The logs confirm that the image file is being treated as corrupted or invalid at the mounting stage, likely due to a problem with the image creation or an incompatibility with the expected filesystem type. The error is reproducible and occurs after several overlay and dependency steps, specifically at the point of mounting the .img file for overlay application.
"../../../firesim/sw/firesim-software/images/firechip/fedora-base" The .img file in this path seems to be corrupted while building.