• Bug#689528: please add virtio support for cdrom at install time

    From Witold Baryluk@1:229/2 to All on Sun Jul 6 00:40:01 2025
    XPost: linux.debian.maint.boot
    From: [email protected]

    Package: debian-installer
    Followup-For: Bug #689528
    X-Debbugs-Cc: [email protected]

    Dear Maintainer,

    I just tested daily snapshot installed for amd64 for trixie, and it
    appears that some parts of this issue are fixed (I do not know when,
    probably years ago).

    For example

    qemu-system-x86_64 -enable-kvm -cpu host -smp 4 -m 8G -drive file=${HOME}/debian-testing-amd64-netinst.iso,if=virtio,media=cdrom

    works.

    But a bit strange thing (not the end of the world tho), is that partman
    also shows this read-only cdrom-class vda device in a selection menu
    (and saying it is 816.8MB with no partitions, but this device does in
    fact have 2 partitions. Size is correct, same as reported in dmesg, and matching iso file size).


    I still do have issue with other way:

    -drive file=${HOME}/debian-testing-amd64-netinst.iso,if=none,id=drive-scsi1,media=cdrom,cache=none,aio=io_uring -device virtio-blk-pci,iothread=io1,id=scsihw0,drive=drive-scsi1,bootindex=1


    I am able to use that form with custom live-cd of debian without issues.

    But the current trixie netinst installer fails to recognize cdrom,
    and does not even load virtio-blk module.

    Loading this module manually, does not look to help.


    Regards,
    Witold


    -- System Information:
    Debian Release: 13.0
    APT prefers testing-security
    APT policy: (500, 'testing-security'), (500, 'testing-debug'), (500, 'testing')
    Architecture: amd64 (x86_64)
    Foreign Architectures: i386

    Kernel: Linux 6.16.0-rc4 (SMP w/32 CPU threads; PREEMPT)
    Kernel taint flags: TAINT_CPU_OUT_OF_SPEC, TAINT_UNSIGNED_MODULE
    Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
    Shell: /bin/sh linked to /usr/bin/dash
    Init: systemd (via /run/systemd/system)

    --- SoupGate-Win32 v1.05
    * Origin: you cannot sedate... all the things you hate (1:229/2)