Skip to contentSkip to conversation

Sudo not found when running the latency test

Xenomai-help Steven Kauffmann 2 participants 2 messages Nov 11, 2006

lore
Share & tools
lore
#0 lore raw

Hi,

We're using an embedded system, the Virtex2pro from Xilinx (XC2VP300). This chipset includes 2 powerpc's (ppc-405) and a FPGA. We're running a linux kernel from denx (20060707) patched with 'adeos-ipipe-2.4.25-ppc-CVS- 20060707-1.1-04.patch '. We got the linux kernel from denx with cvs:
cvs -d :pserver:[email protected] login
cvs -z6 -d :pserver:[email protected] co -P -D 20060707
linuxppc_2_4_devel
We got xenomai with svn:
svn co svn://svn.gna.org/svn/xenomai/branches/v2.2.x
xenomai_branches

With the Xilinx software (EDK 8.1) we built board support packages for the kernel. We use the crosstool from
<http://kegel.com/crosstool/#download> to build the ppc crosscompiler.

We build the rootfilesystem with the busybox_1_1_stable release. We got the following error when running the latency test: "./run".

*
*
* Type ^C to stop this application.
*
*
/usr/xenomai/bin/xeno-load: /usr/xenomai/bin/xeno-load: 249: sudo: not found

If we run "./latency", no error occurs.

Did we forget something obvious? What would be the best way to debug this situation? Any hints are welcome!

Best regards,

Stefan De la haye & Steven Kauffmann

#1 lore raw
Quoted 29 lines · Steven Kauffmann

Hi,

We're using an embedded system, the Virtex2pro from Xilinx (XC2VP300). This chipset includes 2 powerpc's (ppc-405) and a FPGA. We're running a linux kernel from denx (20060707) patched with 'adeos-ipipe-2.4.25-ppc-CVS- 20060707-1.1-04.patch '. We got the linux kernel from denx with cvs:
cvs -d :pserver:[email protected] login
cvs -z6 -d :pserver:[email protected] co -P -D 20060707
linuxppc_2_4_devel
We got xenomai with svn:
svn co svn://svn.gna.org/svn/xenomai/branches/v2.2.x
xenomai_branches

With the Xilinx software (EDK 8.1) we built board support packages for the kernel. We use the crosstool from
<http://kegel.com/crosstool/#download> to build the ppc crosscompiler.

We build the rootfilesystem with the busybox_1_1_stable release. We got the following error when running the latency test: "./run".

*
*
* Type ^C to stop this application.
*
*
/usr/xenomai/bin/xeno-load: /usr/xenomai/bin/xeno-load: 249: sudo: not found

Quoted 4 lines

If we run "./latency", no error occurs.

Did we forget something obvious? What would be the best way to debug this situation? Any hints are welcome!

It's a bug in the xeno-load script for the benchmarks which prevents the execution over busybox. Fixed in the 2.3 branch, maybe we should back-port it.

Jan