All of lore.kernel.org
 help / color / mirror / Atom feed
From: Leopold Palomo-Avellaneda <leo@alaxarxa.net>
To: Philippe Gerum <rpm@xenomai.org>,
	"Xenomai@xenomai.org" <xenomai@xenomai.org>
Subject: [Xenomai] Testing 3.0.6 (Was Re: Cannot initialize TLSF memory manager)
Date: Fri, 24 Nov 2017 11:34:37 +0100	[thread overview]
Message-ID: <bc03b087-9547-64f3-ab80-f79845a997d1@alaxarxa.net> (raw)
In-Reply-To: <6d2aee3e-2ddc-3008-f00e-a350030efcf3@xenomai.org>

Hi (again)

running cross-link I got that:

>> with my user
>>
>> ./cross-link
>> mem=0x7f0d630488e0, alloc_size=8192
>> Init memory pool returns 1808 bytes
>> Running after ...
>> sysregd:
>> create_directory_recursive("/var/run/xenomai/leopold.palomo/anon@19479"):
>> Permission denied

....


the permissions are:
$ ls -la /var/run/xenomai/
total 0
drwxr-xr-x  3 root root  60 nov 23 16:03 .
drwxr-xr-x 24 root root 860 nov 24 11:12 ..
drwxr-xr-x  2 root root  40 nov 24 11:12 root

so, IMHO this folder should belongs to xenomai group and permisions g+rw. Right?

Changing the permissions manually solved it. It's something about the packaging
or the library?


>> leopold.palomo@bmm3 ~/xenomai/xenomai-3.0.6/system/demo$ sudo ./cross-link
>> mem=0x7fc9e73f88e0, alloc_size=8192
>> Init memory pool returns 1808 bytes
>> Running after ...
>> mem=0x7f2e146318e0, alloc_size=8192
>> Init memory pool returns 1808 bytes
>> Running after ...
>> main : can't open /dev/rtdm/rtser0 (write), No such file or directory

> 
> Not being able to open rtser0 is yet another kind of problem: the uart
> driver is not up and running, so the devices were not created. crosslink
> definitely needs such driver.

Yes, I don't have rtser0 entry in /dev/rtdm/. Who does create it?

Also, /dev/cpu_dma_latency should not belongs to xenomai group?

Best regards,

Leopold

-- 
--
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?


  reply	other threads:[~2017-11-24 10:34 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-11-23 12:10 [Xenomai] Cannot initialize TLSF memory manager Leopold Palomo-Avellaneda
2017-11-23 12:22 ` Philippe Gerum
2017-11-23 14:58   ` Leopold Palomo-Avellaneda
2017-11-23 15:04     ` Philippe Gerum
2017-11-23 15:08       ` Leopold Palomo-Avellaneda
2017-11-23 15:12         ` Philippe Gerum
2017-11-23 15:15           ` Leopold Palomo-Avellaneda
2017-11-23 15:29             ` Philippe Gerum
2017-11-24 10:34               ` Leopold Palomo-Avellaneda [this message]
2017-11-24 10:55                 ` [Xenomai] Testing 3.0.6 (Was Re: Cannot initialize TLSF memory manager) Philippe Gerum
2017-11-24 12:01                   ` Leopold Palomo-Avellaneda
2017-11-24 12:04                     ` Philippe Gerum
2017-11-24 12:10                       ` Leopold Palomo-Avellaneda
2017-11-24 12:22                         ` Philippe Gerum
2017-11-24 12:24                           ` Leopold Palomo-Avellaneda
2017-11-24 14:21                             ` Philippe Gerum
2017-11-24 14:38                               ` Leopold Palomo-Avellaneda
2017-11-25 20:27                                 ` Philippe Gerum
2017-11-23 15:04     ` [Xenomai] Cannot initialize TLSF memory manager 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=bc03b087-9547-64f3-ab80-f79845a997d1@alaxarxa.net \
    --to=leo@alaxarxa.net \
    --cc=rpm@xenomai.org \
    --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.