All of lore.kernel.org
 help / color / mirror / Atom feed
From: Helder Daniel <hdaniel@ualg.pt>
To: Philippe Gerum <rpm@xenomai.org>
Cc: "Xenomai@xenomai.org" <xenomai@xenomai.org>
Subject: Re: [Xenomai] Xenomai/cobalt: low_init(): binding failed: Function not implemented error issued when trting to run latency app on xeno 3.x-rc3
Date: Mon, 23 Mar 2015 11:47:16 +0000	[thread overview]
Message-ID: <CAKk99t2wHiUC_YCuLVt_4q_OKT_+PCeM3FY1pHSpOoz_faBZ4g@mail.gmail.com> (raw)
In-Reply-To: <550FF5FB.3090603@xenomai.org>

It seems that the Xenomai support was not loaded at boot time:

root@debian:/usr/src# dmesg | grep -i xeno
[    1.780077] [Xenomai] scheduling class idle registered.
[    1.780077] [Xenomai] scheduling class rt registered.
[    1.784077] [Xenomai] init failed, code -19
[   12.612754] *** RTnet for Xenomai v3.0-rc3 ***

I rebooted and now it seems it is loaded:

 dmesg | grep -i xeno
[    1.048963] [Xenomai] scheduling class idle registered.
[    1.048985] [Xenomai] scheduling class rt registered.
[    1.049211] I-pipe: head domain Xenomai registered.
[    1.070494] [Xenomai] Cobalt v3.0-rc3 (Exact Zero)
[    5.453304] *** RTnet for Xenomai v3.0-rc3 ***

But I still get the same compilation error.
I can compile and run a Xenomai user space app.

I am using a Cobalt setup, kernel 3.16, ipipe patch version
3: ipipe-core-3.16-x86-3.patch

root@debian:/usr/src# uname -a
Linux debian 3.16.0-ipipe #1 SMP Fri Mar 6 14:27:41 WET 2015 x86_64
GNU/Linux

root@debian:/usr/xenoami/sbin/version -a
Xenomai/cobalt v3.0-rc3 --
Target: x86_64-unknown-linux-gnu
Compiler: gcc version 4.9.2 (Debian 4.9.2-10)
Build args:  '--with-core=cobalt' '--enable-registry' '--enable-pshared'
'--enable-smp'


On 23 March 2015 at 11:16, Philippe Gerum <rpm@xenomai.org> wrote:

> On 03/23/2015 11:59 AM, Helder Daniel wrote:
> > Ok,
> >
> > but now I am compiling a module to write for an I/O port (code below)
> > With the previous version of next branch I can compile it without any
> > error, insert it check that it is working fine by reading te I/O port
> > from an user space app, but with this new version, when compiling the
> > module, I get:
> >
> >  CC [M]  /mnt/hgfs/apps-3.x/10-portAccessSyncKernel/writeportK.o
> > In file included from include/xenomai/rtdm/driver.h:43:0,
> >                  from
> > /mnt/hgfs/apps-3.x/10-portAccessSyncKernel/writeportK.c:8:
> > include/xenomai/cobalt/kernel/init.h:24:33: fatal error:
> > cobalt/uapi/corectl.h: No such file or directory
> >  #include <cobalt/uapi/corectl.h>
>
> I just checked and the module builds fine ou of tree, using the very
> same Makefile. Could you check that the kernel you build against is
> actually prepared with Xenomai sources?
>
> --
> Philippe.
>



-- 
Helder Daniel
UALG - FCT
DEEI

http://w3.ualg.pt/~hdaniel

  reply	other threads:[~2015-03-23 11:47 UTC|newest]

Thread overview: 43+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-03-03  8:49 [Xenomai] Xenomai/cobalt: low_init(): binding failed: Function not implemented error issued when trting to run latency app on xeno 3.x-rc3 Helder Daniel
2015-03-03 10:17 ` Philippe Gerum
     [not found]   ` <CAKk99t3_g0ZODEe32KGAzfHckWC=-Gqr6CrFa5yRh-hLF5Ttow@mail.gmail.com>
2015-03-03 13:59     ` Philippe Gerum
2015-03-03 14:07       ` Philippe Gerum
2015-03-03 14:58         ` Helder Daniel
2015-03-03 15:03           ` Helder Daniel
2015-03-03 15:03           ` Philippe Gerum
2015-03-03 15:40             ` Helder Daniel
2015-03-03 15:44               ` Philippe Gerum
2015-03-03 16:38                 ` Helder Daniel
2015-03-03 17:03                   ` Philippe Gerum
2015-03-03 17:06                     ` Philippe Gerum
2015-03-03 17:23                       ` Helder Daniel
2015-03-03 19:24                         ` Philippe Gerum
2015-03-03 19:31                           ` Philippe Gerum
2015-03-03 19:50                             ` Helder Daniel
2015-03-03 20:09                               ` Philippe Gerum
     [not found]                                 ` <CAKk99t0Xh01uxG7jd=oEDD71LBHvTnbCnejwiP2bzGN63Yo-ZA@mail.gmail.com>
2015-03-04  8:40                                   ` Philippe Gerum
2015-03-04 11:21                                     ` Helder Daniel
2015-03-04 11:40                                       ` Philippe Gerum
2015-03-04 14:25                                         ` Helder Daniel
2015-03-04 14:29                                           ` Philippe Gerum
2015-03-04 15:26                                             ` Helder Daniel
2015-03-04 17:18                                               ` Philippe Gerum
2015-03-04 23:30                                                 ` Helder Daniel
2015-03-15 16:20                                                   ` Philippe Gerum
2015-03-16 18:58                                                     ` Helder Daniel
2015-03-16 19:21                                                       ` Philippe Gerum
2015-03-17 15:30                                                         ` Philippe Gerum
     [not found]                                                         ` <CAKk99t2ZsNmY4myJAF+H3hWNpHN4bVm255QEsU6Nu+ytG-B0dA@mail.gmail.com>
     [not found]                                                           ` <550837E2.9050701@xenomai.org>
     [not found]                                                             ` <CAKk99t2eGYME0BsLCjJV7VMm8VU_2okmpd8sYfMb_02sTvOfLQ@mail.gmail.com>
     [not found]                                                               ` <55083DA4.3080201@xenomai.org>
     [not found]                                                                 ` <CAKk99t0pG6HWOucFXDw1-_5-=EGQ7faqA22yVog6Ye6TcGjevA@mail.gmail.com>
     [not found]                                                                   ` <550850D5.9060207@xenomai.org>
     [not found]                                                                     ` <CAKk99t0q3iNcah1Us79hJUjjHQCr2rEPu9gukSNjO2a6+Gk3sg@mail.gmail.com>
     [not found]                                                                       ` <CAKk99t3wP-WLemoO_bbsvE4uwh-Sh-5eGPJrM=6cAc5edyQW5Q@mail.gmail.com>
     [not found]                                                                         ` <5508600D.4020500@xenomai.org>
2015-03-17 17:19                                                                           ` Helder Daniel
2015-03-19 17:23                                                                             ` Philippe Gerum
2015-03-19 18:29                                                                               ` Philippe Gerum
2015-03-23 10:59                                                                                 ` Helder Daniel
2015-03-23 11:01                                                                                   ` Helder Daniel
2015-03-23 11:16                                                                                   ` Philippe Gerum
2015-03-23 11:47                                                                                     ` Helder Daniel [this message]
2015-03-23 11:47                                                                                       ` Helder Daniel
2015-03-23 12:11                                                                                         ` Helder Daniel
2015-03-23 13:21                                                                                         ` Philippe Gerum
2015-03-23 13:55                                                                                           ` Helder Daniel
2015-03-30 16:51                                                                                             ` Helder Daniel
2015-03-31  7:27                                                                                               ` Philippe Gerum
2015-03-31 10:04                                                                                                 ` Helder Daniel

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=CAKk99t2wHiUC_YCuLVt_4q_OKT_+PCeM3FY1pHSpOoz_faBZ4g@mail.gmail.com \
    --to=hdaniel@ualg.pt \
    --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.