From: "Ignacio García Pérez" <iggarpe@domain.hid>
To: xenomai@xenomai.org
Subject: [Xenomai-help] Segfault inb
Date: Wed, 06 Sep 2006 18:38:51 +0200 [thread overview]
Message-ID: <44FEF99B.5000900@domain.hid> (raw)
Hi,
There must be something very obvious I'm missing, yet I don't know why
and I'm stuck.
I've got a very simple program that starts a simple periodic task that
reads from port 0x281 at 2KHz. When the inb(0x281) is executed my
program segfaults. If I comment that code, everything works fine (the
periodic task executes as expected).
In my initialization code, I've remembered to:
iopl(3)
mlockall(MCL_CURRENT | MCL_FUTURE)
rt_misc_get_io_region
Even tried to issue the iopl(3) again from the periodic task itself. No way.
I'm using kernel 2.6.17.11 and Xenomai v2.2.2.
Regards.
next reply other threads:[~2006-09-06 16:38 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-09-06 16:38 Ignacio García Pérez [this message]
2006-09-06 16:41 ` [Xenomai-help] Segfault inb Gilles Chanteperdrix
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=44FEF99B.5000900@domain.hid \
--to=iggarpe@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.