Package: qemu-system-arm
Version: 1:5.1+dfsg-4+b1
Severity: minor

Dear Maintainer,

# cp /usr/share/AAVMF/AAVMF_VARS.fd /var/tmp/efivars.fd; qemu-system-aarch64 \
 -machine sbsa-ref -cpu cortex-a57  -nographic -net nic,model=virtio \
 -net user -object rng-random,filename=/dev/urandom,id=rng0 \
 -device virtio-rng-pci,rng=rng0,id=rng-device0 \
 -drive file=/var/lib/debci/qemu/sid-arm64.img,if=virtio,index=0,format=qcow2 \
 -drive if=pflash,format=raw,read-only,file=/usr/share/AAVMF/AAVMF_CODE.fd \
 -drive if=pflash,format=raw,file=/var/tmp/efivars.fd -m 1024 

gives the error 
qemu-system-aarch64: device requires 268435456 bytes, block backend provides 
67108864 bytes

On the other hand, if I change -machine sbsa-ref to -machine virt,
it works fine as

BdsDxe: failed to load Boot0001 "UEFI Misc Device" from 
VenHw(93E34C7E-B50E-11DF-9223-2443DFD72085,00): Not Found
BdsDxe: loading Boot0002 "UEFI Misc Device 2" from PciRoot(0x0)/Pci(0x3,0x0)
BdsDxe: starting Boot0002 "UEFI Misc Device 2" from PciRoot(0x0)/Pci(0x3,0x0)
Welcome to GRUB!

error: serial port `com0' isn't found.
error: terminal `serial' isn't found.
error: terminal `serial' isn't found.
  Booting `Debian GNU/Linux'

Loading Linux 5.9.0-1-arm64 ...
Loading initial ramdisk ...
EFI stub: Booting Linux Kernel...
EFI stub: Using DTB from configuration table
EFI stub: Exiting boot services and installing virtual address map...
[    0.000000] Booting Linux on physical CPU 0x0000000000 [0x411fd070]
[    0.000000] Linux version 5.9.0-1-arm64 (debian-ker...@lists.debian.org) 
(gcc-10 (Debian 10.2.0-15) 10.2.0, GNU ld (GNU Binutils for Debian) 2.35.1) #1 
SMP Debian 5.9.1-1 (2020-10-17)
[    0.000000] efi: EFI v2.70 by EDK II


Best regards, Ryutaroh Matsumoto

-- System Information:
Debian Release: bullseye/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable')
Architecture: arm64 (aarch64)

Kernel: Linux 5.9.0-1-arm64 (SMP w/4 CPU threads)
Kernel taint flags: TAINT_CRAP
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages qemu-system-arm depends on:
ii  libaio1             0.3.112-8
ii  libc6               2.31-4
ii  libcapstone3        4.0.1+really+3.0.5-2+b1
ii  libepoxy0           1.5.4-1
ii  libfdt1             1.6.0-1
ii  libgbm1             20.1.9-1
ii  libgcc-s1           10.2.0-15
ii  libglib2.0-0        2.66.1-2
ii  libgnutls30         3.6.15-4
ii  libibverbs1         31.0-1
ii  libjpeg62-turbo     1:2.0.5-1.1
ii  libnettle8          3.6-2
ii  libnuma1            2.0.12-1+b1
ii  libpixman-1-0       0.36.0-1
ii  libpmem1            1.9.1-3
ii  libpng16-16         1.6.37-3
ii  librdmacm1          31.0-1
ii  libsasl2-2          2.1.27+dfsg-2
ii  libseccomp2         2.4.4-1+b1
ii  libslirp0           4.3.1-1
ii  libspice-server1    0.14.3-1
ii  libstdc++6          10.2.0-15
ii  liburing1           0.7-1
ii  libusb-1.0-0        2:1.0.23-2
ii  libvdeplug2         4.0.1-2
ii  libvirglrenderer1   0.8.2-4
ii  qemu-system-common  1:5.1+dfsg-4+b1
ii  qemu-system-data    1:5.1+dfsg-4
ii  zlib1g              1:1.2.11.dfsg-2

Versions of packages qemu-system-arm recommends:
ii  ipxe-qemu         1.0.0+git-20190125.36a4c85-5
ii  qemu-efi-aarch64  2020.08-1
ii  qemu-efi-arm      2020.08-1
pn  qemu-system-gui   <none>
ii  qemu-utils        1:5.1+dfsg-4+b1

Versions of packages qemu-system-arm suggests:
pn  qemu-block-extra  <none>
pn  samba             <none>
pn  vde2              <none>

-- no debconf information

Reply via email to