[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: How to debug GRUB2 if my grub_dprintf is not working ?
From: |
Baylis, Neil |
Subject: |
RE: How to debug GRUB2 if my grub_dprintf is not working ? |
Date: |
Tue, 24 Jul 2018 22:34:53 +0000 |
You can try grub_printf instead of grub_dprintf.
-----Original Message-----
From: Help-grub [mailto:address@hidden On Behalf Of shenbagaraja s
Sent: Thursday, July 19, 2018 3:08 PM
To: address@hidden
Subject: How to debug GRUB2 if my grub_dprintf is not working ?
I am facing issue in my server which is hanging up everytime on grub shell.
And I am trying to debug this grub2 issue by adding grub_dprintf.
But those printf statements whatever I added are not visible in the console. I
also tried "set debug = all" from the grub shell prompt.
Is there some other way of adding the debug prints inside grub2 source?
Also I would like to know about how to debug Grub2 issue from using GDB?
My GNU GRUB version is 2.02~beta and OS is RHEL 7.4
Could anyone help on this?
Thanks
_______________________________________________
Help-grub mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/help-grub