[prev in list] [next in list] [prev in thread] [next in thread]
List: grub-help
Subject: RE: How to debug GRUB2 if my grub_dprintf is not working ?
From: "Baylis, Neil" <neil.baylis () hpe ! com>
Date: 2018-07-24 22:34:53
Message-ID: TU4PR8401MB094101239856031B2A8EF829E4550 () TU4PR8401MB0941 ! NAMPRD84 ! PROD ! OUTLOOK ! COM
[Download RAW message or body]
You can try grub_printf instead of grub_dprintf.
-----Original Message-----
From: Help-grub [mailto:help-grub-bounces+neil.baylis=hpe.com@gnu.org] On Behalf Of \
shenbagaraja s
Sent: Thursday, July 19, 2018 3:08 PM
To: help-grub@gnu.org
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
Help-grub@gnu.org
https://lists.gnu.org/mailman/listinfo/help-grub
_______________________________________________
Help-grub mailing list
Help-grub@gnu.org
https://lists.gnu.org/mailman/listinfo/help-grub
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic