* How can I debug the grub2.02?
@ 2018-08-22 10:20 Sherry Zhang(BJ-RD)
2018-08-22 10:36 ` Paul Menzel
0 siblings, 1 reply; 2+ messages in thread
From: Sherry Zhang(BJ-RD) @ 2018-08-22 10:20 UTC (permalink / raw)
To: grub-devel@gnu.org
[-- Attachment #1: Type: text/plain, Size: 826 bytes --]
Hi all,
Platform : i386-pc
Grub2.02
I run into a error while I am testing. I have found that it is normal berfore BIOS using the INT19 . But when the linux OS System is booting , I can see the error log.
So I doubt the error happens when the grub is running.
If I want to debug grub, how can I see the booting log of the boot.img and core.img?
For example :
Grub-core/kern/main.c
grub_boot_time ("After loading embedded modules.");
How can I see this log?
Best regards,
Sherry Zhang
?????
?????????????????????????????????????????????????????
CONFIDENTIAL NOTE:
This email contains confidential or legally privileged information and is for the sole use of its intended recipient. Any unauthorized review, use, copying or forwarding of this email or the content of this email is strictly prohibited.
[-- Attachment #2: Type: text/html, Size: 4619 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: How can I debug the grub2.02?
2018-08-22 10:20 How can I debug the grub2.02? Sherry Zhang(BJ-RD)
@ 2018-08-22 10:36 ` Paul Menzel
0 siblings, 0 replies; 2+ messages in thread
From: Paul Menzel @ 2018-08-22 10:36 UTC (permalink / raw)
To: Sherry Zhang; +Cc: grub-devel
[-- Attachment #1: Type: text/plain, Size: 1088 bytes --]
Dear Sherry,
On 08/22/18 12:20, Sherry Zhang wrote:
> I run into a error while I am testing. I have found that it is
> normal berfore BIOS using the INT19 . But when the linux OS System is
> booting , I can see the error log. So I doubt the error happens when
> the grub is running. If I want to debug grub, how can I see the
> booting log of the boot.img and core.img?
> For example : Grub-core/kern/main.c grub_boot_time ("After loading
> embedded modules."); How can I see this log?
You can use the serial console. Look into terminal_output. If you run
coreboot, you could also use cbmemc.
Kind regards,
Paul
PS: Your footer below is not useful for mailing lists. Please do not
include that in future messages.
> ????? ?????????????????????????????????????????????????????
> CONFIDENTIAL NOTE: This email contains confidential or legally
> privileged information and is for the sole use of its intended
> recipient. Any unauthorized review, use, copying or forwarding of
> this email or the content of this email is strictly prohibited.
[-- Attachment #2: S/MIME Cryptographic Signature --]
[-- Type: application/pkcs7-signature, Size: 5174 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2018-08-22 10:44 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-08-22 10:20 How can I debug the grub2.02? Sherry Zhang(BJ-RD)
2018-08-22 10:36 ` Paul Menzel
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).