Subversion Repositories configs

Rev

Rev 34 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
34 - 1
#!/bin/sh
2
#  This shell script is executed by mcelog in daemon mode when
3
#  an not otherwise handled machine check error happens.
4
#
5
# environment:
6
# MESSAGE	Human readable consolidated error message
7
# LOCATION	Consolidated location as a single string
8
# SOCKETID	Socket ID of CPU that includes the memory controller with the DIMM
9
# CPU		Linux CPU number that triggered the error
10
# STATUS	IA32_MCi_STATUS register value
11
# ADDR		IA32_MCi_ADDR register value
58 - 12
# MISC		IA32_MCi_MISC register value
34 - 13
# MCGSTATUS	IA32_MCG_STATUS register value
14
# MCGCAP	IA32_MCG_CAP register value
15
# For details on the register layout please see the Intel SDM http://www.intel.com/sdm
16
# volume 3, chapter 15
17
#
18
# note: will run as mcelog configured user
19
# this can be changed in mcelog.conf
20
 
21
logger -s -p daemon.err -t mcelog "$MESSAGE"
22
logger -s -p daemon.err -t mcelog "Location: $LOCATION"
23
 
24
[ -x ./unknown-error-trigger.local ] && . ./unknown-error-trigger.local
25
 
26
exit 0