From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <4C74E981.6010001@domain.hid> Date: Wed, 25 Aug 2010 11:59:29 +0200 From: Gilles Chanteperdrix MIME-Version: 1.0 References: <1282730000.1709.49.camel@domain.hid> In-Reply-To: <1282730000.1709.49.camel@domain.hid> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Subject: Re: [Xenomai-help] Page-fault, switch to secondary mode List-Id: Help regarding installation and common use of Xenomai List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Philippe Gerum Cc: Bharath Achuta Bhat , xenomai@xenomai.org Philippe Gerum wrote: > On Wed, 2010-08-25 at 11:12 +0200, Bharath Achuta Bhat wrote: >> Hello Xenomai experts, >> >> >> I am running a xenomai-2.5.1 patched kernel (v 2.6.30.3) with ipipe >> version 2.7-06. >> The target is powerpc (MPC8533E). >> My application is switching to the secondary mode (I guess because of >> a page-fault) when ntohl() is called. >> This is a libc function and I am wondering why only this function >> (ntohl()) is causing a page-fault. > > What memory are you reading from / writing to in the statement involving > ntohl()? Is this plain RAM, or mapped I/O memory? And if it is plain RAM, is it correctly aligned? -- Gilles.