xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
From: "Marek Marczykowski-Górecki" <marmarek@invisiblethingslab.com>
To: xen-devel <xen-devel@lists.xen.org>
Subject: Xen /dev/mcelog registration in Linux
Date: Tue, 15 Dec 2015 14:54:31 +0100	[thread overview]
Message-ID: <20151215135431.GQ16649@mail-itl> (raw)


[-- Attachment #1.1: Type: text/plain, Size: 623 bytes --]

Hi,

Booting kernel with both CONFIG_X86_MCE=y and CONFIG_XEN_MCE_LOG=y
results in "mce: Unable to init device /dev/mcelog (rc: -16)" error. I
think that's because both drivers tries to register that character
device (drivers/xen/mcelog.c: xen_late_init_mcelog;
arch/x86/kernel/cpu/mcheck/mce.c: mcheck_init_device). So obviously one
of them fails. CONFIG_XEN_MCE_LOG depends on CONFIG_X86_MCE...

How is that supposed to work?

-- 
Best Regards,
Marek Marczykowski-Górecki
Invisible Things Lab
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?

[-- Attachment #1.2: Type: application/pgp-signature, Size: 473 bytes --]

[-- Attachment #2: Type: text/plain, Size: 126 bytes --]

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel

             reply	other threads:[~2015-12-15 13:54 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-12-15 13:54 Marek Marczykowski-Górecki [this message]
2016-01-04 20:49 ` Xen /dev/mcelog registration in Linux Konrad Rzeszutek Wilk
2016-01-04 21:00   ` Marek Marczykowski-Górecki

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20151215135431.GQ16649@mail-itl \
    --to=marmarek@invisiblethingslab.com \
    --cc=xen-devel@lists.xen.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).