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

Re: Trying to run debian arm64 installer in qemu-system-aarch64 on amd64



On 22/12/2020 00:47, Witold Baryluk wrote:
> Hi Alper.
> 
> That was the trick!
> 
> It looks like a progress.
> 
> `console=tty0` added in the grub to linux line.
> 
> And it works, the first ~25 seconds there is a black/blank screen, and
> qemu says "Guest disabled this display".
> 
> It eventually does switch to framebuffer, and the X.org server for
> graphical install starts too (but in a bit weird resolution, which
> appears to be 1348 × 656 pixels).

I think the weird resolution is from the window size. Other than that
I'm mostly seeing the same behaviour (not that long to launch though,
but I'm on arm64 with kvm). For the display getting turned on & off,
I've heard there are efifb, simple-framebuffer etc. which would make it
work seamlessly but I don't know much about how to get it done.

> The only minor issues, is that the majority of initial kernel messages
> go to serial console only, and none to frame buffer. I.e. first 22
> seconds of messages go to serial console only. It is reasonable, but a
> bit different than on x86.

This is due to the Linux kernel, it enables and prefers the serial
console on arm64. If you don't add console=tty0, they won't get printed
to the framebuffer at all (on ACPI devices).

> PS. Adding extra `-device VGA` causes Xorg to be confused, and not
> know which framebuffer to use).

I tried that and see this happening too, but no idea what happens why.

> PS2. After that, I got hit with the virtio storage not detected, but
> that is the issue on all architectures that I know (I did hit this
> previous on alpha for example), like reported in
> https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=689528  , and the
> workaround posted there also works.

(If you're still looking for `list-devices cd` it's probably actually
debian-installer-utils/list-devices-linux [1])

[1]
https://salsa.debian.org/installer-team/debian-installer-utils/-/blob/master/list-devices-linux

> PS3. Then I got hit by kernel module mismatch between my iso and the
> network repository, but that is known issue with debian installer
> snapshots.

Yeah, happens frequently.


Reply to: