Nothing tells the SMC that a power off or restart was user requested, so
the T2 keeps rebooting the machine thinking the system is wedged.
Details
Diff Detail
- Repository
- rG FreeBSD src repository
- Lint
Lint Passed - Unit
No Test Coverage - Build Status
Buildable 78786 Build 75669: arc lint + arc unit
Event Timeline
Would this also fix the "your system was restarted due to a problem?" issue I frequently see booting up macOS after rebooting cleanly from FreeBSD?
Approved; please add a Tested section listing some of the hardware you tested it on and what happened before/after.
@ngie , yes, this is the goal this diff. When a restart is not clean MacOS will report the error.
In Mac Mini, when the power off is not asserted, the machine is repowered on after few minutes.
@adrian , this is tested in every hardware 2006-2020. And verified with Meridian (The boot-loader will report that the init is not clean).
@ngie , yes, this is the goal this diff. When a restart is not clean MacOS will report the error.
In Mac Mini, when the power off is not asserted, the machine is repowered on after few minutes.
Yikes! Great catch.
I wonder if T1.2 needs the same or similar treatment.
Approved-by: ngie (co-mentor)