-
Notifications
You must be signed in to change notification settings - Fork 112
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
Prettier report to the user when /dev/kvm is not accessible #1042
Comments
Mhm, from briefly looking at the logs, it seems the missing /dev/kvm shouldn't cause the issues. The kernel panic might be caused indirectly by missing /dev/kvm , but it generally should work. I'll try to ping Richard W.M. Jones about this. Did you mean that the warning about missing kvm should be printed even if it doesn't mean that you can't use tmt/testcloud? (Btw, even if this really turned out to be an issue libguestfs/supermin side and got fixed, it would have crashed later on anyway, I'll fix it as part of #1040 ). |
@janhavlin can you please try to run libguestfs-test-tool and post the output here? I think that should crash the same way as did the tmt run, if my assumption was correct. |
It indeed seems like it crashes in the same way. output
|
Thanks, okay, I'll write an email to Richard, I'll relay the reply here if he doesn't chime in directly. |
The problem isn't anything to do with TCG vs KVM:
This is the Fedora 34 version of libguestfs? Is it modified in some way? The dependencies seem to be missing for some reason. |
I'm not able to reproduce this with the Fedora package and all the deps look correct. Have you manually deleted
|
I'm quite certain that
Nope, same error occurs.
Uploaded the output here: supermin-output.txt |
I'm not sure I have any idea. It's copying the file into the appliance:
but why wouldn't bash then be able to load it at runtime? These problems can sometimes be caused by unexpected changes in SONAMEs of libraries (although I don't think that is the case here). Just in case I am rebuilding libguestfs for F34, can you see if the new package fixes it? |
After installing the new package, it is still failing. The output has changed but I still have no idea what's wrong. output
|
Can you try upgrading any/all of: kernel, qemu, seabios-bin and see if the problem goes away? Since Fedora 34 support ends in less than a month, I would update to Fedora 35. |
This did not help either.
I upgraded to Fedora 35 and it seems to be working now. It is possible that my Fedora 34 system was corrupted in some way. I'm closing this issue since the original note is not even correct, this wasn't related to |
When
/dev/kvm
is unavailable, the user should get a more reasonable warning.Sample error output (click to reveal)
Tagging @frantisekz please, take a look.
The text was updated successfully, but these errors were encountered: