KVM run failed Function not implemented.
Mario Marietto <[email protected]>
| Newsgroups | gmane.comp.emulators.xen.devel,gmane.os.freebsd.xen,gmane.comp.emulators.xen.user,gmane.os.freebsd.devel.hackers,gmane.os.freebsd.devel.arm |
|---|---|
| Message-ID | <CA+1FSij2EMk8ktjFeybLWUKWnACro3Afgcju3fqG8udP01og9g@mail.gmail.com> |
Hello. Probably FreeBSD didn't boot as domU under xen because I was using the kernel recompiled from the @Elliott Mitchell <[email protected]> code,WITHOUT its world,that's of FreeNSD 15.0-CURRENT. I mean,I was still using the world of FreeBSD 13.2. So,what I did was to even upgrade the world of FreeBSD 13.2 with the world of the Elliott Mitchell code. This is what I did (directly on the ARM Chromebook,booting FreeBSD 13.2 as vm with qemu / kvm : root@freebsd:/usr/freebsd-src # make KERNCONF=GENERIC TARGET=arm TARGET_ARCH=armv7 -DWITHOUT_CLEAN -DNO_KERNELCLEAN buildworld buildkernel root@freebsd:/usr/freebsd-src # etcupdate -p Failed to build new tree. root@freebsd:/usr/freebsd-src # make installworld installkernel no errors. root@freebsd:/usr/freebsd-src # etcupdate -B Failed to build new tree. root@freebsd:/usr/freebsd-src # etcupdate resolve no errors root@freebsd:/usr/freebsd-src # nano /var/db/etcupdate/log >>> update command: rerun= tarball= preworld= >>> Building tree at /var/db/etcupdate/etcupdate-qcKPX9R with make -DNO_FILEMON make: don't know how to make distrib-dirs. Stop make: stopped in /usr/src Despite those errors,I've rebooted the FreeBSD virtual machine,which boots from this script : #!/bin/bash # Start QEMU VM in the background stty intr ^p rm -r trace* ip link add name br1 type bridge ip link set br1 up ip a add 192.168.20.1/24 dev br1 iptables -t nat -A POSTROUTING -o enx8cae4cd6c871 -j MASQUERADE echo 1 > /proc/sys/net/ipv4/ip_forward UEFICODE1=/usr/share/AAVMF/AAVMF32_CODE.fd UEFIVARS2=/usr/share/AAVMF/AAVMF32_VARS.fd UEFICODE3=/usr/local/share/qemu/edk2-arm-code.fd UEFIVARS4=/usr/local/share/qemu/edk2-arm-vars.fd UEFIVARS5=/var/local/lib/libvirt/qemu/nvram/freebsd13.1_VARS.fd DISK=/Dati/Files/kvm/FreeBSD-15.0-CURRENT-armv7.img qemu-system-arm \ -enable-kvm -serial stdio \ -m 1024 -M virt -cpu cortex-a15 \ -drive if=pflash,format=raw,unit=0,file=$UEFICODE1 \ -drive if=pflash,format=raw,unit=1,file=$UEFIVARS2 \ -drive file=$DISK,media=disk,format=raw \ -drive file=/dev/sda,media=disk,format=raw \ -net nic,model=virtio,macaddr=52:54:00:00:00:01 -net bridge,br=br1 \ -device virtio-gpu-pci \ -usb -device nec-usb-xhci \ -device usb-kbd -device usb-mouse \ -device vmware-svga,id=video0,vgamem_mb=16 \ This is the huge error that happened and that prevents me from using FreeBSD 15.0 : [image: Senza titolo.jpeg] If you can't see any attached image because the Mailing Lists removes the attached pictures,you can see which error I got clicking on the picture on the link below : https://ibb.co/k3qdyhs -- Mario.
Senza titolo.jpeg
(image/jpeg, 260.9 KB) - not displayed