All of lore.kernel.org
 help / color / mirror / Atom feed
From: Leopold Palomo-Avellaneda <leo@alaxarxa.net>
To: xenomai@xenomai.org
Cc: Jan Kiszka <jan.kiszka@siemens.com>
Subject: [Xenomai] About SMAP (was Re: Xenomai 3.0.3 is broken in my system)
Date: Thu, 06 Oct 2016 11:51:15 +0200	[thread overview]
Message-ID: <2013828.8eEOvBkU4r@soho> (raw)
In-Reply-To: <9025a424-109a-8db1-a523-695ed43664ca@siemens.com>

Hi,

lasts weeks I have been in a trouble with Xenomai and RTnet. Finally it was 
solved disabling some parameters in kernel (nosmap) Thanks again Jan.

That parameter is an interesting feature of the Intel processors [1,2], that 
IMHO affects all the RTnet code and I hope that nothing more of Xenomai.

It seems that fix it is could be easy, but it must be done (a boring task ;-) 
In the middle, I would propose that some note could be added to the FAQ, or 
"Troubleshooting a dual kernel configuration" page. Something like this in the 
"Common kernel configuration issues":

CONFIG_X86_SMAP

On modern Intel processors with SMAP-enabled systems, kernel is not allowed to 
access to userspace memory, it must be done in a special way. So, until all 
Xenomai code was updated, specially RTnet, if you find crashes with " unable to 
handle kernel paging request at " disable this feature neither in kernel 
configuration or in boot with nosmap.


Best regards,

Leopold

[1] https://en.wikipedia.org/wiki/Supervisor_Mode_Access_Prevention
[2] https://lwn.net/Articles/517475/

-- 
--
Linux User 152692     GPG: 05F4A7A949A2D9AA
Catalonia
-------------------------------------
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: This is a digitally signed message part.
URL: <http://xenomai.org/pipermail/xenomai/attachments/20161006/d97383f0/attachment.sig>

  reply	other threads:[~2016-10-06  9:51 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-10-03 16:12 [Xenomai] Xenomai 3.0.3 is broken in my system (was Regarding Xenomai and RTNET) Leopold Palomo-Avellaneda
2016-10-04 15:36 ` Leopold Palomo-Avellaneda
2016-10-05 10:39   ` Jan Kiszka
2016-10-05 12:42     ` Leopold Palomo-Avellaneda
2016-10-05 12:45       ` Jan Kiszka
2016-10-05 13:00         ` Leopold Palomo-Avellaneda
2016-10-05 13:12           ` Jan Kiszka
2016-10-06  9:51             ` Leopold Palomo-Avellaneda [this message]
2016-10-06 11:50               ` [Xenomai] About SMAP (was Re: Xenomai 3.0.3 is broken in my system) Jan Kiszka
2016-10-06 17:24                 ` Leopold Palomo-Avellaneda
2016-10-06 17:30                   ` Philippe Gerum
2016-10-06 17:44                     ` Leopold Palomo-Avellaneda

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=2013828.8eEOvBkU4r@soho \
    --to=leo@alaxarxa.net \
    --cc=jan.kiszka@siemens.com \
    --cc=xenomai@xenomai.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.