You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Similar problem here, when i run: virtme-run --name fedora --kdir ./ --mods auto --overlay-rwdir /etc --overlay-rwdir /home --overlay-rwdir /opt --overlay-rwdir /srv --overlay-rwdir /usr --overlay-rwdir /var --user giba --qemu-opts -m 4096 -smp 8 -s -qmp tcp:localhost:3636,server,nowait
I get the following error:
Traceback (most recent call last):
File "/usr/local/bin/virtme-run", line 33, in <module>
sys.exit(load_entry_point('virtme==0.1.1', 'console_scripts', 'virtme-run')())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/virtme/commands/run.py", line 649, in main
return do_it()
^^^^^^^
File "/usr/local/lib/python3.11/site-packages/virtme/commands/run.py", line 303, in do_it
kernel = find_kernel_and_mods(arch, args)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/virtme/commands/run.py", line 212, in find_kernel_and_mods
is_file_more_recent(mod_file, virtme_mod_file):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/virtme/commands/run.py", line 146, in is_file_more_recent
return os.stat(a).st_mtime > os.stat(b).st_mtime
^^^^^^^^^^
FileNotFoundError: [Errno 2] No such file or directory: './.virtme_mods/lib/modules/0.0.0/modules.dep'
Both using --defconfig and a custom config with proper flag on.
EDIT: running virtme-prep-kdir-mods seems to have fixed it for me.
I run virtme with:
Then when loading a module with modprobe, I get the error:
The text was updated successfully, but these errors were encountered: