diff options
Diffstat (limited to 'sys/amd64')
-rw-r--r-- | sys/amd64/amd64/machdep.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/sys/amd64/amd64/machdep.c b/sys/amd64/amd64/machdep.c index 9fd3272f23f7..7f6241af908e 100644 --- a/sys/amd64/amd64/machdep.c +++ b/sys/amd64/amd64/machdep.c @@ -1853,6 +1853,15 @@ hammer_time(u_int64_t modulep, u_int64_t physfree) if (late_console) cninit(); + /* + * Dump the boot metadata. We have to wait for cninit() since console + * output is required. If it's grossly incorrect the kernel will never + * make it this far. + */ + if ((boothowto & RB_VERBOSE) && + getenv_is_true("debug.dump_modinfo_at_boot")) + preload_dump(); + #ifdef DEV_ISA #ifdef DEV_ATPIC elcr_probe(); |