-
Notifications
You must be signed in to change notification settings - Fork 85
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
Quickstart's vmcloak init
gets "cannot find card '0'" by ALSA lib
#183
Comments
Hey @prantoran Your real issue lies in image creation and setting up vnc. Your port is already in use. Can you expand on this issue?
|
I was running the quickstart script inside KVM-Ubuntu22 VM that is running in Ubuntu 24.04 with a proxy, so probably that lead to slower internet and cause git clones to terminate. So, I downloaded the repos first and setup locally. Eg.
|
Interesting. Thank you for the summary. We might be able to improve a few things based on that. Did you manage to fix the port in use issue? |
I'm also having the same problem with the audio card, but I'm running the Ubuntu 22.04 on bare metal, so it's not "VM shenanigans". Besides that, my ALSA version is older, as my kernel is still 5.15.0, per the latest release on Ubuntu 22.04-LTS (Jammy Jellyfish).
I reckon I didn't do |
@LM-CT It does not affect any functionality so this is a low priority issue, but I will keep it open. We have experimented changing vmcloak parameters in code to silence the notifications about missing card and it had some success. But it needs a proper fix. |
Yeah, I agree, low priority. The use cases for having sound on a malware analysis sandbox are low to nonexistent, haha |
Hi now I'm stuck with this I have waited 15-20 min and still nothing i don't know how long should I wait or do smthg |
The ALSA errors are at most annoying but do not interfere with VM creation in any way. The process can take up to an hour, depending on your hardware. You know when its stuck when terminal does not take input like enter key. It can happen when virtualbox encounters a fatal error underneath(can happen with certain kernel versions and virtualbox 7) and then it becomes unresponsive(use top/htop to see if cpu usage has dropped dramatically) 2 cpu and 4gb ram Vagrant toon me on average 45 minutes. |
Describe the bug
I am getting the errors "cannot find card '0' ... Could not initialize DAC ... Failed to open `default': ... Reason: No such file or directory" from ALSA lib.
Most likely my sound card is not up, so is there a way to turn off the dependency on ALSA?
To Reproduce
I tried to two different environments and got the same error in both cases:
There were other modifications in the script to bypasee git clone issues such as cloning the dependency packages first and then pip installing from local directory.
Host's sound card details:
Expected behavior
This is the first time for me trying out Cuckoo3! 😎 so not sure whether I am on the right path. I searched online and found that we should assign
--cpu
tohost
toqemu-system-x86_64
link but I think there is no corresponding flag forvmcloak init
.** My Cuckoo version and operating system are::**
Cuckoo 3.0.1, Ubuntu 22.04
The log, error, files etc can be found at:
The text was updated successfully, but these errors were encountered: