Unable to bring up Cuttlefish VM on my x86_64 ubuntu 18.10

1,732 views
Skip to first unread message

shankar kumar yellapu

unread,
Mar 11, 2020, 11:48:33 AM3/11/20
to Android Building
Hi All,

From past couple of days I'm trying to bring up cuttlefish VM (aosp_cf_x86_64_phone) on my ubuntu 18.10 X86 PC. I am seeing following error in log and nothing shows when I run tight VNC viewer. I followed every step mentioned in https://android.googlesource.com/device/google/cuttlefish/. Am I missing anything?  Please help.....

[ERROR:src/main.rs:1248] The architecture failed to build the vm: error creating devices: failed to create virtual disk: failure in qcow: backing file io error: No such file or directory (os error 2)
run_cvd I 03-11 13:14:54 17936 17944 process_monitor.cc:139] Detected exit of monitored subprocess
run_cvd I 03-11 13:14:54 17936 17944 process_monitor.cc:147] Subprocess /home/SKY/cf/bin/crosvm (26659) has exited with exit code 1

run_cvd I 03-11 13:14:54 17936 17944 subprocess.cpp:286] Started (pid: 26667): /home/SKY/cf/bin/crosvm
run_cvd I 03-11 13:14:54 17936 17944 subprocess.cpp:289] run
run_cvd I 03-11 13:14:54 17936 17944 subprocess.cpp:289] --initrd=/home/SKY/cf/cuttlefish_assembly/ramdisk.img.concat
run_cvd I 03-11 13:14:54 17936 17944 subprocess.cpp:289] --null-audio
run_cvd I 03-11 13:14:54 17936 17944 subprocess.cpp:289] --mem=2048
run_cvd I 03-11 13:14:54 17936 17944 subprocess.cpp:289] --cpus=2
run_cvd I 03-11 13:14:54 17936 17944 subprocess.cpp:289] --params= printk.devkmsg=on firmware_class.path=/vendor/etc/ init=/init androidboot.hardware=cutf_cvm security=selinux androidboot.console=ttyS1 buildvariant=userdebug androidboot.hardware.gralloc=cutf_ashmem androidboot.hardware.hwcomposer=cutf_cvm_ashmem androidboot.hardware.egl=swiftshader androidboot.hardware.vulkan=pastel androidboot.boot_devices=pci0000:00/0000:00:01.0 androidboot.serialno=CUTTLEFISHCVD011 androidboot.lcd_density=160 androidboot.setupwizard_mode=DISABLED androidboot.slot_suffix=_a loop.max_part=7 enforcing=1 audit=1 androidboot.force_normal_boot=1  androidboot.vsock_frames_port=2907933463 androidboot.tombstone_transmit=1 androidboot.vsock_tombstone_port=2907933462 androidboot.cuttlefish_config_server_port=2907933461 androidboot.vsock_logcat_port=2907933460
run_cvd I 03-11 13:14:54 17936 17944 subprocess.cpp:289] --rwdisk=/home/SKY/cf/cuttlefish_runtime.1/overlay.img
run_cvd I 03-11 13:14:54 17936 17944 subprocess.cpp:289] --socket=/home/SKY/cf/cuttlefish_runtime.1/internal/crosvm_control.sock
run_cvd I 03-11 13:14:54 17936 17944 subprocess.cpp:289] --single-touch=/home/SKY/cf/cuttlefish_runtime.1/internal/touch.sock:720:1280
run_cvd I 03-11 13:14:54 17936 17944 subprocess.cpp:289] --keyboard=/home/SKY/cf/cuttlefish_runtime.1/internal/keyboard.sock
run_cvd I 03-11 13:14:54 17936 17944 subprocess.cpp:289] --tap-fd=35
run_cvd I 03-11 13:14:54 17936 17944 subprocess.cpp:289] --tap-fd=37
run_cvd I 03-11 13:14:54 17936 17944 subprocess.cpp:289] --rw-pmem-device=/home/SKY/cf/cuttlefish_runtime.1/access-kregistry
run_cvd I 03-11 13:14:54 17936 17944 subprocess.cpp:289] --disable-sandbox
run_cvd I 03-11 13:14:54 17936 17944 subprocess.cpp:289] --cid=3
run_cvd I 03-11 13:14:54 17936 17944 subprocess.cpp:289] --serial=num=1,type=file,path=/home/SKY/cf/cuttlefish_runtime.1/internal/kernel-log-pipe,console=true
run_cvd I 03-11 13:14:54 17936 17944 subprocess.cpp:289] --serial=num=2,type=file,path=/home/SKY/cf/cuttlefish_runtime.1/internal/console-pipe,stdin=true
run_cvd I 03-11 13:14:54 17936 17944 subprocess.cpp:289] /home/SKY/cf/cuttlefish_assembly/kernel
[ERROR:src/main.rs:1248] The architecture failed to build the vm: error creating devices: failed to create virtual disk: failure in qcow: backing file io error: No such file or directory (os error 2)
run_cvd I 03-11 13:14:54 17936 17944 process_monitor.cc:139] Detected exit of monitored subprocess
run_cvd I 03-11 13:14:54 17936 17944 process_monitor.cc:147] Subprocess /home/SKY/cf/bin/crosvm (26667) has exited with exit code 1

run_cvd I 03-11 13:14:54 17936 17944 subprocess.cpp:286] Started (pid: 26675): /home/SKY/cf/bin/crosvm
run_cvd I 03-11 13:14:54 17936 17944 subprocess.cpp:289] run
run_cvd I 03-11 13:14:54 17936 17944 subprocess.cpp:289] --initrd=/home/SKY/cf/cuttlefish_assembly/ramdisk.img.concat
run_cvd I 03-11 13:14:54 17936 17944 subprocess.cpp:289] --null-audio
run_cvd I 03-11 13:14:54 17936 17944 subprocess.cpp:289] --mem=2048
run_cvd I 03-11 13:14:54 17936 17944 subprocess.cpp:289] --cpus=2
run_cvd I 03-11 13:14:54 17936 17944 subprocess.cpp:289] --params= printk.devkmsg=on firmware_class.path=/vendor/etc/ init=/init androidboot.hardware=cutf_cvm security=selinux androidboot.console=ttyS1 buildvariant=userdebug androidboot.hardware.gralloc=cutf_ashmem androidboot.hardware.hwcomposer=cutf_cvm_ashmem androidboot.hardware.egl=swiftshader androidboot.hardware.vulkan=pastel androidboot.boot_devices=pci0000:00/0000:00:01.0 androidboot.serialno=CUTTLEFISHCVD011 androidboot.lcd_density=160 androidboot.setupwizard_mode=DISABLED androidboot.slot_suffix=_a loop.max_part=7 enforcing=1 audit=1 androidboot.force_normal_boot=1  androidboot.vsock_frames_port=2907933463 androidboot.tombstone_transmit=1 androidboot.vsock_tombstone_port=2907933462 androidboot.cuttlefish_config_server_port=2907933461 androidboot.vsock_logcat_port=2907933460
run_cvd I 03-11 13:14:54 17936 17944 subprocess.cpp:289] --rwdisk=/home/SKY/cf/cuttlefish_runtime.1/overlay.img
run_cvd I 03-11 13:14:54 17936 17944 subprocess.cpp:289] --socket=/home/SKY/cf/cuttlefish_runtime.1/internal/crosvm_control.sock
run_cvd I 03-11 13:14:54 17936 17944 subprocess.cpp:289] --single-touch=/home/SKY/cf/cuttlefish_runtime.1/internal/touch.sock:720:1280
run_cvd I 03-11 13:14:54 17936 17944 subprocess.cpp:289] --keyboard=/home/SKY/cf/cuttlefish_runtime.1/internal/keyboard.sock
run_cvd I 03-11 13:14:54 17936 17944 subprocess.cpp:289] --tap-fd=35
run_cvd I 03-11 13:14:54 17936 17944 subprocess.cpp:289] --tap-fd=37
run_cvd I 03-11 13:14:54 17936 17944 subprocess.cpp:289] --rw-pmem-device=/home/SKY/cf/cuttlefish_runtime.1/access-kregistry
run_cvd I 03-11 13:14:54 17936 17944 subprocess.cpp:289] --disable-sandbox
run_cvd I 03-11 13:14:54 17936 17944 subprocess.cpp:289] --cid=3
run_cvd I 03-11 13:14:54 17936 17944 subprocess.cpp:289] --serial=num=1,type=file,path=/home/SKY/cf/cuttlefish_runtime.1/internal/kernel-log-pipe,console=true
run_cvd I 03-11 13:14:54 17936 17944 subprocess.cpp:289] --serial=num=2,type=file,path=/home/SKY/cf/cuttlefish_runtime.1/internal/console-pipe,stdin=true
run_cvd I 03-11 13:14:54 17936 17944 subprocess.cpp:289] /home/SKY/cf/cuttlefish_assembly/kernel
[ERROR:src/main.rs:1248] The architecture failed to build the vm: error creating devices: failed to create virtual disk: failure in qcow: backing file io error: No such file or directory (os error 2)
run_cvd I 03-11 13:14:54 17936 17944 process_monitor.cc:139] Detected exit of monitored subprocess
run_cvd I 03-11 13:14:54 17936 17944 process_monitor.cc:147] Subprocess /home/SKY/cf/bin/crosvm (26675) has exited with exit code 1

run_cvd I 03-11 13:14:54 17936 17944 subprocess.cpp:286] Started (pid: 26683): /home/SKY/cf/bin/crosvm
run_cvd I 03-11 13:14:54 17936 17944 subprocess.cpp:289] run
run_cvd I 03-11 13:14:54 17936 17944 subprocess.cpp:289] --initrd=/home/SKY/cf/cuttlefish_assembly/ramdisk.img.concat
run_cvd I 03-11 13:14:54 17936 17944 subprocess.cpp:289] --null-audio
run_cvd I 03-11 13:14:54 17936 17944 subprocess.cpp:289] --mem=2048
run_cvd I 03-11 13:14:54 17936 17944 subprocess.cpp:289] --cpus=2
run_cvd I 03-11 13:14:54 17936 17944 subprocess.cpp:289] --params= printk.devkmsg=on firmware_class.path=/vendor/etc/ init=/init androidboot.hardware=cutf_cvm security=selinux androidboot.console=ttyS1 buildvariant=userdebug androidboot.hardware.gralloc=cutf_ashmem androidboot.hardware.hwcomposer=cutf_cvm_ashmem androidboot.hardware.egl=swiftshader androidboot.hardware.vulkan=pastel androidboot.boot_devices=pci0000:00/0000:00:01.0 androidboot.serialno=CUTTLEFISHCVD011 androidboot.lcd_density=160 androidboot.setupwizard_mode=DISABLED androidboot.slot_suffix=_a loop.max_part=7 enforcing=1 audit=1 androidboot.force_normal_boot=1  androidboot.vsock_frames_port=2907933463 androidboot.tombstone_transmit=1 androidboot.vsock_tombstone_port=2907933462 androidboot.cuttlefish_config_server_port=2907933461 androidboot.vsock_logcat_port=2907933460
run_cvd I 03-11 13:14:54 17936 17944 subprocess.cpp:289] --rwdisk=/home/SKY/cf/cuttlefish_runtime.1/overlay.img
run_cvd I 03-11 13:14:54 17936 17944 subprocess.cpp:289] --socket=/home/SKY/cf/cuttlefish_runtime.1/internal/crosvm_control.sock
run_cvd I 03-11 13:14:54 17936 17944 subprocess.cpp:289] --single-touch=/home/SKY/cf/cuttlefish_runtime.1/internal/touch.sock:720:1280
run_cvd I 03-11 13:14:54 17936 17944 subprocess.cpp:289] --keyboard=/home/SKY/cf/cuttlefish_runtime.1/internal/keyboard.sock
run_cvd I 03-11 13:14:54 17936 17944 subprocess.cpp:289] --tap-fd=35
run_cvd I 03-11 13:14:54 17936 17944 subprocess.cpp:289] --tap-fd=37
run_cvd I 03-11 13:14:54 17936 17944 subprocess.cpp:289] --rw-pmem-device=/home/SKY/cf/cuttlefish_runtime.1/access-kregistry
run_cvd I 03-11 13:14:54 17936 17944 subprocess.cpp:289] --disable-sandbox
run_cvd I 03-11 13:14:54 17936 17944 subprocess.cpp:289] --cid=3
run_cvd I 03-11 13:14:54 17936 17944 subprocess.cpp:289] --serial=num=1,type=file,path=/home/SKY/cf/cuttlefish_runtime.1/internal/kernel-log-pipe,console=true
run_cvd I 03-11 13:14:54 17936 17944 subprocess.cpp:289] --serial=num=2,type=file,path=/home/SKY/cf/cuttlefish_runtime.1/internal/console-pipe,stdin=true
run_cvd I 03-11 13:14:54 17936 17944 subprocess.cpp:289] /home/SKY/cf/cuttlefish_assembly/kernel
Thanks,
Shankar
assemble_cvd.log

Braganza Roberts

unread,
Mar 11, 2020, 2:02:29 PM3/11/20
to android-...@googlegroups.com
I faced the same issue as well. In my case I deleted the "cf" folder which was created as part of step 8 from https://android.googlesource.com/device/google/cuttlefish/ and redo step 8 again😉

And I assume your step 1 was completed without any errors.

- Sam.


--
--
You received this message because you are subscribed to the "Android Building" mailing list.
To post to this group, send email to android-...@googlegroups.com
To unsubscribe from this group, send email to
android-buildi...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-building?hl=en

---
You received this message because you are subscribed to the Google Groups "Android Building" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-buildi...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/android-building/ec0ef7da-7967-491c-8289-32b918a797cf%40googlegroups.com.

శంకర్ కుమార్ యల్లపు

unread,
Mar 12, 2020, 11:59:05 AM3/12/20
to Android Building
  :) Thanks Sam... same thing worked for me also.
 
 - Shankar

For more options, visit this group at
http://groups.google.com/group/android-building?hl=en

---
You received this message because you are subscribed to the Google Groups "Android Building" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-...@googlegroups.com.

Raheemuddin Syed

unread,
Feb 15, 2022, 3:29:01 PM2/15/22
to Android Building
Hi Sam, 
I too facing same error but the solution provided is just workaround to launch. the reported issue still exists.
can you please share any fix than workaround of each time launch delete the folder & extracting 

thanks

Reply all
Reply to author
Forward
0 new messages