RAS-MC-CTL(8)
β¨ ras-mc-ctl(8) β¨
okay bestie, so this is the manual for ras-mc-ctl, the RAS memory controller admin utility β yes she's a section 8 system admin page and yes she's iconic π
πΈ NAME πΈ
ras-mc-ctl β RAS memory controller admin utility
π¦ SYNOPSIS π¦
ras-mc-ctl [OPTION]...
π DESCRIPTION π
So like, ras-mc-ctl is a perl(1) script β yep, perl, she's vintage and she ATE β and she does a bunch of genuinely useful RAS admin tasks on EDAC (Error Detection and Correction) drivers. It's giving "little script, big responsibilities" fr fr π₯
π OPTIONS π
--helpβ prints a lil brief usage message so you know what's up π«Ά--mainboardβ prints the mainboard vendor and model for this hardware, if it's available. The whole method she uses to sniff out the mainboard vendor and model info for your current system is laid out down below in the MAINBOARD CONFIGURATION section π--statusβ prints the status of the EDAC drivers (loaded or unloaded, so you know where you stand) π«--quietβ be less verbose while running an operation. shhh. she's being subtle π--register-labelsβ registers motherboard DIMM labels into the EDAC driver sysfs files. This one takes the detected mainboard manufacturer + model number and pairs it with a "labels database" that lives in any of the files under/etc/ras/dimm_labels.d/*, or in thelabels.dbfile at/etc/ras/dimm_labels.db. β οΈ An entry for your current hardware must exist in the labels database or this option literally does nothing, no cap.--print-labelsβ shows you the configured labels for the current hardware, plus the labels currently registered with EDAC. side by side, bestie π--guess-labelsβ prints DMI labels, when the bank locator is available in the DMI table. Super handy for filling in that labels database at/etc/ras/dimm_labels.d/β¨--labeldb=DBβ point her at an alternate location for the labels database.--delay=timeβ sets a delay of time seconds before registering DIMM labels. Only meaningful if you're using it together with--register-labelsπ--layoutβ prints the memory layout as detected by the EDAC driver. Genuinely useful for checking whether the EDAC driver is properly detecting the memory controller architecture π--summaryβ presents a summary of the logged errors.--errorsβ shows the errors stored at the error database.--error-countβ shows the corrected and uncorrected error counts using sysfs.--vendor-errors-summary=platform-idβ presents a summary of the vendor-specific logged errors.--vendor-errors=platform-idβ shows the vendor-specific errors stored in the error database.--vendor-platformsβ shows the supported platforms with platform-ids for the vendor-specific errors π
π§ MAINBOARD CONFIGURATION π§
The ras-mc-ctl script uses this whole method to figure out your current system's mainboard vendor and model information:
- If the config file
/etc/edac/mainboardexists, then it gets parsed byras-mc-ctl. The mainboard config file has this simple syntax:
vendor = <mainboard vendor string>
model = <mainboard model string>
script = <script to gather mainboard information>
Anything after a # character on a line counts as a comment. And if the keyword script is specified, then that script or executable gets run by ras-mc-ctl to gather the mainboard vendor and model info. That script should write the resulting information on stdout in the same format as the mainboard config file π
- If there's no mainboard config file, then
ras-mc-ctlwill attempt to read DMI information from the sysfs files:
/sys/class/dmi/id/board_vendor
/sys/class/dmi/id/board_name
- If those sysfs files above don't exist, then
ras-mc-ctlfalls back to parsing the output of thedmidecode(8)utility.
heads up bestie: using that utility will most often require that ras-mc-ctl be run as root π
π SEE ALSO π
and that's the whole page, babes π«Ά this was RAS-MC-CTL(8), the RAS memory controller admin utility manual β go forth and check your DIMMs, you're doing amazing sweetie πβ¨
π¦ where this page comes from
- alpine 3.24: rasdaemon-doc 0.8.4-r0 Β· GPL-2.0-or-later
- debian trixie: rasdaemon 0.8.3-1 Β· GPL-2.0-only
- nixos 26.05: rasdaemon 0.8.4
- opensuse-leap 16.0: rasdaemon 0.8.3.0.git+db0870e-160000.3.1 Β· GPL-2.0-only
- opensuse-leap 16.0: rasdaemon 0.8.3.0.git+db0870e-160000.3.1 Β· GPL-2.0-only
- opensuse-leap 16.0: rasdaemon 0.8.3.0.git+db0870e-160000.3.1 Β· GPL-2.0-only
- opensuse-leap 16.0: rasdaemon 0.8.3.0.git+db0870e-160000.3.1 Β· GPL-2.0-only
- ubuntu questing: rasdaemon 0.8.3-1
- ubuntu resolute: rasdaemon 0.8.4-1 Β· GPL-2.0-only
- ubuntu resolute: rasdaemon 0.8.4-1ubuntu0.1 Β· GPL-2.0-only
- ubuntu stonking: rasdaemon 0.8.4-2 Β· GPL-2.0-only
- π the page's license: GPL-2.0-or-later"
- Copyright (c) 2013 Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
- Copyright (C) 2006-2007 The Regents of the University of California
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms