Bug 194022 - Cannot do continue boot with defaults/do a cpu reset from boot2
Summary: Cannot do continue boot with defaults/do a cpu reset from boot2
Status: Closed Overcome By Events
Alias: None
Product: Base System
Classification: Unclassified
Component: kern (show other bugs)
Version: CURRENT
Hardware: Any Any
: --- Affects Some People
Assignee: freebsd-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-09-29 20:55 UTC by Enji Cooper
Modified: 2024-04-15 22:43 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Enji Cooper freebsd_committer freebsd_triage 2014-09-29 20:55:46 UTC
If I drop into the boot2 prompt, I can't issue a command or key strokes to do a CPU reset of the machine. It would be nice if end-users could do this because there are issues that I've run into in the past (mostly with older releases, e.g. 6.x~7.x), where if there's garbled text that comes across a serial console, it can get a machine stuck on the boot2 prompt and there's no way to either continue the boot (with the default value) or issue a CPU reset.
Comment 1 Xin LI freebsd_committer freebsd_triage 2024-04-15 22:43:41 UTC
This haven't been touched for a decade, so closing as overcome by events as newer hardware are generally using EFI, and nobody appear to be working on this anyways.

I think this can be accomplished by something like:

```
static void
reboot(void)
{

        v86.addr = 0x19;
        v86int();
}
```