From: mani bhatti <imranbashirbhatti@domain.hid>
To: Jan Kiszka <jan.kiszka@domain.hid>
Cc: xenomai@xenomai.org
Subject: Re: [Xenomai-help] please i need help for rt_intr_create() fails
Date: Thu, 21 Dec 2006 08:00:21 -0800 (PST) [thread overview]
Message-ID: <851374.923.qm@domain.hid> (raw)
In-Reply-To: <458AADEE.6070005@domain.hid>
[-- Attachment #1: Type: text/plain, Size: 1113 bytes --]
Thanks Jan.
Please tell me which xenomai version are you using.i think i need to recompile me kernel again.
Best regards
imran
Jan Kiszka <jan.kiszka@domain.hid> wrote: mani bhatti wrote:
> Hi all
> i am trying to create a user space parallel port interrupt but the problem is that err=rt_intr_create(&intr_desc,"MyIrq",IRQ_NUMBER,I_NOAUTOENA);
>
> returns -22 instead of zero which means success.i dont have idea what this error code -22 means.please help me in this regard.i am attaching the sample code.If some one can send me some basic working user space xenomai code i would be very thankful.Thanks,
Your test loads fine for me over latest Xenomai (but I see no reason why
older versions should fail). Maybe your kernel/userspace pair is out of
sync.
If the problem persists, add some printk into the path the
rt_intr_create syscall takes. Start here:
http://www.rts.uni-hannover.de/xenomai/lxr/source/ksrc/skins/native/syscall.c#3066
Jan
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
[-- Attachment #2: Type: text/html, Size: 1360 bytes --]
next prev parent reply other threads:[~2006-12-21 16:00 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-12-21 15:17 [Xenomai-help] please i need help for rt_intr_create() fails mani bhatti
2006-12-21 15:53 ` Jan Kiszka
2006-12-21 16:00 ` mani bhatti [this message]
2006-12-21 16:28 ` Jan Kiszka
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=851374.923.qm@domain.hid \
--to=imranbashirbhatti@domain.hid \
--cc=jan.kiszka@domain.hid \
--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.