Message-ID: <5110249A.7000903@xenomai.org> Date: Mon, 04 Feb 2013 22:14:02 +0100 From: Gilles Chanteperdrix MIME-Version: 1.0 References: <510FFDE0.4080703@icid.cu> <510FFE7C.1090601@xenomai.org> <51100A6B.90701@icid.cu> <5110122C.2090807@xenomai.org> <51101A62.2090904@siemens.com> In-Reply-To: <51101A62.2090904@siemens.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Subject: Re: [Xenomai] about switchtest ... List-Id: Discussions about the Xenomai project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Jan Kiszka Cc: xenomai@xenomai.org On 02/04/2013 09:30 PM, Jan Kiszka wrote: > On 2013-02-04 20:55, Gilles Chanteperdrix wrote: >> On 02/04/2013 08:22 PM, raespi wrote: >> >>> Ok, I downloaded the 2.6.2.1 stable version now. Everything compiles >>> without problems ... Still I get the same error when running *xeno-latency*: >>> >>> switchtest: Unable to open switchtest device. >>> (modprobe xeno_switchtest ?) >>> >>> Any ideas .. ? >> >> >> No, we do not have enough details. What toolchain do you use? What >> arguments do you pass to configure? Did you recompile the kernel too? > > I remember stumbling over this issue recently as well, on x86. Hmm, I > think it was not a missing device but failing > RTTST_RTIOC_SWTEST_SET_TASKS_COUNT due to too few resources of the > nucleus - but that was on 16 or even 32 CPU box. It is true that any error in the ioctl will trigger this message, whereas we should treat anything else than -ENOSYS as an error. -- Gilles.