Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 9 Aug 2018 08:54:31 +0100
From:      Johannes Lundberg <johalun0@gmail.com>
To:        freebsd-current <freebsd-current@freebsd.org>
Subject:   Early kernel boot log?
Message-ID:  <CAECmPwuJELN%2BL05z1a36DZd5FKCC=kRNS7swCjuqdA2uGPMpRA@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
Hi

So I believe the reason I'm not seeing and printf output in dmesg is that
it is too early in some functions.
For example
machdep.s
 getmemsize()
 add_efi_map_entries()
 etc

However, these functions do contain debug printf statements so if they're
logging to somewhere, where/how can I see this?

I also tried booting in bhyve too see if I could get any output via serial
console but nothing there either.

printfs in cpu_startup() does give me output in dmesg.

Cheers



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAECmPwuJELN%2BL05z1a36DZd5FKCC=kRNS7swCjuqdA2uGPMpRA>