Message-ID: <510FFE7C.1090601@xenomai.org> Date: Mon, 04 Feb 2013 19:31:24 +0100 From: Gilles Chanteperdrix MIME-Version: 1.0 References: <510FFDE0.4080703@icid.cu> In-Reply-To: <510FFDE0.4080703@icid.cu> 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: raespi Cc: xenomai@xenomai.org On 02/04/2013 07:28 PM, raespi wrote: > Hi ... I'm using the 2.6.0 Xenomai version in userspace. I managed to > forwardport the *adeos-ipipe-3.0.36-arm-1.18-11* patch provided to the > 3.1.10 kernel version since it's the one I'm currently using. I managed > to modify it in a way that it compiles and runs on my SMDK2440 ARM > target. I attached the patch for your consideration. If you consider > it valuable I can send you another version at a later time with the > other marchs included ( I removed them from the patched and left the > modifications important to me ) ... > > I followed the guide and everything works fine, I see the boot messages > and the *xeno latency* test runs without any problem. The problem > arises when I try the *xeno-test *program, it starts with the first test > and then crashes with an error: > > switchtest: Unable to open switchtest device. > (modprobe xeno_switchtest ?) > > I issued a *cat /proc/xenomai/rtdm/named_devices* and got: > > Hash Name Driver /proc > 24 rttest-timerbench0 xeno_timerbench > rttest-timerbench0 > 55 rttest-switchtest0 xeno_switchtest > rttest-switchtest0 > > Meaning the rttest-switchtest0 device is there right?? I looked for it > here after googling this problem. In some mailing lists it's said that > this problem was fixed in the 2.5.1 head version, but as you can see > it's still popping up ... > > Any ideas ?? In order to avoid looking for a bug which has already been fixed, please try Xenomai 2.6.2.1. -- Gilles.