From: Steven Seeger Date: Sat, 5 Dec 2015 04:55:50 -0500 Message-ID: <2794854.WTdy10Gj6d@wirbelwind> In-Reply-To: <6309036.vrZ57LHtHK@wirbelwind> References: <6309036.vrZ57LHtHK@wirbelwind> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [Xenomai] powerpc 440 userspace latency test does nothing Reply-To: steven.seeger@nasa.gov List-Id: Discussions about the Xenomai project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: xenomai@xenomai.org Just to add more info, the issue is that the read() call from the timerfd never returns. I've never seen this occur before. Steven On Saturday, December 05, 2015 03:02:38 Steven Seeger wrote: > Hey guys. > > I am running a virtex5 ml507 board from Xilinx configured to use the > internal powerpc 440 processor in the FPGA. I compiled a 3.18.20 kernel and > patched it and build xenomai 3.0.1. > > I am able to run latency -t 1 and latency -t 2 > > When I try to run just latency, however, I get no results. It seems like > userspace threads are not ever waking up. Here's the result of cat > /proc/xenomai/sched/stat: > > SCLINUX: / # cat /proc/xenomai/sched/stat > CPU PID MSW CSW XSC PF STAT %CPU NAME > 0 0 0 3240214 0 0 00018000 100.0 [ROOT] > 0 898 1 1 5 0 000680c0 0.0 latency > 0 900 1 2 5 0 00068042 0.0 > display-898 0 901 2 3 7 0 0004c042 > 0.0 sampling-898 0 0 0 3245052 0 0 00000000 > 0.0 [IRQ512: [timer]] > > Before I spend too much time tearing into this I wanted to ask if anyone's > seen this issue before. > > It should be noted that clocktest runs fine. switchtest runs. xeno-test just > sits there though. > > Thanks, > Steven Steven Seeger Software Engineer Codes 443/444/582 Embedded Flight Systems, Inc. 304-550-8800 (cell) 301-286-5641 (office)