diff options
author | Gleb Smirnoff <glebius@FreeBSD.org> | 2023-03-31 18:19:25 +0000 |
---|---|---|
committer | Gleb Smirnoff <glebius@FreeBSD.org> | 2023-03-31 18:19:25 +0000 |
commit | 4358928e235c1e188ad6b4650d78bcceb225b909 (patch) | |
tree | 4c3084bbdf3f1eb95b6e03eb0aa3afc2b1bbe4a1 | |
parent | cb750f7f5afb3df6d32aa6557d9b9f217fdb1eff (diff) | |
download | src-4358928e235c1e188ad6b4650d78bcceb225b909.tar.gz src-4358928e235c1e188ad6b4650d78bcceb225b909.zip |
amd64 loader: plug hard hang with serial console enabled
The hang basically bricks a physical box and it can be recovered
only if you are able to boot from alternate media. This isn't a
perfect fix, but throw it in before loader experts decide on
proper one.
Submitted by: whu
Fixes: 927358dd98cb902160093e0dc0bac002d6b43858
-rw-r--r-- | stand/efi/loader/efiserialio.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/stand/efi/loader/efiserialio.c b/stand/efi/loader/efiserialio.c index 5fbc700f6ac2..0f37ef8b87dd 100644 --- a/stand/efi/loader/efiserialio.c +++ b/stand/efi/loader/efiserialio.c @@ -265,6 +265,8 @@ comc_probe(struct console *sc) */ env = getenv("smbios.bios.version"); if (env == NULL || strncmp(env, "Hyper-V", 7) != 0) { + /* Disable being seen as "comconsole". */ + comconsole.c_name = "efiserialio"; return; } #endif |