• Bug#1108822: successful installation but no boot in virt-manager

    From Marc Haber@21:1/5 to All on Sat Jul 5 16:50:02 2025
    XPost: linux.debian.ports.arm, linux.debian.maint.boot

    Package: installation-reports
    Severity: minor
    X-Debbugs-Cc: [email protected]
    User: [email protected]
    Usertags: armhf

    Hi,

    I generated a VM in virt-manager and that failed to boot. the EFI
    firmware didn't see the disk. Starting the VM on the command line I was
    able to proceed:

    qemu-system-arm -M virt-10.0,usb=off,dump-guest-core=off,acpi=off -cpu cortex-a7 -m 1024 -bios /usr/share/AAVMF/AAVMF32_CODE.fd -drive file=/dev/mapper/toe-vbanana,format=raw -cdrom /var/lib/libvirt/cd/debian-trixie-DI-rc2-armhf-netinst.iso -boot d
    -nographic

    The installed system als didn't boot in the libvirt VM, but in the
    command line VM. I had to strip down the libvirt VM to the bare minimum
    of virtual hardware to get the Vm to boot.

    Greetings
    Marc

    Boot method: CD
    Image version: debian-trixie-DI-rc2-armhf-netinst.iso 2025-07-05
    Date: <Date and time of the install>

    Machine: emulated qemu VM on an amd64 host
    Partitions: <df -Tl will do; the raw partition table is preferred>


    Base System Installation Checklist:
    [O] = OK, [E] = Error (please elaborate below), [ ] = didn't try it

    Initial boot: [o]
    Detect network card: [o]
    Configure network: [o]
    Detect media: [o]
    Load installer modules: [o]
    Clock/timezone setup: [o]
    User/password setup: [o]
    Detect hard drives: [o]
    Partition hard drives: [o]
    Install base system: [o]
    Install tasks: [o]
    Install boot loader: [o]
    Overall install: [o]

    Comments/Problems:

    libvirt vm resulted in a vm that didnt see the disk in the efi firmware
    and thus didnt boot. See above.

    Please make sure that any installation logs that you think would
    be useful are attached to this report. (You can find them in the
    installer system in /var/log/ and later on the installed system
    under /var/log/installer.) Please compress large files using gzip.


    -- Package-specific info:

    ==============================================
    Installer lsb-release:
    ==============================================
    DISTRIB_ID=Debian
    DISTRIB_DESCRIPTION="Debian GNU/Linux installer"
    DISTRIB_RELEASE="13 (trixie) - installer build 20250701" X_INSTALLATION_MEDIUM=cdrom

    ==============================================
    Installer hardware-summary:
    ==============================================
    uname -a: Linux vbanana 6.12.33+deb13-armmp #1 SMP Debian 6.12.33-1 (2025-06-19) armv7l GNU/Linux
    lspci -knn: 00:00.0 Host bridge [0600]: Red Hat, Inc. QEMU PCIe Host bridge [1b36:0008]
    lspci -knn: Subsystem: Red Hat, Inc. Device [1af4:1100]
    lspci -knn: 00:01.0 Ethernet controller [0200]: Red Hat, Inc. Virtio network device [1af4:1000]
    lspci -knn: Subsystem: Red Hat, Inc. Device [1af4:0001]
    lspci -knn: Kernel driver in use: virtio-pci
    lspci -knn: 00:02.0 SCSI storage controller [0100]: Red Hat, Inc. Virtio block device [1af4:1001]
    lspci -knn: Subsystem: Red Hat, Inc. Device [1af4:0002]
    lspci -knn: Kernel driver in use: virtio-pci
    lspci -knn: 00:03.0 SCSI storage controller [0100]: Red Hat, Inc. Virtio block device [1af4:1001]
    lspci -knn: Subsystem: Red Hat, Inc. Device [1af4:0002]
    lspci -knn: Kernel driver in use: virtio-pci
    lsmod: Module Size Used by
    lsmod: nls_ascii 12288 1
    lsmod: nls_cp437 12288 1
    lsmod: efivarfs 16384 1
    lsmod: dm_mod 131072 0
    lsmod: md_mod 151552 0
    lsmod: jfs 176128 0
    lsmod: nls_ucs2_utils 12288 1 jfs
    lsmod: btrfs 1478656 0
    lsmod: libcrc32c 12288 1 btrfs
    lsmod: xor 12288 1 btrfs
    lsmod: xor_neon 12288 1 xor
    lsmod: zlib_deflate 28672 1 btrfs
    lsmod: raid6_pq 102400 1 btrfs
    lsmod: ext4 745472 1
    lsmod: crc16 12288 1 ext4
    lsmod: mbcache 12288 1 ext4
    lsmod: jbd2 122880 1 ext4
    lsmod: crc32c_generic 12288 3
    lsmod: virtio_net 81920 0
    lsmod: net_failover 16384 1 virtio_net
    lsmod: failover 12288 1 net_failover
    lsmod: vfat 20480 1
    lsmod: fat 69632 1 vfat
    lsmod: isofs 40960 1
    lsmod: cdrom 53248 1 isofs
    lsmod: evdev 20480 0
    lsmod: virtio_blk 24576 4
    lsmod: virtio_mmio 12288 0
    df: Filesystem 1K-blocks Used Available Use% Mounted on
    df: tmpfs 101600 268 101332 0% /run
    df: devtmpfs 490804 4 490800 0% /dev
    df: none 256 2 253 1% /sys/firmware/efi/efivars
    df: /dev/vda2 18511560 926612 16619268 5% /target
    df: /dev/vda1 990912 272 990640 0% /target/boot/efi df: /dev/vda2 18511560 926612 16619268 5% /dev/.static/dev df: devtmpfs 490804 4 490800 0% /target/dev
    df: /dev/vdb 921600 921600 0 100% /target/media/cdrom0
    free: total used free shared buff/cache available
    free: Mem: 1015972 81872 108500 94704 825600 806064
    free: Swap: 992252 0 992252
    /proc/cmdline: BOOT_IMAGE=/install.ahf/vmlinuz --- quiet
    /proc/cpuinfo: processor : 0
    /proc/cpuinfo: model name : ARMv7 Processor rev 5 (v7l)
    /proc/cpuinfo: BogoMIPS : 125.00
    /proc/cpuinfo: Features : half thumb fastmult vfp edsp thumbee neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm
    /proc/cpuinfo: CPU implementer : 0x41
    /proc/cpuinfo: CPU architecture: 7
    /proc/cpuinfo: CPU variant : 0x0
    /proc/cpuinfo: CPU part : 0xc07
    /proc/cpuinfo: CPU revision : 5
    /proc/cpuinfo:
    /proc/cpuinfo: Hardware : Generic DT based system
    /proc/cpuinfo: Revision : 0000
    /proc/cpuinfo: Serial : 0000000000000000
    /proc/device-tree/model: linux,dummy-virt��/proc/ioports: 00000000-0000ffff : pcie@10000000
    /proc/ioports: 00001000-0000107f : 0000:00:02.0
    /proc/ioports: 00001080-000010ff : 0000:00:03.0
    /proc/ioports: 00001400-0000141f : 0000:00:01.0
    /proc/iomem: 09000000-09000fff : pl011@9000000
    /proc/iomem: 09000000-09000fff : 9000000.pl011 pl011@9000000
    /proc/iomem: 09030000-09030fff : pl061@9030000
    /proc/iomem: 09030000-09030fff : 9030000.pl061 pl061@9030000
    /proc/iomem: 10000000-3efeffff : pcie@10000000
    /proc/iomem: 10000000-1003ffff : 0000:00:01.0
    /proc/iomem: 10040000-10043fff : 0000:00:01.0
    /proc/iomem: 10040000-10043fff : virtio-pci-modern
    /proc/iomem: 10044000-10047fff : 0000:00:02.0
    /proc/iomem: 10044000-10047fff : virtio-pci-modern
    /proc/iomem: 10048000-1004bfff : 0000:00:03.0
    /proc/iomem: 10048000-1004bfff : virtio-pci-modern
    /proc/iomem: 1004c000-1004cfff : 0000:00:01.0
    /proc/iomem: 1004d000-1004dfff : 0000:00:02.0
    /proc/iomem: 1004e000-1004efff : 0000:00:03.0
    /proc/iomem: 3f000000-3fffffff : PCI ECAM
    /proc/iomem: 40000000-7fe3cfff : System RAM
    /proc/iomem: 40208000-413fffff : Kernel code
    /proc/iomem: 41600000-418294cf : Kernel data
    /proc/iomem: 7ffff000-7fffffff : System RAM
    /proc/interrupts: CPU0
    /proc/interrupts: 26: 397300 GIC-0 27 Level arch_timer /proc/interrupts: 28: 329 GIC-0 33 Level uart-pl011 /proc/interrupts: 33: 0 9030000.pl061 3 Edge GPIO Key Poweroff /proc/interrupts: 34: 0 GICv2m-PCI-MSIX-0000:00:02.0 0 Edge virtio1-config
    /proc/interrupts: 35: 90364 GICv2m-PCI-MSIX-0000:00:02.0 1 Edge virtio1-req.0
    /proc/interrupts: 36: 0 GICv2m-PCI-MSIX-0000:00:03.0 0 Edge virtio2-config
    /proc/interrupts: 37: 3599 GICv2m-PCI-MSIX-0000:00:03.0 1 Edge virtio2-req.0
    /proc/interrupts: 38: 0 GICv2m-PCI-MSIX-0000:00:01.0 0 Edge virtio0-config
    /proc/interrupts: 39: 7621 GICv2m-PCI-MSIX-0000:00:01.0 1 Edge virtio0-input.0
    /proc/interrupts: 40: 4198 GICv2m-PCI-MSIX-0000:00:01.0 2 Edge virtio0-output.0
    /proc/interrupts: IPI0: 0 CPU wakeup interrupts
    /proc/interrupts: IPI1: 0 Timer broadcast interrupts /proc/interrupts: IPI2: 0 Rescheduling interrupts
    /proc/interrupts: IPI3: 0 Function call interrupts
    /proc/interrupts: IPI4: 0 CPU stop interrupts
    /proc/interrupts: IPI5: 0 IRQ work interrupts
    /proc/interrupts: IPI6: 0 completion interrupts
    /proc/interrupts: Err: 0
    /proc/meminfo: MemTotal: 1015972 kB
    /proc/meminfo: MemFree: 109412 kB
    /proc/meminfo: MemAvailable: 807036 kB
    /proc/meminfo: Buffers: 18648 kB
    /proc/meminfo: Cached: 756808 kB
    /proc/meminfo: SwapCached: 0 kB
    /proc/meminfo: Active: 157632 kB
    /proc/meminfo: Inactive: 644624 kB
    /proc/meminfo: Active(anon): 121492 kB
    /proc/meminfo: Inactive(anon): 0 kB
    /proc/meminfo: Active(file): 36140 kB
    /proc/meminfo: Inactive(file): 644624 kB
    /proc/meminfo: Unevictable: 0 kB
    /proc/meminfo: Mlocked: 0 kB
    /proc/meminfo: HighTotal: 260320 kB
    /proc/meminfo: HighFree: 49512 kB
    /proc/meminfo: LowTotal: 755652 kB
    /proc/meminfo: LowFree: 59900 kB
    /proc/meminfo: SwapTotal: 992252 kB
    /proc/meminfo: SwapFree: 992252 kB
    /proc/meminfo: Zswap: 0 kB
    /proc/meminfo: Zswapped: 0 kB
    /proc/meminfo: Dirty: 23296 kB
    /proc/meminfo: Writeback: 0 kB
    /proc/meminfo: AnonPages: 26840 kB
    /proc/meminfo: Mapped: 4652 kB
    /proc/meminfo: Shmem: 94692 kB
    /proc/meminfo: KReclaimable: 50192 kB
    /proc/meminfo: Slab: 65960 kB
    /proc/meminfo: SReclaimable: 50192 kB
    /proc/meminfo: SUnreclaim: 15768 kB
    /proc/meminfo: KernelStack: 648 kB
    /proc/meminfo: PageTables: 676 kB
    /proc/meminfo: SecPageTables: 0 kB
    /proc/meminfo: NFS_Unstable: 0 kB
    /proc/meminfo: Bounce: 0 kB
    /proc/meminfo: WritebackTmp: 0 kB
    /proc/meminfo: CommitLimit: 1500236 kB
    /proc/meminfo: Committed_AS: 132796 kB
    /proc/meminfo: VmallocTotal: 245760 kB
    /proc/meminfo: VmallocUsed: 9232 kB
    /proc/meminfo: VmallocChunk: 0 kB
    /proc/meminfo: Percpu: 92 kB
    /proc/meminfo: CmaTotal: 16384 kB
    /proc/meminfo: CmaFree: 7664 kB
    /proc/bus/input/devices: I: Bus=0019 Vendor=0001 Product=0001 Version=0100 /proc/bus/input/devices: N: Name="gpio-keys"
    /proc/bus/input/devices: P: Phys=gpio-keys/input0
    /proc/bus/input/devices: S: Sysfs=/devices/platform/gpio-keys/input/input0 /proc/bus/input/devices: U: Uniq=
    /proc/bus/input/devices: H: Handlers=kbd event0
    /proc/bus/input/devices: B: PROP=0
    /proc/bus/input/devices: B: EV=3
    /proc/bus/input/devices: B: KEY=100000 0 0 0
    /proc/bus/input/devices:

    ==============================================
    Installer firmware-summary:
    ==============================================
    # No firmware or microcode packages deployed by the installer

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)