# cd android-cuttlefish
# tools/buildutils/build_packages.sh
# sudo dpkg -i ./cuttlefish-base_*_*64.deb || sudo apt-get install -f
# sudo dpkg -i ./cuttlefish-user_*_*64.deb || sudo apt-get install -f
# sudo usermod -aG kvm,cvdnetwork,render $USER
This is what happened :
aresuser@jetson:~/Scrivania/Android/android-image$ HOME=$(pwd) ./bin/launch_cvd -report_anonymous_usage_stats=n --start_webrtc=false
09-18 23:17:33.233 8190 8190 I launch_cvd: main.cc:235 Using system_image_dir of:
===================================================================
NOTICE:
By using this Android Virtual Device, you agree to
Google Terms of Service (https://policies.google.com/terms).
The Google Privacy Policy (https://policies.google.com/privacy)
describes how Google handles information generated as you use
Google Services.
===================================================================
Reading --config option from: /home/aresuser/Scrivania/Android/android-image/android-info.txt
Launching CVD using --config='phone'.
GPU auto mode: did not detect prerequisites for accelerated rendering support, enabling --gpu_mode=guest_swiftshader.
GPU vhost user auto mode: not needed for --gpu_mode=guest_swiftshader. Not enabling vhost user gpu.
Path for instance UDS: /tmp/cf_avd_1000
The following lines contain useful debugging information:
Serial console is disabled; use -console=true to enable it.
Logcat output: /home/aresuser/Scrivania/Android/android-image/cuttlefish/instances/cvd-1/logs/logcat
Kernel log: /home/aresuser/Scrivania/Android/android-image/cuttlefish/instances/cvd-1/kernel.log
Launcher log: /home/aresuser/Scrivania/Android/android-image/cuttlefish/instances/cvd-1/logs/launcher.log
Instance configuration: /home/aresuser/Scrivania/Android/android-image/cuttlefish/instances/cvd-1/cuttlefish_config.json
Launcher Build ID: 12309296
VhostDeviceVsock::vhost param is:guest-cid=3,socket=/tmp/vsock_3_1000/vhost.socket,uds-path=/tmp/vsock_3_1000/vm.vsock
/home/aresuser/Scrivania/Android/android-image/bin/modem_simulator
/home/aresuser/Scrivania/Android/android-image/bin/tombstone_receiver
/home/aresuser/Scrivania/Android/android-image/bin/log_tee
/home/aresuser/Scrivania/Android/android-image/bin/process_restarter
/home/aresuser/Scrivania/Android/android-image/bin/log_tee
/home/aresuser/Scrivania/Android/android-image/bin/process_restarter
/home/aresuser/Scrivania/Android/android-image/bin/log_tee
/home/aresuser/Scrivania/Android/android-image/bin/wmediumd
/home/aresuser/Scrivania/Android/android-image/bin/casimir_control_server
/home/aresuser/Scrivania/Android/android-image/bin/screen_recording_server
/home/aresuser/Scrivania/Android/android-image/bin/adb_connector
/home/aresuser/Scrivania/Android/android-image/bin/socket_vsock_proxy
/home/aresuser/Scrivania/Android/android-image/bin/socket_vsock_proxy
/home/aresuser/Scrivania/Android/android-image/bin/tcp_connector
/home/aresuser/Scrivania/Android/android-image/bin/control_env_proxy_server
/home/aresuser/Scrivania/Android/android-image/bin/echo_server
/home/aresuser/Scrivania/Android/android-image/bin/gnss_grpc_proxy
/home/aresuser/Scrivania/Android/android-image/bin/logcat_receiver
/home/aresuser/Scrivania/Android/android-image/bin/kernel_log_monitor
/home/aresuser/Scrivania/Android/android-image/bin/openwrt_control_server
/home/aresuser/Scrivania/Android/android-image/bin/log_tee
/home/aresuser/Scrivania/Android/android-image/bin/process_restarter
/home/aresuser/Scrivania/Android/android-image/bin/netsimd
/home/aresuser/Scrivania/Android/android-image/bin/socket_vsock_proxy
/home/aresuser/Scrivania/Android/android-image/bin/socket_vsock_proxy
/home/aresuser/Scrivania/Android/android-image/bin/secure_env
/home/aresuser/Scrivania/Android/android-image/bin/log_tee
/home/aresuser/Scrivania/Android/android-image/bin/process_restarter
Start modem simulator, server_fds: 77, Sim type: normal
Server listening on unix:/tmp/cf_avd_1000/cvd-1/grpc_socket/CasimirControlServer.sock
Server listening on unix:/tmp/cf_avd_1000/cvd-1/grpc_socket/EchoServer.sock
Failed to open socket: Connection refused
Server listening on unix:/tmp/cf_avd_1000/cvd-1/grpc_socket/OpenwrtControlServer.sock
Server listening on unix:/tmp/cf_avd_1000/cvd-1/grpc_socket/ControlEnvProxyServer.sock
root-canal I 09-18 23:17:42.827 device_boutique.cc:37 Registering beacon
root-canal I 09-18 23:17:42.827 device_boutique.cc:37 Registering beacon_swarm
root-canal I 09-18 23:17:42.827 device_boutique.cc:37 Registering scripted_beacon
root-canal I 09-18 23:17:42.827 device_boutique.cc:37 Registering sniffer
netsimd I 09-18 21:17:42.829
rust_main.rs:98 - netsim artifacts path: "/tmp/android-aresuser/
netsimd"
fd_startup_str: Some(
"{\"devices\":[{\"name\":\"
0.0.0.0:6520\",\"chips\":[{\"
kind\":\"BLUETOOTH\",\"fdIn\":
98,\"fdOut\":99},{\"kind\":\"
UWB\",\"fdIn\":100,\"fdOut\":
101}]}]}",
[2024-09-18T21:17:43.082340806+00:00 ERROR crosvm] exiting with error 1: failed to create IRQ chip
Caused by:
No such device (os error 19)
[2024-09-18T21:17:43.
089676197+00:00 ERROR crosvm] exiting with error 1: failed to create IRQ chip
Caused by:
No such device (os error 19)
Detected unexpected exit of monitored subprocess /home/aresuser/Scrivania/Android/android-image/bin/process_restarter
Subprocess /home/aresuser/Scrivania/Android/android-image/bin/process_restarter (8286) has exited with exit code 1
Detected unexpected exit of monitored subprocess /home/aresuser/Scrivania/Android/android-image/bin/process_restarter
Subprocess /home/aresuser/Scrivania/Android/android-image/bin/process_restarter (8310) has exited with exit code 1
Stopping all monitored processes due to unexpected exit of critical process
starting Rust KeyMint TA implementation in a thread
starting C++ KeyMint implementation in a thread with FDs in=31, out=30
KeyMint Rust TA running with infile=37, outfile=36, security_level=Software
Secure deletion data file found. Parsing.
transport message failed, response body: device '
0.0.0.0:6520' not found
transport message failed, response body: device '
0.0.0.0:6520' not found
aresuser@jetson:~$ adb devices
List of devices attached
nothing.
A developer told me :
Just found a public report of this bug here from August this year.
https://issuetracker.google.com/issues/361302729.
The issue was resolved by patching crosvm -
Can you cherry-pick that change into your crosvm build in external/crosvm and rebuild / relaunch?
If you're using prebuilts from
ci.android.com - you'll have to wait a little bit for the change to get merged into the android tree. We can get that sped up if that's what you're doing. Let us know.
And then he didn't reply anymore. Someone can explain to me what should I do to fix the error ? thanks.