0xricksanchez / like-dbg

Fully dockerized Linux kernel debugging environment
MIT License
732 stars 58 forks source link

In certain cases building the rootfs fails due to failing loop device mount #61

Closed 0xricksanchez closed 2 years ago

0xricksanchez commented 2 years ago

Describe the bug

Creating the rootfs can fail in unknown cases when mounting the loop device runs into an unknown problem:

mount: /mnt/rootfs: failed to setup loop device for /io/filesystem-x86_64.

This has been observed on a Manjaro and Fedora36 system.

To Reproduce

  1. It happened to me once in a freshly set up Fedora36 system after following the usage-section in the README
  2. After deleting the broken filesystem and re-running start_kgdb.py with no changes to the config.ini root file system creation worked for me again.

Expected behavior

0xricksanchez commented 2 years ago

Closing this for now as it never happened again since it was first observed.