From: "M. Koehrer" <mathias_koehrer@domain.hid>
To: xenomai@xenomai.org
Subject: [Xenomai-help] Bug with Xenomai and xeno_heap: Eeek! page_mapcount(page) went negative!
Date: Thu, 9 Oct 2008 15:07:21 +0200 (CEST) [thread overview]
Message-ID: <15875130.1223557641586.JavaMail.ngmail@domain.hid> (raw)
[-- Attachment #1.1: Type: text/plain, Size: 1576 bytes --]
Hi everybody,
I am using the Xenomai version 2.4.5 with Linux version 2.6.26.5 (adeos patch provided with Xenomai 2.4.5).
Pentium D 3.2 GHz.
There seems to be a bug with the Xenomai mmap page handling that leads to
a
Eeek! page_mapcount(page) went negative! (-1)
Kernel error.
With previous version (Xeno 2.3.3, Kernel 2.6.20.4) this worked.
The situation is the following:
I allocate DMA capable memory in a kernel module.
Then I map to this memory from user space.
So far, everything is fine.
I can access the memory without problem.
However, once I terminate by user space application I get the Eeek.
The strange thing is, that the crash seems to happen with a xeno thread (not the one that mapped to the memory).
I have included the dmesg dump and also a very tiny standalone application that crashes with my system
every time I start it.
Untar the heap.tgz archive, run make to build the kernel module and the user space application.
Then, insmod the module and run the user space application.
After a couple of seconds, the system crashes with the Eeek.
Any help on this issue is highly welcome!
Best regards
Mathias
--
Mathias Koehrer
mathias_koehrer@domain.hid
Jetzt komfortabel bei Arcor-Digital TV einsteigen: Mehr Happy Ends, mehr Herzschmerz, mehr Fernsehen! Erleben Sie 50 digitale TV Programme und optional 60 Pay TV Sender, einen elektronischen Programmführer mit Movie Star Bewertungen von TV Movie. Außerdem, aktuelle Filmhits und spannende Dokus in der Arcor-Videothek. Infos unter www.arcor.de/tv
[-- Attachment #2: dmesg.gz --]
[-- Type: application/x-gzip, Size: 1486 bytes --]
[-- Attachment #3: heap.tgz --]
[-- Type: application/x-compressed, Size: 1157 bytes --]
next reply other threads:[~2008-10-09 13:07 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-10-09 13:07 M. Koehrer [this message]
2008-10-09 16:06 ` [Xenomai-help] Bug with Xenomai and xeno_heap: Eeek! page_mapcount(page) went negative! Gilles Chanteperdrix
2008-10-10 6:36 ` M. Koehrer
2008-10-10 8:19 ` M. Koehrer
2008-10-10 9:06 ` Gilles Chanteperdrix
2008-10-10 11:42 ` M. Koehrer
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=15875130.1223557641586.JavaMail.ngmail@domain.hid \
--to=mathias_koehrer@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.