sphinx.addnodesdocument)}( rawsourcechildren]( translations LanguagesNode)}(hhh](h pending_xref)}(hhh]docutils.nodesTextChinese (Simplified)}parenthsba attributes}(ids]classes]names]dupnames]backrefs] refdomainstdreftypedoc reftarget(/translations/zh_CN/admin-guide/RAS/mainmodnameN classnameN refexplicitutagnamehhh ubh)}(hhh]hChinese (Traditional)}hh2sbah}(h]h ]h"]h$]h&] refdomainh)reftypeh+ reftarget(/translations/zh_TW/admin-guide/RAS/mainmodnameN classnameN refexplicituh1hhh ubh)}(hhh]hItalian}hhFsbah}(h]h ]h"]h$]h&] refdomainh)reftypeh+ reftarget(/translations/it_IT/admin-guide/RAS/mainmodnameN classnameN refexplicituh1hhh ubh)}(hhh]hJapanese}hhZsbah}(h]h ]h"]h$]h&] refdomainh)reftypeh+ reftarget(/translations/ja_JP/admin-guide/RAS/mainmodnameN classnameN refexplicituh1hhh ubh)}(hhh]hKorean}hhnsbah}(h]h ]h"]h$]h&] refdomainh)reftypeh+ reftarget(/translations/ko_KR/admin-guide/RAS/mainmodnameN classnameN refexplicituh1hhh ubh)}(hhh]hSpanish}hhsbah}(h]h ]h"]h$]h&] refdomainh)reftypeh+ reftarget(/translations/sp_SP/admin-guide/RAS/mainmodnameN classnameN refexplicituh1hhh ubeh}(h]h ]h"]h$]h&]current_languageEnglishuh1h hh _documenthsourceNlineNubhcomment)}(h SPDX-License-Identifier: GPL-2.0h]h SPDX-License-Identifier: GPL-2.0}hhsbah}(h]h ]h"]h$]h&] xml:spacepreserveuh1hhhhhhB/var/lib/git/docbuild/linux/Documentation/admin-guide/RAS/main.rsthKubh)}(h4This data file has been placed in the public domain.h]h4This data file has been placed in the public domain.}hhsbah}(h]h ]h"]h$]h&]hhuh1hhhhhho/srv/docbuild/lib/venvs/build-kernel-docs/lib64/python3.9/site-packages/docutils/parsers/rst/include/isonum.txthKubh)}(hDerived from the Unicode character mappings available from . Processed by unicode2rstsubs.py, part of Docutils: .h]hDerived from the Unicode character mappings available from . Processed by unicode2rstsubs.py, part of Docutils: .}hhsbah}(h]h ]h"]h$]h&]hhuh1hhhhhhhhKubhsubstitution_definition)}(h*.. |amp| unicode:: U+00026 .. AMPERSANDh]h&}hhsbah}(h]h ]h"]ampah$]h&]uh1hhhhKhhhhubh)}(h+.. |apos| unicode:: U+00027 .. APOSTROPHEh]h'}hhsbah}(h]h ]h"]aposah$]h&]uh1hhhhKhhhhubh)}(h).. |ast| unicode:: U+0002A .. ASTERISKh]h*}hhsbah}(h]h ]h"]astah$]h&]uh1hhhhK hhhhubh)}(h+.. |brvbar| unicode:: U+000A6 .. BROKEN BARh]h¦}hjsbah}(h]h ]h"]brvbarah$]h&]uh1hhhhK hhhhubh)}(h0.. |bsol| unicode:: U+0005C .. REVERSE SOLIDUSh]h\}hjsbah}(h]h ]h"]bsolah$]h&]uh1hhhhK hhhhubh)}(h*.. |cent| unicode:: U+000A2 .. CENT SIGNh]h¢}hjsbah}(h]h ]h"]centah$]h&]uh1hhhhK hhhhubh)}(h&.. |colon| unicode:: U+0003A .. COLONh]h:}hj-sbah}(h]h ]h"]colonah$]h&]uh1hhhhK hhhhubh)}(h&.. |comma| unicode:: U+0002C .. COMMAh]h,}hj<sbah}(h]h ]h"]commaah$]h&]uh1hhhhKhhhhubh)}(h... |commat| unicode:: U+00040 .. COMMERCIAL ATh]h@}hjKsbah}(h]h ]h"]commatah$]h&]uh1hhhhKhhhhubh)}(h/.. |copy| unicode:: U+000A9 .. COPYRIGHT SIGNh]h©}hjZsbah}(h]h ]h"]copyah$]h&]uh1hhhhKhhhhubh)}(h... |curren| unicode:: U+000A4 .. CURRENCY SIGNh]h¤}hjisbah}(h]h ]h"]currenah$]h&]uh1hhhhKhhhhubh)}(h0.. |darr| unicode:: U+02193 .. DOWNWARDS ARROWh]h↓}hjxsbah}(h]h ]h"]darrah$]h&]uh1hhhhKhhhhubh)}(h,.. |deg| unicode:: U+000B0 .. DEGREE SIGNh]h°}hjsbah}(h]h ]h"]degah$]h&]uh1hhhhKhhhhubh)}(h... |divide| unicode:: U+000F7 .. DIVISION SIGNh]h÷}hjsbah}(h]h ]h"]divideah$]h&]uh1hhhhKhhhhubh)}(h,.. |dollar| unicode:: U+00024 .. DOLLAR SIGNh]h$}hjsbah}(h]h ]h"]dollarah$]h&]uh1hhhhKhhhhubh)}(h,.. |equals| unicode:: U+0003D .. EQUALS SIGNh]h=}hjsbah}(h]h ]h"]equalsah$]h&]uh1hhhhKhhhhubh)}(h1.. |excl| unicode:: U+00021 .. EXCLAMATION MARKh]h!}hjsbah}(h]h ]h"]exclah$]h&]uh1hhhhKhhhhubh)}(h9.. |frac12| unicode:: U+000BD .. VULGAR FRACTION ONE HALFh]h½}hjsbah}(h]h ]h"]frac12ah$]h&]uh1hhhhKhhhhubh)}(h<.. |frac14| unicode:: U+000BC .. VULGAR FRACTION ONE QUARTERh]h¼}hjsbah}(h]h ]h"]frac14ah$]h&]uh1hhhhKhhhhubh)}(h;.. |frac18| unicode:: U+0215B .. VULGAR FRACTION ONE EIGHTHh]h⅛}hjsbah}(h]h ]h"]frac18ah$]h&]uh1hhhhKhhhhubh)}(h?.. |frac34| unicode:: U+000BE .. VULGAR FRACTION THREE QUARTERSh]h¾}hjsbah}(h]h ]h"]frac34ah$]h&]uh1hhhhKhhhhubh)}(h>.. |frac38| unicode:: U+0215C .. VULGAR FRACTION THREE EIGHTHSh]h⅜}hjsbah}(h]h ]h"]frac38ah$]h&]uh1hhhhKhhhhubh)}(h=.. |frac58| unicode:: U+0215D .. VULGAR FRACTION FIVE EIGHTHSh]h⅝}hjsbah}(h]h ]h"]frac58ah$]h&]uh1hhhhKhhhhubh)}(h>.. |frac78| unicode:: U+0215E .. VULGAR FRACTION SEVEN EIGHTHSh]h⅞}hj,sbah}(h]h ]h"]frac78ah$]h&]uh1hhhhKhhhhubh)}(h2.. |gt| unicode:: U+0003E .. GREATER-THAN SIGNh]h>}hj;sbah}(h]h ]h"]gtah$]h&]uh1hhhhKhhhhubh)}(h9.. |half| unicode:: U+000BD .. VULGAR FRACTION ONE HALFh]h½}hjJsbah}(h]h ]h"]halfah$]h&]uh1hhhhK hhhhubh)}(h/.. |horbar| unicode:: U+02015 .. HORIZONTAL BARh]h―}hjYsbah}(h]h ]h"]horbarah$]h&]uh1hhhhK!hhhhubh)}(h'.. |hyphen| unicode:: U+02010 .. HYPHENh]h‐}hjhsbah}(h]h ]h"]hyphenah$]h&]uh1hhhhK"hhhhubh)}(h:.. |iexcl| unicode:: U+000A1 .. INVERTED EXCLAMATION MARKh]h¡}hjwsbah}(h]h ]h"]iexclah$]h&]uh1hhhhK#hhhhubh)}(h7.. |iquest| unicode:: U+000BF .. INVERTED QUESTION MARKh]h¿}hjsbah}(h]h ]h"]iquestah$]h&]uh1hhhhK$hhhhubh)}(hJ.. |laquo| unicode:: U+000AB .. LEFT-POINTING DOUBLE ANGLE QUOTATION MARKh]h«}hjsbah}(h]h ]h"]laquoah$]h&]uh1hhhhK%hhhhubh)}(h0.. |larr| unicode:: U+02190 .. LEFTWARDS ARROWh]h←}hjsbah}(h]h ]h"]larrah$]h&]uh1hhhhK&hhhhubh)}(h3.. |lcub| unicode:: U+0007B .. LEFT CURLY BRACKETh]h{}hjsbah}(h]h ]h"]lcubah$]h&]uh1hhhhK'hhhhubh)}(h;.. |ldquo| unicode:: U+0201C .. LEFT DOUBLE QUOTATION MARKh]h“}hjsbah}(h]h ]h"]ldquoah$]h&]uh1hhhhK(hhhhubh)}(h).. |lowbar| unicode:: U+0005F .. LOW LINEh]h_}hjsbah}(h]h ]h"]lowbarah$]h&]uh1hhhhK)hhhhubh)}(h1.. |lpar| unicode:: U+00028 .. LEFT PARENTHESISh]h(}hjsbah}(h]h ]h"]lparah$]h&]uh1hhhhK*hhhhubh)}(h4.. |lsqb| unicode:: U+0005B .. LEFT SQUARE BRACKETh]h[}hjsbah}(h]h ]h"]lsqbah$]h&]uh1hhhhK+hhhhubh)}(h;.. |lsquo| unicode:: U+02018 .. LEFT SINGLE QUOTATION MARKh]h‘}hjsbah}(h]h ]h"]lsquoah$]h&]uh1hhhhK,hhhhubh)}(h/.. |lt| unicode:: U+0003C .. LESS-THAN SIGNh]h<}hj sbah}(h]h ]h"]ltah$]h&]uh1hhhhK-hhhhubh)}(h+.. |micro| unicode:: U+000B5 .. MICRO SIGNh]hµ}hjsbah}(h]h ]h"]microah$]h&]uh1hhhhK.hhhhubh)}(h+.. |middot| unicode:: U+000B7 .. MIDDLE DOTh]h·}hj+sbah}(h]h ]h"]middotah$]h&]uh1hhhhK/hhhhubh)}(h/.. |nbsp| unicode:: U+000A0 .. NO-BREAK SPACEh]h }hj:sbah}(h]h ]h"]nbspah$]h&]uh1hhhhK0hhhhubh)}(h).. |not| unicode:: U+000AC .. NOT SIGNh]h¬}hjIsbah}(h]h ]h"]notah$]h&]uh1hhhhK1hhhhubh)}(h,.. |num| unicode:: U+00023 .. NUMBER SIGNh]h#}hjXsbah}(h]h ]h"]numah$]h&]uh1hhhhK2hhhhubh)}(h).. |ohm| unicode:: U+02126 .. OHM SIGNh]hΩ}hjgsbah}(h]h ]h"]ohmah$]h&]uh1hhhhK3hhhhubh)}(h;.. |ordf| unicode:: U+000AA .. FEMININE ORDINAL INDICATORh]hª}hjvsbah}(h]h ]h"]ordfah$]h&]uh1hhhhK4hhhhubh)}(h<.. |ordm| unicode:: U+000BA .. MASCULINE ORDINAL INDICATORh]hº}hjsbah}(h]h ]h"]ordmah$]h&]uh1hhhhK5hhhhubh)}(h-.. |para| unicode:: U+000B6 .. PILCROW SIGNh]h¶}hjsbah}(h]h ]h"]paraah$]h&]uh1hhhhK6hhhhubh)}(h-.. |percnt| unicode:: U+00025 .. PERCENT SIGNh]h%}hjsbah}(h]h ]h"]percntah$]h&]uh1hhhhK7hhhhubh)}(h*.. |period| unicode:: U+0002E .. FULL STOPh]h.}hjsbah}(h]h ]h"]periodah$]h&]uh1hhhhK8hhhhubh)}(h*.. |plus| unicode:: U+0002B .. PLUS SIGNh]h+}hjsbah}(h]h ]h"]plusah$]h&]uh1hhhhK9hhhhubh)}(h0.. |plusmn| unicode:: U+000B1 .. PLUS-MINUS SIGNh]h±}hjsbah}(h]h ]h"]plusmnah$]h&]uh1hhhhK:hhhhubh)}(h+.. |pound| unicode:: U+000A3 .. POUND SIGNh]h£}hjsbah}(h]h ]h"]poundah$]h&]uh1hhhhK;hhhhubh)}(h... |quest| unicode:: U+0003F .. QUESTION MARKh]h?}hjsbah}(h]h ]h"]questah$]h&]uh1hhhhKhhhhubh)}(h1.. |rarr| unicode:: U+02192 .. RIGHTWARDS ARROWh]h→}hjsbah}(h]h ]h"]rarrah$]h&]uh1hhhhK?hhhhubh)}(h4.. |rcub| unicode:: U+0007D .. RIGHT CURLY BRACKETh]h}}hj*sbah}(h]h ]h"]rcubah$]h&]uh1hhhhK@hhhhubh)}(h<.. |rdquo| unicode:: U+0201D .. RIGHT DOUBLE QUOTATION MARKh]h”}hj9sbah}(h]h ]h"]rdquoah$]h&]uh1hhhhKAhhhhubh)}(h0.. |reg| unicode:: U+000AE .. REGISTERED SIGNh]h®}hjHsbah}(h]h ]h"]regah$]h&]uh1hhhhKBhhhhubh)}(h2.. |rpar| unicode:: U+00029 .. RIGHT PARENTHESISh]h)}hjWsbah}(h]h ]h"]rparah$]h&]uh1hhhhKChhhhubh)}(h5.. |rsqb| unicode:: U+0005D .. RIGHT SQUARE BRACKETh]h]}hjfsbah}(h]h ]h"]rsqbah$]h&]uh1hhhhKDhhhhubh)}(h<.. |rsquo| unicode:: U+02019 .. RIGHT SINGLE QUOTATION MARKh]h’}hjusbah}(h]h ]h"]rsquoah$]h&]uh1hhhhKEhhhhubh)}(h-.. |sect| unicode:: U+000A7 .. SECTION SIGNh]h§}hjsbah}(h]h ]h"]sectah$]h&]uh1hhhhKFhhhhubh)}(h*.. |semi| unicode:: U+0003B .. SEMICOLONh]h;}hjsbah}(h]h ]h"]semiah$]h&]uh1hhhhKGhhhhubh)}(h,.. |shy| unicode:: U+000AD .. SOFT HYPHENh]h­}hjsbah}(h]h ]h"]shyah$]h&]uh1hhhhKHhhhhubh)}(h(.. |sol| unicode:: U+0002F .. SOLIDUSh]h/}hjsbah}(h]h ]h"]solah$]h&]uh1hhhhKIhhhhubh)}(h,.. |sung| unicode:: U+0266A .. EIGHTH NOTEh]h♪}hjsbah}(h]h ]h"]sungah$]h&]uh1hhhhKJhhhhubh)}(h0.. |sup1| unicode:: U+000B9 .. SUPERSCRIPT ONEh]h¹}hjsbah}(h]h ]h"]sup1ah$]h&]uh1hhhhKKhhhhubh)}(h0.. |sup2| unicode:: U+000B2 .. SUPERSCRIPT TWOh]h²}hjsbah}(h]h ]h"]sup2ah$]h&]uh1hhhhKLhhhhubh)}(h2.. |sup3| unicode:: U+000B3 .. SUPERSCRIPT THREEh]h³}hjsbah}(h]h ]h"]sup3ah$]h&]uh1hhhhKMhhhhubh)}(h4.. |times| unicode:: U+000D7 .. MULTIPLICATION SIGNh]h×}hjsbah}(h]h ]h"]timesah$]h&]uh1hhhhKNhhhhubh)}(h0.. |trade| unicode:: U+02122 .. TRADE MARK SIGNh]h™}hj sbah}(h]h ]h"]tradeah$]h&]uh1hhhhKOhhhhubh)}(h... |uarr| unicode:: U+02191 .. UPWARDS ARROWh]h↑}hjsbah}(h]h ]h"]uarrah$]h&]uh1hhhhKPhhhhubh)}(h... |verbar| unicode:: U+0007C .. VERTICAL LINEh]h|}hj)sbah}(h]h ]h"]verbarah$]h&]uh1hhhhKQhhhhubh)}(h*.. |yen| unicode:: U+000A5 .. YEN SIGN h]h¥}hj8sbah}(h]h ]h"]yenah$]h&]uh1hhhhKRhhhhubhsection)}(hhh](htitle)}(h2Reliability, Availability and Serviceability (RAS)h]h2Reliability, Availability and Serviceability (RAS)}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1jLhjIhhhhhKubh paragraph)}(hPThis documents different aspects of the RAS functionality present in the kernel.h]hPThis documents different aspects of the RAS functionality present in the kernel.}(hj^hhhNhNubah}(h]h ]h"]h$]h&]uh1j\hhhKhjIhhubjH)}(hhh](jM)}(h RAS conceptsh]h RAS concepts}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1jLhjlhhhhhK ubj])}(hrReliability, Availability and Serviceability (RAS) is a concept used on servers meant to measure their robustness.h]hrReliability, Availability and Serviceability (RAS) is a concept used on servers meant to measure their robustness.}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1j\hhhKhjlhhubhdefinition_list)}(hhh](hdefinition_list_item)}(hReliability is the probability that a system will produce correct outputs. * Generally measured as Mean Time Between Failures (MTBF) * Enhanced by features that help to avoid, detect and repair hardware faults h](hterm)}(h Reliabilityh]h Reliability}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhhhKhjubh definition)}(hhh](j])}(h>is the probability that a system will produce correct outputs.h]h>is the probability that a system will produce correct outputs.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1j\hhhKhjubh bullet_list)}(hhh](h list_item)}(h7Generally measured as Mean Time Between Failures (MTBF)h]j])}(hjh]h7Generally measured as Mean Time Between Failures (MTBF)}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1j\hhhKhjubah}(h]h ]h"]h$]h&]uh1jhjubj)}(hKEnhanced by features that help to avoid, detect and repair hardware faults h]j])}(hJEnhanced by features that help to avoid, detect and repair hardware faultsh]hJEnhanced by features that help to avoid, detect and repair hardware faults}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1j\hhhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]bullet*uh1jhhhKhjubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhhhKhjubj)}(hAvailability is the probability that a system is operational at a given time * Generally measured as a percentage of downtime per a period of time * Often uses mechanisms to detect and correct hardware faults in runtime; h](j)}(h Availabilityh]h Availability}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhhhKhjubj)}(hhh](j])}(h?is the probability that a system is operational at a given timeh]h?is the probability that a system is operational at a given time}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1j\hhhKhjubj)}(hhh](j)}(hCGenerally measured as a percentage of downtime per a period of timeh]j])}(hj+h]hCGenerally measured as a percentage of downtime per a period of time}(hj-hhhNhNubah}(h]h ]h"]h$]h&]uh1j\hhhKhj)ubah}(h]h ]h"]h$]h&]uh1jhj&ubj)}(hHOften uses mechanisms to detect and correct hardware faults in runtime; h]j])}(hGOften uses mechanisms to detect and correct hardware faults in runtime;h]hGOften uses mechanisms to detect and correct hardware faults in runtime;}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1j\hhhKhj@ubah}(h]h ]h"]h$]h&]uh1jhj&ubeh}(h]h ]h"]h$]h&]jjuh1jhhhKhjubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhhhKhjhhubj)}(hServiceability (or maintainability) is the simplicity and speed with which a system can be repaired or maintained * Generally measured on Mean Time Between Repair (MTBR) h](j)}(h#Serviceability (or maintainability)h]h#Serviceability (or maintainability)}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jhhhK"hjjubj)}(hhh](j])}(hMis the simplicity and speed with which a system can be repaired or maintainedh]hMis the simplicity and speed with which a system can be repaired or maintained}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1j\hhhKhj|ubj)}(hhh]j)}(h6Generally measured on Mean Time Between Repair (MTBR) h]j])}(h5Generally measured on Mean Time Between Repair (MTBR)h]h5Generally measured on Mean Time Between Repair (MTBR)}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1j\hhhK"hjubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]jjuh1jhhhK"hj|ubeh}(h]h ]h"]h$]h&]uh1jhjjubeh}(h]h ]h"]h$]h&]uh1jhhhK"hjhhubeh}(h]h ]h"]h$]h&]uh1jhjlhhhNhNubjH)}(hhh](jM)}(h Improving RASh]h Improving RAS}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jLhjhhhhhK%ubj])}(hXSIn order to reduce systems downtime, a system should be capable of detecting hardware errors, and, when possible correcting them in runtime. It should also provide mechanisms to detect hardware degradation, in order to warn the system administrator to take the action of replacing a component before it causes data loss or system downtime.h]hXSIn order to reduce systems downtime, a system should be capable of detecting hardware errors, and, when possible correcting them in runtime. It should also provide mechanisms to detect hardware degradation, in order to warn the system administrator to take the action of replacing a component before it causes data loss or system downtime.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1j\hhhK'hjhhubj])}(h;Among the monitoring measures, the most usual ones include:h]h;Among the monitoring measures, the most usual ones include:}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1j\hhhK-hjhhubj)}(hhh](j)}(hFCPU – detect errors at instruction execution and at L1/L2/L3 caches;h]j])}(hjh]hFCPU – detect errors at instruction execution and at L1/L2/L3 caches;}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1j\hhhK/hjubah}(h]h ]h"]h$]h&]uh1jhjhhhhhNubj)}(hIMemory – add error correction logic (ECC) to detect and correct errors;h]j])}(hj h]hIMemory – add error correction logic (ECC) to detect and correct errors;}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1j\hhhK0hjubah}(h]h ]h"]h$]h&]uh1jhjhhhhhNubj)}(h/I/O – add CRC checksums for transferred data;h]j])}(hj h]h/I/O – add CRC checksums for transferred data;}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1j\hhhK1hjubah}(h]h ]h"]h$]h&]uh1jhjhhhhhNubj)}(hoStorage – RAID, journal file systems, checksums, Self-Monitoring, Analysis and Reporting Technology (SMART). h]j])}(hnStorage – RAID, journal file systems, checksums, Self-Monitoring, Analysis and Reporting Technology (SMART).h]hnStorage – RAID, journal file systems, checksums, Self-Monitoring, Analysis and Reporting Technology (SMART).}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1j\hhhK2hj5ubah}(h]h ]h"]h$]h&]uh1jhjhhhhhNubeh}(h]h ]h"]h$]h&]jjuh1jhhhK/hjhhubj])}(hBy monitoring the number of occurrences of error detections, it is possible to identify if the probability of hardware errors is increasing, and, on such case, do a preventive maintenance to replace a degraded component while those errors are correctable.h]hBy monitoring the number of occurrences of error detections, it is possible to identify if the probability of hardware errors is increasing, and, on such case, do a preventive maintenance to replace a degraded component while those errors are correctable.}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1j\hhhK5hjhhubeh}(h] improving-rasah ]h"] improving rasah$]h&]uh1jGhjlhhhhhK%ubjH)}(hhh](jM)}(hTypes of errorsh]hTypes of errors}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1jLhjihhhhhK;ubj])}(hX7Most mechanisms used on modern systems use technologies like Hamming Codes that allow error correction when the number of errors on a bit packet is below a threshold. If the number of errors is above, those mechanisms can indicate with a high degree of confidence that an error happened, but they can't correct.h]hX9Most mechanisms used on modern systems use technologies like Hamming Codes that allow error correction when the number of errors on a bit packet is below a threshold. If the number of errors is above, those mechanisms can indicate with a high degree of confidence that an error happened, but they can’t correct.}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1j\hhhK=hjihhubj])}(hAlso, sometimes an error occur on a component that it is not used. For example, a part of the memory that it is not currently allocated.h]hAlso, sometimes an error occur on a component that it is not used. For example, a part of the memory that it is not currently allocated.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1j\hhhKChjihhubj])}(h'That defines some categories of errors:h]h'That defines some categories of errors:}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1j\hhhKFhjihhubj)}(hhh](j)}(h**Correctable Error (CE)** - the error detection mechanism detected and corrected the error. Such errors are usually not fatal, although some Kernel mechanisms allow the system administrator to consider them as fatal. h]j])}(h**Correctable Error (CE)** - the error detection mechanism detected and corrected the error. Such errors are usually not fatal, although some Kernel mechanisms allow the system administrator to consider them as fatal.h](hstrong)}(h**Correctable Error (CE)**h]hCorrectable Error (CE)}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh - the error detection mechanism detected and corrected the error. Such errors are usually not fatal, although some Kernel mechanisms allow the system administrator to consider them as fatal.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1j\hhhKHhjubah}(h]h ]h"]h$]h&]uh1jhjhhhhhNubj)}(h**Uncorrected Error (UE)** - the amount of errors happened above the error correction threshold, and the system was unable to auto-correct. h]j])}(h**Uncorrected Error (UE)** - the amount of errors happened above the error correction threshold, and the system was unable to auto-correct.h](j)}(h**Uncorrected Error (UE)**h]hUncorrected Error (UE)}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubhq - the amount of errors happened above the error correction threshold, and the system was unable to auto-correct.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1j\hhhKLhjubah}(h]h ]h"]h$]h&]uh1jhjhhhhhNubj)}(h**Fatal Error** - when an UE error happens on a critical component of the system (for example, a piece of the Kernel got corrupted by an UE), the only reliable way to avoid data corruption is to hang or reboot the machine. h]j])}(h**Fatal Error** - when an UE error happens on a critical component of the system (for example, a piece of the Kernel got corrupted by an UE), the only reliable way to avoid data corruption is to hang or reboot the machine.h](j)}(h**Fatal Error**h]h Fatal Error}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh - when an UE error happens on a critical component of the system (for example, a piece of the Kernel got corrupted by an UE), the only reliable way to avoid data corruption is to hang or reboot the machine.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1j\hhhKOhjubah}(h]h ]h"]h$]h&]uh1jhjhhhhhNubj)}(hX_**Non-fatal Error** - when an UE error happens on an unused component, like a CPU in power down state or an unused memory bank, the system may still run, eventually replacing the affected hardware by a hot spare, if available. Also, when an error happens on a userspace process, it is also possible to kill such process and let userspace restart it. h](j])}(h**Non-fatal Error** - when an UE error happens on an unused component, like a CPU in power down state or an unused memory bank, the system may still run, eventually replacing the affected hardware by a hot spare, if available.h](j)}(h**Non-fatal Error**h]hNon-fatal Error}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh - when an UE error happens on an unused component, like a CPU in power down state or an unused memory bank, the system may still run, eventually replacing the affected hardware by a hot spare, if available.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1j\hhhKShjubj])}(hzAlso, when an error happens on a userspace process, it is also possible to kill such process and let userspace restart it.h]hzAlso, when an error happens on a userspace process, it is also possible to kill such process and let userspace restart it.}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1j\hhhKXhjubeh}(h]h ]h"]h$]h&]uh1jhjhhhhhNubeh}(h]h ]h"]h$]h&]jjuh1jhhhKHhjihhubj])}(hThe mechanism for handling non-fatal errors is usually complex and may require the help of some userspace application, in order to apply the policy desired by the system administrator.h]hThe mechanism for handling non-fatal errors is usually complex and may require the help of some userspace application, in order to apply the policy desired by the system administrator.}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1j\hhhK[hjihhubeh}(h]types-of-errorsah ]h"]types of errorsah$]h&]uh1jGhjlhhhhhK;ubjH)}(hhh](jM)}(h$Identifying a bad hardware componenth]h$Identifying a bad hardware component}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jLhjkhhhhhK`ubj])}(hJust detecting a hardware flaw is usually not enough, as the system needs to pinpoint to the minimal replaceable unit (MRU) that should be exchanged to make the hardware reliable again.h]hJust detecting a hardware flaw is usually not enough, as the system needs to pinpoint to the minimal replaceable unit (MRU) that should be exchanged to make the hardware reliable again.}(hj|hhhNhNubah}(h]h ]h"]h$]h&]uh1j\hhhKbhjkhhubj])}(hSo, it requires not only error logging facilities, but also mechanisms that will translate the error message to the silkscreen or component label for the MRU.h]hSo, it requires not only error logging facilities, but also mechanisms that will translate the error message to the silkscreen or component label for the MRU.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1j\hhhKfhjkhhubj])}(hX-Typically, it is very complex for memory, as modern CPUs interlace memory from different memory modules, in order to provide a better performance. The DMI BIOS usually have a list of memory module labels, with can be obtained using the ``dmidecode`` tool. For example, on a desktop machine, it shows::h](hTypically, it is very complex for memory, as modern CPUs interlace memory from different memory modules, in order to provide a better performance. The DMI BIOS usually have a list of memory module labels, with can be obtained using the }(hjhhhNhNubhliteral)}(h ``dmidecode``h]h dmidecode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh3 tool. For example, on a desktop machine, it shows:}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1j\hhhKjhjkhhubh literal_block)}(hXMMemory Device Total Width: 64 bits Data Width: 64 bits Size: 16384 MB Form Factor: SODIMM Set: None Locator: ChannelA-DIMM0 Bank Locator: BANK 0 Type: DDR4 Type Detail: Synchronous Speed: 2133 MHz Rank: 2 Configured Clock Speed: 2133 MHzh]hXMMemory Device Total Width: 64 bits Data Width: 64 bits Size: 16384 MB Form Factor: SODIMM Set: None Locator: ChannelA-DIMM0 Bank Locator: BANK 0 Type: DDR4 Type Detail: Synchronous Speed: 2133 MHz Rank: 2 Configured Clock Speed: 2133 MHz}hjsbah}(h]h ]h"]h$]h&]hhuh1jhhhKohjkhhubj])}(hX8On the above example, a DDR4 SO-DIMM memory module is located at the system's memory labeled as "BANK 0", as given by the *bank locator* field. Please notice that, on such system, the *total width* is equal to the *data width*. It means that such memory module doesn't have error detection/correction mechanisms.h](hOn the above example, a DDR4 SO-DIMM memory module is located at the system’s memory labeled as “BANK 0”, as given by the }(hjhhhNhNubhemphasis)}(h*bank locator*h]h bank locator}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh0 field. Please notice that, on such system, the }(hjhhhNhNubj)}(h *total width*h]h total width}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh is equal to the }(hjhhhNhNubj)}(h *data width*h]h data width}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubhX. It means that such memory module doesn’t have error detection/correction mechanisms.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1j\hhhK}hjkhhubj])}(hUnfortunately, not all systems use the same field to specify the memory bank. On this example, from an older server, ``dmidecode`` shows::h](huUnfortunately, not all systems use the same field to specify the memory bank. On this example, from an older server, }(hj hhhNhNubj)}(h ``dmidecode``h]h dmidecode}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubh shows:}(hj hhhNhNubeh}(h]h ]h"]h$]h&]uh1j\hhhKhjkhhubj)}(hXMemory Device Array Handle: 0x1000 Error Information Handle: Not Provided Total Width: 72 bits Data Width: 64 bits Size: 8192 MB Form Factor: DIMM Set: 1 Locator: DIMM_A1 Bank Locator: Not Specified Type: DDR3 Type Detail: Synchronous Registered (Buffered) Speed: 1600 MHz Rank: 2 Configured Clock Speed: 1600 MHzh]hXMemory Device Array Handle: 0x1000 Error Information Handle: Not Provided Total Width: 72 bits Data Width: 64 bits Size: 8192 MB Form Factor: DIMM Set: 1 Locator: DIMM_A1 Bank Locator: Not Specified Type: DDR3 Type Detail: Synchronous Registered (Buffered) Speed: 1600 MHz Rank: 2 Configured Clock Speed: 1600 MHz}hj0 sbah}(h]h ]h"]h$]h&]hhuh1jhhhKhjkhhubj])}(hXvThere, the DDR3 RDIMM memory module is located at the system's memory labeled as "DIMM_A1", as given by the *locator* field. Please notice that this memory module has 64 bits of *data width* and 72 bits of *total width*. So, it has 8 extra bits to be used by error detection and correction mechanisms. Such kind of memory is called Error-correcting code memory (ECC memory).h](hrThere, the DDR3 RDIMM memory module is located at the system’s memory labeled as “DIMM_A1”, as given by the }(hj> hhhNhNubj)}(h *locator*h]hlocator}(hjF hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj> ubh= field. Please notice that this memory module has 64 bits of }(hj> hhhNhNubj)}(h *data width*h]h data width}(hjX hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj> ubh and 72 bits of }(hj> hhhNhNubj)}(h *total width*h]h total width}(hjj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj> ubh. So, it has 8 extra bits to be used by error detection and correction mechanisms. Such kind of memory is called Error-correcting code memory (ECC memory).}(hj> hhhNhNubeh}(h]h ]h"]h$]h&]uh1j\hhhKhjkhhubj])}(hTo make things even worse, it is not uncommon that systems with different labels on their system's board to use exactly the same BIOS, meaning that the labels provided by the BIOS won't match the real ones.h]hTo make things even worse, it is not uncommon that systems with different labels on their system’s board to use exactly the same BIOS, meaning that the labels provided by the BIOS won’t match the real ones.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1j\hhhKhjkhhubeh}(h]$identifying-a-bad-hardware-componentah ]h"]$identifying a bad hardware componentah$]h&]uh1jGhjlhhhhhK`ubjH)}(hhh](jM)}(h ECC memoryh]h ECC memory}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jLhj hhhhhKubj])}(hXGAs mentioned in the previous section, ECC memory has extra bits to be used for error correction. In the above example, a memory module has 64 bits of *data width*, and 72 bits of *total width*. The extra 8 bits which are used for the error detection and correction mechanisms are referred to as the *syndrome*\ [#f1]_\ [#f2]_.h](hAs mentioned in the previous section, ECC memory has extra bits to be used for error correction. In the above example, a memory module has 64 bits of }(hj hhhNhNubj)}(h *data width*h]h data width}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubh, and 72 bits of }(hj hhhNhNubj)}(h *total width*h]h total width}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubhl. The extra 8 bits which are used for the error detection and correction mechanisms are referred to as the }(hj hhhNhNubj)}(h *syndrome*h]hsyndrome}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubh }(hj hhhNhNubhfootnote_reference)}(h[#f1]_h]h1}(hj hhhNhNubah}(h]id1ah ]h"]h$]h&]autoKrefidf1docnameadmin-guide/RAS/mainuh1j hj resolvedKubh }hj sbj )}(h[#f2]_h]h2}(hj hhhNhNubah}(h]id2ah ]h"]h$]h&]j Kj f2j j uh1j hj j Kubh.}(hj hhhNhNubeh}(h]h ]h"]h$]h&]uh1j\hhhKhj hhubj])}(hX2So, when the cpu requests the memory controller to write a word with *data width*, the memory controller calculates the *syndrome* in real time, using Hamming code, or some other error correction code, like SECDED+, producing a code with *total width* size. Such code is then written on the memory modules.h](hESo, when the cpu requests the memory controller to write a word with }(hj hhhNhNubj)}(h *data width*h]h data width}(hj$ hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubh', the memory controller calculates the }(hj hhhNhNubj)}(h *syndrome*h]hsyndrome}(hj6 hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubhl in real time, using Hamming code, or some other error correction code, like SECDED+, producing a code with }(hj hhhNhNubj)}(h *total width*h]h total width}(hjH hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubh7 size. Such code is then written on the memory modules.}(hj hhhNhNubeh}(h]h ]h"]h$]h&]uh1j\hhhKhj hhubj])}(hAt read, the *total width* bits code is converted back, using the same ECC code used on write, producing a word with *data width* and a *syndrome*. The word with *data width* is sent to the CPU, even when errors happen.h](h At read, the }(hj` hhhNhNubj)}(h *total width*h]h total width}(hjh hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj` ubh[ bits code is converted back, using the same ECC code used on write, producing a word with }(hj` hhhNhNubj)}(h *data width*h]h data width}(hjz hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj` ubh and a }(hj` hhhNhNubj)}(h *syndrome*h]hsyndrome}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj` ubh. The word with }(hj` hhhNhNubj)}(h *data width*h]h data width}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj` ubh- is sent to the CPU, even when errors happen.}(hj` hhhNhNubeh}(h]h ]h"]h$]h&]uh1j\hhhKhj hhubj])}(hThe memory controller also looks at the *syndrome* in order to check if there was an error, and if the ECC code was able to fix such error. If the error was corrected, a Corrected Error (CE) happened. If not, an Uncorrected Error (UE) happened.h](h(The memory controller also looks at the }(hj hhhNhNubj)}(h *syndrome*h]hsyndrome}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubh in order to check if there was an error, and if the ECC code was able to fix such error. If the error was corrected, a Corrected Error (CE) happened. If not, an Uncorrected Error (UE) happened.}(hj hhhNhNubeh}(h]h ]h"]h$]h&]uh1j\hhhKhj hhubj])}(hX8The information about the CE/UE errors is stored on some special registers at the memory controller and can be accessed by reading such registers, either by BIOS, by some special CPUs or by Linux EDAC driver. On x86 64 bit CPUs, such errors can also be retrieved via the Machine Check Architecture (MCA)\ [#f3]_.h](hX1The information about the CE/UE errors is stored on some special registers at the memory controller and can be accessed by reading such registers, either by BIOS, by some special CPUs or by Linux EDAC driver. On x86 64 bit CPUs, such errors can also be retrieved via the Machine Check Architecture (MCA) }(hj hhhNhNubj )}(h[#f3]_h]h3}(hj hhhNhNubah}(h]id3ah ]h"]h$]h&]j Kj f3j j uh1j hj j Kubh.}(hj hhhNhNubeh}(h]h ]h"]h$]h&]uh1j\hhhKhj hhubhfootnote)}(hXPlease notice that several memory controllers allow operation on a mode called "Lock-Step", where it groups two memory modules together, doing 128-bit reads/writes. That gives 16 bits for error correction, with significantly improves the error correction mechanism, at the expense that, when an error happens, there's no way to know what memory module is to blame. So, it has to blame both memory modules. h](hlabel)}(hhh]h1}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1j hj hhhNhNubj])}(hXPlease notice that several memory controllers allow operation on a mode called "Lock-Step", where it groups two memory modules together, doing 128-bit reads/writes. That gives 16 bits for error correction, with significantly improves the error correction mechanism, at the expense that, when an error happens, there's no way to know what memory module is to blame. So, it has to blame both memory modules.h]hXPlease notice that several memory controllers allow operation on a mode called “Lock-Step”, where it groups two memory modules together, doing 128-bit reads/writes. That gives 16 bits for error correction, with significantly improves the error correction mechanism, at the expense that, when an error happens, there’s no way to know what memory module is to blame. So, it has to blame both memory modules.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1j\hhhKhj ubeh}(h]j ah ]h"]f1ah$]h&]j aj Kj j uh1j hhhKhj hhubj )}(hXSome memory controllers also allow using memory in mirror mode. On such mode, the same data is written to two memory modules. At read, the system checks both memory modules, in order to check if both provide identical data. On such configuration, when an error happens, there's no way to know what memory module is to blame. So, it has to blame both memory modules (or 4 memory modules, if the system is also on Lock-step mode). h](j )}(hhh]h2}(hj& hhhNhNubah}(h]h ]h"]h$]h&]uh1j hj" hhhNhNubj])}(hXSome memory controllers also allow using memory in mirror mode. On such mode, the same data is written to two memory modules. At read, the system checks both memory modules, in order to check if both provide identical data. On such configuration, when an error happens, there's no way to know what memory module is to blame. So, it has to blame both memory modules (or 4 memory modules, if the system is also on Lock-step mode).h]hXSome memory controllers also allow using memory in mirror mode. On such mode, the same data is written to two memory modules. At read, the system checks both memory modules, in order to check if both provide identical data. On such configuration, when an error happens, there’s no way to know what memory module is to blame. So, it has to blame both memory modules (or 4 memory modules, if the system is also on Lock-step mode).}(hj3 hhhNhNubah}(h]h ]h"]h$]h&]uh1j\hhhKhj" ubeh}(h]j ah ]h"]f2ah$]h&]j aj Kj j uh1j hhhKhj hhubj )}(hFor more details about the Machine Check Architecture (MCA), please read Documentation/arch/x86/x86_64/machinecheck.rst at the Kernel tree. h](j )}(hhh]h3}(hjL hhhNhNubah}(h]h ]h"]h$]h&]uh1j hjH hhhNhNubj])}(hFor more details about the Machine Check Architecture (MCA), please read Documentation/arch/x86/x86_64/machinecheck.rst at the Kernel tree.h]hFor more details about the Machine Check Architecture (MCA), please read Documentation/arch/x86/x86_64/machinecheck.rst at the Kernel tree.}(hjY hhhNhNubah}(h]h ]h"]h$]h&]uh1j\hhhKhjH ubeh}(h]j ah ]h"]f3ah$]h&]j aj Kj j uh1j hhhKhj hhubeh}(h] ecc-memoryah ]h"] ecc memoryah$]h&]uh1jGhjlhhhhhKubeh}(h] ras-conceptsah ]h"] ras conceptsah$]h&]uh1jGhjIhhhhhK ubjH)}(hhh](jM)}(h%EDAC - Error Detection And Correctionh]h%EDAC - Error Detection And Correction}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jLhj~ hhhhhKubhnote)}(hX?"bluesmoke" was the name for this device driver subsystem when it was "out-of-tree" and maintained at http://bluesmoke.sourceforge.net. That site is mostly archaic now and can be used only for historical purposes. When the subsystem was pushed upstream for the first time, on Kernel 2.6.16, it was renamed to ``EDAC``.h](j])}(h"bluesmoke" was the name for this device driver subsystem when it was "out-of-tree" and maintained at http://bluesmoke.sourceforge.net. That site is mostly archaic now and can be used only for historical purposes.h](hn“bluesmoke” was the name for this device driver subsystem when it was “out-of-tree” and maintained at }(hj hhhNhNubh reference)}(h http://bluesmoke.sourceforge.neth]h http://bluesmoke.sourceforge.net}(hj hhhNhNubah}(h]h ]h"]h$]h&]refurij uh1j hj ubhO. That site is mostly archaic now and can be used only for historical purposes.}(hj hhhNhNubeh}(h]h ]h"]h$]h&]uh1j\hhhKhj ubj])}(hhWhen the subsystem was pushed upstream for the first time, on Kernel 2.6.16, it was renamed to ``EDAC``.h](h_When the subsystem was pushed upstream for the first time, on Kernel 2.6.16, it was renamed to }(hj hhhNhNubj)}(h``EDAC``h]hEDAC}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubh.}(hj hhhNhNubeh}(h]h ]h"]h$]h&]uh1j\hhhKhj ubeh}(h]h ]h"]h$]h&]uh1j hj~ hhhhhNubjH)}(hhh](jM)}(hPurposeh]hPurpose}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jLhj hhhhhKubj])}(hThe ``edac`` kernel module's goal is to detect and report hardware errors that occur within the computer system running under linux.h](hThe }(hj hhhNhNubj)}(h``edac``h]hedac}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubhz kernel module’s goal is to detect and report hardware errors that occur within the computer system running under linux.}(hj hhhNhNubeh}(h]h ]h"]h$]h&]uh1j\hhhKhj hhubeh}(h]purposeah ]h"]purposeah$]h&]uh1jGhj~ hhhhhKubjH)}(hhh](jM)}(hMemoryh]hMemory}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jLhj hhhhhKubj])}(hMemory Correctable Errors (CE) and Uncorrectable Errors (UE) are the primary errors being harvested. These types of errors are harvested by the ``edac_mc`` device.h](hMemory Correctable Errors (CE) and Uncorrectable Errors (UE) are the primary errors being harvested. These types of errors are harvested by the }(hj( hhhNhNubj)}(h ``edac_mc``h]hedac_mc}(hj0 hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj( ubh device.}(hj( hhhNhNubeh}(h]h ]h"]h$]h&]uh1j\hhhKhj hhubj])}(hDetecting CE events, then harvesting those events and reporting them, **can** but must not necessarily be a predictor of future UE events. With CE events only, the system can and will continue to operate as no data has been damaged yet.h](hFDetecting CE events, then harvesting those events and reporting them, }(hjH hhhNhNubj)}(h**can**h]hcan}(hjP hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjH ubh but must not necessarily be a predictor of future UE events. With CE events only, the system can and will continue to operate as no data has been damaged yet.}(hjH hhhNhNubeh}(h]h ]h"]h$]h&]uh1j\hhhKhj hhubj])}(hHowever, preventive maintenance and proactive part replacement of memory modules exhibiting CEs can reduce the likelihood of the dreaded UE events and system panics.h]hHowever, preventive maintenance and proactive part replacement of memory modules exhibiting CEs can reduce the likelihood of the dreaded UE events and system panics.}(hjh hhhNhNubah}(h]h ]h"]h$]h&]uh1j\hhhKhj hhubeh}(h]memoryah ]h"]memoryah$]h&]uh1jGhj~ hhhhhKubjH)}(hhh](jM)}(hOther hardware elementsh]hOther hardware elements}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jLhj~ hhhhhKubj])}(hkA new feature for EDAC, the ``edac_device`` class of device, was added in the 2.6.23 version of the kernel.h](hA new feature for EDAC, the }(hj hhhNhNubj)}(h``edac_device``h]h edac_device}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubh@ class of device, was added in the 2.6.23 version of the kernel.}(hj hhhNhNubeh}(h]h ]h"]h$]h&]uh1j\hhhKhj~ hhubj])}(hThis new device type allows for non-memory type of ECC hardware detectors to have their states harvested and presented to userspace via the sysfs interface.h]hThis new device type allows for non-memory type of ECC hardware detectors to have their states harvested and presented to userspace via the sysfs interface.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1j\hhhKhj~ hhubj])}(hX6Some architectures have ECC detectors for L1, L2 and L3 caches, along with DMA engines, fabric switches, main data path switches, interconnections, and various other hardware data paths. If the hardware reports it, then a edac_device device probably can be constructed to harvest and present that to userspace.h]hX6Some architectures have ECC detectors for L1, L2 and L3 caches, along with DMA engines, fabric switches, main data path switches, interconnections, and various other hardware data paths. If the hardware reports it, then a edac_device device probably can be constructed to harvest and present that to userspace.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1j\hhhKhj~ hhubeh}(h]other-hardware-elementsah ]h"]other hardware elementsah$]h&]uh1jGhj~ hhhhhKubjH)}(hhh](jM)}(hPCI bus scanningh]hPCI bus scanning}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jLhj hhhhhMubj])}(hIn addition, PCI devices are scanned for PCI Bus Parity and SERR Errors in order to determine if errors are occurring during data transfers.h]hIn addition, PCI devices are scanned for PCI Bus Parity and SERR Errors in order to determine if errors are occurring during data transfers.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1j\hhhMhj hhubj])}(hXThe presence of PCI Parity errors must be examined with a grain of salt. There are several add-in adapters that do **not** follow the PCI specification with regards to Parity generation and reporting. The specification says the vendor should tie the parity status bits to 0 if they do not intend to generate parity. Some vendors do not do this, and thus the parity bit can "float" giving false positives.h](hsThe presence of PCI Parity errors must be examined with a grain of salt. There are several add-in adapters that do }(hj hhhNhNubj)}(h**not**h]hnot}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubhX follow the PCI specification with regards to Parity generation and reporting. The specification says the vendor should tie the parity status bits to 0 if they do not intend to generate parity. Some vendors do not do this, and thus the parity bit can “float” giving false positives.}(hj hhhNhNubeh}(h]h ]h"]h$]h&]uh1j\hhhM hj hhubj])}(hThere is a PCI device attribute located in sysfs that is checked by the EDAC PCI scanning code. If that attribute is set, PCI parity/error scanning is skipped for that device. The attribute is::h]hThere is a PCI device attribute located in sysfs that is checked by the EDAC PCI scanning code. If that attribute is set, PCI parity/error scanning is skipped for that device. The attribute is:}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1j\hhhMhj hhubj)}(hbroken_parity_statush]hbroken_parity_status}hj sbah}(h]h ]h"]h$]h&]hhuh1jhhhMhj hhubj])}(hUand is located in ``/sys/devices/pci/0000:XX:YY.Z`` directories for PCI devices.h](hand is located in }(hj. hhhNhNubj)}(h&``/sys/devices/pci/0000:XX:YY.Z``h]h"/sys/devices/pci/0000:XX:YY.Z}(hj6 hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj. ubh directories for PCI devices.}(hj. hhhNhNubeh}(h]h ]h"]h$]h&]uh1j\hhhMhj hhubeh}(h]pci-bus-scanningah ]h"]pci bus scanningah$]h&]uh1jGhj~ hhhhhMubjH)}(hhh](jM)}(h Versioningh]h Versioning}(hjY hhhNhNubah}(h]h ]h"]h$]h&]uh1jLhjV hhhhhMubj])}(hXFEDAC is composed of a "core" module (``edac_core.ko``) and several Memory Controller (MC) driver modules. On a given system, the CORE is loaded and one MC driver will be loaded. Both the CORE and the MC driver (or ``edac_device`` driver) have individual versions that reflect current release level of their respective modules.h](h)EDAC is composed of a “core” module (}(hjg hhhNhNubj)}(h``edac_core.ko``h]h edac_core.ko}(hjo hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjg ubh) and several Memory Controller (MC) driver modules. On a given system, the CORE is loaded and one MC driver will be loaded. Both the CORE and the MC driver (or }(hjg hhhNhNubj)}(h``edac_device``h]h edac_device}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjg ubha driver) have individual versions that reflect current release level of their respective modules.}(hjg hhhNhNubeh}(h]h ]h"]h$]h&]uh1j\hhhMhjV hhubj])}(htThus, to "report" on what version a system is running, one must report both the CORE's and the MC driver's versions.h]h|Thus, to “report” on what version a system is running, one must report both the CORE’s and the MC driver’s versions.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1j\hhhM$hjV hhubeh}(h] versioningah ]h"] versioningah$]h&]uh1jGhj~ hhhhhMubjH)}(hhh](jM)}(hLoadingh]hLoading}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jLhj hhhhhM)ubj])}(hXIf ``edac`` was statically linked with the kernel then no loading is necessary. If ``edac`` was built as modules then simply modprobe the ``edac`` pieces that you need. You should be able to modprobe hardware-specific modules and have the dependencies load the necessary core modules.h](hIf }(hj hhhNhNubj)}(h``edac``h]hedac}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubhH was statically linked with the kernel then no loading is necessary. If }(hj hhhNhNubj)}(h``edac``h]hedac}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubh/ was built as modules then simply modprobe the }(hj hhhNhNubj)}(h``edac``h]hedac}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubh pieces that you need. You should be able to modprobe hardware-specific modules and have the dependencies load the necessary core modules.}(hj hhhNhNubeh}(h]h ]h"]h$]h&]uh1j\hhhM+hj hhubj])}(h Example::h]hExample:}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1j\hhhM1hj hhubj)}(h$ modprobe amd76x_edach]h$ modprobe amd76x_edac}hjsbah}(h]h ]h"]h$]h&]hhuh1jhhhM3hj hhubj])}(h^loads both the ``amd76x_edac.ko`` memory controller module and the ``edac_mc.ko`` core module.h](hloads both the }(hj hhhNhNubj)}(h``amd76x_edac.ko``h]hamd76x_edac.ko}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubh" memory controller module and the }(hj hhhNhNubj)}(h``edac_mc.ko``h]h edac_mc.ko}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubh core module.}(hj hhhNhNubeh}(h]h ]h"]h$]h&]uh1j\hhhM5hj hhubeh}(h]loadingah ]h"]loadingah$]h&]uh1jGhj~ hhhhhM)ubjH)}(hhh](jM)}(hSysfs interfaceh]hSysfs interface}(hj]hhhNhNubah}(h]h ]h"]h$]h&]uh1jLhjZhhhhhM:ubj])}(h{EDAC presents a ``sysfs`` interface for control and reporting purposes. It lives in the /sys/devices/system/edac directory.h](hEDAC presents a }(hjkhhhNhNubj)}(h ``sysfs``h]hsysfs}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1jhjkubhb interface for control and reporting purposes. It lives in the /sys/devices/system/edac directory.}(hjkhhhNhNubeh}(h]h ]h"]h$]h&]uh1j\hhhM<hjZhhubj])}(h:Within this directory there currently reside 2 components:h]h:Within this directory there currently reside 2 components:}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1j\hhhM?hjZhhubh block_quote)}(h======= ============================== mc memory controller(s) system pci PCI control and status system ======= ============================== h]htable)}(hhh]htgroup)}(hhh](hcolspec)}(hhh]h}(h]h ]h"]h$]h&]colwidthKuh1jhjubj)}(hhh]h}(h]h ]h"]h$]h&]colwidthKuh1jhjubhtbody)}(hhh](hrow)}(hhh](hentry)}(hhh]j])}(hmch]hmc}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1j\hhhMBhjubah}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh]j])}(hmemory controller(s) systemh]hmemory controller(s) system}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1j\hhhMBhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh](j)}(hhh]j])}(hpcih]hpci}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1j\hhhMChjubah}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh]j])}(hPCI control and status systemh]hPCI control and status system}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1j\hhhMChjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]colsKuh1jhjubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhhhMAhjZhhubeh}(h]sysfs-interfaceah ]h"]sysfs interfaceah$]h&]uh1jGhj~ hhhhhM:ubjH)}(hhh](jM)}(hMemory Controller (mc) Modelh]hMemory Controller (mc) Model}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1jLhjWhhhhhMIubj])}(hEach ``mc`` device controls a set of memory modules [#f4]_. These modules are laid out in a Chip-Select Row (``csrowX``) and Channel table (``chX``). There can be multiple csrows and multiple channels.h](hEach }(hjhhhhNhNubj)}(h``mc``h]hmc}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1jhjhubh) device controls a set of memory modules }(hjhhhhNhNubj )}(h[#f4]_h]h4}(hjhhhNhNubah}(h]id4ah ]h"]h$]h&]j Kj f4j j uh1j hjhj Kubh3. These modules are laid out in a Chip-Select Row (}(hjhhhhNhNubj)}(h ``csrowX``h]hcsrowX}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjhubh) and Channel table (}(hjhhhhNhNubj)}(h``chX``h]hchX}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjhubh6). There can be multiple csrows and multiple channels.}(hjhhhhNhNubeh}(h]h ]h"]h$]h&]uh1j\hhhMKhjWhhubj )}(hXNowadays, the term DIMM (Dual In-line Memory Module) is widely used to refer to a memory module, although there are other memory packaging alternatives, like SO-DIMM, SIMM, etc. The UEFI specification (Version 2.7) defines a memory module in the Common Platform Error Record (CPER) section to be an SMBIOS Memory Device (Type 17). Along this document, and inside the EDAC subsystem, the term "dimm" is used for all memory modules, even when they use a different kind of packaging. h](j )}(hhh]h4}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1j hjhhhNhNubj])}(hXNowadays, the term DIMM (Dual In-line Memory Module) is widely used to refer to a memory module, although there are other memory packaging alternatives, like SO-DIMM, SIMM, etc. The UEFI specification (Version 2.7) defines a memory module in the Common Platform Error Record (CPER) section to be an SMBIOS Memory Device (Type 17). Along this document, and inside the EDAC subsystem, the term "dimm" is used for all memory modules, even when they use a different kind of packaging.h]hXNowadays, the term DIMM (Dual In-line Memory Module) is widely used to refer to a memory module, although there are other memory packaging alternatives, like SO-DIMM, SIMM, etc. The UEFI specification (Version 2.7) defines a memory module in the Common Platform Error Record (CPER) section to be an SMBIOS Memory Device (Type 17). Along this document, and inside the EDAC subsystem, the term “dimm” is used for all memory modules, even when they use a different kind of packaging.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1j\hhhMOhjubeh}(h]jah ]h"]f4ah$]h&]jaj Kj j uh1j hhhMOhjWhhubj])}(hMemory controllers allow for several csrows, with 8 csrows being a typical value. Yet, the actual number of csrows depends on the layout of a given motherboard, memory controller and memory module characteristics.h]hMemory controllers allow for several csrows, with 8 csrows being a typical value. Yet, the actual number of csrows depends on the layout of a given motherboard, memory controller and memory module characteristics.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1j\hhhMXhjWhhubj])}(hXDual channels allow for dual data length (e. g. 128 bits, on 64 bit systems) data transfers to/from the CPU from/to memory. Some newer chipsets allow for more than 2 channels, like Fully Buffered DIMMs (FB-DIMMs) memory controllers. The following example will assume 2 channels:h]hXDual channels allow for dual data length (e. g. 128 bits, on 64 bit systems) data transfers to/from the CPU from/to memory. Some newer chipsets allow for more than 2 channels, like Fully Buffered DIMMs (FB-DIMMs) memory controllers. The following example will assume 2 channels:}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1j\hhhM\hjWhhubj)}(hX+------------+-----------------------+ | CS Rows | Channels | +------------+-----------+-----------+ | | ``ch0`` | ``ch1`` | +============+===========+===========+ | |**DIMM_A0**|**DIMM_B0**| +------------+-----------+-----------+ | ``csrow0`` | rank0 | rank0 | +------------+-----------+-----------+ | ``csrow1`` | rank1 | rank1 | +------------+-----------+-----------+ | |**DIMM_A1**|**DIMM_B1**| +------------+-----------+-----------+ | ``csrow2`` | rank0 | rank0 | +------------+-----------+-----------+ | ``csrow3`` | rank1 | rank1 | +------------+-----------+-----------+ h]j)}(hhh]j)}(hhh](j)}(hhh]h}(h]h ]h"]h$]h&]colwidthK uh1jhj ubj)}(hhh]h}(h]h ]h"]h$]h&]colwidthK uh1jhj ubj)}(hhh]h}(h]h ]h"]h$]h&]colwidthK uh1jhj ubhthead)}(hhh](j)}(hhh](j)}(hhh]j])}(hCS Rowsh]hCS Rows}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1j\hhhMbhj2ubah}(h]h ]h"]h$]h&]uh1jhj/ubj)}(hhh]j])}(hChannelsh]hChannels}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1j\hhhMbhjIubah}(h]h ]h"]h$]h&]morecolsKuh1jhj/ubeh}(h]h ]h"]h$]h&]uh1jhj,ubj)}(hhh](j)}(hhh]h}(h]h ]h"]h$]h&]uh1jhjgubj)}(hhh]j])}(h``ch0``h]j)}(hjxh]hch0}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjvubah}(h]h ]h"]h$]h&]uh1j\hhhMdhjsubah}(h]h ]h"]h$]h&]uh1jhjgubj)}(hhh]j])}(h``ch1``h]j)}(hjh]hch1}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1j\hhhMdhjubah}(h]h ]h"]h$]h&]uh1jhjgubeh}(h]h ]h"]h$]h&]uh1jhj,ubeh}(h]h ]h"]h$]h&]uh1j*hj ubj)}(hhh](j)}(hhh](j)}(hhh]h}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh]j])}(h **DIMM_A0**h]j)}(hjh]hDIMM_A0}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1j\hhhMfhjubah}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh]j])}(h **DIMM_B0**h]j)}(hjh]hDIMM_B0}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1j\hhhMfhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh](j)}(hhh]j])}(h ``csrow0``h]j)}(hjh]hcsrow0}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1j\hhhMhhjubah}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh]j])}(hrank0h]hrank0}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1j\hhhMhhj7ubah}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh]j])}(hrank0h]hrank0}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1j\hhhMhhjNubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh](j)}(hhh]j])}(h ``csrow1``h]j)}(hjsh]hcsrow1}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjqubah}(h]h ]h"]h$]h&]uh1j\hhhMjhjnubah}(h]h ]h"]h$]h&]uh1jhjkubj)}(hhh]j])}(hrank1h]hrank1}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1j\hhhMjhjubah}(h]h ]h"]h$]h&]uh1jhjkubj)}(hhh]j])}(hrank1h]hrank1}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1j\hhhMjhjubah}(h]h ]h"]h$]h&]uh1jhjkubeh}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh](j)}(hhh]h}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh]j])}(h **DIMM_A1**h]j)}(hjh]hDIMM_A1}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1j\hhhMlhjubah}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh]j])}(h **DIMM_B1**h]j)}(hjh]hDIMM_B1}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1j\hhhMlhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh](j)}(hhh]j])}(h ``csrow2``h]j)}(hjh]hcsrow2}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1j\hhhMnhjubah}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh]j])}(hrank0h]hrank0}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1j\hhhMnhj7ubah}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh]j])}(hrank0h]hrank0}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1j\hhhMnhjNubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh](j)}(hhh]j])}(h ``csrow3``h]j)}(hjsh]hcsrow3}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjqubah}(h]h ]h"]h$]h&]uh1j\hhhMphjnubah}(h]h ]h"]h$]h&]uh1jhjkubj)}(hhh]j])}(hrank1h]hrank1}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1j\hhhMphjubah}(h]h ]h"]h$]h&]uh1jhjkubj)}(hhh]j])}(hrank1h]hrank1}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1j\hhhMphjubah}(h]h ]h"]h$]h&]uh1jhjkubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]colsKuh1jhjubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhhhMahjWhhubj])}(hUIn the above example, there are 4 physical slots on the motherboard for memory DIMMs:h]hUIn the above example, there are 4 physical slots on the motherboard for memory DIMMs:}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1j\hhhMshjWhhubj)}(hn+---------+---------+ | DIMM_A0 | DIMM_B0 | +---------+---------+ | DIMM_A1 | DIMM_B1 | +---------+---------+ h]j)}(hhh]j)}(hhh](j)}(hhh]h}(h]h ]h"]h$]h&]colwidthK uh1jhjubj)}(hhh]h}(h]h ]h"]h$]h&]colwidthK uh1jhjubj)}(hhh](j)}(hhh](j)}(hhh]j])}(hDIMM_A0h]hDIMM_A0}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1j\hhhMwhj ubah}(h]h ]h"]h$]h&]uh1jhj ubj)}(hhh]j])}(hDIMM_B0h]hDIMM_B0}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1j\hhhMwhj$ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh](j)}(hhh]j])}(hDIMM_A1h]hDIMM_A1}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1j\hhhMyhjDubah}(h]h ]h"]h$]h&]uh1jhjAubj)}(hhh]j])}(hDIMM_B1h]hDIMM_B1}(hj^hhhNhNubah}(h]h ]h"]h$]h&]uh1j\hhhMyhj[ubah}(h]h ]h"]h$]h&]uh1jhjAubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]colsKuh1jhjubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhhhMvhjWhhubj])}(hXLabels for these slots are usually silk-screened on the motherboard. Slots labeled ``A`` are channel 0 in this example. Slots labeled ``B`` are channel 1. Notice that there are two csrows possible on a physical DIMM. These csrows are allocated their csrow assignment based on the slot into which the memory DIMM is placed. Thus, when 1 DIMM is placed in each Channel, the csrows cross both DIMMs.h](hSLabels for these slots are usually silk-screened on the motherboard. Slots labeled }(hjhhhNhNubj)}(h``A``h]hA}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh. are channel 0 in this example. Slots labeled }(hjhhhNhNubj)}(h``B``h]hB}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubhX are channel 1. Notice that there are two csrows possible on a physical DIMM. These csrows are allocated their csrow assignment based on the slot into which the memory DIMM is placed. Thus, when 1 DIMM is placed in each Channel, the csrows cross both DIMMs.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1j\hhhM|hjWhhubj])}(hXMemory DIMMs come single or dual "ranked". A rank is a populated csrow. In the example above 2 dual ranked DIMMs are similarly placed. Thus, both csrow0 and csrow1 are populated. On the other hand, when 2 single ranked DIMMs are placed in slots DIMM_A0 and DIMM_B0, then they will have just one csrow (csrow0) and csrow1 will be empty. The pattern repeats itself for csrow2 and csrow3. Also note that some memory controllers don't have any logic to identify the memory module, see ``rankX`` directories below.h](hXMemory DIMMs come single or dual “ranked”. A rank is a populated csrow. In the example above 2 dual ranked DIMMs are similarly placed. Thus, both csrow0 and csrow1 are populated. On the other hand, when 2 single ranked DIMMs are placed in slots DIMM_A0 and DIMM_B0, then they will have just one csrow (csrow0) and csrow1 will be empty. The pattern repeats itself for csrow2 and csrow3. Also note that some memory controllers don’t have any logic to identify the memory module, see }(hjhhhNhNubj)}(h ``rankX``h]hrankX}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh directories below.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1j\hhhMhjWhhubj])}(hXThe representation of the above is reflected in the directory tree in EDAC's sysfs interface. Starting in directory ``/sys/devices/system/edac/mc``, each memory controller will be represented by its own ``mcX`` directory, where ``X`` is the index of the MC::h](hvThe representation of the above is reflected in the directory tree in EDAC’s sysfs interface. Starting in directory }(hjhhhNhNubj)}(h``/sys/devices/system/edac/mc``h]h/sys/devices/system/edac/mc}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh8, each memory controller will be represented by its own }(hjhhhNhNubj)}(h``mcX``h]hmcX}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh directory, where }(hjhhhNhNubj)}(h``X``h]hX}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh is the index of the MC:}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1j\hhhMhjWhhubj)}(h`..../edac/mc/ | |->mc0 |->mc1 |->mc2 ....h]h`..../edac/mc/ | |->mc0 |->mc1 |->mc2 ....}hj'sbah}(h]h ]h"]h$]h&]hhuh1jhhhMhjWhhubj])}(hsUnder each ``mcX`` directory each ``csrowX`` is again represented by a ``csrowX``, where ``X`` is the csrow index::h](h Under each }(hj5hhhNhNubj)}(h``mcX``h]hmcX}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj5ubh directory each }(hj5hhhNhNubj)}(h ``csrowX``h]hcsrowX}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj5ubh is again represented by a }(hj5hhhNhNubj)}(h ``csrowX``h]hcsrowX}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1jhj5ubh, where }(hj5hhhNhNubj)}(h``X``h]hX}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1jhj5ubh is the csrow index:}(hj5hhhNhNubeh}(h]h ]h"]h$]h&]uh1j\hhhMhjWhhubj)}(hX.../mc/mc0/ | |->csrow0 |->csrow2 |->csrow3 ....h]hX.../mc/mc0/ | |->csrow0 |->csrow2 |->csrow3 ....}hjsbah}(h]h ]h"]h$]h&]hhuh1jhhhMhjWhhubj])}(hX)Notice that there is no csrow1, which indicates that csrow0 is composed of a single ranked DIMMs. This should also apply in both Channels, in order to have dual-channel mode be operational. Since both csrow2 and csrow3 are populated, this indicates a dual ranked set of DIMMs for channels 0 and 1.h]hX)Notice that there is no csrow1, which indicates that csrow0 is composed of a single ranked DIMMs. This should also apply in both Channels, in order to have dual-channel mode be operational. Since both csrow2 and csrow3 are populated, this indicates a dual ranked set of DIMMs for channels 0 and 1.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1j\hhhMhjWhhubj])}(hcWithin each of the ``mcX`` and ``csrowX`` directories are several EDAC control and attribute files.h](hWithin each of the }(hjhhhNhNubj)}(h``mcX``h]hmcX}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh and }(hjhhhNhNubj)}(h ``csrowX``h]hcsrowX}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh: directories are several EDAC control and attribute files.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1j\hhhMhjWhhubeh}(h]memory-controller-mc-modelah ]h"]memory controller (mc) modelah$]h&]uh1jGhj~ hhhhhMIubjH)}(hhh](jM)}(h``mcX`` directoriesh](j)}(h``mcX``h]hmcX}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh directories}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jLhjhhhhhMubj])}(hnIn ``mcX`` directories are EDAC control and attribute files for this ``X`` instance of the memory controllers.h](hIn }(hjhhhNhNubj)}(h``mcX``h]hmcX}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh; directories are EDAC control and attribute files for this }(hjhhhNhNubj)}(h``X``h]hX}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh$ instance of the memory controllers.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1j\hhhMhjhhubj])}(h/For a description of the sysfs API, please see:h]h/For a description of the sysfs API, please see:}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1j\hhhMhjhhubj)}(h.Documentation/ABI/testing/sysfs-devices-edac h]j])}(h,Documentation/ABI/testing/sysfs-devices-edach]h,Documentation/ABI/testing/sysfs-devices-edac}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1j\hhhMhj@ubah}(h]h ]h"]h$]h&]uh1jhhhMhjhhubeh}(h]mcx-directoriesah ]h"]mcx directoriesah$]h&]uh1jGhj~ hhhhhMubjH)}(hhh](jM)}(h"``dimmX`` or ``rankX`` directoriesh](j)}(h ``dimmX``h]hdimmX}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1jhjcubh or }(hjchhhNhNubj)}(h ``rankX``h]hrankX}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjcubh directories}(hjchhhNhNubeh}(h]h ]h"]h$]h&]uh1jLhj`hhhhhMubj])}(hThe recommended way to use the EDAC subsystem is to look at the information provided by the ``dimmX`` or ``rankX`` directories [#f5]_.h](h\The recommended way to use the EDAC subsystem is to look at the information provided by the }(hjhhhNhNubj)}(h ``dimmX``h]hdimmX}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh or }(hjhhhNhNubj)}(h ``rankX``h]hrankX}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh directories }(hjhhhNhNubj )}(h[#f5]_h]h5}(hjhhhNhNubah}(h]id5ah ]h"]h$]h&]j Kj f5j j uh1j hjj Kubh.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1j\hhhMhj`hhubj])}(h_A typical EDAC system has the following structure under ``/sys/devices/system/edac/``\ [#f6]_::h](h8A typical EDAC system has the following structure under }(hjhhhNhNubj)}(h``/sys/devices/system/edac/``h]h/sys/devices/system/edac/}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh }(hjhhhNhNubj )}(h[#f6]_h]h6}(hjhhhNhNubah}(h]id6ah ]h"]h$]h&]j Kj f6j j uh1j hjj Kubh:}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1j\hhhMhj`hhubj)}(hX/sys/devices/system/edac/ ├── mc │   ├── mc0 │   │   ├── ce_count │   │   ├── ce_noinfo_count │   │   ├── dimm0 │   │   │   ├── dimm_ce_count │   │   │   ├── dimm_dev_type │   │   │   ├── dimm_edac_mode │   │   │   ├── dimm_label │   │   │   ├── dimm_location │   │   │   ├── dimm_mem_type │   │   │   ├── dimm_ue_count │   │   │   ├── size │   │   │   └── uevent │   │   ├── max_location │   │   ├── mc_name │   │   ├── reset_counters │   │   ├── seconds_since_reset │   │   ├── size_mb │   │   ├── ue_count │   │   ├── ue_noinfo_count │   │   └── uevent │   ├── mc1 │   │   ├── ce_count │   │   ├── ce_noinfo_count │   │   ├── dimm0 │   │   │   ├── dimm_ce_count │   │   │   ├── dimm_dev_type │   │   │   ├── dimm_edac_mode │   │   │   ├── dimm_label │   │   │   ├── dimm_location │   │   │   ├── dimm_mem_type │   │   │   ├── dimm_ue_count │   │   │   ├── size │   │   │   └── uevent │   │   ├── max_location │   │   ├── mc_name │   │   ├── reset_counters │   │   ├── seconds_since_reset │   │   ├── size_mb │   │   ├── ue_count │   │   ├── ue_noinfo_count │   │   └── uevent │   └── uevent └── ueventh]hX/sys/devices/system/edac/ ├── mc │   ├── mc0 │   │   ├── ce_count │   │   ├── ce_noinfo_count │   │   ├── dimm0 │   │   │   ├── dimm_ce_count │   │   │   ├── dimm_dev_type │   │   │   ├── dimm_edac_mode │   │   │   ├── dimm_label │   │   │   ├── dimm_location │   │   │   ├── dimm_mem_type │   │   │   ├── dimm_ue_count │   │   │   ├── size │   │   │   └── uevent │   │   ├── max_location │   │   ├── mc_name │   │   ├── reset_counters │   │   ├── seconds_since_reset │   │   ├── size_mb │   │   ├── ue_count │   │   ├── ue_noinfo_count │   │   └── uevent │   ├── mc1 │   │   ├── ce_count │   │   ├── ce_noinfo_count │   │   ├── dimm0 │   │   │   ├── dimm_ce_count │   │   │   ├── dimm_dev_type │   │   │   ├── dimm_edac_mode │   │   │   ├── dimm_label │   │   │   ├── dimm_location │   │   │   ├── dimm_mem_type │   │   │   ├── dimm_ue_count │   │   │   ├── size │   │   │   └── uevent │   │   ├── max_location │   │   ├── mc_name │   │   ├── reset_counters │   │   ├── seconds_since_reset │   │   ├── size_mb │   │   ├── ue_count │   │   ├── ue_noinfo_count │   │   └── uevent │   └── uevent └── uevent}hj sbah}(h]h ]h"]h$]h&]hhuh1jhhhMhj`hhubj])}(h_In the ``dimmX`` directories are EDAC control and attribute files for this ``X`` memory module:h](hIn the }(hjhhhNhNubj)}(h ``dimmX``h]hdimmX}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh; directories are EDAC control and attribute files for this }(hjhhhNhNubj)}(h``X``h]hX}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh memory module:}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1j\hhhMhj`hhubj)}(hhh](j)}(h``size`` - Total memory managed by this csrow attribute file This attribute file displays, in count of megabytes, the memory that this csrow contains. h](j])}(h<``size`` - Total memory managed by this csrow attribute fileh](j)}(h``size``h]hsize}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjRubh4 - Total memory managed by this csrow attribute file}(hjRhhhNhNubeh}(h]h ]h"]h$]h&]uh1j\hhhMhjNubj)}(hZThis attribute file displays, in count of megabytes, the memory that this csrow contains. h]j])}(hYThis attribute file displays, in count of megabytes, the memory that this csrow contains.h]hYThis attribute file displays, in count of megabytes, the memory that this csrow contains.}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1j\hhhMhjnubah}(h]h ]h"]h$]h&]uh1jhhhMhjNubeh}(h]h ]h"]h$]h&]uh1jhjKhhhhhNubj)}(hX'``dimm_ue_count`` - Uncorrectable Errors count attribute file This attribute file displays the total count of uncorrectable errors that have occurred on this DIMM. If panic_on_ue is set this counter will not have a chance to increment, since EDAC will panic the system. h](j])}(h=``dimm_ue_count`` - Uncorrectable Errors count attribute fileh](j)}(h``dimm_ue_count``h]h dimm_ue_count}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh, - Uncorrectable Errors count attribute file}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1j\hhhMhjubj)}(hThis attribute file displays the total count of uncorrectable errors that have occurred on this DIMM. If panic_on_ue is set this counter will not have a chance to increment, since EDAC will panic the system. h]j])}(hThis attribute file displays the total count of uncorrectable errors that have occurred on this DIMM. If panic_on_ue is set this counter will not have a chance to increment, since EDAC will panic the system.h]hThis attribute file displays the total count of uncorrectable errors that have occurred on this DIMM. If panic_on_ue is set this counter will not have a chance to increment, since EDAC will panic the system.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1j\hhhMhjubah}(h]h ]h"]h$]h&]uh1jhhhMhjubeh}(h]h ]h"]h$]h&]uh1jhjKhhhhhNubj)}(hX``dimm_ce_count`` - Correctable Errors count attribute file This attribute file displays the total count of correctable errors that have occurred on this DIMM. This count is very important to examine. CEs provide early indications that a DIMM is beginning to fail. This count field should be monitored for non-zero values and report such information to the system administrator. h](j])}(h;``dimm_ce_count`` - Correctable Errors count attribute fileh](j)}(h``dimm_ce_count``h]h dimm_ce_count}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh* - Correctable Errors count attribute file}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1j\hhhMhjubj)}(hX?This attribute file displays the total count of correctable errors that have occurred on this DIMM. This count is very important to examine. CEs provide early indications that a DIMM is beginning to fail. This count field should be monitored for non-zero values and report such information to the system administrator. h]j])}(hX>This attribute file displays the total count of correctable errors that have occurred on this DIMM. This count is very important to examine. CEs provide early indications that a DIMM is beginning to fail. This count field should be monitored for non-zero values and report such information to the system administrator.h]hX>This attribute file displays the total count of correctable errors that have occurred on this DIMM. This count is very important to examine. CEs provide early indications that a DIMM is beginning to fail. This count field should be monitored for non-zero values and report such information to the system administrator.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1j\hhhMhjubah}(h]h ]h"]h$]h&]uh1jhhhMhjubeh}(h]h ]h"]h$]h&]uh1jhjKhhhhhNubj)}(h``dimm_dev_type`` - Device type attribute file This attribute file will display what type of DRAM device is being utilized on this DIMM. Examples: - x1 - x2 - x4 - x8 h](j])}(h/``dimm_dev_type`` - Device type attribute fileh](j)}(h``dimm_dev_type``h]h dimm_dev_type}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubh - Device type attribute file}(hj hhhNhNubeh}(h]h ]h"]h$]h&]uh1j\hhhMhjubj)}(hThis attribute file will display what type of DRAM device is being utilized on this DIMM. Examples: - x1 - x2 - x4 - x8 h](j])}(hcThis attribute file will display what type of DRAM device is being utilized on this DIMM. Examples:h]hcThis attribute file will display what type of DRAM device is being utilized on this DIMM. Examples:}(hj,hhhNhNubah}(h]h ]h"]h$]h&]uh1j\hhhM hj(ubj)}(h- x1 - x2 - x4 - x8 h]j)}(hhh](j)}(hx1h]j])}(hjCh]hx1}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1j\hhhM hjAubah}(h]h ]h"]h$]h&]uh1jhj>ubj)}(hx2h]j])}(hjZh]hx2}(hj\hhhNhNubah}(h]h ]h"]h$]h&]uh1j\hhhMhjXubah}(h]h ]h"]h$]h&]uh1jhj>ubj)}(hx4h]j])}(hjqh]hx4}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1j\hhhMhjoubah}(h]h ]h"]h$]h&]uh1jhj>ubj)}(hx8 h]j])}(hx8h]hx8}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1j\hhhMhjubah}(h]h ]h"]h$]h&]uh1jhj>ubeh}(h]h ]h"]h$]h&]j-uh1jhhhM hj:ubah}(h]h ]h"]h$]h&]uh1jhhhM hj(ubeh}(h]h ]h"]h$]h&]uh1jhhhM hjubeh}(h]h ]h"]h$]h&]uh1jhjKhhhhhNubj)}(h``dimm_edac_mode`` - EDAC Mode of operation attribute file This attribute file will display what type of Error detection and correction is being utilized. h](j])}(h:``dimm_edac_mode`` - EDAC Mode of operation attribute fileh](j)}(h``dimm_edac_mode``h]hdimm_edac_mode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh( - EDAC Mode of operation attribute file}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1j\hhhMhjubj)}(h`This attribute file will display what type of Error detection and correction is being utilized. h]j])}(h_This attribute file will display what type of Error detection and correction is being utilized.h]h_This attribute file will display what type of Error detection and correction is being utilized.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1j\hhhMhjubah}(h]h ]h"]h$]h&]uh1jhhhMhjubeh}(h]h ]h"]h$]h&]uh1jhjKhhhhhNubj)}(hXo``dimm_label`` - memory module label control file This control file allows this DIMM to have a label assigned to it. With this label in the module, when errors occur the output can provide the DIMM label in the system log. This becomes vital for panic events to isolate the cause of the UE event. DIMM Labels must be assigned after booting, with information that correctly identifies the physical slot with its silk screen label. This information is currently very motherboard specific and determination of this information must occur in userland at this time. h](j])}(h1``dimm_label`` - memory module label control fileh](j)}(h``dimm_label``h]h dimm_label}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh# - memory module label control file}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1j\hhhMhjubj)}(hXThis control file allows this DIMM to have a label assigned to it. With this label in the module, when errors occur the output can provide the DIMM label in the system log. This becomes vital for panic events to isolate the cause of the UE event. DIMM Labels must be assigned after booting, with information that correctly identifies the physical slot with its silk screen label. This information is currently very motherboard specific and determination of this information must occur in userland at this time. h](j])}(hThis control file allows this DIMM to have a label assigned to it. With this label in the module, when errors occur the output can provide the DIMM label in the system log. This becomes vital for panic events to isolate the cause of the UE event.h]hThis control file allows this DIMM to have a label assigned to it. With this label in the module, when errors occur the output can provide the DIMM label in the system log. This becomes vital for panic events to isolate the cause of the UE event.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1j\hhhMhjubj])}(hXDIMM Labels must be assigned after booting, with information that correctly identifies the physical slot with its silk screen label. This information is currently very motherboard specific and determination of this information must occur in userland at this time.h]hXDIMM Labels must be assigned after booting, with information that correctly identifies the physical slot with its silk screen label. This information is currently very motherboard specific and determination of this information must occur in userland at this time.}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1j\hhhMhjubeh}(h]h ]h"]h$]h&]uh1jhhhMhjubeh}(h]h ]h"]h$]h&]uh1jhjKhhhhhNubj)}(hXQ``dimm_location`` - location of the memory module The location can have up to 3 levels, and describe how the memory controller identifies the location of a memory module. Depending on the type of memory and memory controller, it can be: - *csrow* and *channel* - used when the memory controller doesn't identify a single DIMM - e. g. in ``rankX`` dir; - *branch*, *channel*, *slot* - typically used on FB-DIMM memory controllers; - *channel*, *slot* - used on Nehalem and newer Intel drivers. h](j])}(h1``dimm_location`` - location of the memory moduleh](j)}(h``dimm_location``h]h dimm_location}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjEubh - location of the memory module}(hjEhhhNhNubeh}(h]h ]h"]h$]h&]uh1j\hhhM%hjAubj)}(hXThe location can have up to 3 levels, and describe how the memory controller identifies the location of a memory module. Depending on the type of memory and memory controller, it can be: - *csrow* and *channel* - used when the memory controller doesn't identify a single DIMM - e. g. in ``rankX`` dir; - *branch*, *channel*, *slot* - typically used on FB-DIMM memory controllers; - *channel*, *slot* - used on Nehalem and newer Intel drivers. h](j])}(hThe location can have up to 3 levels, and describe how the memory controller identifies the location of a memory module. Depending on the type of memory and memory controller, it can be:h]hThe location can have up to 3 levels, and describe how the memory controller identifies the location of a memory module. Depending on the type of memory and memory controller, it can be:}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1j\hhhM'hjaubj)}(hX- *csrow* and *channel* - used when the memory controller doesn't identify a single DIMM - e. g. in ``rankX`` dir; - *branch*, *channel*, *slot* - typically used on FB-DIMM memory controllers; - *channel*, *slot* - used on Nehalem and newer Intel drivers. h]j)}(hhh](j)}(hp*csrow* and *channel* - used when the memory controller doesn't identify a single DIMM - e. g. in ``rankX`` dir;h]j])}(hp*csrow* and *channel* - used when the memory controller doesn't identify a single DIMM - e. g. in ``rankX`` dir;h](j)}(h*csrow*h]hcsrow}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj~ubh and }(hj~hhhNhNubj)}(h *channel*h]hchannel}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj~ubhO - used when the memory controller doesn’t identify a single DIMM - e. g. in }(hj~hhhNhNubj)}(h ``rankX``h]hrankX}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj~ubh dir;}(hj~hhhNhNubeh}(h]h ]h"]h$]h&]uh1j\hhhM,hjzubah}(h]h ]h"]h$]h&]uh1jhjwubj)}(hK*branch*, *channel*, *slot* - typically used on FB-DIMM memory controllers;h]j])}(hK*branch*, *channel*, *slot* - typically used on FB-DIMM memory controllers;h](j)}(h*branch*h]hbranch}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh, }(hjhhhNhNubj)}(h *channel*h]hchannel}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh, }hjsbj)}(h*slot*h]hslot}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh0 - typically used on FB-DIMM memory controllers;}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1j\hhhM.hjubah}(h]h ]h"]h$]h&]uh1jhjwubj)}(h=*channel*, *slot* - used on Nehalem and newer Intel drivers. h]j])}(h<*channel*, *slot* - used on Nehalem and newer Intel drivers.h](j)}(h *channel*h]hchannel}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh, }(hjhhhNhNubj)}(h*slot*h]hslot}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh+ - used on Nehalem and newer Intel drivers.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1j\hhhM0hjubah}(h]h ]h"]h$]h&]uh1jhjwubeh}(h]h ]h"]h$]h&]jjuh1jhhhM,hjsubah}(h]h ]h"]h$]h&]uh1jhhhM,hjaubeh}(h]h ]h"]h$]h&]uh1jhhhM'hjAubeh}(h]h ]h"]h$]h&]uh1jhjKhhhhhNubj)}(hX ``dimm_mem_type`` - Memory Type attribute file This attribute file will display what type of memory is currently on this csrow. Normally, either buffered or unbuffered memory. Examples: - Registered-DDR - Unbuffered-DDR h](j])}(h.``dimm_mem_type`` - Memory Type attribute fileh](j)}(h``dimm_mem_type``h]h dimm_mem_type}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjbubh - Memory Type attribute file}(hjbhhhNhNubeh}(h]h ]h"]h$]h&]uh1j\hhhM2hj^ubj)}(hThis attribute file will display what type of memory is currently on this csrow. Normally, either buffered or unbuffered memory. Examples: - Registered-DDR - Unbuffered-DDR h](j])}(hThis attribute file will display what type of memory is currently on this csrow. Normally, either buffered or unbuffered memory. Examples:h]hThis attribute file will display what type of memory is currently on this csrow. Normally, either buffered or unbuffered memory. Examples:}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1j\hhhM4hj~ubj)}(h"- Registered-DDR - Unbuffered-DDR h]j)}(hhh](j)}(hRegistered-DDRh]j])}(hjh]hRegistered-DDR}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1j\hhhM8hjubah}(h]h ]h"]h$]h&]uh1jhjubj)}(hUnbuffered-DDR h]j])}(hUnbuffered-DDRh]hUnbuffered-DDR}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1j\hhhM9hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]jjuh1jhhhM8hjubah}(h]h ]h"]h$]h&]uh1jhhhM8hj~ubeh}(h]h ]h"]h$]h&]uh1jhhhM4hj^ubeh}(h]h ]h"]h$]h&]uh1jhjKhhhhhNubeh}(h]h ]h"]h$]h&]jjuh1jhhhMhj`hhubj )}(hX`On some systems, the memory controller doesn't have any logic to identify the memory module. On such systems, the directory is called ``rankX`` and works on a similar way as the ``csrowX`` directories. On modern Intel memory controllers, the memory controller identifies the memory modules directly. On such systems, the directory is called ``dimmX``. h](j )}(hhh]h5}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1j hjhhhNhNubj])}(hX_On some systems, the memory controller doesn't have any logic to identify the memory module. On such systems, the directory is called ``rankX`` and works on a similar way as the ``csrowX`` directories. On modern Intel memory controllers, the memory controller identifies the memory modules directly. On such systems, the directory is called ``dimmX``.h](hOn some systems, the memory controller doesn’t have any logic to identify the memory module. On such systems, the directory is called }(hjhhhNhNubj)}(h ``rankX``h]hrankX}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh# and works on a similar way as the }(hjhhhNhNubj)}(h ``csrowX``h]hcsrowX}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh directories. On modern Intel memory controllers, the memory controller identifies the memory modules directly. On such systems, the directory is called }(hjhhhNhNubj)}(h ``dimmX``h]hdimmX}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1j\hhhM;hjubeh}(h]jah ]h"]f5ah$]h&]jaj Kj j uh1j hhhM;hj`hhubj )}(hThere are also some ``power`` directories and ``subsystem`` symlinks inside the sysfs mapping that are automatically created by the sysfs subsystem. Currently, they serve no purpose. h](j )}(hhh]h6}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1j hj@hhhNhNubj])}(hThere are also some ``power`` directories and ``subsystem`` symlinks inside the sysfs mapping that are automatically created by the sysfs subsystem. Currently, they serve no purpose.h](hThere are also some }(hjQhhhNhNubj)}(h ``power``h]hpower}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjQubh directories and }(hjQhhhNhNubj)}(h ``subsystem``h]h subsystem}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjQubh{ symlinks inside the sysfs mapping that are automatically created by the sysfs subsystem. Currently, they serve no purpose.}(hjQhhhNhNubeh}(h]h ]h"]h$]h&]uh1j\hhhM@hj@ubeh}(h]jah ]h"]f6ah$]h&]jaj Kj j uh1j hhhM@hj`hhubeh}(h]dimmx-or-rankx-directoriesah ]h"]dimmx or rankx directoriesah$]h&]uh1jGhj~ hhhhhMubjH)}(hhh](jM)}(h``csrowX`` directoriesh](j)}(h ``csrowX``h]hcsrowX}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh directories}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jLhjhhhhhMEubj])}(hWhen CONFIG_EDAC_LEGACY_SYSFS is enabled, sysfs will contain the ``csrowX`` directories. As this API doesn't work properly for Rambus, FB-DIMMs and modern Intel Memory Controllers, this is being deprecated in favor of ``dimmX`` directories.h](hAWhen CONFIG_EDAC_LEGACY_SYSFS is enabled, sysfs will contain the }(hjhhhNhNubj)}(h ``csrowX``h]hcsrowX}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh directories. As this API doesn’t work properly for Rambus, FB-DIMMs and modern Intel Memory Controllers, this is being deprecated in favor of }(hjhhhNhNubj)}(h ``dimmX``h]hdimmX}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh directories.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1j\hhhMGhjhhubj])}(hdIn the ``csrowX`` directories are EDAC control and attribute files for this ``X`` instance of csrow:h](hIn the }(hjhhhNhNubj)}(h ``csrowX``h]hcsrowX}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh; directories are EDAC control and attribute files for this }(hjhhhNhNubj)}(h``X``h]hX}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh instance of csrow:}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1j\hhhMLhjhhubj)}(hhh](j)}(hX*``ue_count`` - Total Uncorrectable Errors count attribute file This attribute file displays the total count of uncorrectable errors that have occurred on this csrow. If panic_on_ue is set this counter will not have a chance to increment, since EDAC will panic the system. h](j])}(h>``ue_count`` - Total Uncorrectable Errors count attribute fileh](j)}(h ``ue_count``h]hue_count}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh2 - Total Uncorrectable Errors count attribute file}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1j\hhhMPhjubj)}(hThis attribute file displays the total count of uncorrectable errors that have occurred on this csrow. If panic_on_ue is set this counter will not have a chance to increment, since EDAC will panic the system. h]j])}(hThis attribute file displays the total count of uncorrectable errors that have occurred on this csrow. If panic_on_ue is set this counter will not have a chance to increment, since EDAC will panic the system.h]hThis attribute file displays the total count of uncorrectable errors that have occurred on this csrow. If panic_on_ue is set this counter will not have a chance to increment, since EDAC will panic the system.}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1j\hhhMRhj8ubah}(h]h ]h"]h$]h&]uh1jhhhMRhjubeh}(h]h ]h"]h$]h&]uh1jhjhhhhhNubj)}(hX``ce_count`` - Total Correctable Errors count attribute file This attribute file displays the total count of correctable errors that have occurred on this csrow. This count is very important to examine. CEs provide early indications that a DIMM is beginning to fail. This count field should be monitored for non-zero values and report such information to the system administrator. h](j])}(h<``ce_count`` - Total Correctable Errors count attribute fileh](j)}(h ``ce_count``h]hce_count}(hj^hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjZubh0 - Total Correctable Errors count attribute file}(hjZhhhNhNubeh}(h]h ]h"]h$]h&]uh1j\hhhMXhjVubj)}(hXAThis attribute file displays the total count of correctable errors that have occurred on this csrow. This count is very important to examine. CEs provide early indications that a DIMM is beginning to fail. This count field should be monitored for non-zero values and report such information to the system administrator. h]j])}(hX?This attribute file displays the total count of correctable errors that have occurred on this csrow. This count is very important to examine. CEs provide early indications that a DIMM is beginning to fail. This count field should be monitored for non-zero values and report such information to the system administrator.h]hX?This attribute file displays the total count of correctable errors that have occurred on this csrow. This count is very important to examine. CEs provide early indications that a DIMM is beginning to fail. This count field should be monitored for non-zero values and report such information to the system administrator.}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1j\hhhMZhjvubah}(h]h ]h"]h$]h&]uh1jhhhMZhjVubeh}(h]h ]h"]h$]h&]uh1jhjhhhhhNubj)}(h``size_mb`` - Total memory managed by this csrow attribute file This attribute file displays, in count of megabytes, the memory that this csrow contains. h](j])}(h?``size_mb`` - Total memory managed by this csrow attribute fileh](j)}(h ``size_mb``h]hsize_mb}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh4 - Total memory managed by this csrow attribute file}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1j\hhhMbhjubj)}(h[This attribute file displays, in count of megabytes, the memory that this csrow contains. h]j])}(hYThis attribute file displays, in count of megabytes, the memory that this csrow contains.h]hYThis attribute file displays, in count of megabytes, the memory that this csrow contains.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1j\hhhMdhjubah}(h]h ]h"]h$]h&]uh1jhhhMdhjubeh}(h]h ]h"]h$]h&]uh1jhjhhhhhNubj)}(hX``mem_type`` - Memory Type attribute file This attribute file will display what type of memory is currently on this csrow. Normally, either buffered or unbuffered memory. Examples: - Registered-DDR - Unbuffered-DDR h](j])}(h)``mem_type`` - Memory Type attribute fileh](j)}(h ``mem_type``h]hmem_type}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh - Memory Type attribute file}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1j\hhhMhhjubj)}(hThis attribute file will display what type of memory is currently on this csrow. Normally, either buffered or unbuffered memory. Examples: - Registered-DDR - Unbuffered-DDR h](j])}(hThis attribute file will display what type of memory is currently on this csrow. Normally, either buffered or unbuffered memory. Examples:h]hThis attribute file will display what type of memory is currently on this csrow. Normally, either buffered or unbuffered memory. Examples:}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1j\hhhMjhjubj)}(h#- Registered-DDR - Unbuffered-DDR h]j)}(hhh](j)}(hRegistered-DDRh]j])}(hj h]hRegistered-DDR}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1j\hhhMnhj ubah}(h]h ]h"]h$]h&]uh1jhjubj)}(hUnbuffered-DDR h]j])}(hUnbuffered-DDRh]hUnbuffered-DDR}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1j\hhhMohj"ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]jjuh1jhhhMnhjubah}(h]h ]h"]h$]h&]uh1jhhhMnhjubeh}(h]h ]h"]h$]h&]uh1jhhhMjhjubeh}(h]h ]h"]h$]h&]uh1jhjhhhhhNubj)}(h``edac_mode`` - EDAC Mode of operation attribute file This attribute file will display what type of Error detection and correction is being utilized. h](j])}(h5``edac_mode`` - EDAC Mode of operation attribute fileh](j)}(h ``edac_mode``h]h edac_mode}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjVubh( - EDAC Mode of operation attribute file}(hjVhhhNhNubeh}(h]h ]h"]h$]h&]uh1j\hhhMrhjRubj)}(haThis attribute file will display what type of Error detection and correction is being utilized. h]j])}(h_This attribute file will display what type of Error detection and correction is being utilized.h]h_This attribute file will display what type of Error detection and correction is being utilized.}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1j\hhhMthjrubah}(h]h ]h"]h$]h&]uh1jhhhMthjRubeh}(h]h ]h"]h$]h&]uh1jhjhhhhhNubj)}(h``dev_type`` - Device type attribute file This attribute file will display what type of DRAM device is being utilized on this DIMM. Examples: - x1 - x2 - x4 - x8 h](j])}(h)``dev_type`` - Device type attribute fileh](j)}(h ``dev_type``h]hdev_type}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh - Device type attribute file}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1j\hhhMxhjubj)}(hThis attribute file will display what type of DRAM device is being utilized on this DIMM. Examples: - x1 - x2 - x4 - x8 h](j])}(hcThis attribute file will display what type of DRAM device is being utilized on this DIMM. Examples:h]hcThis attribute file will display what type of DRAM device is being utilized on this DIMM. Examples:}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1j\hhhMzhjubj)}(h- x1 - x2 - x4 - x8 h]j)}(hhh](j)}(hx1h]j])}(hjh]hx1}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1j\hhhM~hjubah}(h]h ]h"]h$]h&]uh1jhjubj)}(hx2h]j])}(hjh]hx2}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1j\hhhMhjubah}(h]h ]h"]h$]h&]uh1jhjubj)}(hx4h]j])}(hjh]hx4}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1j\hhhMhjubah}(h]h ]h"]h$]h&]uh1jhjubj)}(hx8 h]j])}(hx8h]hx8}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1j\hhhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]jjuh1jhhhM~hjubah}(h]h ]h"]h$]h&]uh1jhhhM~hjubeh}(h]h ]h"]h$]h&]uh1jhhhMzhjubeh}(h]h ]h"]h$]h&]uh1jhjhhhhhNubj)}(h``ch0_ce_count`` - Channel 0 CE Count attribute file This attribute file will display the count of CEs on this DIMM located in channel 0. h](j])}(h4``ch0_ce_count`` - Channel 0 CE Count attribute fileh](j)}(h``ch0_ce_count``h]h ch0_ce_count}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjBubh$ - Channel 0 CE Count attribute file}(hjBhhhNhNubeh}(h]h ]h"]h$]h&]uh1j\hhhMhj>ubj)}(hVThis attribute file will display the count of CEs on this DIMM located in channel 0. h]j])}(hTThis attribute file will display the count of CEs on this DIMM located in channel 0.h]hTThis attribute file will display the count of CEs on this DIMM located in channel 0.}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1j\hhhMhj^ubah}(h]h ]h"]h$]h&]uh1jhhhMhj>ubeh}(h]h ]h"]h$]h&]uh1jhjhhhhhNubj)}(h``ch0_ue_count`` - Channel 0 UE Count attribute file This attribute file will display the count of UEs on this DIMM located in channel 0. h](j])}(h4``ch0_ue_count`` - Channel 0 UE Count attribute fileh](j)}(h``ch0_ue_count``h]h ch0_ue_count}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh$ - Channel 0 UE Count attribute file}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1j\hhhMhj|ubj)}(hVThis attribute file will display the count of UEs on this DIMM located in channel 0. h]j])}(hTThis attribute file will display the count of UEs on this DIMM located in channel 0.h]hTThis attribute file will display the count of UEs on this DIMM located in channel 0.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1j\hhhMhjubah}(h]h ]h"]h$]h&]uh1jhhhMhj|ubeh}(h]h ]h"]h$]h&]uh1jhjhhhhhNubj)}(hXv``ch0_dimm_label`` - Channel 0 DIMM Label control file This control file allows this DIMM to have a label assigned to it. With this label in the module, when errors occur the output can provide the DIMM label in the system log. This becomes vital for panic events to isolate the cause of the UE event. DIMM Labels must be assigned after booting, with information that correctly identifies the physical slot with its silk screen label. This information is currently very motherboard specific and determination of this information must occur in userland at this time. h](j])}(h6``ch0_dimm_label`` - Channel 0 DIMM Label control fileh](j)}(h``ch0_dimm_label``h]hch0_dimm_label}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh$ - Channel 0 DIMM Label control file}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1j\hhhMhjubj)}(hXThis control file allows this DIMM to have a label assigned to it. With this label in the module, when errors occur the output can provide the DIMM label in the system log. This becomes vital for panic events to isolate the cause of the UE event. DIMM Labels must be assigned after booting, with information that correctly identifies the physical slot with its silk screen label. This information is currently very motherboard specific and determination of this information must occur in userland at this time. h](j])}(hThis control file allows this DIMM to have a label assigned to it. With this label in the module, when errors occur the output can provide the DIMM label in the system log. This becomes vital for panic events to isolate the cause of the UE event.h]hThis control file allows this DIMM to have a label assigned to it. With this label in the module, when errors occur the output can provide the DIMM label in the system log. This becomes vital for panic events to isolate the cause of the UE event.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1j\hhhMhjubj])}(hXDIMM Labels must be assigned after booting, with information that correctly identifies the physical slot with its silk screen label. This information is currently very motherboard specific and determination of this information must occur in userland at this time.h]hXDIMM Labels must be assigned after booting, with information that correctly identifies the physical slot with its silk screen label. This information is currently very motherboard specific and determination of this information must occur in userland at this time.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1j\hhhMhjubeh}(h]h ]h"]h$]h&]uh1jhhhMhjubeh}(h]h ]h"]h$]h&]uh1jhjhhhhhNubj)}(h``ch1_ce_count`` - Channel 1 CE Count attribute file This attribute file will display the count of CEs on this DIMM located in channel 1. h](j])}(h4``ch1_ce_count`` - Channel 1 CE Count attribute fileh](j)}(h``ch1_ce_count``h]h ch1_ce_count}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubh$ - Channel 1 CE Count attribute file}(hj hhhNhNubeh}(h]h ]h"]h$]h&]uh1j\hhhMhjubj)}(hVThis attribute file will display the count of CEs on this DIMM located in channel 1. h]j])}(hTThis attribute file will display the count of CEs on this DIMM located in channel 1.h]hTThis attribute file will display the count of CEs on this DIMM located in channel 1.}(hj*hhhNhNubah}(h]h ]h"]h$]h&]uh1j\hhhMhj&ubah}(h]h ]h"]h$]h&]uh1jhhhMhjubeh}(h]h ]h"]h$]h&]uh1jhjhhhhhNubj)}(h``ch1_ue_count`` - Channel 1 UE Count attribute file This attribute file will display the count of UEs on this DIMM located in channel 0. h](j])}(h4``ch1_ue_count`` - Channel 1 UE Count attribute fileh](j)}(h``ch1_ue_count``h]h ch1_ue_count}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjHubh$ - Channel 1 UE Count attribute file}(hjHhhhNhNubeh}(h]h ]h"]h$]h&]uh1j\hhhMhjDubj)}(hVThis attribute file will display the count of UEs on this DIMM located in channel 0. h]j])}(hTThis attribute file will display the count of UEs on this DIMM located in channel 0.h]hTThis attribute file will display the count of UEs on this DIMM located in channel 0.}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1j\hhhMhjdubah}(h]h ]h"]h$]h&]uh1jhhhMhjDubeh}(h]h ]h"]h$]h&]uh1jhjhhhhhNubj)}(hXu``ch1_dimm_label`` - Channel 1 DIMM Label control file This control file allows this DIMM to have a label assigned to it. With this label in the module, when errors occur the output can provide the DIMM label in the system log. This becomes vital for panic events to isolate the cause of the UE event. DIMM Labels must be assigned after booting, with information that correctly identifies the physical slot with its silk screen label. This information is currently very motherboard specific and determination of this information must occur in userland at this time. h](j])}(h6``ch1_dimm_label`` - Channel 1 DIMM Label control fileh](j)}(h``ch1_dimm_label``h]hch1_dimm_label}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh$ - Channel 1 DIMM Label control file}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1j\hhhMhjubj)}(hXThis control file allows this DIMM to have a label assigned to it. With this label in the module, when errors occur the output can provide the DIMM label in the system log. This becomes vital for panic events to isolate the cause of the UE event. DIMM Labels must be assigned after booting, with information that correctly identifies the physical slot with its silk screen label. This information is currently very motherboard specific and determination of this information must occur in userland at this time. h](j])}(hThis control file allows this DIMM to have a label assigned to it. With this label in the module, when errors occur the output can provide the DIMM label in the system log. This becomes vital for panic events to isolate the cause of the UE event.h]hThis control file allows this DIMM to have a label assigned to it. With this label in the module, when errors occur the output can provide the DIMM label in the system log. This becomes vital for panic events to isolate the cause of the UE event.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1j\hhhMhjubj])}(hXDIMM Labels must be assigned after booting, with information that correctly identifies the physical slot with its silk screen label. This information is currently very motherboard specific and determination of this information must occur in userland at this time.h]hXDIMM Labels must be assigned after booting, with information that correctly identifies the physical slot with its silk screen label. This information is currently very motherboard specific and determination of this information must occur in userland at this time.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1j\hhhMhjubeh}(h]h ]h"]h$]h&]uh1jhhhMhjubeh}(h]h ]h"]h$]h&]uh1jhjhhhhhNubeh}(h]h ]h"]h$]h&]jjuh1jhhhMPhjhhubeh}(h]csrowx-directoriesah ]h"]csrowx directoriesah$]h&]uh1jGhj~ hhhhhMEubjH)}(hhh](jM)}(hSystem Loggingh]hSystem Logging}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jLhjhhhhhMubj])}(h|If logging for UEs and CEs is enabled, then system logs will contain information indicating that errors have been detected::h]h{If logging for UEs and CEs is enabled, then system logs will contain information indicating that errors have been detected:}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1j\hhhMhjhhubj)}(hEDAC MC0: CE page 0x283, offset 0xce0, grain 8, syndrome 0x6ec3, row 0, channel 1 "DIMM_B1": amd76x_edac EDAC MC0: CE page 0x1e5, offset 0xfb0, grain 8, syndrome 0xb741, row 0, channel 1 "DIMM_B1": amd76x_edach]hEDAC MC0: CE page 0x283, offset 0xce0, grain 8, syndrome 0x6ec3, row 0, channel 1 "DIMM_B1": amd76x_edac EDAC MC0: CE page 0x1e5, offset 0xfb0, grain 8, syndrome 0xb741, row 0, channel 1 "DIMM_B1": amd76x_edac}hjsbah}(h]h ]h"]h$]h&]hhuh1jhhhMhjhhubj])}(h The structure of the message is:h]h The structure of the message is:}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1j\hhhMhjhhubj)}(hX+---------------------------------------+-------------+ | Content | Example | +=======================================+=============+ | The memory controller | MC0 | +---------------------------------------+-------------+ | Error type | CE | +---------------------------------------+-------------+ | Memory page | 0x283 | +---------------------------------------+-------------+ | Offset in the page | 0xce0 | +---------------------------------------+-------------+ | The byte granularity | grain 8 | | or resolution of the error | | +---------------------------------------+-------------+ | The error syndrome | 0xb741 | +---------------------------------------+-------------+ | Memory row | row 0 | +---------------------------------------+-------------+ | Memory channel | channel 1 | +---------------------------------------+-------------+ | DIMM label, if set prior | DIMM B1 | +---------------------------------------+-------------+ | And then an optional, driver-specific | | | message that may have additional | | | information. | | +---------------------------------------+-------------+ h]j)}(hhh]j)}(hhh](j)}(hhh]h}(h]h ]h"]h$]h&]colwidthK'uh1jhjubj)}(hhh]h}(h]h ]h"]h$]h&]colwidthK uh1jhjubj+)}(hhh]j)}(hhh](j)}(hhh]j])}(hContenth]hContent}(hj>hhhNhNubah}(h]h ]h"]h$]h&]uh1j\hhhMhj;ubah}(h]h ]h"]h$]h&]uh1jhj8ubj)}(hhh]j])}(hExampleh]hExample}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1j\hhhMhjRubah}(h]h ]h"]h$]h&]uh1jhj8ubeh}(h]h ]h"]h$]h&]uh1jhj5ubah}(h]h ]h"]h$]h&]uh1j*hjubj)}(hhh](j)}(hhh](j)}(hhh]j])}(hThe memory controllerh]hThe memory controller}(hj~hhhNhNubah}(h]h ]h"]h$]h&]uh1j\hhhMhj{ubah}(h]h ]h"]h$]h&]uh1jhjxubj)}(hhh]j])}(hMC0h]hMC0}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1j\hhhMhjubah}(h]h ]h"]h$]h&]uh1jhjxubeh}(h]h ]h"]h$]h&]uh1jhjuubj)}(hhh](j)}(hhh]j])}(h Error typeh]h Error type}(hjhhhNhNubaPh}(h]h ]h"]h$]h&]uh1j\hhhMhjubah}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh]j])}(hCEh]hCE}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1j\hhhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjuubj)}(hhh](j)}(hhh]j])}(h Memory pageh]h Memory page}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1j\hhhMhjubah}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh]j])}(h0x283h]h0x283}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1j\hhhMhj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjuubj)}(hhh](j)}(hhh]j])}(hOffset in the pageh]hOffset in the page}(hj# hhhNhNubah}(h]h ]h"]h$]h&]uh1j\hhhMhj ubah}(h]h ]h"]h$]h&]uh1jhj ubj)}(hhh]j])}(h0xce0h]h0xce0}(hj: hhhNhNubah}(h]h ]h"]h$]h&]uh1j\hhhMhj7 ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhjuubj)}(hhh](j)}(hhh]j])}(h/The byte granularity or resolution of the errorh]h/The byte granularity or resolution of the error}(hjZ hhhNhNubah}(h]h ]h"]h$]h&]uh1j\hhhMhjW ubah}(h]h ]h"]h$]h&]uh1jhjT ubj)}(hhh]j])}(hgrain 8h]hgrain 8}(hjq hhhNhNubah}(h]h ]h"]h$]h&]uh1j\hhhMhjn ubah}(h]h ]h"]h$]h&]uh1jhjT ubeh}(h]h ]h"]h$]h&]uh1jhjuubj)}(hhh](j)}(hhh]j])}(hThe error syndromeh]hThe error syndrome}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1j\hhhMhj ubah}(h]h ]h"]h$]h&]uh1jhj ubj)}(hhh]j])}(h0xb741h]h0xb741}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1j\hhhMhj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhjuubj)}(hhh](j)}(hhh]j])}(h Memory rowh]h Memory row}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1j\hhhMhj ubah}(h]h ]h"]h$]h&]uh1jhj ubj)}(hhh]j])}(hrow 0h]hrow 0}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1j\hhhMhj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhjuubj)}(hhh](j)}(hhh]j])}(hMemory channelh]hMemory channel}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1j\hhhMhj ubah}(h]h ]h"]h$]h&]uh1jhj ubj)}(hhh]j])}(h channel 1h]h channel 1}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1j\hhhMhj!ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhjuubj)}(hhh](j)}(hhh]j])}(hDIMM label, if set priorh]hDIMM label, if set prior}(hj6!hhhNhNubah}(h]h ]h"]h$]h&]uh1j\hhhMhj3!ubah}(h]h ]h"]h$]h&]uh1jhj0!ubj)}(hhh]j])}(hDIMM B1h]hDIMM B1}(hjM!hhhNhNubah}(h]h ]h"]h$]h&]uh1j\hhhMhjJ!ubah}(h]h ]h"]h$]h&]uh1jhj0!ubeh}(h]h ]h"]h$]h&]uh1jhjuubj)}(hhh](j)}(hhh]j])}(hSAnd then an optional, driver-specific message that may have additional information.h]hSAnd then an optional, driver-specific message that may have additional information.}(hjm!hhhNhNubah}(h]h ]h"]h$]h&]uh1j\hhhMhjj!ubah}(h]h ]h"]h$]h&]uh1jhjg!ubj)}(hhh]h}(h]h ]h"]h$]h&]uh1jhjg!ubeh}(h]h ]h"]h$]h&]uh1jhjuubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]colsKuh1jhjubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhhhMhjhhubj])}(hBoth UEs and CEs with no info will lack all but memory controller, error type, a notice of "no info" and then an optional, driver-specific error message.h]hBoth UEs and CEs with no info will lack all but memory controller, error type, a notice of “no info” and then an optional, driver-specific error message.}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1j\hhhMhjhhubeh}(h]system-loggingah ]h"]system loggingah$]h&]uh1jGhj~ hhhhhMubjH)}(hhh](jM)}(hPCI Bus Parity Detectionh]hPCI Bus Parity Detection}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1jLhj!hhhhhMubj])}(hXVOn Header Type 00 devices, the primary status is looked at for any parity error regardless of whether parity is enabled on the device or not. (The spec indicates parity is generated in some cases). On Header Type 01 bridges, the secondary status register is also looked at to see if parity occurred on the bus on the other side of the bridge.h]hXVOn Header Type 00 devices, the primary status is looked at for any parity error regardless of whether parity is enabled on the device or not. (The spec indicates parity is generated in some cases). On Header Type 01 bridges, the secondary status register is also looked at to see if parity occurred on the bus on the other side of the bridge.}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1j\hhhMhj!hhubeh}(h]pci-bus-parity-detectionah ]h"]pci bus parity detectionah$]h&]uh1jGhj~ hhhhhMubjH)}(hhh](jM)}(hSysfs configurationh]hSysfs configuration}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1jLhj!hhhhhMubj])}(hRUnder ``/sys/devices/system/edac/pci`` are control and attribute files as follows:h](hUnder }(hj!hhhNhNubj)}(h ``/sys/devices/system/edac/pci``h]h/sys/devices/system/edac/pci}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj!ubh, are control and attribute files as follows:}(hj!hhhNhNubeh}(h]h ]h"]h$]h&]uh1j\hhhMhj!hhubj)}(hhh](j)}(hX``check_pci_parity`` - Enable/Disable PCI Parity checking control file This control file enables or disables the PCI Bus Parity scanning operation. Writing a 1 to this file enables the scanning. Writing a 0 to this file disables the scanning. Enable:: echo "1" >/sys/devices/system/edac/pci/check_pci_parity Disable:: echo "0" >/sys/devices/system/edac/pci/check_pci_parity h](j])}(hF``check_pci_parity`` - Enable/Disable PCI Parity checking control fileh](j)}(h``check_pci_parity``h]hcheck_pci_parity}(hj""hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj"ubh2 - Enable/Disable PCI Parity checking control file}(hj"hhhNhNubeh}(h]h ]h"]h$]h&]uh1j\hhhMhj"ubj)}(hXDThis control file enables or disables the PCI Bus Parity scanning operation. Writing a 1 to this file enables the scanning. Writing a 0 to this file disables the scanning. Enable:: echo "1" >/sys/devices/system/edac/pci/check_pci_parity Disable:: echo "0" >/sys/devices/system/edac/pci/check_pci_parity h](j])}(hThis control file enables or disables the PCI Bus Parity scanning operation. Writing a 1 to this file enables the scanning. Writing a 0 to this file disables the scanning.h]hThis control file enables or disables the PCI Bus Parity scanning operation. Writing a 1 to this file enables the scanning. Writing a 0 to this file disables the scanning.}(hj>"hhhNhNubah}(h]h ]h"]h$]h&]uh1j\hhhMhj:"ubj])}(hEnable::h]hEnable:}(hjL"hhhNhNubah}(h]h ]h"]h$]h&]uh1j\hhhMhj:"ubj)}(h7echo "1" >/sys/devices/system/edac/pci/check_pci_parityh]h7echo "1" >/sys/devices/system/edac/pci/check_pci_parity}hjZ"sbah}(h]h ]h"]h$]h&]hhuh1jhhhMhj:"ubj])}(h Disable::h]hDisable:}(hjh"hhhNhNubah}(h]h ]h"]h$]h&]uh1j\hhhMhj:"ubj)}(h7echo "0" >/sys/devices/system/edac/pci/check_pci_parityh]h7echo "0" >/sys/devices/system/edac/pci/check_pci_parity}hjv"sbah}(h]h ]h"]h$]h&]hhuh1jhhhMhj:"ubeh}(h]h ]h"]h$]h&]uh1jhhhMhj"ubeh}(h]h ]h"]h$]h&]uh1jhj"hhhhhNubj)}(h``pci_parity_count`` - Parity Count This attribute file will display the number of parity errors that have been detected. h](j])}(h#``pci_parity_count`` - Parity Counth](j)}(h``pci_parity_count``h]hpci_parity_count}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj"ubh - Parity Count}(hj"hhhNhNubeh}(h]h ]h"]h$]h&]uh1j\hhhM hj"ubj)}(hWThis attribute file will display the number of parity errors that have been detected. h]j])}(hUThis attribute file will display the number of parity errors that have been detected.h]hUThis attribute file will display the number of parity errors that have been detected.}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1j\hhhM hj"ubah}(h]h ]h"]h$]h&]uh1jhhhM hj"ubeh}(h]h ]h"]h$]h&]uh1jhj"hhhhhNubeh}(h]h ]h"]h$]h&]jjuh1jhhhMhj!hhubeh}(h]sysfs-configurationah ]h"]sysfs configurationah$]h&]uh1jGhj~ hhhhhMubjH)}(hhh](jM)}(hModule parametersh]hModule parameters}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1jLhj"hhhhhMubj)}(hhh](j)}(hXv``edac_mc_panic_on_ue`` - Panic on UE control file An uncorrectable error will cause a machine panic. This is usually desirable. It is a bad idea to continue when an uncorrectable error occurs - it is indeterminate what was uncorrected and the operating system context might be so mangled that continuing will lead to further corruption. If the kernel has MCE configured, then EDAC will never notice the UE. LOAD TIME:: module/kernel parameter: edac_mc_panic_on_ue=[0|1] RUN TIME:: echo "1" > /sys/module/edac_core/parameters/edac_mc_panic_on_ue h](j])}(h2``edac_mc_panic_on_ue`` - Panic on UE control fileh](j)}(h``edac_mc_panic_on_ue``h]hedac_mc_panic_on_ue}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj"ubh - Panic on UE control file}(hj"hhhNhNubeh}(h]h ]h"]h$]h&]uh1j\hhhMhj"ubj)}(hXAn uncorrectable error will cause a machine panic. This is usually desirable. It is a bad idea to continue when an uncorrectable error occurs - it is indeterminate what was uncorrected and the operating system context might be so mangled that continuing will lead to further corruption. If the kernel has MCE configured, then EDAC will never notice the UE. LOAD TIME:: module/kernel parameter: edac_mc_panic_on_ue=[0|1] RUN TIME:: echo "1" > /sys/module/edac_core/parameters/edac_mc_panic_on_ue h](j])}(hXfAn uncorrectable error will cause a machine panic. This is usually desirable. It is a bad idea to continue when an uncorrectable error occurs - it is indeterminate what was uncorrected and the operating system context might be so mangled that continuing will lead to further corruption. If the kernel has MCE configured, then EDAC will never notice the UE.h]hXfAn uncorrectable error will cause a machine panic. This is usually desirable. It is a bad idea to continue when an uncorrectable error occurs - it is indeterminate what was uncorrected and the operating system context might be so mangled that continuing will lead to further corruption. If the kernel has MCE configured, then EDAC will never notice the UE.}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1j\hhhMhj#ubj])}(h LOAD TIME::h]h LOAD TIME:}(hj"#hhhNhNubah}(h]h ]h"]h$]h&]uh1j\hhhMhj#ubj)}(h2module/kernel parameter: edac_mc_panic_on_ue=[0|1]h]h2module/kernel parameter: edac_mc_panic_on_ue=[0|1]}hj0#sbah}(h]h ]h"]h$]h&]hhuh1jhhhMhj#ubj])}(h RUN TIME::h]h RUN TIME:}(hj>#hhhNhNubah}(h]h ]h"]h$]h&]uh1j\hhhMhj#ubj)}(h?echo "1" > /sys/module/edac_core/parameters/edac_mc_panic_on_ueh]h?echo "1" > /sys/module/edac_core/parameters/edac_mc_panic_on_ue}hjL#sbah}(h]h ]h"]h$]h&]hhuh1jhhhM!hj#ubeh}(h]h ]h"]h$]h&]uh1jhhhMhj"ubeh}(h]h ]h"]h$]h&]uh1jhj"hhhhhNubj)}(hX``edac_mc_log_ue`` - Log UE control file Generate kernel messages describing uncorrectable errors. These errors are reported through the system message log system. UE statistics will be accumulated even when UE logging is disabled. LOAD TIME:: module/kernel parameter: edac_mc_log_ue=[0|1] RUN TIME:: echo "1" > /sys/module/edac_core/parameters/edac_mc_log_ue h](j])}(h(``edac_mc_log_ue`` - Log UE control fileh](j)}(h``edac_mc_log_ue``h]hedac_mc_log_ue}(hjn#hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjj#ubh - Log UE control file}(hjj#hhhNhNubeh}(h]h ]h"]h$]h&]uh1j\hhhM$hjf#ubj)}(hXVGenerate kernel messages describing uncorrectable errors. These errors are reported through the system message log system. UE statistics will be accumulated even when UE logging is disabled. LOAD TIME:: module/kernel parameter: edac_mc_log_ue=[0|1] RUN TIME:: echo "1" > /sys/module/edac_core/parameters/edac_mc_log_ue h](j])}(hGenerate kernel messages describing uncorrectable errors. These errors are reported through the system message log system. UE statistics will be accumulated even when UE logging is disabled.h]hGenerate kernel messages describing uncorrectable errors. These errors are reported through the system message log system. UE statistics will be accumulated even when UE logging is disabled.}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1j\hhhM'hj#ubj])}(h LOAD TIME::h]h LOAD TIME:}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1j\hhhM+hj#ubj)}(h-module/kernel parameter: edac_mc_log_ue=[0|1]h]h-module/kernel parameter: edac_mc_log_ue=[0|1]}hj#sbah}(h]h ]h"]h$]h&]hhuh1jhhhM-hj#ubj])}(h RUN TIME::h]h RUN TIME:}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1j\hhhM/hj#ubj)}(h:echo "1" > /sys/module/edac_core/parameters/edac_mc_log_ueh]h:echo "1" > /sys/module/edac_core/parameters/edac_mc_log_ue}hj#sbah}(h]h ]h"]h$]h&]hhuh1jhhhM1hj#ubeh}(h]h ]h"]h$]h&]uh1jhhhM'hjf#ubeh}(h]h ]h"]h$]h&]uh1jhj"hhhhhNubj)}(hX``edac_mc_log_ce`` - Log CE control file Generate kernel messages describing correctable errors. These errors are reported through the system message log system. CE statistics will be accumulated even when CE logging is disabled. LOAD TIME:: module/kernel parameter: edac_mc_log_ce=[0|1] RUN TIME:: echo "1" > /sys/module/edac_core/parameters/edac_mc_log_ce h](j])}(h(``edac_mc_log_ce`` - Log CE control fileh](j)}(h``edac_mc_log_ce``h]hedac_mc_log_ce}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj#ubh - Log CE control file}(hj#hhhNhNubeh}(h]h ]h"]h$]h&]uh1j\hhhM4hj#ubj)}(hXSGenerate kernel messages describing correctable errors. These errors are reported through the system message log system. CE statistics will be accumulated even when CE logging is disabled. LOAD TIME:: module/kernel parameter: edac_mc_log_ce=[0|1] RUN TIME:: echo "1" > /sys/module/edac_core/parameters/edac_mc_log_ce h](j])}(hGenerate kernel messages describing correctable errors. These errors are reported through the system message log system. CE statistics will be accumulated even when CE logging is disabled.h]hGenerate kernel messages describing correctable errors. These errors are reported through the system message log system. CE statistics will be accumulated even when CE logging is disabled.}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1j\hhhM7hj#ubj])}(h LOAD TIME::h]h LOAD TIME:}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1j\hhhM;hj#ubj)}(h-module/kernel parameter: edac_mc_log_ce=[0|1]h]h-module/kernel parameter: edac_mc_log_ce=[0|1]}hj$sbah}(h]h ]h"]h$]h&]hhuh1jhhhM=hj#ubj])}(h RUN TIME::h]h RUN TIME:}(hj*$hhhNhNubah}(h]h ]h"]h$]h&]uh1j\hhhM?hj#ubj)}(h:echo "1" > /sys/module/edac_core/parameters/edac_mc_log_ceh]h:echo "1" > /sys/module/edac_core/parameters/edac_mc_log_ce}hj8$sbah}(h]h ]h"]h$]h&]hhuh1jhhhMAhj#ubeh}(h]h ]h"]h$]h&]uh1jhhhM7hj#ubeh}(h]h ]h"]h$]h&]uh1jhj"hhhhhNubj)}(hXy``edac_mc_poll_msec`` - Polling period control file The time period, in milliseconds, for polling for error information. Too small a value wastes resources. Too large a value might delay necessary handling of errors and might loose valuable information for locating the error. 1000 milliseconds (once each second) is the current default. Systems which require all the bandwidth they can get, may increase this. LOAD TIME:: module/kernel parameter: edac_mc_poll_msec=[0|1] RUN TIME:: echo "1000" > /sys/module/edac_core/parameters/edac_mc_poll_msec h](j])}(h3``edac_mc_poll_msec`` - Polling period control fileh](j)}(h``edac_mc_poll_msec``h]hedac_mc_poll_msec}(hjZ$hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjV$ubh - Polling period control file}(hjV$hhhNhNubeh}(h]h ]h"]h$]h&]uh1j\hhhMDhjR$ubj)}(hXThe time period, in milliseconds, for polling for error information. Too small a value wastes resources. Too large a value might delay necessary handling of errors and might loose valuable information for locating the error. 1000 milliseconds (once each second) is the current default. Systems which require all the bandwidth they can get, may increase this. LOAD TIME:: module/kernel parameter: edac_mc_poll_msec=[0|1] RUN TIME:: echo "1000" > /sys/module/edac_core/parameters/edac_mc_poll_msec h](j])}(hXhThe time period, in milliseconds, for polling for error information. Too small a value wastes resources. Too large a value might delay necessary handling of errors and might loose valuable information for locating the error. 1000 milliseconds (once each second) is the current default. Systems which require all the bandwidth they can get, may increase this.h]hXhThe time period, in milliseconds, for polling for error information. Too small a value wastes resources. Too large a value might delay necessary handling of errors and might loose valuable information for locating the error. 1000 milliseconds (once each second) is the current default. Systems which require all the bandwidth they can get, may increase this.}(hjv$hhhNhNubah}(h]h ]h"]h$]h&]uh1j\hhhMGhjr$ubj])}(h LOAD TIME::h]h LOAD TIME:}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1j\hhhMNhjr$ubj)}(h0module/kernel parameter: edac_mc_poll_msec=[0|1]h]h0module/kernel parameter: edac_mc_poll_msec=[0|1]}hj$sbah}(h]h ]h"]h$]h&]hhuh1jhhhMPhjr$ubj])}(h RUN TIME::h]h RUN TIME:}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1j\hhhMRhjr$ubj)}(h@echo "1000" > /sys/module/edac_core/parameters/edac_mc_poll_msech]h@echo "1000" > /sys/module/edac_core/parameters/edac_mc_poll_msec}hj$sbah}(h]h ]h"]h$]h&]hhuh1jhhhMThjr$ubeh}(h]h ]h"]h$]h&]uh1jhhhMGhjR$ubeh}(h]h ]h"]h$]h&]uh1jhj"hhhhhNubj)}(hX``panic_on_pci_parity`` - Panic on PCI PARITY Error This control file enables or disables panicking when a parity error has been detected. module/kernel parameter:: edac_panic_on_pci_pe=[0|1] Enable:: echo "1" > /sys/module/edac_core/parameters/edac_panic_on_pci_pe Disable:: echo "0" > /sys/module/edac_core/parameters/edac_panic_on_pci_pe h](j])}(h3``panic_on_pci_parity`` - Panic on PCI PARITY Errorh](j)}(h``panic_on_pci_parity``h]hpanic_on_pci_parity}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj$ubh - Panic on PCI PARITY Error}(hj$hhhNhNubeh}(h]h ]h"]h$]h&]uh1j\hhhMWhj$ubj)}(hXJThis control file enables or disables panicking when a parity error has been detected. module/kernel parameter:: edac_panic_on_pci_pe=[0|1] Enable:: echo "1" > /sys/module/edac_core/parameters/edac_panic_on_pci_pe Disable:: echo "0" > /sys/module/edac_core/parameters/edac_panic_on_pci_pe h](j])}(hVThis control file enables or disables panicking when a parity error has been detected.h]hVThis control file enables or disables panicking when a parity error has been detected.}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1j\hhhMZhj$ubj])}(hmodule/kernel parameter::h]hmodule/kernel parameter:}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1j\hhhM^hj$ubj)}(hedac_panic_on_pci_pe=[0|1]h]hedac_panic_on_pci_pe=[0|1]}hj%sbah}(h]h ]h"]h$]h&]hhuh1jhhhM`hj$ubj])}(hEnable::h]hEnable:}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1j\hhhMbhj$ubj)}(h@echo "1" > /sys/module/edac_core/parameters/edac_panic_on_pci_peh]h@echo "1" > /sys/module/edac_core/parameters/edac_panic_on_pci_pe}hj$%sbah}(h]h ]h"]h$]h&]hhuh1jhhhMdhj$ubj])}(h Disable::h]hDisable:}(hj2%hhhNhNubah}(h]h ]h"]h$]h&]uh1j\hhhMfhj$ubj)}(h@echo "0" > /sys/module/edac_core/parameters/edac_panic_on_pci_peh]h@echo "0" > /sys/module/edac_core/parameters/edac_panic_on_pci_pe}hj@%sbah}(h]h ]h"]h$]h&]hhuh1jhhhMhhj$ubeh}(h]h ]h"]h$]h&]uh1jhhhMZhj$ubeh}(h]h ]h"]h$]h&]uh1jhj"hhhhhNubeh}(h]h ]h"]h$]h&]jjuh1jhhhMhj"hhubeh}(h]module-parametersah ]h"]module parametersah$]h&]uh1jGhj~ hhhhhMubjH)}(hhh](jM)}(hEDAC device typeh]hEDAC device type}(hjk%hhhNhNubah}(h]h ]h"]h$]h&]uh1jLhjh%hhhhhMmubj])}(hiIn the header file, edac_pci.h, there is a series of edac_device structures and APIs for the EDAC_DEVICE.h]hiIn the header file, edac_pci.h, there is a series of edac_device structures and APIs for the EDAC_DEVICE.}(hjy%hhhNhNubah}(h]h ]h"]h$]h&]uh1j\hhhMohjh%hhubj])}(hCUser space access to an edac_device is through the sysfs interface.h]hCUser space access to an edac_device is through the sysfs interface.}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1j\hhhMrhjh%hhubj])}(hYAt the location ``/sys/devices/system/edac`` (sysfs) new edac_device devices will appear.h](hAt the location }(hj%hhhNhNubj)}(h``/sys/devices/system/edac``h]h/sys/devices/system/edac}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj%ubh- (sysfs) new edac_device devices will appear.}(hj%hhhNhNubeh}(h]h ]h"]h$]h&]uh1j\hhhMthjh%hhubj])}(hThere is a three level tree beneath the above ``edac`` directory. For example, the ``test_device_edac`` device (found at the http://bluesmoke.sourceforget.net website) installs itself as::h](h.There is a three level tree beneath the above }(hj%hhhNhNubj)}(h``edac``h]hedac}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj%ubh directory. For example, the }(hj%hhhNhNubj)}(h``test_device_edac``h]htest_device_edac}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj%ubh device (found at the }(hj%hhhNhNubj )}(h!http://bluesmoke.sourceforget.neth]h!http://bluesmoke.sourceforget.net}(hj%hhhNhNubah}(h]h ]h"]h$]h&]refurij%uh1j hj%ubh website) installs itself as:}(hj%hhhNhNubeh}(h]h ]h"]h$]h&]uh1j\hhhMwhjh%hhubj)}(h&/sys/devices/system/edac/test-instanceh]h&/sys/devices/system/edac/test-instance}hj%sbah}(h]h ]h"]h$]h&]hhuh1jhhhM{hjh%hhubj])}(h[in this directory are various controls, a symlink and one or more ``instance`` directories.h](hBin this directory are various controls, a symlink and one or more }(hj&hhhNhNubj)}(h ``instance``h]hinstance}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj&ubh directories.}(hj&hhhNhNubeh}(h]h ]h"]h$]h&]uh1j\hhhM}hjh%hhubj])}(h"The standard default controls are:h]h"The standard default controls are:}(hj(&hhhNhNubah}(h]h ]h"]h$]h&]uh1j\hhhMhjh%hhubj)}(hX============== ======================================================= log_ce boolean to log CE events log_ue boolean to log UE events panic_on_ue boolean to ``panic`` the system if an UE is encountered (default off, can be set true via startup script) poll_msec time period between POLL cycles for events ============== ======================================================= h]j)}(hhh]j)}(hhh](j)}(hhh]h}(h]h ]h"]h$]h&]colwidthKuh1jhj=&ubj)}(hhh]h}(h]h ]h"]h$]h&]colwidthK7uh1jhj=&ubj)}(hhh](j)}(hhh](j)}(hhh]j])}(hlog_ceh]hlog_ce}(hj]&hhhNhNubah}(h]h ]h"]h$]h&]uh1j\hhhMhjZ&ubah}(h]h ]h"]h$]h&]uh1jhjW&ubj)}(hhh]j])}(hboolean to log CE eventsh]hboolean to log CE events}(hjt&hhhNhNubah}(h]h ]h"]h$]h&]uh1j\hhhMhjq&ubah}(h]h ]h"]h$]h&]uh1jhjW&ubeh}(h]h ]h"]h$]h&]uh1jhjT&ubj)}(hhh](j)}(hhh]j])}(hlog_ueh]hlog_ue}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1j\hhhMhj&ubah}(h]h ]h"]h$]h&]uh1jhj&ubj)}(hhh]j])}(hboolean to log UE eventsh]hboolean to log UE events}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1j\hhhMhj&ubah}(h]h ]h"]h$]h&]uh1jhj&ubeh}(h]h ]h"]h$]h&]uh1jhjT&ubj)}(hhh](j)}(hhh]j])}(h panic_on_ueh]h panic_on_ue}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1j\hhhMhj&ubah}(h]h ]h"]h$]h&]uh1jhj&ubj)}(hhh]j])}(hiboolean to ``panic`` the system if an UE is encountered (default off, can be set true via startup script)h](h boolean to }(hj&hhhNhNubj)}(h ``panic``h]hpanic}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj&ubhU the system if an UE is encountered (default off, can be set true via startup script)}(hj&hhhNhNubeh}(h]h ]h"]h$]h&]uh1j\hhhMhj&ubah}(h]h ]h"]h$]h&]uh1jhj&ubeh}(h]h ]h"]h$]h&]uh1jhjT&ubj)}(hhh](j)}(hhh]j])}(h poll_msech]h poll_msec}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1j\hhhMhj'ubah}(h]h ]h"]h$]h&]uh1jhj'ubj)}(hhh]j])}(h*time period between POLL cycles for eventsh]h*time period between POLL cycles for events}(hj+'hhhNhNubah}(h]h ]h"]h$]h&]uh1j\hhhMhj('ubah}(h]h ]h"]h$]h&]uh1jhj'ubeh}(h]h ]h"]h$]h&]uh1jhjT&ubeh}(h]h ]h"]h$]h&]uh1jhj=&ubeh}(h]h ]h"]h$]h&]colsKuh1jhj:&ubah}(h]h ]h"]h$]h&]uh1jhj6&ubah}(h]h ]h"]h$]h&]uh1jhhhMhjh%hhubj])}(hHThe test_device_edac device adds at least one of its own custom control:h]hHThe test_device_edac device adds at least one of its own custom control:}(hj^'hhhNhNubah}(h]h ]h"]h$]h&]uh1j\hhhMhjh%hhubj)}(hX ============== ================================================== test_bits which in the current test driver does nothing but show how it is installed. A ported driver can add one or more such controls and/or attributes for specific uses. One out-of-tree driver uses controls here to allow for ERROR INJECTION operations to hardware injection registers ============== ================================================== h]j)}(hhh]j)}(hhh](j)}(hhh]h}(h]h ]h"]h$]h&]colwidthKuh1jhjs'ubj)}(hhh]h}(h]h ]h"]h$]h&]colwidthK2uh1jhjs'ubj)}(hhh]j)}(hhh](j)}(hhh]j])}(h test_bitsh]h test_bits}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1j\hhhMhj'ubah}(h]h ]h"]h$]h&]uh1jhj'ubj)}(hhh]j])}(hXwhich in the current test driver does nothing but show how it is installed. A ported driver can add one or more such controls and/or attributes for specific uses. One out-of-tree driver uses controls here to allow for ERROR INJECTION operations to hardware injection registersh]hXwhich in the current test driver does nothing but show how it is installed. A ported driver can add one or more such controls and/or attributes for specific uses. One out-of-tree driver uses controls here to allow for ERROR INJECTION operations to hardware injection registers}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1j\hhhMhj'ubah}(h]h ]h"]h$]h&]uh1jhj'ubeh}(h]h ]h"]h$]h&]uh1jhj'ubah}(h]h ]h"]h$]h&]uh1jhjs'ubeh}(h]h ]h"]h$]h&]colsKuh1jhjp'ubah}(h]h ]h"]h$]h&]uh1jhjl'ubah}(h]h ]h"]h$]h&]uh1jhhhMhjh%hhubj])}(hOThe symlink points to the 'struct dev' that is registered for this edac_device.h]hSThe symlink points to the ‘struct dev’ that is registered for this edac_device.}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1j\hhhMhjh%hhubeh}(h]edac-device-typeah ]h"]edac device typeah$]h&]uh1jGhj~ hhhhhMmubjH)}(hhh](jM)}(h Instancesh]h Instances}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1jLhj'hhhhhMubj])}(hPOne or more instance directories are present. For the ``test_device_edac`` case:h](h6One or more instance directories are present. For the }(hj(hhhNhNubj)}(h``test_device_edac``h]htest_device_edac}(hj (hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj(ubh case:}(hj(hhhNhNubeh}(h]h ]h"]h$]h&]uh1j\hhhMhj'hhubj)}(h:+----------------+ | test-instance0 | +----------------+ h]j)}(hhh]j)}(hhh](j)}(hhh]h}(h]h ]h"]h$]h&]colwidthKuh1jhj+(ubj)}(hhh]j)}(hhh]j)}(hhh]j])}(htest-instance0h]htest-instance0}(hjA(hhhNhNubah}(h]h ]h"]h$]h&]uh1j\hhhMhj>(ubah}(h]h ]h"]h$]h&]uh1jhj;(ubah}(h]h ]h"]h$]h&]uh1jhj8(ubah}(h]h ]h"]h$]h&]uh1jhj+(ubeh}(h]h ]h"]h$]h&]colsKuh1jhj((ubah}(h]h ]h"]h$]h&]uh1jhj$(ubah}(h]h ]h"]h$]h&]uh1jhhhMhj'hhubj])}(hqIn this directory there are two default counter attributes, which are totals of counter in deeper subdirectories.h]hqIn this directory there are two default counter attributes, which are totals of counter in deeper subdirectories.}(hjt(hhhNhNubah}(h]h ]h"]h$]h&]uh1j\hhhMhj'hhubj)}(h============== ==================================== ce_count total of CE events of subdirectories ue_count total of UE events of subdirectories ============== ==================================== h]j)}(hhh]j)}(hhh](j)}(hhh]h}(h]h ]h"]h$]h&]colwidthKuh1jhj(ubj)}(hhh]h}(h]h ]h"]h$]h&]colwidthK$uh1jhj(ubj)}(hhh](j)}(hhh](j)}(hhh]j])}(hce_counth]hce_count}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1j\hhhMhj(ubah}(h]h ]h"]h$]h&]uh1jhj(ubj)}(hhh]j])}(h$total of CE events of subdirectoriesh]h$total of CE events of subdirectories}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1j\hhhMhj(ubah}(h]h ]h"]h$]h&]uh1jhj(ubeh}(h]h ]h"]h$]h&]uh1jhj(ubj)}(hhh](j)}(hhh]j])}(hue_counth]hue_count}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1j\hhhMhj(ubah}(h]h ]h"]h$]h&]uh1jhj(ubj)}(hhh]j])}(h$total of UE events of subdirectoriesh]h$total of UE events of subdirectories}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1j\hhhMhj(ubah}(h]h ]h"]h$]h&]uh1jhj(ubeh}(h]h ]h"]h$]h&]uh1jhj(ubeh}(h]h ]h"]h$]h&]uh1jhj(ubeh}(h]h ]h"]h$]h&]colsKuh1jhj(ubah}(h]h ]h"]h$]h&]uh1jhj(ubah}(h]h ]h"]h$]h&]uh1jhhhMhj'hhubeh}(h] instancesah ]h"] instancesah$]h&]uh1jGhj~ hhhhhMubjH)}(hhh](jM)}(hBlocksh]hBlocks}(hj5)hhhNhNubah}(h]h ]h"]h$]h&]uh1jLhj2)hhhhhMubj])}(hvAt the lowest directory level is the ``block`` directory. There can be 0, 1 or more blocks specified in each instance:h](h%At the lowest directory level is the }(hjC)hhhNhNubj)}(h ``block``h]hblock}(hjK)hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjC)ubhH directory. There can be 0, 1 or more blocks specified in each instance:}(hjC)hhhNhNubeh}(h]h ]h"]h$]h&]uh1j\hhhMhj2)hhubj)}(h0+-------------+ | test-block0 | +-------------+ h]j)}(hhh]j)}(hhh](j)}(hhh]h}(h]h ]h"]h$]h&]colwidthK uh1jhjj)ubj)}(hhh]j)}(hhh]j)}(hhh]j])}(h test-block0h]h test-block0}(hj)hhhNhNubah}(h]h ]h"]h$]h&]uh1j\hhhMhj})ubah}(h]h ]h"]h$]h&]uh1jhjz)ubah}(h]h ]h"]h$]h&]uh1jhjw)ubah}(h]h ]h"]h$]h&]uh1jhjj)ubeh}(h]h ]h"]h$]h&]colsKuh1jhjg)ubah}(h]h ]h"]h$]h&]uh1jhjc)ubah}(h]h ]h"]h$]h&]uh1jhhhMhj2)hhubj])}(h-In this directory the default attributes are:h]h-In this directory the default attributes are:}(hj)hhhNhNubah}(h]h ]h"]h$]h&]uh1j\hhhMhj2)hhubj)}(hX]============== ================================================ ce_count which is counter of CE events for this ``block`` of hardware being monitored ue_count which is counter of UE events for this ``block`` of hardware being monitored ============== ================================================ h]j)}(hhh]j)}(hhh](j)}(hhh]h}(h]h ]h"]h$]h&]colwidthKuh1jhj)ubj)}(hhh]h}(h]h ]h"]h$]h&]colwidthK0uh1jhj)ubj)}(hhh](j)}(hhh](j)}(hhh]j])}(hce_counth]hce_count}(hj)hhhNhNubah}(h]h ]h"]h$]h&]uh1j\hhhMhj)ubah}(h]h ]h"]h$]h&]uh1jhj)ubj)}(hhh]j])}(hLwhich is counter of CE events for this ``block`` of hardware being monitoredh](h'which is counter of CE events for this }(hj)hhhNhNubj)}(h ``block``h]hblock}(hj*hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj)ubh of hardware being monitored}(hj)hhhNhNubeh}(h]h ]h"]h$]h&]uh1j\hhhMhj)ubah}(h]h ]h"]h$]h&]uh1jhj)ubeh}(h]h ]h"]h$]h&]uh1jhj)ubj)}(hhh](j)}(hhh]j])}(hue_counth]hue_count}(hj1*hhhNhNubah}(h]h ]h"]h$]h&]uh1j\hhhMhj.*ubah}(h]h ]h"]h$]h&]uh1jhj+*ubj)}(hhh]j])}(hLwhich is counter of UE events for this ``block`` of hardware being monitoredh](h'which is counter of UE events for this }(hjH*hhhNhNubj)}(h ``block``h]hblock}(hjP*hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjH*ubh of hardware being monitored}(hjH*hhhNhNubeh}(h]h ]h"]h$]h&]uh1j\hhhMhjE*ubah}(h]h ]h"]h$]h&]uh1jhj+*ubeh}(h]h ]h"]h$]h&]uh1jhj)ubeh}(h]h ]h"]h$]h&]uh1jhj)ubeh}(h]h ]h"]h$]h&]colsKuh1jhj)ubah}(h]h ]h"]h$]h&]uh1jhj)ubah}(h]h ]h"]h$]h&]uh1jhhhMhj2)hhubj])}(h@The ``test_device_edac`` device adds 4 attributes and 1 control:h](hThe }(hj*hhhNhNubj)}(h``test_device_edac``h]htest_device_edac}(hj*hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj*ubh( device adds 4 attributes and 1 control:}(hj*hhhNhNubeh}(h]h ]h"]h$]h&]uh1j\hhhMhj2)hhubj)}(hX|================== ==================================================== test-block-bits-0 for every POLL cycle this counter is incremented test-block-bits-1 every 10 cycles, this counter is bumped once, and test-block-bits-0 is set to 0 test-block-bits-2 every 100 cycles, this counter is bumped once, and test-block-bits-1 is set to 0 test-block-bits-3 every 1000 cycles, this counter is bumped once, and test-block-bits-2 is set to 0 ================== ==================================================== ================== ==================================================== reset-counters writing ANY thing to this control will reset all the above counters. ================== ==================================================== h](j)}(hhh]j)}(hhh](j)}(hhh]h}(h]h ]h"]h$]h&]colwidthKuh1jhj*ubj)}(hhh]h}(h]h ]h"]h$]h&]colwidthK4uh1jhj*ubj)}(hhh](j)}(hhh](j)}(hhh]j])}(htest-block-bits-0h]htest-block-bits-0}(hj*hhhNhNubah}(h]h ]h"]h$]h&]uh1j\hhhMhj*ubah}(h]h ]h"]h$]h&]uh1jhj*ubj)}(hhh]j])}(h0for every POLL cycle this counter is incrementedh]h0for every POLL cycle this counter is incremented}(hj*hhhNhNubah}(h]h ]h"]h$]h&]uh1j\hhhMhj*ubah}(h]h ]h"]h$]h&]uh1jhj*ubeh}(h]h ]h"]h$]h&]uh1jhj*ubj)}(hhh](j)}(hhh]j])}(htest-block-bits-1h]htest-block-bits-1}(hj +hhhNhNubah}(h]h ]h"]h$]h&]uh1j\hhhMhj+ubah}(h]h ]h"]h$]h&]uh1jhj+ubj)}(hhh]j])}(hOevery 10 cycles, this counter is bumped once, and test-block-bits-0 is set to 0h]hOevery 10 cycles, this counter is bumped once, and test-block-bits-0 is set to 0}(hj"+hhhNhNubah}(h]h ]h"]h$]h&]uh1j\hhhMhj+ubah}(h]h ]h"]h$]h&]uh1jhj+ubeh}(h]h ]h"]h$]h&]uh1jhj*ubj)}(hhh](j)}(hhh]j])}(htest-block-bits-2h]htest-block-bits-2}(hjB+hhhNhNubah}(h]h ]h"]h$]h&]uh1j\hhhMhj?+ubah}(h]h ]h"]h$]h&]uh1jhj<+ubj)}(hhh]j])}(hPevery 100 cycles, this counter is bumped once, and test-block-bits-1 is set to 0h]hPevery 100 cycles, this counter is bumped once, and test-block-bits-1 is set to 0}(hjY+hhhNhNubah}(h]h ]h"]h$]h&]uh1j\hhhMhjV+ubah}(h]h ]h"]h$]h&]uh1jhj<+ubeh}(h]h ]h"]h$]h&]uh1jhj*ubj)}(hhh](j)}(hhh]j])}(htest-block-bits-3h]htest-block-bits-3}(hjy+hhhNhNubah}(h]h ]h"]h$]h&]uh1j\hhhMhjv+ubah}(h]h ]h"]h$]h&]uh1jhjs+ubj)}(hhh]j])}(hQevery 1000 cycles, this counter is bumped once, and test-block-bits-2 is set to 0h]hQevery 1000 cycles, this counter is bumped once, and test-block-bits-2 is set to 0}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1j\hhhMhj+ubah}(h]h ]h"]h$]h&]uh1jhjs+ubeh}(h]h ]h"]h$]h&]uh1jhj*ubeh}(h]h ]h"]h$]h&]uh1jhj*ubeh}(h]h ]h"]h$]h&]colsKuh1jhj*ubah}(h]h ]h"]h$]h&]uh1jhj*ubj)}(hhh]j)}(hhh](j)}(hhh]h}(h]h ]h"]h$]h&]colwidthKuh1jhj+ubj)}(hhh]h}(h]h ]h"]h$]h&]colwidthK4uh1jhj+ubj)}(hhh]j)}(hhh](j)}(hhh]j])}(hreset-countersh]hreset-counters}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1j\hhhMhj+ubah}(h]h ]h"]h$]h&]uh1jhj+ubj)}(hhh]j])}(hDwriting ANY thing to this control will reset all the above counters.h]hDwriting ANY thing to this control will reset all the above counters.}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1j\hhhMhj+ubah}(h]h ]h"]h$]h&]uh1jhj+ubeh}(h]h ]h"]h$]h&]uh1jhj+ubah}(h]h ]h"]h$]h&]uh1jhj+ubeh}(h]h ]h"]h$]h&]colsKuh1jhj+ubah}(h]h ]h"]h$]h&]uh1jhj*ubeh}(h]h ]h"]h$]h&]uh1jhhhMhj2)hhubj])}(h~Use of the ``test_device_edac`` driver should enable any others to create their own unique drivers for their hardware systems.h](h Use of the }(hj*,hhhNhNubj)}(h``test_device_edac``h]htest_device_edac}(hj2,hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj*,ubh_ driver should enable any others to create their own unique drivers for their hardware systems.}(hj*,hhhNhNubeh}(h]h ]h"]h$]h&]uh1j\hhhMhj2)hhubj])}(hpThe ``test_device_edac`` sample driver is located at the http://bluesmoke.sourceforge.net project site for EDAC.h](hThe }(hjJ,hhhNhNubj)}(h``test_device_edac``h]htest_device_edac}(hjR,hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjJ,ubh! sample driver is located at the }(hjJ,hhhNhNubj )}(h http://bluesmoke.sourceforge.neth]h http://bluesmoke.sourceforge.net}(hjd,hhhNhNubah}(h]h ]h"]h$]h&]refurijf,uh1j hjJ,ubh project site for EDAC.}(hjJ,hhhNhNubeh}(h]h ]h"]h$]h&]uh1j\hhhMhj2)hhubeh}(h]blocksah ]h"]blocksah$]h&]uh1jGhj~ hhhhhMubjH)}(hhh](jM)}(h2Usage of EDAC APIs on Nehalem and newer Intel CPUsh]h2Usage of EDAC APIs on Nehalem and newer Intel CPUs}(hj,hhhNhNubah}(h]h ]h"]h$]h&]uh1jLhj,hhhhhMubj])}(hOn older Intel architectures, the memory controller was part of the North Bridge chipset. Nehalem, Sandy Bridge, Ivy Bridge, Haswell, Sky Lake and newer Intel architectures integrated an enhanced version of the memory controller (MC) inside the CPUs.h]hOn older Intel architectures, the memory controller was part of the North Bridge chipset. Nehalem, Sandy Bridge, Ivy Bridge, Haswell, Sky Lake and newer Intel architectures integrated an enhanced version of the memory controller (MC) inside the CPUs.}(hj,hhhNhNubah}(h]h ]h"]h$]h&]uh1j\hhhMhj,hhubj])}(hThis chapter will cover the differences of the enhanced memory controllers found on newer Intel CPUs, such as ``i7core_edac``, ``sb_edac`` and ``sbx_edac`` drivers.h](hnThis chapter will cover the differences of the enhanced memory controllers found on newer Intel CPUs, such as }(hj,hhhNhNubj)}(h``i7core_edac``h]h i7core_edac}(hj,hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj,ubh, }(hj,hhhNhNubj)}(h ``sb_edac``h]hsb_edac}(hj,hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj,ubh and }(hj,hhhNhNubj)}(h ``sbx_edac``h]hsbx_edac}(hj,hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj,ubh drivers.}(hj,hhhNhNubeh}(h]h ]h"]h$]h&]uh1j\hhhMhj,hhubj )}(hThe Xeon E7 processor families use a separate chip for the memory controller, called Intel Scalable Memory Buffer. This section doesn't apply for such families.h]j])}(hThe Xeon E7 processor families use a separate chip for the memory controller, called Intel Scalable Memory Buffer. This section doesn't apply for such families.h]hThe Xeon E7 processor families use a separate chip for the memory controller, called Intel Scalable Memory Buffer. This section doesn’t apply for such families.}(hj,hhhNhNubah}(h]h ]h"]h$]h&]uh1j\hhhMhj,ubah}(h]h ]h"]h$]h&]uh1j hj,hhhhhNubhenumerated_list)}(hhh](j)}(hXThere is one Memory Controller per Quick Patch Interconnect (QPI). At the driver, the term "socket" means one QPI. This is associated with a physical CPU socket. Each MC have 3 physical read channels, 3 physical write channels and 3 logic channels. The driver currently sees it as just 3 channels. Each channel can have up to 3 DIMMs. The minimum known unity is DIMMs. There are no information about csrows. As EDAC API maps the minimum unity is csrows, the driver sequentially maps channel/DIMM into different csrows. For example, supposing the following layout:: Ch0 phy rd0, wr0 (0x063f4031): 2 ranks, UDIMMs dimm 0 1024 Mb offset: 0, bank: 8, rank: 1, row: 0x4000, col: 0x400 dimm 1 1024 Mb offset: 4, bank: 8, rank: 1, row: 0x4000, col: 0x400 Ch1 phy rd1, wr1 (0x063f4031): 2 ranks, UDIMMs dimm 0 1024 Mb offset: 0, bank: 8, rank: 1, row: 0x4000, col: 0x400 Ch2 phy rd3, wr3 (0x063f4031): 2 ranks, UDIMMs dimm 0 1024 Mb offset: 0, bank: 8, rank: 1, row: 0x4000, col: 0x400 The driver will map it as:: csrow0: channel 0, dimm0 csrow1: channel 0, dimm1 csrow2: channel 1, dimm0 csrow3: channel 2, dimm0 exports one DIMM per csrow. Each QPI is exported as a different memory controller. h](j])}(hThere is one Memory Controller per Quick Patch Interconnect (QPI). At the driver, the term "socket" means one QPI. This is associated with a physical CPU socket.h]hThere is one Memory Controller per Quick Patch Interconnect (QPI). At the driver, the term “socket” means one QPI. This is associated with a physical CPU socket.}(hj -hhhNhNubah}(h]h ]h"]h$]h&]uh1j\hhhMhj-ubj])}(hEach MC have 3 physical read channels, 3 physical write channels and 3 logic channels. The driver currently sees it as just 3 channels. Each channel can have up to 3 DIMMs.h]hEach MC have 3 physical read channels, 3 physical write channels and 3 logic channels. The driver currently sees it as just 3 channels. Each channel can have up to 3 DIMMs.}(hj-hhhNhNubah}(h]h ]h"]h$]h&]uh1j\hhhMhj-ubj])}(hThe minimum known unity is DIMMs. There are no information about csrows. As EDAC API maps the minimum unity is csrows, the driver sequentially maps channel/DIMM into different csrows.h]hThe minimum known unity is DIMMs. There are no information about csrows. As EDAC API maps the minimum unity is csrows, the driver sequentially maps channel/DIMM into different csrows.}(hj%-hhhNhNubah}(h]h ]h"]h$]h&]uh1j\hhhMhj-ubj])}(h-For example, supposing the following layout::h]h,For example, supposing the following layout:}(hj3-hhhNhNubah}(h]h ]h"]h$]h&]uh1j\hhhMhj-ubj)}(hXCh0 phy rd0, wr0 (0x063f4031): 2 ranks, UDIMMs dimm 0 1024 Mb offset: 0, bank: 8, rank: 1, row: 0x4000, col: 0x400 dimm 1 1024 Mb offset: 4, bank: 8, rank: 1, row: 0x4000, col: 0x400 Ch1 phy rd1, wr1 (0x063f4031): 2 ranks, UDIMMs dimm 0 1024 Mb offset: 0, bank: 8, rank: 1, row: 0x4000, col: 0x400 Ch2 phy rd3, wr3 (0x063f4031): 2 ranks, UDIMMs dimm 0 1024 Mb offset: 0, bank: 8, rank: 1, row: 0x4000, col: 0x400h]hXCh0 phy rd0, wr0 (0x063f4031): 2 ranks, UDIMMs dimm 0 1024 Mb offset: 0, bank: 8, rank: 1, row: 0x4000, col: 0x400 dimm 1 1024 Mb offset: 4, bank: 8, rank: 1, row: 0x4000, col: 0x400 Ch1 phy rd1, wr1 (0x063f4031): 2 ranks, UDIMMs dimm 0 1024 Mb offset: 0, bank: 8, rank: 1, row: 0x4000, col: 0x400 Ch2 phy rd3, wr3 (0x063f4031): 2 ranks, UDIMMs dimm 0 1024 Mb offset: 0, bank: 8, rank: 1, row: 0x4000, col: 0x400}hjA-sbah}(h]h ]h"]h$]h&]hhuh1jhhhMhj-ubj])}(hThe driver will map it as::h]hThe driver will map it as:}(hjO-hhhNhNubah}(h]h ]h"]h$]h&]uh1j\hhhMhj-ubj)}(hccsrow0: channel 0, dimm0 csrow1: channel 0, dimm1 csrow2: channel 1, dimm0 csrow3: channel 2, dimm0h]hccsrow0: channel 0, dimm0 csrow1: channel 0, dimm1 csrow2: channel 1, dimm0 csrow3: channel 2, dimm0}hj]-sbah}(h]h ]h"]h$]h&]hhuh1jhhhMhj-ubj])}(hexports one DIMM per csrow.h]hexports one DIMM per csrow.}(hjk-hhhNhNubah}(h]h ]h"]h$]h&]uh1j\hhhM hj-ubj])}(h6Each QPI is exported as a different memory controller.h]h6Each QPI is exported as a different memory controller.}(hjy-hhhNhNubah}(h]h ]h"]h$]h&]uh1j\hhhM hj-ubeh}(h]h ]h"]h$]h&]uh1jhj-hhhhhNubj)}(hX5 The MC has the ability to inject errors to test drivers. The drivers implement this functionality via some error injection nodes: For injecting a memory error, there are some sysfs nodes, under ``/sys/devices/system/edac/mc/mc?/``: - ``inject_addrmatch/*``: Controls the error injection mask register. It is possible to specify several characteristics of the address to match an error code:: dimm = the affected dimm. Numbers are relative to a channel; rank = the memory rank; channel = the channel that will generate an error; bank = the affected bank; page = the page address; column (or col) = the address column. each of the above values can be set to "any" to match any valid value. At driver init, all values are set to any. For example, to generate an error at rank 1 of dimm 2, for any channel, any bank, any page, any column:: echo 2 >/sys/devices/system/edac/mc/mc0/inject_addrmatch/dimm echo 1 >/sys/devices/system/edac/mc/mc0/inject_addrmatch/rank To return to the default behaviour of matching any, you can do:: echo any >/sys/devices/system/edac/mc/mc0/inject_addrmatch/dimm echo any >/sys/devices/system/edac/mc/mc0/inject_addrmatch/rank - ``inject_eccmask``: specifies what bits will have troubles, - ``inject_section``: specifies what ECC cache section will get the error:: 3 for both 2 for the highest 1 for the lowest - ``inject_type``: specifies the type of error, being a combination of the following bits:: bit 0 - repeat bit 1 - ecc bit 2 - parity - ``inject_enable``: starts the error generation when something different than 0 is written. All inject vars can be read. root permission is needed for write. Datasheet states that the error will only be generated after a write on an address that matches inject_addrmatch. It seems, however, that reading will also produce an error. For example, the following code will generate an error for any write access at socket 0, on any DIMM/address on channel 2:: echo 2 >/sys/devices/system/edac/mc/mc0/inject_addrmatch/channel echo 2 >/sys/devices/system/edac/mc/mc0/inject_type echo 64 >/sys/devices/system/edac/mc/mc0/inject_eccmask echo 3 >/sys/devices/system/edac/mc/mc0/inject_section echo 1 >/sys/devices/system/edac/mc/mc0/inject_enable dd if=/dev/mem of=/dev/null seek=16k bs=4k count=1 >& /dev/null For socket 1, it is needed to replace "mc0" by "mc1" at the above commands. The generated error message will look like:: EDAC MC0: UE row 0, channel-a= 0 channel-b= 0 labels "-": NON_FATAL (addr = 0x0075b980, socket=0, Dimm=0, Channel=2, syndrome=0x00000040, count=1, Err=8c0000400001009f:4000080482 (read error: read ECC error)) h](j])}(hThe MC has the ability to inject errors to test drivers. The drivers implement this functionality via some error injection nodes:h]hThe MC has the ability to inject errors to test drivers. The drivers implement this functionality via some error injection nodes:}(hj-hhhNhNubah}(h]h ]h"]h$]h&]uh1j\hhhM hj-ubj])}(heFor injecting a memory error, there are some sysfs nodes, under ``/sys/devices/system/edac/mc/mc?/``:h](h@For injecting a memory error, there are some sysfs nodes, under }(hj-hhhNhNubj)}(h$``/sys/devices/system/edac/mc/mc?/``h]h /sys/devices/system/edac/mc/mc?/}(hj-hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj-ubh:}(hj-hhhNhNubeh}(h]h ]h"]h$]h&]uh1j\hhhMhj-ubj)}(hhh](j)}(hX``inject_addrmatch/*``: Controls the error injection mask register. It is possible to specify several characteristics of the address to match an error code:: dimm = the affected dimm. Numbers are relative to a channel; rank = the memory rank; channel = the channel that will generate an error; bank = the affected bank; page = the page address; column (or col) = the address column. each of the above values can be set to "any" to match any valid value. At driver init, all values are set to any. For example, to generate an error at rank 1 of dimm 2, for any channel, any bank, any page, any column:: echo 2 >/sys/devices/system/edac/mc/mc0/inject_addrmatch/dimm echo 1 >/sys/devices/system/edac/mc/mc0/inject_addrmatch/rank To return to the default behaviour of matching any, you can do:: echo any >/sys/devices/system/edac/mc/mc0/inject_addrmatch/dimm echo any >/sys/devices/system/edac/mc/mc0/inject_addrmatch/rank h]j)}(hhh]j)}(hX``inject_addrmatch/*``: Controls the error injection mask register. It is possible to specify several characteristics of the address to match an error code:: dimm = the affected dimm. Numbers are relative to a channel; rank = the memory rank; channel = the channel that will generate an error; bank = the affected bank; page = the page address; column (or col) = the address column. each of the above values can be set to "any" to match any valid value. At driver init, all values are set to any. For example, to generate an error at rank 1 of dimm 2, for any channel, any bank, any page, any column:: echo 2 >/sys/devices/system/edac/mc/mc0/inject_addrmatch/dimm echo 1 >/sys/devices/system/edac/mc/mc0/inject_addrmatch/rank To return to the default behaviour of matching any, you can do:: echo any >/sys/devices/system/edac/mc/mc0/inject_addrmatch/dimm echo any >/sys/devices/system/edac/mc/mc0/inject_addrmatch/rank h](j)}(h``inject_addrmatch/*``:h](j)}(h``inject_addrmatch/*``h]hinject_addrmatch/*}(hj-hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj-ubh:}(hj-hhhNhNubeh}(h]h ]h"]h$]h&]uh1jhhhM+hj-ubj)}(hhh](j])}(hControls the error injection mask register. It is possible to specify several characteristics of the address to match an error code::h]hControls the error injection mask register. It is possible to specify several characteristics of the address to match an error code:}(hj-hhhNhNubah}(h]h ]h"]h$]h&]uh1j\hhhMhj-ubj)}(hdimm = the affected dimm. Numbers are relative to a channel; rank = the memory rank; channel = the channel that will generate an error; bank = the affected bank; page = the page address; column (or col) = the address column.h]hdimm = the affected dimm. Numbers are relative to a channel; rank = the memory rank; channel = the channel that will generate an error; bank = the affected bank; page = the page address; column (or col) = the address column.}hj-sbah}(h]h ]h"]h$]h&]hhuh1jhhhMhj-ubj])}(hFeach of the above values can be set to "any" to match any valid value.h]hJeach of the above values can be set to “any” to match any valid value.}(hj.hhhNhNubah}(h]h ]h"]h$]h&]uh1j\hhhMhj-ubj])}(h*At driver init, all values are set to any.h]h*At driver init, all values are set to any.}(hj.hhhNhNubah}(h]h ]h"]h$]h&]uh1j\hhhM hj-ubj])}(hhFor example, to generate an error at rank 1 of dimm 2, for any channel, any bank, any page, any column::h]hgFor example, to generate an error at rank 1 of dimm 2, for any channel, any bank, any page, any column:}(hj$.hhhNhNubah}(h]h ]h"]h$]h&]uh1j\hhhM"hj-ubj)}(hX^ echo 2 >/sys/devices/system/edac/mc/mc0/inject_addrmatch/dimm echo 1 >/sys/devices/system/edac/mc/mc0/inject_addrmatch/rank To return to the default behaviour of matching any, you can do:: echo any >/sys/devices/system/edac/mc/mc0/inject_addrmatch/dimm echo any >/sys/devices/system/edac/mc/mc0/inject_addrmatch/rankh]hX^ echo 2 >/sys/devices/system/edac/mc/mc0/inject_addrmatch/dimm echo 1 >/sys/devices/system/edac/mc/mc0/inject_addrmatch/rank To return to the default behaviour of matching any, you can do:: echo any >/sys/devices/system/edac/mc/mc0/inject_addrmatch/dimm echo any >/sys/devices/system/edac/mc/mc0/inject_addrmatch/rank}hj2.sbah}(h]h ]h"]h$]h&]hhuh1jhhhM%hj-ubeh}(h]h ]h"]h$]h&]uh1jhj-ubeh}(h]h ]h"]h$]h&]uh1jhhhM+hj-ubah}(h]h ]h"]h$]h&]uh1jhj-ubah}(h]h ]h"]h$]h&]uh1jhj-ubj)}(hA``inject_eccmask``: specifies what bits will have troubles, h]j)}(hhh]j)}(h<``inject_eccmask``: specifies what bits will have troubles, h](j)}(h``inject_eccmask``:h](j)}(h``inject_eccmask``h]hinject_eccmask}(hjg.hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjc.ubh:}(hjc.hhhNhNubeh}(h]h ]h"]h$]h&]uh1jhhhM.hj_.ubj)}(hhh]j])}(h'specifies what bits will have troubles,h]h'specifies what bits will have troubles,}(hj.hhhNhNubah}(h]h ]h"]h$]h&]uh1j\hhhM.hj.ubah}(h]h ]h"]h$]h&]uh1jhj_.ubeh}(h]h ]h"]h$]h&]uh1jhhhM.hj\.ubah}(h]h ]h"]h$]h&]uh1jhjX.ubah}(h]h ]h"]h$]h&]uh1jhj-ubj)}(h``inject_section``: specifies what ECC cache section will get the error:: 3 for both 2 for the highest 1 for the lowest h]j)}(hhh]j)}(h``inject_section``: specifies what ECC cache section will get the error:: 3 for both 2 for the highest 1 for the lowest h](j)}(h``inject_section``:h](j)}(h``inject_section``h]hinject_section}(hj.hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj.ubh:}(hj.hhhNhNubeh}(h]h ]h"]h$]h&]uh1jhhhM5hj.ubj)}(hhh](j])}(h5specifies what ECC cache section will get the error::h]h4specifies what ECC cache section will get the error:}(hj.hhhNhNubah}(h]h ]h"]h$]h&]uh1j\hhhM1hj.ubj)}(h-3 for both 2 for the highest 1 for the lowesth]h-3 for both 2 for the highest 1 for the lowest}hj.sbah}(h]h ]h"]h$]h&]hhuh1jhhhM3hj.ubeh}(h]h ]h"]h$]h&]uh1jhj.ubeh}(h]h ]h"]h$]h&]uh1jhhhM5hj.ubah}(h]h ]h"]h$]h&]uh1jhj.ubah}(h]h ]h"]h$]h&]uh1jhj-ubj)}(h``inject_type``: specifies the type of error, being a combination of the following bits:: bit 0 - repeat bit 1 - ecc bit 2 - parity h]j)}(hhh]j)}(h``inject_type``: specifies the type of error, being a combination of the following bits:: bit 0 - repeat bit 1 - ecc bit 2 - parity h](j)}(h``inject_type``:h](j)}(h``inject_type``h]h inject_type}(hj/hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj/ubh:}(hj/hhhNhNubeh}(h]h ]h"]h$]h&]uh1jhhhM<hj /ubj)}(hhh](j])}(hHspecifies the type of error, being a combination of the following bits::h]hGspecifies the type of error, being a combination of the following bits:}(hj0/hhhNhNubah}(h]h ]h"]h$]h&]uh1j\hhhM8hj-/ubj)}(h)bit 0 - repeat bit 1 - ecc bit 2 - parityh]h)bit 0 - repeat bit 1 - ecc bit 2 - parity}hj>/sbah}(h]h ]h"]h$]h&]hhuh1jhhhM:hj-/ubeh}(h]h ]h"]h$]h&]uh1jhj /ubeh}(h]h ]h"]h$]h&]uh1jhhhM<hj /ubah}(h]h ]h"]h$]h&]uh1jhj/ubah}(h]h ]h"]h$]h&]uh1jhj-ubj)}(h]``inject_enable``: starts the error generation when something different than 0 is written. h]j)}(hhh]j)}(h[``inject_enable``: starts the error generation when something different than 0 is written. h](j)}(h``inject_enable``:h](j)}(h``inject_enable``h]h inject_enable}(hjs/hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjo/ubh:}(hjo/hhhNhNubeh}(h]h ]h"]h$]h&]uh1jhhhM?hjk/ubj)}(hhh]j])}(hGstarts the error generation when something different than 0 is written.h]hGstarts the error generation when something different than 0 is written.}(hj/hhhNhNubah}(h]h ]h"]h$]h&]uh1j\hhhM?hj/ubah}(h]h ]h"]h$]h&]uh1jhjk/ubeh}(h]h ]h"]h$]h&]uh1jhhhM?hjh/ubah}(h]h ]h"]h$]h&]uh1jhjd/ubah}(h]h ]h"]h$]h&]uh1jhj-ubeh}(h]h ]h"]h$]h&]jjuh1jhhhMhj-ubj])}(hAAll inject vars can be read. root permission is needed for write.h]hAAll inject vars can be read. root permission is needed for write.}(hj/hhhNhNubah}(h]h ]h"]h$]h&]uh1j\hhhMAhj-ubj])}(hDatasheet states that the error will only be generated after a write on an address that matches inject_addrmatch. It seems, however, that reading will also produce an error.h]hDatasheet states that the error will only be generated after a write on an address that matches inject_addrmatch. It seems, however, that reading will also produce an error.}(hj/hhhNhNubah}(h]h ]h"]h$]h&]uh1j\hhhMChj-ubj])}(h{For example, the following code will generate an error for any write access at socket 0, on any DIMM/address on channel 2::Yh]hzFor example, the following code will generate an error for any write access at socket 0, on any DIMM/address on channel 2:}(hj/hhhNhNubah}(h]h ]h"]h$]h&]uh1j\hhhMGhj-ubj)}(hXYecho 2 >/sys/devices/system/edac/mc/mc0/inject_addrmatch/channel echo 2 >/sys/devices/system/edac/mc/mc0/inject_type echo 64 >/sys/devices/system/edac/mc/mc0/inject_eccmask echo 3 >/sys/devices/system/edac/mc/mc0/inject_section echo 1 >/sys/devices/system/edac/mc/mc0/inject_enable dd if=/dev/mem of=/dev/null seek=16k bs=4k count=1 >& /dev/nullh]hXYecho 2 >/sys/devices/system/edac/mc/mc0/inject_addrmatch/channel echo 2 >/sys/devices/system/edac/mc/mc0/inject_type echo 64 >/sys/devices/system/edac/mc/mc0/inject_eccmask echo 3 >/sys/devices/system/edac/mc/mc0/inject_section echo 1 >/sys/devices/system/edac/mc/mc0/inject_enable dd if=/dev/mem of=/dev/null seek=16k bs=4k count=1 >& /dev/null}hj/sbah}(h]h ]h"]h$]h&]hhuh1jhhhMJhj-ubj])}(hKFor socket 1, it is needed to replace "mc0" by "mc1" at the above commands.h]hSFor socket 1, it is needed to replace “mc0” by “mc1” at the above commands.}(hj/hhhNhNubah}(h]h ]h"]h$]h&]uh1j\hhhMQhj-ubj])}(h,The generated error message will look like::h]h+The generated error message will look like:}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1j\hhhMThj-ubj)}(hEDAC MC0: UE row 0, channel-a= 0 channel-b= 0 labels "-": NON_FATAL (addr = 0x0075b980, socket=0, Dimm=0, Channel=2, syndrome=0x00000040, count=1, Err=8c0000400001009f:4000080482 (read error: read ECC error))h]hEDAC MC0: UE row 0, channel-a= 0 channel-b= 0 labels "-": NON_FATAL (addr = 0x0075b980, socket=0, Dimm=0, Channel=2, syndrome=0x00000040, count=1, Err=8c0000400001009f:4000080482 (read error: read ECC error))}hj0sbah}(h]h ]h"]h$]h&]hhuh1jhhhMVhj-ubeh}(h]h ]h"]h$]h&]uh1jhj-hhhhhNubj)}(hXpCorrected Error memory register counters Those newer MCs have some registers to count memory errors. The driver uses those registers to report Corrected Errors on devices with Registered DIMMs. However, those counters don't work with Unregistered DIMM. As the chipset offers some counters that also work with UDIMMs (but with a worse level of granularity than the default ones), the driver exposes those registers for UDIMM memories. They can be read by looking at the contents of ``all_channel_counts/``:: $ for i in /sys/devices/system/edac/mc/mc0/all_channel_counts/*; do echo $i; cat $i; done /sys/devices/system/edac/mc/mc0/all_channel_counts/udimm0 0 /sys/devices/system/edac/mc/mc0/all_channel_counts/udimm1 0 /sys/devices/system/edac/mc/mc0/all_channel_counts/udimm2 0 What happens here is that errors on different csrows, but at the same dimm number will increment the same counter. So, in this memory mapping:: csrow0: channel 0, dimm0 csrow1: channel 0, dimm1 csrow2: channel 1, dimm0 csrow3: channel 2, dimm0 The hardware will increment udimm0 for an error at the first dimm at either csrow0, csrow2 or csrow3; The hardware will increment udimm1 for an error at the second dimm at either csrow0, csrow2 or csrow3; The hardware will increment udimm2 for an error at the third dimm at either csrow0, csrow2 or csrow3; h](j])}(h(Corrected Error memory register countersh]h(Corrected Error memory register counters}(hj&0hhhNhNubah}(h]h ]h"]h$]h&]uh1j\hhhMXhj"0ubj])}(hThose newer MCs have some registers to count memory errors. The driver uses those registers to report Corrected Errors on devices with Registered DIMMs.h]hThose newer MCs have some registers to count memory errors. The driver uses those registers to report Corrected Errors on devices with Registered DIMMs.}(hj40hhhNhNubah}(h]h ]h"]h$]h&]uh1j\hhhMZhj"0ubj])}(hHowever, those counters don't work with Unregistered DIMM. As the chipset offers some counters that also work with UDIMMs (but with a worse level of granularity than the default ones), the driver exposes those registers for UDIMM memories.h]hHowever, those counters don’t work with Unregistered DIMM. As the chipset offers some counters that also work with UDIMMs (but with a worse level of granularity than the default ones), the driver exposes those registers for UDIMM memories.}(hjB0hhhNhNubah}(h]h ]h"]h$]h&]uh1j\hhhM^hj"0ubj])}(hHThey can be read by looking at the contents of ``all_channel_counts/``::h](h/They can be read by looking at the contents of }(hjP0hhhNhNubj)}(h``all_channel_counts/``h]hall_channel_counts/}(hjX0hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjP0ubh:}(hjP0hhhNhNubeh}(h]h ]h"]h$]h&]uh1j\hhhMchj"0ubj)}(hX$ for i in /sys/devices/system/edac/mc/mc0/all_channel_counts/*; do echo $i; cat $i; done /sys/devices/system/edac/mc/mc0/all_channel_counts/udimm0 0 /sys/devices/system/edac/mc/mc0/all_channel_counts/udimm1 0 /sys/devices/system/edac/mc/mc0/all_channel_counts/udimm2 0h]hX$ for i in /sys/devices/system/edac/mc/mc0/all_channel_counts/*; do echo $i; cat $i; done /sys/devices/system/edac/mc/mc0/all_channel_counts/udimm0 0 /sys/devices/system/edac/mc/mc0/all_channel_counts/udimm1 0 /sys/devices/system/edac/mc/mc0/all_channel_counts/udimm2 0}hjp0sbah}(h]h ]h"]h$]h&]hhuh1jhhhMehj"0ubj])}(hWhat happens here is that errors on different csrows, but at the same dimm number will increment the same counter. So, in this memory mapping::h]hWhat happens here is that errors on different csrows, but at the same dimm number will increment the same counter. So, in this memory mapping:}(hj~0hhhNhNubah}(h]h ]h"]h$]h&]uh1j\hhhMmhj"0ubj)}(hccsrow0: channel 0, dimm0 csrow1: channel 0, dimm1 csrow2: channel 1, dimm0 csrow3: channel 2, dimm0h]hccsrow0: channel 0, dimm0 csrow1: channel 0, dimm1 csrow2: channel 1, dimm0 csrow3: channel 2, dimm0}hj0sbah}(h]h ]h"]h$]h&]hhuh1jhhhMqhj"0ubj])}(hfThe hardware will increment udimm0 for an error at the first dimm at either csrow0, csrow2 or csrow3;h]hfThe hardware will increment udimm0 for an error at the first dimm at either csrow0, csrow2 or csrow3;}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1j\hhhMvhj"0ubj])}(hgThe hardware will increment udimm1 for an error at the second dimm at either csrow0, csrow2 or csrow3;h]hgThe hardware will increment udimm1 for an error at the second dimm at either csrow0, csrow2 or csrow3;}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1j\hhhMyhj"0ubj])}(hfThe hardware will increment udimm2 for an error at the third dimm at either csrow0, csrow2 or csrow3;h]hfThe hardware will increment udimm2 for an error at the third dimm at either csrow0, csrow2 or csrow3;}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1j\hhhM|hj"0ubeh}(h]h ]h"]h$]h&]uh1jhj-hhhhhNubj)}(hX Standard error counters The standard error counters are generated when an mcelog error is received by the driver. Since, with UDIMM, this is counted by software, it is possible that some errors could be lost. With RDIMM's, they display the contents of the registers h](j])}(hStandard error countersh]hStandard error counters}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1j\hhhMhj0ubj])}(hThe standard error counters are generated when an mcelog error is received by the driver. Since, with UDIMM, this is counted by software, it is possible that some errors could be lost. With RDIMM's, they display the contents of the registersh]hThe standard error counters are generated when an mcelog error is received by the driver. Since, with UDIMM, this is counted by software, it is possible that some errors could be lost. With RDIMM’s, they display the contents of the registers}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1j\hhhMhj0ubeh}(h]h ]h"]h$]h&]uh1jhj-hhhhhNubeh}(h]h ]h"]h$]h&]enumtypearabicprefixhsuffix)uh1j-hj,hhhhhMubeh}(h]2usage-of-edac-apis-on-nehalem-and-newer-intel-cpusah ]h"]2usage of edac apis on nehalem and newer intel cpusah$]h&]uh1jGhj~ hhhhhMubjH)}(hhh](jM)}(h*Reference documents used on ``amd64_edac``h](hReference documents used on }(hj1hhhNhNubj)}(h``amd64_edac``h]h amd64_edac}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj1ubeh}(h]h ]h"]h$]h&]uh1jLhj1hhhhhMubj])}(hy``amd64_edac`` module is based on the following documents (available from http://support.amd.com/en-us/search/tech-docs):h](j)}(h``amd64_edac``h]h amd64_edac}(hj&1hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj"1ubh< module is based on the following documents (available from }(hj"1hhhNhNubj )}(h-http://support.amd.com/en-us/search/tech-docsh]h-http://support.amd.com/en-us/search/tech-docs}(hj81hhhNhNubah}(h]h ]h"]h$]h&]refurij:1uh1j hj"1ubh):}(hj"1hhhNhNubeh}(h]h ]h"]h$]h&]uh1j\hhhMhj1hhubj-)}(hhh](j)}(h:Title: BIOS and Kernel Developer's Guide for AMD Athlon 64 and AMD Opteron Processors :AMD publication #: 26094 :Revision: 3.26 :Link: http://support.amd.com/TechDocs/26094.PDF h]h field_list)}(hhh](hfield)}(hhh](h field_name)}(hTitleh]hTitle}(hjd1hhhNhNubah}(h]h ]h"]h$]h&]uh1jb1hj_1hhhKubh field_body)}(hNBIOS and Kernel Developer's Guide for AMD Athlon 64 and AMD Opteron Processorsh]j])}(hNBIOS and Kernel Developer's Guide for AMD Athlon 64 and AMD Opteron Processorsh]hPBIOS and Kernel Developer’s Guide for AMD Athlon 64 and AMD Opteron Processors}(hjx1hhhNhNubah}(h]h ]h"]h$]h&]uh1j\hhhMhjt1ubah}(h]h ]h"]h$]h&]uh1jr1hj_1ubeh}(h]h ]h"]h$]h&]uh1j]1hhhMhjZ1ubj^1)}(hhh](jc1)}(hAMD publication #h]hAMD publication #}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1jb1hj1hhhKubjs1)}(h26094h]j])}(hj1h]h26094}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1j\hhhMhj1ubah}(h]h ]h"]h$]h&]uh1jr1hj1ubeh}(h]h ]h"]h$]h&]uh1j]1hhhMhjZ1ubj^1)}(hhh](jc1)}(hRevisionh]hRevision}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1jb1hj1hhhKubjs1)}(h3.26h]j])}(hj1h]h3.26}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1j\hhhMhj1ubah}(h]h ]h"]h$]h&]uh1jr1hj1ubeh}(h]h ]h"]h$]h&]uh1j]1hhhMhjZ1ubj^1)}(hhh](jc1)}(hLinkh]hLink}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1jb1hj1hhhKubjs1)}(h*http://support.amd.com/TechDocs/26094.PDF h]j])}(h)http://support.amd.com/TechDocs/26094.PDFh]j )}(hj2h]h)http://support.amd.com/TechDocs/26094.PDF}(hj2hhhNhNubah}(h]h ]h"]h$]h&]refurij2uh1j hj2ubah}(h]h ]h"]h$]h&]uh1j\hhhMhj1ubah}(h]h ]h"]h$]h&]uh1jr1hj1ubeh}(h]h ]h"]h$]h&]uh1j]1hhhMhjZ1ubeh}(h]h ]h"]h$]h&]uh1jX1hjT1ubah}(h]h ]h"]h$]h&]uh1jhjQ1hhhNhNubj)}(h:Title: BIOS and Kernel Developer's Guide for AMD NPT Family 0Fh Processors :AMD publication #: 32559 :Revision: 3.00 :Issue Date: May 2006 :Link: http://support.amd.com/TechDocs/32559.pdf h]jY1)}(hhh](j^1)}(hhh](jc1)}(hTitleh]hTitle}(hj=2hhhNhNubah}(h]h ]h"]h$]h&]uh1jb1hj:2hhhKubjs1)}(hCBIOS and Kernel Developer's Guide for AMD NPT Family 0Fh Processorsh]j])}(hCBIOS and Kernel Developer's Guide for AMD NPT Family 0Fh Processorsh]hEBIOS and Kernel Developer’s Guide for AMD NPT Family 0Fh Processors}(hjO2hhhNhNubah}(h]h ]h"]h$]h&]uh1j\hhhMhjK2ubah}(h]h ]h"]h$]h&]uh1jr1hj:2ubeh}(h]h ]h"]h$]h&]uh1j]1hhhMhj72ubj^1)}(hhh](jc1)}(hAMD publication #h]hAMD publication #}(hjl2hhhNhNubah}(h]h ]h"]h$]h&]uh1jb1hji2hhhKubjs1)}(h32559h]j])}(hj|2h]h32559}(hj~2hhhNhNubah}(h]h ]h"]h$]h&]uh1j\hhhMhjz2ubah}(h]h ]h"]h$]h&]uh1jr1hji2ubeh}(h]h ]h"]h$]h&]uh1j]1hhhMhj72ubj^1)}(hhh](jc1)}(hRevisionh]hRevision}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1jb1hj2hhhKubjs1)}(h3.00h]j])}(hj2h]h3.00}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1j\hhhMhj2ubah}(h]h ]h"]h$]h&]uh1jr1hj2ubeh}(h]h ]h"]h$]h&]uh1j]1hhhMhj72ubj^1)}(hhh](jc1)}(h Issue Dateh]h Issue Date}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1jb1hj2hhhKubjs1)}(hMay 2006h]j])}(hj2h]hMay 2006}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1j\hhhMhj2ubah}(h]h ]h"]h$]h&]uh1jr1hj2ubeh}(h]h ]h"]h$]h&]uh1j]1hhhMhj72ubj^1)}(hhh](jc1)}(hLinkh]hLink}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1jb1hj2hhhKubjs1)}(h*http://support.amd.com/TechDocs/32559.pdf h]j])}(h)http://support.amd.com/TechDocs/32559.pdfh]j )}(hj 3h]h)http://support.amd.com/TechDocs/32559.pdf}(hj 3hhhNhNubah}(h]h ]h"]h$]h&]refurij 3uh1j hj3ubah}(h]h ]h"]h$]h&]uh1j\hhhMhj3ubah}(h]h ]h"]h$]h&]uh1jr1hj2ubeh}(h]h ]h"]h$]h&]uh1j]1hhhMhj72ubeh}(h]h ]h"]h$]h&]uh1jX1hj32ubah}(h]h ]h"]h$]h&]uh1jhjQ1hhhNhNubj)}(h:Title: BIOS and Kernel Developer's Guide (BKDG) For AMD Family 10h Processors :AMD publication #: 31116 :Revision: 3.00 :Issue Date: September 07, 2007 :Link: http://support.amd.com/TechDocs/31116.pdf h]jY1)}(hhh](j^1)}(hhh](jc1)}(hTitleh]hTitle}(hjB3hhhNhNubah}(h]h ]h"]h$]h&]uh1jb1hj?3hhhKubjs1)}(hFBIOS and Kernel Developer's Guide (BKDG) For AMD Family 10h Processorsh]j])}(hFBIOS and Kernel Developer's Guide (BKDG) For AMD Family 10h Processorsh]hHBIOS and Kernel Developer’s Guide (BKDG) For AMD Family 10h Processors}(hjT3hhhNhNubah}(h]h ]h"]h$]h&]uh1j\hhhMhjP3ubah}(h]h ]h"]h$]h&]uh1jr1hj?3ubeh}(h]h ]h"]h$]h&]uh1j]1hhhMhj<3ubj^1)}(hhh](jc1)}(hAMD publication #h]hAMD publication #}(hjq3hhhNhNubah}(h]h ]h"]h$]h&]uh1jb1hjn3hhhKubjs1)}(h31116h]j])}(hj3h]h31116}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1j\hhhMhj3ubah}(h]h ]h"]h$]h&]uh1jr1hjn3ubeh}(h]h ]h"]h$]h&]uh1j]1hhhMhj<3ubj^1)}(hhh](jc1)}(hRevisionh]hRevision}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1jb1hj3hhhKubjs1)}(h3.00h]j])}(hj3h]h3.00}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1j\hhhMhj3ubah}(h]h ]h"]h$]h&]uh1jr1hj3ubeh}(h]h ]h"]h$]h&]uh1j]1hhhMhj<3ubj^1)}(hhh](jc1)}(h Issue Dateh]h Issue Date}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1jb1hj3hhhKubjs1)}(hSeptember 07, 2007h]j])}(hj3h]hSeptember 07, 2007}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1j\hhhMhj3ubah}(h]h ]h"]h$]h&]uh1jr1hj3ubeh}(h]h ]h"]h$]h&]uh1j]1hhhMhj<3ubj^1)}(hhh](jc1)}(hLinkh]hLink}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1jb1hj3hhhKubjs1)}(h*http://support.amd.com/TechDocs/31116.pdf h]j])}(h)http://support.amd.com/TechDocs/31116.pdfh]j )}(hj4h]h)http://support.amd.com/TechDocs/31116.pdf}(hj4hhhNhNubah}(h]h ]h"]h$]h&]refurij4uh1j hj 4ubah}(h]h ]h"]h$]h&]uh1j\hhhMhj 4ubah}(h]h ]h"]h$]h&]uh1jr1hj3ubeh}(h]h ]h"]h$]h&]uh1j]1hhhMhj<3ubeh}(h]h ]h"]h$]h&]uh1jX1hj83ubah}(h]h ]h"]h$]h&]uh1jhjQ1hhhNhNubj)}(hX:Title: BIOS and Kernel Developer's Guide (BKDG) for AMD Family 15h Models 30h-3Fh Processors :AMD publication #: 49125 :Revision: 3.06 :Issue Date: 2/12/2015 (latest release) :Link: http://support.amd.com/TechDocs/49125_15h_Models_30h-3Fh_BKDG.pdf h]jY1)}(hhh](j^1)}(hhh](jc1)}(hTitleh]hTitle}(hjG4hhhNhNubah}(h]h ]h"]h$]h&]uh1jb1hjD4hhhKubjs1)}(hUBIOS and Kernel Developer's Guide (BKDG) for AMD Family 15h Models 30h-3Fh Processorsh]j])}(hUBIOS and Kernel Developer's Guide (BKDG) for AMD Family 15h Models 30h-3Fh Processorsh]hWBIOS and Kernel Developer’s Guide (BKDG) for AMD Family 15h Models 30h-3Fh Processors}(hjY4hhhNhNubah}(h]h ]h"]h$]h&]uh1j\hhhMhjU4ubah}(h]h ]h"]h$]h&]uh1jr1hjD4ubeh}(h]h ]h"]h$]h&]uh1j]1hhhMhjA4ubj^1)}(hhh](jc1)}(hAMD publication #h]hAMD publication #}(hjv4hhhNhNubah}(h]h ]h"]h$]h&]uh1jb1hjs4hhhKubjs1)}(h49125h]j])}(hj4h]h49125}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1j\hhhMhj4ubah}(h]h ]h"]h$]h&]uh1jr1hjs4ubeh}(h]h ]h"]h$]h&]uh1j]1hhhMhjA4ubj^1)}(hhh](jc1)}(hRevisionh]hRevision}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jb1hj4hhhKubjs1)}(h3.06h]j])}(hj4h]h3.06}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1j\hhhMhj4ubah}(h]h ]h"]h$]h&]uh1jr1hj4ubeh}(h]h ]h"]h$]h&]uh1j]1hhhMhjA4ubj^1)}(hhh](jc1)}(h Issue Dateh]h Issue Date}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jb1hj4hhhKubjs1)}(h2/12/2015 (latest release)h]j])}(hj4h]h2/12/2015 (latest release)}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1j\hhhMhj4ubah}(h]h ]h"]h$]h&]uh1jr1hj4ubeh}(h]h ]h"]h$]h&]uh1j]1hhhMhjA4ubj^1)}(hhh](jc1)}(hLinkh]hLink}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jb1hj4hhhKubjs1)}(hBhttp://support.amd.com/TechDocs/49125_15h_Models_30h-3Fh_BKDG.pdf h]j])}(hAhttp://support.amd.com/TechDocs/49125_15h_Models_30h-3Fh_BKDG.pdfh]j )}(hj5h]hAhttp://support.amd.com/TechDocs/49125_15h_Models_30h-3Fh_BKDG.pdf}(hj5hhhNhNubah}(h]h ]h"]h$]h&]refurij5uh1j hj5ubah}(h]h ]h"]h$]h&]uh1j\hhhMhj5ubah}(h]h ]h"]h$]h&]uh1jr1hj4ubeh}(h]h ]h"]h$]h&]uh1j]1hhhMhjA4ubeh}(h]h ]h"]h$]h&]uh1jX1hj=4ubah}(h]h ]h"]h$]h&]uh1jhjQ1hhhNhNubj)}(hX:Title: BIOS and Kernel Developer's Guide (BKDG) for AMD Family 15h Models 60h-6Fh Processors :AMD publication #: 50742 :Revision: 3.01 :Issue Date: 7/23/2015 (latest release) :Link: http://support.amd.com/TechDocs/50742_15h_Models_60h-6Fh_BKDG.pdf h]jY1)}(hhh](j^1)}(hhh](jc1)}(hTitleh]hTitle}(hjL5hhhNhNubah}(h]h ]h"]h$]h&]uh1jb1hjI5hhhKubjs1)}(hUBIOS and Kernel Developer's Guide (BKDG) for AMD Family 15h Models 60h-6Fh Processorsh]j])}(hUBIOS and Kernel Developer's Guide (BKDG) for AMD Family 15h Models 60h-6Fh Processorsh]hWBIOS and Kernel Developer’s Guide (BKDG) for AMD Family 15h Models 60h-6Fh Processors}(hj^5hhhNhNubah}(h]h ]h"]h$]h&]uh1j\hhhMhjZ5ubah}(h]h ]h"]h$]h&]uh1jr1hjI5ubeh}(h]h ]h"]h$]h&]uh1j]1hhhMhjF5ubj^1)}(hhh](jc1)}(hAMD publication #h]hAMD publication #}(hj{5hhhNhNubah}(h]h ]h"]h$]h&]uh1jb1hjx5hhhKubjs1)}(h50742h]j])}(hj5h]h50742}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1j\hhhMhj5ubah}(h]h ]h"]h$]h&]uh1jr1hjx5ubeh}(h]h ]h"]h$]h&]uh1j]1hhhMhjF5ubj^1)}(hhh](jc1)}(hRevisionh]hRevision}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jb1hj5hhhKubjs1)}(h3.01h]j])}(hj5h]h3.01}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1j\hhhMhj5ubah}(h]h ]h"]h$]h&]uh1jr1hj5ubeh}(h]h ]h"]h$]h&]uh1j]1hhhMhjF5ubj^1)}(hhh](jc1)}(h Issue Dateh]h Issue Date}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jb1hj5hhhKubjs1)}(h7/23/2015 (latest release)h]j])}(hj5h]h7/23/2015 (latest release)}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1j\hhhMhj5ubah}(h]h ]h"]h$]h&]uh1jr1hj5ubeh}(h]h ]h"]h$]h&]uh1j]1hhhMhjF5ubj^1)}(hhh](jc1)}(hLinkh]hLink}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jb1hj6hhhKubjs1)}(hBhttp://support.amd.com/TechDocs/50742_15h_Models_60h-6Fh_BKDG.pdf h]j])}(hAhttp://support.amd.com/TechDocs/50742_15h_Models_60h-6Fh_BKDG.pdfh]j )}(hj6h]hAhttp://support.amd.com/TechDocs/50742_15h_Models_60h-6Fh_BKDG.pdf}(hj6hhhNhNubah}(h]h ]h"]h$]h&]refurij6uh1j hj6ubah}(h]h ]h"]h$]h&]uh1j\hhhMhj6ubah}(h]h ]h"]h$]h&]uh1jr1hj6ubeh}(h]h ]h"]h$]h&]uh1j]1hhhMhjF5ubeh}(h]h ]h"]h$]h&]uh1jX1hjB5ubah}(h]h ]h"]h$]h&]uh1jhjQ1hhhNhNubj)}(h:Title: BIOS and Kernel Developer's Guide (BKDG) for AMD Family 16h Models 00h-0Fh Processors :AMD publication #: 48751 :Revision: 3.03 :Issue Date: 2/23/2015 (latest release) :Link: http://support.amd.com/TechDocs/48751_16h_bkdg.pdf h]jY1)}(hhh](j^1)}(hhh](jc1)}(hTitleh]hTitle}(hjQ6hhhNhNubah}(h]h ]h"]h$]h&]uh1jb1hjN6hhhKubjs1)}(hUBIOS and Kernel Developer's Guide (BKDG) for AMD Family 16h Models 00h-0Fh Processorsh]j])}(hUBIOS and Kernel Developer's Guide (BKDG) for AMD Family 16h Models 00h-0Fh Processorsh]hWBIOS and Kernel Developer’s Guide (BKDG) for AMD Family 16h Models 00h-0Fh Processors}(hjc6hhhNhNubah}(h]h ]h"]h$]h&]uh1j\hhhMhj_6ubah}(h]h ]h"]h$]h&]uh1jr1hjN6ubeh}(h]h ]h"]h$]h&]uh1j]1hhhMhjK6ubj^1)}(hhh](jc1)}(hAMD publication #h]hAMD publication #}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jb1hj}6hhhKubjs1)}(h48751h]j])}(hj6h]h48751}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1j\hhhMhj6ubah}(h]h ]h"]h$]h&]uh1jr1hj}6ubeh}(h]h ]h"]h$]h&]uh1j]1hhhMhjK6ubj^1)}(hhh](jc1)}(hRevisionh]hRevision}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jb1hj6hhhKubjs1)}(h3.03h]j])}(hj6h]h3.03}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1j\hhhMhj6ubah}(h]h ]h"]h$]h&]uh1jr1hj6ubeh}(h]h ]h"]h$]h&]uh1j]1hhhMhjK6ubj^1)}(hhh](jc1)}(h Issue Dateh]h Issue Date}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jb1hj6hhhKubjs1)}(h2/23/2015 (latest release)h]j])}(hj6h]h2/23/2015 (latest release)}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1j\hhhMhj6ubah}(h]h ]h"]h$]h&]uh1jr1hj6ubeh}(h]h ]h"]h$]h&]uh1j]1hhhMhjK6ubj^1)}(hhh](jc1)}(hLinkh]hLink}(hj 7hhhNhNubah}(h]h ]h"]h$]h&]uh1jb1hj7hhhKubjs1)}(h3http://support.amd.com/TechDocs/48751_16h_bkdg.pdf h]j])}(h2http://support.amd.com/TechDocs/48751_16h_bkdg.pdfh]j )}(hj7h]h2http://support.amd.com/TechDocs/48751_16h_bkdg.pdf}(hj 7hhhNhNubah}(h]h ]h"]h$]h&]refurij7uh1j hj7ubah}(h]h ]h"]h$]h&]uh1j\hhhMhj7ubah}(h]h ]h"]h$]h&]uh1jr1hj7ubeh}(h]h ]h"]h$]h&]uh1j]1hhhMhjK6ubeh}(h]h ]h"]h$]h&]uh1jX1hjG6ubah}(h]h ]h"]h$]h&]uh1jhjQ1hhhNhNubeh}(h]h ]h"]h$]h&]j0j0j0hj0.uh1j-hj1hhhhhMubjH)}(hhh](jM)}(hCreditsh]hCredits}(hjV7hhhNhNubah}(h]h ]h"]h$]h&]uh1jLhjS7hhhhhMubj)}(hhh](j)}(hYWritten by Doug Thompson - 7 Dec 2005 - 17 Jul 2007 Updated h](j])}(h4Written by Doug Thompson h](hWritten by Doug Thompson <}(hjk7hhhNhNubj )}(hdougthompson@xmission.comh]hdougthompson@xmission.com}(hjs7hhhNhNubah}(h]h ]h"]h$]h&]refuri mailto:dougthompson@xmission.comuh1j hjk7ubh>}(hjk7hhhNhNubeh}(h]h ]h"]h$]h&]uh1j\hhhMhjg7ubj)}(hhh](j)}(h 7 Dec 2005h]j])}(hj7h]h 7 Dec 2005}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1j\hhhMhj7ubah}(h]h ]h"]h$]h&]uh1jhj7ubj)}(h17 Jul 2007 Updated h]j])}(h17 Jul 2007 Updatedh]h17 Jul 2007 Updated}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1j\hhhMhj7ubah}(h]h ]h"]h$]h&]uh1jhj7ubeh}(h]h ]h"]h$]h&]jjuh1jhhhMhjg7ubeh}(h]h ]h"]h$]h&]uh1jhjd7hhhNhNubj)}(h|copy| Mauro Carvalho Chehab - 05 Aug 2009 Nehalem interface - 26 Oct 2016 Converted to ReST and cleanups at the Nehalem section h](j])}(h|copy| Mauro Carvalho Chehabh](h©}(hj7hhhNhNubh Mauro Carvalho Chehab}(hj7hhhNhNubeh}(h]h ]h"]h$]h&]uh1j\hhhMhj7ubj)}(hhh](j)}(h05 Aug 2009 Nehalem interfaceh]j])}(hj7h]h05 Aug 2009 Nehalem interface}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1j\hhhMhj7ubah}(h]h ]h"]h$]h&]uh1jhj7ubj)}(hB26 Oct 2016 Converted to ReST and cleanups at the Nehalem section h]j])}(hA26 Oct 2016 Converted to ReST and cleanups at the Nehalem sectionh]hA26 Oct 2016 Converted to ReST and cleanups at the Nehalem section}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1j\hhhMhj7ubah}(h]h ]h"]h$]h&]uh1jhj7ubeh}(h]h ]h"]h$]h&]jjuh1jhhhMhj7ubeh}(h]h ]h"]h$]h&]uh1jhjd7hhhNhNubj)}(hEDAC authors/maintainers: - Doug Thompson, Dave Jiang, Dave Peterson et al, - Mauro Carvalho Chehab - Borislav Petkov - original author: Thayne Harbaughh](j])}(hEDAC authors/maintainers:h]hEDAC authors/maintainers:}(hj#8hhhNhNubah}(h]h ]h"]h$]h&]uh1j\hhhMhj8ubj)}(hhh](j)}(h/Doug Thompson, Dave Jiang, Dave Peterson et al,h]j])}(hj68h]h/Doug Thompson, Dave Jiang, Dave Peterson et al,}(hj88hhhNhNubah}(h]h ]h"]h$]h&]uh1j\hhhMhj48ubah}(h]h ]h"]h$]h&]uh1jhj18ubj)}(hMauro Carvalho Chehabh]j])}(hjM8h]hMauro Carvalho Chehab}(hjO8hhhNhNubah}(h]h ]h"]h$]h&]uh1j\hhhMhjK8ubah}(h]h ]h"]h$]h&]uh1jhj18ubj)}(hBorislav Petkovh]j])}(hjd8h]hBorislav Petkov}(hjf8hhhNhNubah}(h]h ]h"]h$]h&]uh1j\hhhMhjb8ubah}(h]h ]h"]h$]h&]uh1jhj18ubj)}(h original author: Thayne Harbaughh]j])}(hj{8h]h original author: Thayne Harbaugh}(hj}8hhhNhNubah}(h]h ]h"]h$]h&]uh1j\hhhMhjy8ubah}(h]h ]h"]h$]h&]uh1jhj18ubeh}(h]h ]h"]h$]h&]jjuh1jhhhMhj8ubeh}(h]h ]h"]h$]h&]uh1jhjd7hhhNhNubeh}(h]h ]h"]h$]h&]jjuh1jhhhMhjS7hhubeh}(h]creditsah ]h"]creditsah$]h&]uh1jGhj1hhhhhMubeh}(h]&reference-documents-used-on-amd64-edacah ]h"]&reference documents used on amd64_edacah$]h&]uh1jGhj~ hhhhhMubeh}(h]#edac-error-detection-and-correctionah ]h"]%edac - error detection and correctionah$]h&]uh1jGhjIhhhhhKubeh}(h]/reliability-availability-and-serviceability-rasah ]h"]2reliability, availability and serviceability (ras)ah$]h&]uh1jGhhhhhhhKubeh}(h]h ]h"]h$]h&]sourcehuh1hcurrent_sourceN current_lineNsettingsdocutils.frontendValues)}(jLN generatorN datestampN source_linkN source_urlN toc_backlinksjfootnote_backlinksK sectnum_xformKstrip_commentsNstrip_elements_with_classesN strip_classesN report_levelK halt_levelKexit_status_levelKdebugNwarning_streamN tracebackinput_encoding utf-8-siginput_encoding_error_handlerstrictoutput_encodingutf-8output_encoding_error_handlerj8error_encodingutf-8error_encoding_error_handlerbackslashreplace language_codeenrecord_dependenciesNconfigN id_prefixhauto_id_prefixid dump_settingsNdump_internalsNdump_transformsNdump_pseudo_xmlNexpose_internalsNstrict_visitorN_disable_configN_sourceh _destinationN _config_files]7/var/lib/git/docbuild/linux/Documentation/docutils.confafile_insertion_enabled raw_enabledKline_length_limitM'pep_referencesN pep_base_urlhttps://peps.python.org/pep_file_url_templatepep-%04drfc_referencesN rfc_base_url&https://datatracker.ietf.org/doc/html/ tab_widthKtrim_footnote_reference_spacesyntax_highlightlong smart_quotessmartquotes_locales]character_level_inline_markupdoctitle_xform docinfo_xformKsectsubtitle_xform image_loadinglinkembed_stylesheetcloak_email_addressessection_self_linkenvNubreporterNindirect_targets]substitution_defs}(hhhhhhj jjjj*jj9j-jHj<jWjKjfjZjujijjxjjjjjjjjjjjjjjjjj jjjj)jj8j,jGj;jVjJjejYjtjhjjwjjjjjjjjjjjjjjjjj jjj j(jj7j+jFj:jUjIjdjXjsjgjjvjjjjjjjjjjjjjjjjj jjj j'jj6j*jEj9jTjHjcjWjrjfjjujjjjjjjjjjjjjjjjjjjj j&jj5j)jDj8usubstitution_names}(amphߌaposhasthbrvbarj bsoljcentj*colonj9commajHcommatjWcopyjfcurrenjudarrjdegjdividejdollarjequalsjexcljfrac12jfrac14jfrac18jfrac34j frac38jfrac58j)frac78j8gtjGhalfjVhorbarjehyphenjtiexcljiquestjlaquojlarrjlcubjldquojlowbarjlparjlsqbjlsquoj ltjmicroj(middotj7nbspjFnotjUnumjdohmjsordfjordmjparajpercntjperiodjplusjplusmnjpoundjquestjquotj raquojrarrj'rcubj6rdquojEregjTrparjcrsqbjrrsquojsectjsemijshyjsoljsungjsup1jsup2jsup3jtimesjtradejuarrj&verbarj5yenjDurefnames}(f1]j af2]j af3]j af4]jaf5]jaf6]jaurefids}(j ]j aj ]j aj ]j aj]jaj]jaj]jaunameids}(j8j8j{ jx jfjcjhjej j js jp j j jE j jk j j8j8j j j{ jx j j jS jP j j jWjTjTjQjjjjj]jZjjj=jjjjjj!j!j!j!j"j"je%jb%j'j'j/)j,)j,j,j1j0j8j8j8j8u nametypes}(j8j{ jfjhj js j jE jk j8j j{ j jS j jWjTjjj]jj=jjj!j!j"je%j'j/)j,j1j8j8uh}(j8jIjx jljcjjejij jkjp j j j j j j j j j j j" j jH j8j~ j j jx j j j~ jP j j jV jTj jQjZjjWjjjjjZjjj`jjjjjjjj@jjj!jj!j!j"j!jb%j"j'jh%j,)j'j,j2)j0j,j8j1j8jS7u footnote_refs}(jp9]j ajr9]j ajt9]j ajv9]jajx9]jajz9]jau citation_refs} autofootnotes](j j" jH jjj@eautofootnote_refs](j j j jjjesymbol_footnotes]symbol_footnote_refs] footnotes] citations]autofootnote_startKsymbol_footnote_startK id_counter collectionsCounter}j8KsRparse_messages]transform_messages] transformerN include_log]&Documentation/admin-guide/RAS/main.rst(NNNNta decorationNhhub.