Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
/dev/mcelog is legacy on 4.12 kernel, mcelog vs rasdaemon?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
Tender
Tux's lil' helper
Tux's lil' helper


Joined: 05 Nov 2005
Posts: 145

PostPosted: Wed Aug 16, 2017 8:17 pm    Post subject: /dev/mcelog is legacy on 4.12 kernel, mcelog vs rasdaemon? Reply with quote

Hi,

just installed 4.12.5, mcelog says:

Code:

mcelog[3612]: Cannot open `/dev/mcelog': No such file or directory


difference between 4.9.34 and 4.12.5 .config:

Code:

midpower4 ~ # grep -i "mce" /root/config/linux-4.9.34
CONFIG_X86_MCE=y
CONFIG_X86_MCE_INTEL=y
CONFIG_X86_MCE_AMD=y
CONFIG_X86_MCE_THRESHOLD=y
CONFIG_X86_MCE_INJECT=m
CONFIG_EDAC_DECODE_MCE=m
# CONFIG_MCE_AMD_INJ is not set
midpower4 ~ # grep -i "mce" /usr/src/linux/.config
CONFIG_X86_MCE=y
# CONFIG_X86_MCELOG_LEGACY is not set
CONFIG_X86_MCE_INTEL=y
CONFIG_X86_MCE_AMD=y
CONFIG_X86_MCE_THRESHOLD=y
CONFIG_EDAC_DECODE_MCE=m
# CONFIG_MCE_AMD_INJ is not set


4.12 has introduced CONFIG_X86_MCELOG_LEGACY

https://cateee.net/lkddb/web-lkddb/X86_MCELOG_LEGACY.html

Code:

Enable support for /dev/mcelog which is needed by the old mcelog userspace logging daemon.
Consider switching to the new generation rasdaemon solution.


I did not find rasdaemon in portage, is it the substitute for mcelog?

In the meantime, I will enable CONFIG_X86_MCELOG_LEGACY...
Back to top
View user's profile Send private message
ct85711
Veteran
Veteran


Joined: 27 Sep 2005
Posts: 1715

PostPosted: Wed Aug 16, 2017 9:33 pm    Post subject: Reply with quote

Sadly, I don't know much about this rasdaemon, nor did I find much information about it.
The most I can find, is that it seems rasdaemon is more of mcelog remade with a few more capabilities. Beyond that, it looks like you can find the rasdaemon package from the eva overlay.

https://gpo.zugaina.org/sys-apps/rasdaemon
Back to top
View user's profile Send private message
mstockin
n00b
n00b


Joined: 02 Jul 2004
Posts: 12
Location: Passau, Germany

PostPosted: Sat Sep 16, 2017 12:26 pm    Post subject: Reply with quote

I found this presentation. It explains rasdaemon:
http://events.linuxfoundation.org/sites/events/files/slides/RAS_presentation_LinuxCon_NA_0.pdf
Back to top
View user's profile Send private message
Goverp
l33t
l33t


Joined: 07 Mar 2007
Posts: 712

PostPosted: Thu Jul 12, 2018 5:17 pm    Post subject: Reply with quote

Beware - necromancy:

I found this thread while reading up on MCE handling. You might like to read this topic
_________________
Greybeard
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum