[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: debian installer accessibility for arm64



Hi Samuel,


> On Mar 8, 2023, at 20:21, Samuel Thibault <sthibault@debian.org> wrote:
> 
> Frank Carmickle, le mer. 08 mars 2023 08:23:27 -0500, a ecrit:
>>> On Mar 7, 2023, at 19:18, Samuel Thibault <sthibault@debian.org> wrote:
>>> Frank Carmickle, le mer. 15 févr. 2023 11:22:02 -0500, a ecrit:
>>>>> Samuel Thibault, le lun. 13 févr. 2023 22:41:16 +0100, a ecrit:
>>>>> https://people.debian.org/~sthibault/mini.iso
>>> 
>>> I have updated the image above with the latest kernel from debian, which
>>> now includes sound drivers, could you download it again and try it?
>> 
>> I have tried it. I have found that I couldn't, unlike the last image you made, get it to come up talking.
> 
> Ah?
> 
>> Is it that you thought that speech wouldn't work?
> 
> No, it's supposed to have the audio drivers, and espeakup, and thus have
> speech synthesis.
> 
>> If so, you are correct, it does not. It seems as though the boot loader isn't including the appropriate kernel options, but I can't tell because when I press 's' it gives me the graphical installer.
> 
> That's not expected. How did you actually drive the grub menu, precisely?
> 
> How do you run your VM? I'm using 
> 
> qemu-system-aarch64 -cdrom mini.iso -m 1G -cpu max -machine type=virt -bios /usr/share/qemu-efi-aarch64/QEMU_EFI.fd -device intel-hda -device hda-output -serial stdio -device virtio-gpu-pci -device usb-ehci -device usb-kbd
> 
> and that comes up talking after pressing s on the virtual USB keyboard
> or on the serial port (i.e. the graphical window or the terminal)

I run mine inside UTM, which wraps qemu with a UI for setting all the things. This is what it reports as being the options that it's running with. Also, they have forked qemu and added spice.


qemu-system-aarch64 -L /private/var/folders/0_/jv5tb3xx49q1btrqvjn65llm0000gn/T/AppTranslocation/B97B29A9-FF3A-4C8F-8561-677844C94804/d/UTM.app/Contents/Resources/qemu -S -spice "unix=on,addr=/Users/frankiec/Library/Group Containers/WDNLXAD4W8.com.utmapp.UTM/E4FBD125-040E-48C4-A595-5D7DBDB1144D.spice,disable-ticketing=on,image-compression=off,playback-compression=off,streaming-video=off,gl=off" -chardev spiceport,id=org.qemu.monitor.qmp,name=org.qemu.monitor.qmp.0 -mon chardev=org.qemu.monitor.qmp,mode=control -nodefaults -vga none -device virtio-net-pci,mac=A2:AC:BF:D7:68:E6,netdev=net0 -netdev vmnet-shared,id=net0 -device ramfb -chardev socket,id=term0,port=3321,host=127.0.0.1,server=on,wait=off -serial chardev:term0 -cpu host -smp cpus=4,sockets=1,cores=4,threads=1 -machine virt -accel hvf -drive if=pflash,format=raw,unit=0,file=/private/var/folders/0_/jv5tb3xx49q1btrqvjn65llm0000gn/T/AppTranslocation/B97B29A9-FF3A-4C8F-8561-677844C94804/d/UTM.app/Contents/Resources/qemu/edk2-aarch64-code.fd,readonly=on -drive if=pflash,unit=1,file=/Users/frankiec/Library/Containers/com.utmapp.UTM/Data/Documents/samuels_alpha2_installer.utm/Data/efi_vars.fd -m 4096 -device ich9-intel-hda -device hda-duplex -device nec-usb-xhci,id=usb-bus -device usb-tablet,bus=usb-bus.0 -device usb-mouse,bus=usb-bus.0 -device usb-kbd,bus=usb-bus.0 -device qemu-xhci,id=usb-controller-0 -chardev spicevmc,name=usbredir,id=usbredirchardev0 -device usb-redir,chardev=usbredirchardev0,id=usbredirdev0,bus=usb-controller-0.0 -chardev spicevmc,name=usbredir,id=usbredirchardev1 -device usb-redir,chardev=usbredirchardev1,id=usbredirdev1,bus=usb-controller-0.0 -chardev spicevmc,name=usbredir,id=usbredirchardev2 -device usb-redir,chardev=usbredirchardev2,id=usbredirdev2,bus=usb-controller-0.0 -device usb-storage,drive=drive805A43D7-75E1-4BDB-A5E5-E1CE26444F84,removable=true,bootindex=0,bus=usb-bus.0 -drive if=none,media=cdrom,id=drive805A43D7-75E1-4BDB-A5E5-E1CE26444F84,file=/Users/frankiec/Downloads/mini-2.iso,readonly=on -device virtio-serial -device virtserialport,chardev=vdagent,name=com.redhat.spice.0 -chardev spicevmc,id=vdagent,debug=0,name=vdagent -name samuels_alpha2_installer -uuid E4FBD125-040E-48C4-A595-5D7DBDB1144D -device virtio-rng-pci -device virtio-balloon-pci

As you can see I'm using the tcp server mode for the serial line, which was all I could get working under macos. Because of that, I don't have proper terminal support on the serial line, arrow keys don't work. When I press 's' over serial, nothing happens. When I press 's' in the UTM virtual terminal area, it does not boot. If I then press enter in the serial console it boots into the dialog interface. Because the serial interface doesn't have proper terminal emulation I can't actually advance through the installer at all. I was hoping I could drive the installer from one screen and watch the output in the other, but even that isn't seeming to work.

Yesterday I tried getting macports build of qemu running, which is a bit more vanilla, it doesn't contain spice, and it uses the coreaudio backend instead.. I haven't gotten anything out of that yet. I'll keep testing, seeing as how others seem to be able to make it work, and your last one works, apart from the sound that quits after just a few minutes.

> 
>> When I arrow down to the entry that should be "install with speech" I don't get any output at all on the serial line. 
> 
> You mean after validating in a grub menu that does show up on the serial
> line?
> 
> Please be *very* precise in your report, since I have no idea how things
> are happening on your side.
> 
>> I've been trying to find the build instructions for the Debian Installer. Do you know where I can find them?
> 
> https://wiki.debian.org/DebianInstaller/Build
> but quite often there are rough edges.

Thanks for that.

Best,
--FC


Reply to: