Fórum Root.cz
Hlavní témata => Desktop => Téma založeno: jfeg 20. 02. 2014, 08:08:10
-
Kdykoliv spustim VMware, zacnou se mi plnit vsechny terminaly zpravami:
Message from syslogd@jf at Feb 20 07:56:31 ...
kernel:[85697.662656] [Hardware Error]: No human readable MCE decoding support on this CPU type.
Prace pak v terminlau neni skoro mozna, kazdou chvili se objevi tato hlaska a prepise vse v terminalu, coz je dost otrava.
Nechci potlacit upozornovani celkove, spis by se mi hodilo nejak nastavit konkretni terminal aby neprijimal zadne takove zpravy, nebo nastavit ignorovani toho virtualu syslogem (jestli teda on je tim puvodcem). Nebo jiny napad jak to resit ?
Dekuji. JF.
-
Krátká odpověď:
man dmesg
-
nevim co přesně měl mistr na mysli tím "man dmesg", ale nezabralo to
nakonec jsem našel možnost a ta zabere
echo 1 > /sys/devices/system/machinecheck/machinecheck0/dont_log_ce
-
nevim co přesně měl mistr na mysli tím "man dmesg", ale nezabralo to
Měl na mysli to, že si máš prostudovat dokumentaci k dmesg, aby jsi na to přišel sám :)
-
nevim co přesně měl mistr na mysli tím "man dmesg", ale nezabralo to
Opravdu ne? Podle výše uvedeného manuálu by to zabrat mělo. Ale nezkoušel jsem to.
-D, --console-off
Disable printing messages to the console.
-
nevim co přesně měl mistr na mysli tím "man dmesg", ale nezabralo to
nakonec jsem našel možnost a ta zabere
echo 1 > /sys/devices/system/machinecheck/machinecheck0/dont_log_ce
Mistr predpokladal, ze umis nejen psat, ale dokonce i cist.
-
jinak ty MCE jsou nekdy celkem dulezity, treba spatne napajeny nebo pretaktovany CPU to muze delat, na dekodovani potrebujes balicek mcelog jestli je to intel, amd to umi dekodovat samo do dmesg
no a ve virtualu to asi bude jen nejaka chybka, ale IMHO je blbost vypinat hlaseni, kdyz muzes vypnout nebo pomenit mce pomoci command line parametru jadra (je to popsany v /usr/src/linux/Documentation/x86/x86_64/boot-options.txt)
mce=off
Disable machine check
mce=no_cmci
Disable CMCI(Corrected Machine Check Interrupt) that
Intel processor supports. Usually this disablement is
not recommended, but it might be handy if your hardware
is misbehaving.
Note that you'll get more problems without CMCI than with
due to the shared banks, i.e. you might get duplicated
error logs.
mce=dont_log_ce
Don't make logs for corrected errors. All events reported
as corrected are silently cleared by OS.
This option will be useful if you have no interest in any
of corrected errors.
mce=ignore_ce
Disable features for corrected errors, e.g. polling timer
and CMCI. All events reported as corrected are not cleared
by OS and remained in its error banks.
Usually this disablement is not recommended, however if
there is an agent checking/clearing corrected errors
(e.g. BIOS or hardware monitoring applications), conflicting
with OS's error handling, and you cannot deactivate the agent,
then this option will be a help.
mce=bootlog
Enable logging of machine checks left over from booting.
Disabled by default on AMD because some BIOS leave bogus ones.
If your BIOS doesn't do that it's a good idea to enable though
to make sure you log even machine check events that result
in a reboot. On Intel systems it is enabled by default.
mce=nobootlog
Disable boot machine check logging.
mce=tolerancelevel[,monarchtimeout] (number,number)
tolerance levels:
0: always panic on uncorrected errors, log corrected errors
1: panic or SIGBUS on uncorrected errors, log corrected errors
2: SIGBUS or log uncorrected errors, log corrected errors
3: never panic or SIGBUS, log all errors (for testing only)
Default is 1
Can be also set using sysfs which is preferable.
monarchtimeout:
Sets the time in us to wait for other CPUs on machine checks. 0
to disable.
mce=bios_cmci_threshold
Don't overwrite the bios-set CMCI threshold. This boot option
prevents Linux from overwriting the CMCI threshold set by the
bios. Without this option, Linux always sets the CMCI
threshold to 1. Enabling this may make memory predictive failure
analysis less effective if the bios sets thresholds for memory
errors since we will not see details for all errors.
-
hm, kdyby byla rada o trochu presnější (-D) mohlo být jasněji.. já tuto volbu u sebe nemám, zkoušel jsem jiné volby, nezabralo, takže fakt těžko se pídit po tom, co měl kdo na mysli
-
trubicoid2: díky, zkusím