Page MenuHomeFreeBSD

Provide an option to send non-fatal machine-check errors to syslog (instead of the console)
AcceptedPublic

Authored by jtl on Sep 8 2017, 3:34 PM.
Tags
None
Referenced Files
Unknown Object (File)
Jan 1 2024, 3:06 AM
Unknown Object (File)
Jun 3 2023, 1:34 AM
Unknown Object (File)
May 14 2023, 6:10 AM
Subscribers

Details

Reviewers
jhb
scottl
Summary

Currently, all machine-check errors are logged to the console.

This change provides an option to send machine-check errors to the log instead of the console.

Also, it makes sure we don't double-log uncorrectable errors.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

jhb added inline comments.
FreeBSD/sys/x86/x86/mca.c
305

I'm a bit leery of putting 1k on the stack. I have some old patches to use dedicated stacks for MC# (similar to what we do for NMI) which we might consider at some point and which would perhaps alleviate that worry.

This revision is now accepted and ready to land.Sep 8 2017, 6:23 PM