grub-devel
[Top][All Lists]
Advanced

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

Re: Questions about grub_video_set_mode()


From: Paul Menzel
Subject: Re: Questions about grub_video_set_mode()
Date: Thu, 09 Aug 2018 09:29:55 +0200

Dear Dexuan,


Am Mittwoch, den 08.08.2018, 00:23 +0000 schrieb Dexuan Cui:

> I'm debugging a strange grub2 issue in a Linux Virtual Machine
> running on Hyper-V.

[…]

> 4. What's the best way to debug grub_video_set_mode()?
>   grub_dprintf() can't output anything in this function.

Why? Because the display is not working?

> Does grub support remote debugging via network?
> I know gdb can debug grub in Qemu, but here the issue looks like
> Hyper-V specific.

If Hyper-V can emulate a serial port, then this should be one way to
go. Something like below for `/etc/default/grub`.

GRUB_TERMINAL="console serial"
GRUB_SERIAL_COMMAND="serial --unit=0 --speed=115200"


Thanks,

Paul

Attachment: signature.asc
Description: This is a digitally signed message part


reply via email to

[Prev in Thread] Current Thread [Next in Thread]