From: Jan Kiszka <jan.kiszka@domain.hid>
To: "M. Koehrer" <mathias_koehrer@domain.hid>
Cc: xenomai@xenomai.org
Subject: [Xenomai-help] Re: What happens if task entry function returns?
Date: Fri, 17 Nov 2006 14:58:25 +0100 [thread overview]
Message-ID: <455DC001.2040001@domain.hid> (raw)
In-Reply-To: <434646.1163765689576.JavaMail.ngmail@domain.hid>
[-- Attachment #1: Type: text/plain, Size: 2079 bytes --]
M. Koehrer wrote:
> Hi Jan,
>
> I found out, that is issue seems to be related to the NPTL (native posix thread library).
> The pthread library in use was
> /lib/tls/i686/cmov/libpthread.so.0
> which is part of the Debian (testing) package libc6-i686.
> (see http://packages.debian.org/testing/libs/libc6-i686)
>
> When renaming the lib/tls to lib/tls.disabled the pthread library in use is
> /lib/libpthread.so.0
> and then it is working perfectly!
...which does not yet explain WHY the other scenario fails.
>
> It seems that the i686 optimized libc is not fully compatible with Xenomai.
That's not true in such a common form. We are using NTPL libs for i586
and i686 (SuSE builds) without /general/ issues. Still, specific
problems like this may sleep somewhere.
> I read about this library at Romain Lenglet's web page:
> http://www.csg.is.titech.ac.jp/~lenglet/howtos/realtimelinuxhowto/index.html
> I think this library uses the NPTL (Native Posix Thread Lib).
> The i686 optimized library shows the value
> NPTL 2.3.6
> at
> getconf GNU_LIBPTHREAD_VERSION
> The "old" pthread lib shows the value:
> linuxthreads-0.10
>
> Now, I tried to reconfigure Xenomai with --enable-x86-sep to use
> the NPTL but this did not help either.
That only influences the way syscalls are passed down into the kernel.
> When I rename now /lib/tls to /lib/tls.disabled, the application complains
> about the missing NPTL support in the library.
> Well, I have now a solution that works:
> I can use the standard pthread lib and not the i686 optimized NPTL.
> However, as NPTL seems to be a performance benefit, I think it could be
> worth to get this combination up and running.
>
> Is there anybody out there that uses a Debian based system with the i686
> optimized libc that works perfectly?
>
> BTW: I am using xenomai 2.2.4 from end of October.
>
Again my question: is the issue SMP related?
Reproducing your problem over a qemu box (with or without SMP) failed so
far for me. But I'm not on your glibc.
Jan
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 250 bytes --]
next prev parent reply other threads:[~2006-11-17 13:58 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-11-17 12:14 [Xenomai-help] Re: Re: What happens if task entry function returns? M. Koehrer
2006-11-17 13:58 ` Jan Kiszka [this message]
2006-11-17 14:17 ` M. Koehrer
2006-11-17 15:00 ` Jan Kiszka
2006-11-17 15:28 ` M. Koehrer
2006-11-17 15:38 ` Jan Kiszka
2006-11-18 15:52 ` Philippe Gerum
2006-11-20 7:52 ` Re: [Xenomai-help] Re: Re: What happens if task entry function M. Koehrer
-- strict thread matches above, loose matches on Subject: below --
2006-11-17 10:17 [Xenomai-help] What happens if task entry function returns? M. Koehrer
2006-11-17 10:59 ` [Xenomai-help] " 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=455DC001.2040001@domain.hid \
--to=jan.kiszka@domain.hid \
--cc=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.