All of lore.kernel.org
 help / color / mirror / Atom feed
* [Xenomai-help] Creation of a rt-queue from the user space
@ 2005-11-10 21:05 ROSSIER Daniel
  2005-11-11  9:30 ` [Xenomai-help] printk Ignacio García Pérez
  2005-11-11 14:08 ` [Xenomai-help] Creation of a rt-queue from the user space Jan Kiszka
  0 siblings, 2 replies; 53+ messages in thread
From: ROSSIER Daniel @ 2005-11-10 21:05 UTC (permalink / raw)
  To: xenomai


Hello everyone,

I've recently posted a message in this mailing list about an issue regarding the use of realtime queue in xenomai from the user space. 

I didn't make any significant progress regarding this issue. I've upgraded to linux 2.6.12; everything works in the user/kernel space except the queue. If I correctly understood, it's necessary to have a /dev/rtheap in order to set up a shared memory segment between user and kernel space. 
If this entry does not exist, we get an error at the queue creation time. 

I've observed that if I'm creating manually the entry in /dev, I get the same error and the entry disappears from /dev. Then, I've transfered the udev/rtheap.rules located in the xenomai/nucleus directory into /etc/udev/rules.d. But the system totally freezes after xeno-load.

I've put the segment of code (very simple) for the creation of a simple rt-queue.

----------------

int main(int argc, char *argv[]) {

  printf("Now starting: %s\n", argv[0]);

  /* Timer initialization */
  err = rt_timer_start(1000000);   /* So, one tick will be equal to 1 ms */
  if (err != 0) {
    printf("Error timer: %d\n", err);
    clean_exit(0);
  }

  /* Create the mailbox */
  err = rt_queue_create(&mailbox, "MAILBOX", 80, 1, Q_FIFO);
  if (err != 0) {
    printf("mbox creation failed: %d\n", err);
    clean_exit(0);
  }

------------

Thanks for any support.

Regards
Daniel


^ permalink raw reply	[flat|nested] 53+ messages in thread

end of thread, other threads:[~2005-11-18  9:10 UTC | newest]

Thread overview: 53+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-11-10 21:05 [Xenomai-help] Creation of a rt-queue from the user space ROSSIER Daniel
2005-11-11  9:30 ` [Xenomai-help] printk Ignacio García Pérez
2005-11-11 11:07   ` Dmitry Adamushko
2005-11-14 10:52     ` Ignacio García Pérez
2005-11-14 11:26       ` Philippe Gerum
2005-11-14 12:03         ` Dmitry Adamushko
2005-11-14 13:22           ` Philippe Gerum
2005-11-14 13:47             ` Philippe Gerum
2005-11-14 14:50               ` [Xenomai-core] " Dmitry Adamushko
2005-11-14 15:56                 ` [Xenomai-core] rt_pipe_* usage Ignacio García Pérez
2005-11-14 16:15                   ` [Xenomai-core] More on rt pipes usage Ignacio García Pérez
2005-11-15 13:24                     ` Philippe Gerum
2005-11-15 16:41                       ` [Xenomai-help] " Ignacio García Pérez
2005-11-14 16:23                   ` [Xenomai-core] rt_pipe_* usage Dmitry Adamushko
2005-11-14 16:36                     ` Ignacio García Pérez
2005-11-15 12:41                       ` [Xenomai-core] Web site error (API doc search) Ignacio García Pérez
2005-11-15 13:16                       ` [Xenomai-core] rt_pipe_* usage Philippe Gerum
2005-11-15 16:22                         ` Ignacio García Pérez
2005-11-16  5:38                           ` Philippe Gerum
2005-11-15  9:38                 ` [Xenomai-core] Re: [Xenomai-help] printk Philippe Gerum
2005-11-15 10:00                   ` Dmitry Adamushko
2005-11-16 12:58                     ` Philippe Gerum
2005-11-16 14:44                       ` Dmitry Adamushko
2005-11-17  9:44                       ` [Xenomai-help] Blocking reads from pipes Ignacio García Pérez
2005-11-17 10:21                         ` Romain Lenglet
2005-11-17 13:16                           ` Ignacio García Pérez
2005-11-17 15:11                             ` Dmitry Adamushko
2005-11-17 17:24                               ` Gilles Chanteperdrix
2005-11-17 17:55                                 ` [Xenomai-core] " Dmitry Adamushko
2005-11-17 19:17                                   ` Gilles Chanteperdrix
2005-11-17 19:45                                     ` Dmitry Adamushko
2005-11-18  8:57                                       ` Ignacio García Pérez
2005-11-18  9:10                                         ` Dmitry Adamushko
2005-11-17 19:40                                 ` Dmitry Adamushko
2005-11-17 10:46                         ` Dmitry Adamushko
2005-11-14 12:15       ` [Xenomai-help] xn_pipe_create [minor] Ignacio García Pérez
2005-11-14 13:53         ` Dmitry Adamushko
2005-11-14 16:28           ` Ignacio García Pérez
2005-11-14 16:29             ` Philippe Gerum
2005-11-14 16:41               ` Ignacio García Pérez
2005-11-14 16:52                 ` Dmitry Adamushko
2005-11-14 17:38                   ` Philippe Gerum
2005-11-14 18:33                     ` Dmitry Adamushko
2005-11-15  8:04                       ` Philippe Gerum
2005-11-14 18:03                   ` [Xenomai-help] Strange pipe behaviour Ignacio García Pérez
2005-11-16  5:45                     ` Philippe Gerum
2005-11-16  7:45                       ` Ignacio García Pérez
2005-11-16 11:45                         ` Philippe Gerum
2005-11-14 16:40             ` [Xenomai-help] xn_pipe_create [minor] Dmitry Adamushko
2005-11-12 19:45   ` [Xenomai-help] printk Philippe Gerum
2005-11-14 10:47   ` [Xenomai-help] Invalid characters in task's names Ignacio García Pérez
2005-11-14 11:39     ` Philippe Gerum
2005-11-11 14:08 ` [Xenomai-help] Creation of a rt-queue from the user space Jan Kiszka

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.