From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <50D099A2.3080407@xenomai.org> Date: Tue, 18 Dec 2012 17:28:18 +0100 From: Gilles Chanteperdrix MIME-Version: 1.0 References: <50D08B74.1010809@xenomai.org> <50D08C0A.10502@xenomai.org> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [Xenomai] [Page fault - POSIX skin] Interraction between malloc en nanosleep List-Id: Discussions about the Xenomai project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: alex alex Cc: xenomai@xenomai.org On 12/18/2012 05:16 PM, alex alex wrote: > My LDFLAGS is : > -Wl,@/usr/lib/posix.wrappers -L/usr/lib -lpthread_rt -lxenomai -lpthread > -lrt > > and I use : > xenomai-2.6.1/ksrc/arch/x86/patches/adeos-ipipe-2.6.38.8-x86-2.11-01.patch This patch is known to be bogus, try: http://download.gna.org/adeos/patches/v2.6/x86/adeos-ipipe-2.6.38.8-x86-2.11-03.patch > > however I need to open my RTDM driver with blocking open during this > phase,I usenativeskin > semaphore for it. This page fault causes the blocking malfunction of the > semaphores (rt_sem_p returns EPERM). Using native skin semaphore is deprecated. If writing an RTDM driver, why not using an RTDM semaphore? -- Gilles.