From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Tue, 22 Sep 2015 19:44:55 +0200 From: Gilles Chanteperdrix Message-ID: <20150922174455.GA13976@hermes.click-hack.org> References: <5600F8DE.30705@xenomai.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Subject: Re: [Xenomai] Xenomai tests List-Id: Discussions about the Xenomai project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: vibnwis Cc: xenomai@xenomai.org On Wed, Sep 23, 2015 at 12:32:11AM +1200, vibnwis wrote: > By regenerating ./configure using autoreconf -fi, I managed to compile > xenomai-3-3.0-rc7 natively on PandaBoard. All things are put in their own > place by make install. However, when running latency, it produces > > > latency > 0"000.000| BUG in low_init(): [main] mlockall: Cannot allocate memory You should either run the latency test as root, or have a look at this page: http://xenomai.org/2014/06/running-a-xenomai-application-as-a-regular-user/ > > dmesg | grep -i ipipe > [ 0.000000] Linux version 3.18.20-ipipe (qws@qws-MacBookPro) (gcc > version 4.9.2 (Ubuntu/Linaro 4.9.2-10ubuntu10) ) #1 SMP Tue Sep 22 21:04:49 > NZST 2015 > [ 0.623763] 3.18.20-ipipe #1 Not tainted > [ 0.623994] [] __ipipe_do_sync_stage+0x288/0x2d0 > [ 0.624011] [] __ipipe_grab_irq+0x5c/0x70 > [ 0.624321] CPU: 1 PID: 22 Comm: kblockd Not tainted 3.18.20-ipipe #1 > [ 0.624479] [] (trace_hardirqs_on_caller) from [] > (__ipipe_fast_svc_irq_exit+0x4/0x18) > [ 0.624504] [] (__ipipe_fast_svc_irq_exit) from [] > (ipip_test_and_stall_root+0x2c/0x3c) > [ 0.624524] [] (ipipe_test_and_stall_root) from [] > (lock_acquire+0x44/0x108) > [ 0.728394] Switched to clocksource ipipe_tsc > [ 2.464800] usb usb1: Manufacturer: Linux 3.18.20-ipipe ehci_hcd > [ 6.364516] usb usb2: Manufacturer: Linux 3.18.20-ipipe musb-hcd Please post the full kernel logs. You likely enabled a kernel configuration option which has an issue with CONFIG_IPIPE -- Gilles. https://click-hack.org