Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

create ioctl on diskimage failed: Device or resource busy #23

Open
Claxl opened this issue Nov 14, 2024 · 1 comment
Open

create ioctl on diskimage failed: Device or resource busy #23

Claxl opened this issue Nov 14, 2024 · 1 comment

Comments

@Claxl
Copy link

Claxl commented Nov 14, 2024

Issue Summary

I'm experiencing two errors when attempting to build the Linux vanilla sd_card.img using colcon on my workstation. These errors occur under different conditions:

  • First Execution after Booting:
    • Error message: mount: /tmp/sdcard_img_p1: overlapping loop device exists for /home/claudio/krs_ws/acceleration/firmware/kv260/sd_card.img.
    • Outcome: The sd_card.img is generated correctly, but this error appears.
  • Subsequent Executions:
    • Error message: device-mapper: create ioctl on diskimage failed: Device or resource busy. Command failed.
    • Outcome: The command fails to create the sd_card.img on subsequent attempts after the initial successful build.

Environment

Host OS: Ubuntu 22.04 (on a partitioned SSD)
Working Directory: ~/krs_ws
Command: colcon acceleration linux vanilla --install-dir install-kr260
Using: KRS
@Claxl
Copy link
Author

Claxl commented Nov 14, 2024

First Error:
1

Second Error:
2

More info on my env:

 ROS2` humble
 rmw_cyclonedds as DDS

I have followed the KRS setup tutorial and the KR260 workaround.
My question are:

Is it still possible to use the sd_card.img?
Is there a workaround for not rebooting every build?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant