:: Re: [DNG] Which qemu version is shi…
Página Inicial
Delete this message
Reply to this message
Autor: Mario Marietto
Data:  
Para: Ralph Ronnquist
CC: dng
Assunto: Re: [DNG] Which qemu version is shipped by default with devuan 3 ?
The no space left on device error is misleading because on the sd card I
have a lot of space remaining and the second error is also misleading
because the ARM chromebook has 2 GB of memory and usually the virtual
machines can run with 1 GB. I haven't installed memory hungry applications
on the Devuan 4,so that error is related specifically to the usage of the
/run directory. Can you suggest another directory where I can store those
files,please ?

On Sun, Aug 13, 2023 at 5:39 PM Mario Marietto <marietto2008@???>
wrote:

> Are you sure that you copied the UEFI files inside the directory /run ? I
> did it,but when I reboot,they are deleted. And this is what happens when I
> copy them into /run :
>
> root@devuan:~/Dati# cp /usr/share/AAVMF/AAVMF32_VARS.fd /run
> root@devuan:~/Dati# cp /usr/share/AAVMF/AAVMF32_CODE.fd /run
> cp: error writing '/run/AAVMF32_CODE.fd': No space left on device
>
> /mnt/./monta-fisso
> sleep 2
>
> UEFICODE=/run/AAVMF32_CODE.fd
> UEFIVARS=/run/AAVMF32_VARS.fd
> CD1=/mnt/fisso/OS/ISO/BSD/FreeBSD-13.2-RELEASE-arm-armv7-GENERICSD.img
> CD2=/mnt/fisso/OS/ISO/Linux/bookworm_mini_armhf.iso
> DISK=/mnt/fisso/bhyve/img/FreeBSD/FreeBSD.img
>
> qemu-system-arm \
>    -enable-kvm -serial stdio \
>    -m 512 -M virt -cpu cortex-a15 \
>    -drive if=pflash,format=raw,unit=0,file=$UEFICODE \
>    -drive if=pflash,format=raw,unit=1,file=$UEFIVARS \
>    -cdrom $CD2 \
>    -drive file=$DISK,format=raw \
>    -device virtio-net,netdev=net0,mac="52:54:00:12:34:55" \
>    -netdev type=user,id=net0 \
>    -device virtio-gpu-pci \
>    -usb -device nec-usb-xhci \
>    -device usb-kbd -device usb-mouse \
>    -device vmware-svga,id=video0,vgamem_mb=16

>
> ERROR : qemu-system-arm: device requires 67108864 bytes, block backend
> provides 35745792 bytes
>
> it seems that /run is not the right place.
>
> On Sun, Aug 13, 2023 at 4:16 PM Ralph Ronnquist <rrq@???> wrote:
>
>> On Sun, Aug 13, 2023 at 04:03:00PM +0200, Mario Marietto wrote:
>> > Very thanks,I tried to apply your suggestions,as follows :
>> >
>> > /mnt/./monta-fisso
>> > sleep 2
>> >
>> > UEFICODE=/usr/share/AAVMF/AAVMF32_CODE.fd
>> > UEFIVARS=/usr/share/AAVMF/AAVMF32_VARS.fd
>> > CD1=/mnt/fisso/OS/ISO/BSD/FreeBSD-13.2-RELEASE-arm-armv7-GENERICSD.img
>> > CD2=/mnt/fisso/OS/ISO/Linux/bookworm_mini_armhf.iso
>> > DISK=/mnt/fisso/bhyve/img/FreeBSD/FreeBSD.img
>> >
>> > qemu-system-arm \
>> >    -enable-kvm -serial stdio \
>> >    -m 512 -M virt -cpu cortex-a15 \
>> >    -drive if=pflash,format=raw,unit=0,file=$UEFICODE \
>> >    -drive if=pflash,format=raw,unit=1,file=$UEFIVARS \
>> >    -cdrom $CD2 \
>> >    -drive file=$DISK,format=raw \
>> >    -device virtio-net,netdev=net0,mac="52:54:00:12:34:55" \
>> >    -netdev type=user,id=net0 \
>> >    -device virtio-gpu-pci \
>> >    -usb -device nec-usb-xhci \
>> >    -device usb-kbd -device usb-mouse \
>> >    -device vmware-svga,id=video0,vgamem_mb=16

>> >
>> > but the error is always there. Am I missing something ?
>>
>> Well, I think the UEFI emulation requires write permission on both
>> $UEFICODE and $UEFIVARS. I solved that by copying them to my run
>> directory.
>>
>> > ...
>> >
>> > --
>> > Mario.
>>
>> regards,
>>
>> Ralph.
>> _______________________________________________
>> Dng mailing list
>> Dng@???
>> https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng
>>
>
>
> --
> Mario.
>



--
Mario.