From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <12d572a328f.gprizzi@domain.hid> Date: Wed, 5 Jan 2011 18:12:19 +0100 (CET) From: "gprizzi@domain.hid" Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_190450_29804676.1294247539346" Subject: [Xenomai-help] error in executing xenomai tests Reply-To: "gprizzi@domain.hid" List-Id: Help regarding installation and common use of Xenomai List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: xenomai@xenomai.org ------=_Part_190450_29804676.1294247539346 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Dear sirs, I have a fresh install of xenomai 2.5.5.2. I found the directory /usr/share/xenomai/testsuite/ in which there are subdirectory with different test. I tried to execute them bat I got a lot of errors that you can see here below. The most frequent error is the following: FATAL: Module xeno_nucleus not found. Have I made errors in xenomai installation process? Have I a working xenomai system? Moreover where can I found documentation that can help me to understand if the performances of the execute tests are god? During installation I used the following procedure that was explained on the page http://www.xenomai.org.php/Building_Debian_packages that now in no more available (why?) INSTALLATION PROCEDURE download of xenomai-2.5.2.2.tar.bz2 extraction of files in Download/xenomai-2.5.2.2 apt-get install devscripts debhelper dh-kpatches findutils DEBEMAIL="xxx@domain.hid" DEBFULLNAME="Your Name" debchange -v 2.5.5.2 Release 2.5.5.2 cd Download/xenomai-2.5.2.2 debuild -uc -us dpkg -i *.deb dowload of linux kernel wget http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.35.7.tar.bz2 && tar -jxf linux-2.6.35.7.tar.bz2 && cd linux-2.6.35.7 /usr/src/kernel-patches/i386/apply/xenomai cp /boot/.config-2.6.35-22-generic .config make oldconfig make menuconfig to set the following options: Processor type and features Processor Family Power management and ACPI options ACPI (Advanced Configuration and Power Interface support) Processor (disableb) CPU Frequency scaling (disabled) Processor type and features AMD IOMMU Support(disabled) Bus Options (PCI etc.) Message Signaled Interrupts (MSI and MSI-X) (disabled) kernel compilation CONCURRENCY_LEVEL=2 CLEAN_SOURCE=no fakeroot make-kpkg --initrd --append-to-version -xenomai-2.5.5.2 --revision 1.0 kernel_image kernel_headers dpkg -i linux-image*.deb dpkg -i linux-header*.deb update-initramfs -c -k 2.6.35.7-xenomai-2.5.5.2 && update-grub ERRORS IN TESTS irqbench test root@domain.hid# ./run * * * Type ^C to stop this application. * * FATAL: Module xeno_nucleus not found. FATAL: Error running install command for xeno_nucleus irqloop: failed to open benchmark device: No such file or directory (modprobe xeno_irqbench?) ERROR: Module xeno_rtdm does not exist in /proc/modules ERROR: Module xeno_posix does not exist in /proc/modules ERROR: Module xeno_nucleus does not exist in /proc/modules root@domain.hid# ^C klatency test root@domain.hid# ./run * * * Type ^C to stop this application. * * FATAL: Module xeno_nucleus not found. FATAL: Error running install command for xeno_nucleus open(/proc/xenomai/registry/native/pipes/klat_pipe): No such file or directory modprobe klat_mod or try the -P option? ERROR: Module xeno_timerbench does not exist in /proc/modules ERROR: Module xeno_rtdm does not exist in /proc/modules ERROR: Module xeno_native does not exist in /proc/modules ERROR: Module xeno_nucleus does not exist in /proc/modules sigtest test root@domain.hid# ./run * * * Type ^C to stop this application. * * FATAL: Module xeno_nucleus not found. FATAL: Error running install command for xeno_nucleus Xenomai: SIGTEST skin or CONFIG_XENO_OPT_PERVASIVE disabled. (modprobe xeno_sigtest?) ERROR: Module xeno_rtdm does not exist in /proc/modules ERROR: Module xeno_posix does not exist in /proc/modules ERROR: Module xeno_nucleus does not exist in /proc/modules root@domain.hid# ^C root@domain.hid# switchtest test root@domain.hid# ./run * * * Type ^C to stop this application. * * FATAL: Module xeno_nucleus not found. FATAL: Error running install command for xeno_nucleus == Testing FPU check routines... r0: 1 != 2 r1: 1 != 2 r2: 1 != 2 r3: 1 != 2 r4: 1 != 2 r5: 1 != 2 r6: 1 != 2 r7: 1 != 2 == FPU check routines: OK. ioctl(RTTST_RTIOC_SWTEST_CREATE_KTASK): Cannot allocate memory == Threads: sleeper_ufps0-0 rtk0-1 rtk0-2 rtk_fp0-3 rtk_fp0-4 rtk_fp_ufpp0-5 rtk_fp_ufpp0-6 rtup0-7 rtup0-8 rtup_ufpp0-9 rtup_ufpp0-10 rtus0-11 rtus0-12 rtus_ufps0-13 rtus_ufps0-14 rtuo0-15 rtuo0-16 rtuo_ufpp0-17 rtuo_ufpp0-18 rtuo_ufps0-19 rtuo_ufps0-20 rtuo_ufpp_ufps0-21 rtuo_ufpp_ufps0-22 sleeper_ufps1-0 rtk1-1 rtk1-2 rtk_fp1-3 rtk_fp1-4 rtk_fp_ufpp1-5 rtk_fp_ufpp1-6 rtup1-7 rtup1-8 rtup_ufpp1-9 rtup_ufpp1-10 rtus1-11 rtus1-12 rtus_ufps1-13 rtus_ufps1-14 rtuo1-15 rtuo1-16 rtuo_ufpp1-17 rtuo_ufpp1-18 rtuo_ufps1-19 rtuo_ufps1-20 rtuo_ufpp_ufps1-21 rtuo_ufpp_ufps1-22 sleeper_ufps2-0 rtk2-1 rtk2-2 rtk_fp2-3RTT| 359512:23:52 RTH|---------cpu|ctx switches|-------total RTD| 0| 0| 0 RTD| 1| 0| 0 RTD| 2| 0| 0 ERROR: Module xeno_switchtest does not exist in /proc/modules ERROR: Module xeno_rtdm does not exist in /proc/modules ERROR: Module xeno_posix does not exist in /proc/modules ERROR: Module xeno_nucleus does not exist in /proc/modules unit test * * * Type ^C to stop this application. * * FATAL: Module xeno_nucleus not found. FATAL: Error running install command for xeno_nucleus mul: 0x79364d93, shft: 26 integ: 30, frac: 0x4d9364d9364d9364 signed positive operation: 0x03ffffffffffffff * 1000000000 / 33000000 inline calibration: 0x0000000000000000: 29.102 ns, rejected 0/10000 inlined llimd: 0x79364d9364d9362f: 54.872 ns, rejected 1/10000 inlined llmulshft: 0x79364d92ffffffe1: 1.246 ns, rejected 0/10000 inlined nodiv_llimd: 0x79364d9364d9362f: 4.570 ns, rejected 0/10000 out of line calibration: 0x0000000000000000: 30.351 ns, rejected 1/10000 out of line llimd: 0x79364d9364d9362f: 60.692 ns, rejected 1/10000 out of line llmulshft: 0x79364d92ffffffe1: 0.830 ns, rejected 1/10000 out of line nodiv_llimd: 0x79364d9364d9362f: 4.571 ns, rejected 1/10000 signed negative operation: 0xfc00000000000001 * 1000000000 / 33000000 inline calibration: 0x0000000000000000: 31.635 ns, rejected 1/10000 inlined llimd: 0x86c9b26c9b26c9d1: 53.173 ns, rejected 1/10000 inlined llmulshft: 0x86c9b26d0000001e: 0.678 ns, rejected 0/10000 inlined nodiv_llimd: 0x86c9b26c9b26c9d1: 3.286 ns, rejected 1/10000 out of line calibration: 0x0000000000000000: 30.351 ns, rejected 0/10000 out of line llimd: 0x86c9b26c9b26c9d1: 64.434 ns, rejected 1/10000 out of line llmulshft: 0x86c9b26d0000001e: 4.569 ns, rejected 1/10000 out of line nodiv_llimd: 0x86c9b26c9b26c9d1: 5.819 ns, rejected 1/10000 unsigned operation: 0x03ffffffffffffff * 1000000000 / 33000000 inline calibration: 0x0000000000000000: 31.531 ns, rejected 0/10000 inlined nodiv_ullimd: 0x79364d9364d9362f: 2.140 ns, rejected 0/10000 out of line calibration: 0x0000000000000000: 30.351 ns, rejected 0/10000 out of line nodiv_ullimd: 0x79364d9364d9362f: 4.571 ns, rejected 1/10000 ERROR: Module xeno_native does not exist in /proc/modules ERROR: Module xeno_nucleus does not exist in /proc/modules root@domain.hid# ------=_Part_190450_29804676.1294247539346 Content-Type: text/html;charset="UTF-8" Content-Transfer-Encoding: quoted-printable  Dear sirs,

 I have a fresh install of xenomai 2.5.5.2.
I found the directory

/usr/share/xenomai/testsuite/

in = which there are subdirectory with different test.

I tried to execute= them bat I got a lot of errors that you can see here below.

The mos= t frequent error is the following:

FATAL: Module xeno_nucleus not fo= und.

Have I made errors in xenomai installation process?

Have= I a working xenomai system?

Moreover where can I found documentatio= n that can help me to understand if the performances of the execute testsare god?

During installation I used the following procedure that w= as explained on the page
http://www.xenomai.org.php/Building_Debian_pac= kages that now in no more available (why?)


INSTALLATION PROCEDUR= E

download of xenomai-2.5.2.2.tar.bz2

extraction of files in=

Download/xenomai-2.5.2.2

apt-get install devscripts debhelp= er dh-kpatches findutils

DEBEMAIL=3D"xxx@domain.hid" DEBFULLNAME=3D"Your = Name" debchange -v 2.5.5.2 Release 2.5.5.2

cd Download/xenomai-2.5.2= .2
debuild -uc -us
dpkg -i *.deb

dowload of linux kernel
w= get http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.35.7.tar.bz2 &= ;& tar -jxf linux-2.6.35.7.tar.bz2 && cd linux-2.6.35.7

= /usr/src/kernel-patches/i386/apply/xenomai

cp /boot/.config-2.6.35-2= 2-generic .config
make oldconfig
make menuconfig

to set the f= ollowing options:

Processor type and features
  Processor Fa= mily

Power management and ACPI options
  ACPI (Advanced Con= figuration and Power Interface support)
    Processor (di= sableb)

CPU Frequency scaling (disabled)

Processor type and f= eatures
  AMD IOMMU Support(disabled)

Bus Options (PCI etc.)=
  Message Signaled Interrupts (MSI and MSI-X) (disabled)

ke= rnel compilation

CONCURRENCY_LEVEL=3D2 CLEAN_SOURCE=3Dno fakeroot ma= ke-kpkg --initrd --append-to-version -xenomai-2.5.5.2 --revision 1.0 kernel= _image kernel_headers

dpkg -i linux-image*.deb
dpkg -i linux-head= er*.deb
update-initramfs -c -k 2.6.35.7-xenomai-2.5.5.2 && updat= e-grub



ERRORS IN TESTS

irqbench test

root@domain.hid= xU1010:/usr/share/xenomai/testsuite/irqbench# ./run
*
*
* Type ^C = to stop this application.
*
*
FATAL: Module xeno_nucleus not found= .
FATAL: Error running install command for xeno_nucleus
irqloop: fail= ed to open benchmark device: No such file or directory
(modprobe xeno_ir= qbench?)
ERROR: Module xeno_rtdm does not exist in /proc/modules
ERRO= R: Module xeno_posix does not exist in /proc/modules
ERROR: Module xeno_= nucleus does not exist in /proc/modules
root@domain.hid= ai/testsuite/irqbench# ^C

klatency test

root@domain.hid/= share/xenomai/testsuite/klatency# ./run
*
*
* Type ^C to stop this= application.
*
*
FATAL: Module xeno_nucleus not found.
FATAL: = Error running install command for xeno_nucleus
open(/proc/xenomai/regist= ry/native/pipes/klat_pipe): No such file or directory
modprobe klat_mod = or try the -P option?
ERROR: Module xeno_timerbench does not exist in /p= roc/modules
ERROR: Module xeno_rtdm does not exist in /proc/modules
E= RROR: Module xeno_native does not exist in /proc/modules
ERROR: Module x= eno_nucleus does not exist in /proc/modules

sigtest test

root= @LinuxU1010:/usr/share/xenomai/testsuite/sigtest# ./run
*
*
* Type= ^C to stop this application.
*
*
FATAL: Module xeno_nucleus not f= ound.
FATAL: Error running install command for xeno_nucleus
Xenomai: = SIGTEST skin or CONFIG_XENO_OPT_PERVASIVE disabled.
(modprobe xeno_sigte= st?)
ERROR: Module xeno_rtdm does not exist in /proc/modules
ERROR: M= odule xeno_posix does not exist in /proc/modules
ERROR: Module xeno_nucl= eus does not exist in /proc/modules
root@domain.hid= estsuite/sigtest# ^C
root@domain.hid= t#


switchtest test

root@domain.hid= stsuite/switchtest# ./run
*
*
* Type ^C to stop this application.<= br>*
*
FATAL: Module xeno_nucleus not found.
FATAL: Error running = install command for xeno_nucleus
=3D=3D Testing FPU check routines...r0: 1 !=3D 2
r1: 1 !=3D 2
r2: 1 !=3D 2
r3: 1 !=3D 2
r4: 1 !=3D= 2
r5: 1 !=3D 2
r6: 1 !=3D 2
r7: 1 !=3D 2
=3D=3D FPU check rout= ines: OK.
ioctl(RTTST_RTIOC_SWTEST_CREATE_KTASK): Cannot allocate memory=
=3D=3D Threads: sleeper_ufps0-0 rtk0-1 rtk0-2 rtk_fp0-3 rtk_fp0-4 rtk_f= p_ufpp0-5 rtk_fp_ufpp0-6 rtup0-7 rtup0-8 rtup_ufpp0-9 rtup_ufpp0-10 rtus0-1= 1 rtus0-12 rtus_ufps0-13 rtus_ufps0-14 rtuo0-15 rtuo0-16 rtuo_ufpp0-17 rtuo= _ufpp0-18 rtuo_ufps0-19 rtuo_ufps0-20 rtuo_ufpp_ufps0-21 rtuo_ufpp_ufps0-22= sleeper_ufps1-0 rtk1-1 rtk1-2 rtk_fp1-3 rtk_fp1-4 rtk_fp_ufpp1-5 rtk_fp_uf= pp1-6 rtup1-7 rtup1-8 rtup_ufpp1-9 rtup_ufpp1-10 rtus1-11 rtus1-12 rtus_ufp= s1-13 rtus_ufps1-14 rtuo1-15 rtuo1-16 rtuo_ufpp1-17 rtuo_ufpp1-18 rtuo_ufps= 1-19 rtuo_ufps1-20 rtuo_ufpp_ufps1-21 rtuo_ufpp_ufps1-22 sleeper_ufps2-0 rt= k2-1 rtk2-2 rtk_fp2-3RTT|  359512:23:52
RTH|---------cpu|ctx switch= es|-------total
RTD|        &nbs= p;  0|           0|&= nbsp;          0
RTD| =           1|   =         0|     =       0
RTD|      = ;     2|        = ;   0|          = ; 0
ERROR: Module xeno_switchtest does not exist in /proc/modules
ERR= OR: Module xeno_rtdm does not exist in /proc/modules
ERROR: Module xeno_= posix does not exist in /proc/modules
ERROR: Module xeno_nucleus does no= t exist in /proc/modules

unit test

*
*
* Type ^C to sto= p this application.
*
*
FATAL: Module xeno_nucleus not found.
F= ATAL: Error running install command for xeno_nucleus
mul: 0x79364d93, sh= ft: 26
integ: 30, frac: 0x4d9364d9364d9364

signed positive operat= ion: 0x03ffffffffffffff * 1000000000 / 33000000
inline calibration: 0x00= 00000000000000: 29.102 ns, rejected 0/10000
inlined llimd: 0x79364d9364d= 9362f: 54.872 ns, rejected 1/10000
inlined llmulshft: 0x79364d92ffffffe1= : 1.246 ns, rejected 0/10000
inlined nodiv_llimd: 0x79364d9364d9362f: 4.= 570 ns, rejected 0/10000
out of line calibration: 0x0000000000000000: 30= .351 ns, rejected 1/10000
out of line llimd: 0x79364d9364d9362f: 60.692 = ns, rejected 1/10000
out of line llmulshft: 0x79364d92ffffffe1: 0.830 ns= , rejected 1/10000
out of line nodiv_llimd: 0x79364d9364d9362f: 4.571 ns= , rejected 1/10000

signed negative operation: 0xfc00000000000001 * 1= 000000000 / 33000000
inline calibration: 0x0000000000000000: 31.635 ns, = rejected 1/10000
inlined llimd: 0x86c9b26c9b26c9d1: 53.173 ns, rejected = 1/10000
inlined llmulshft: 0x86c9b26d0000001e: 0.678 ns, rejected 0/1000= 0
inlined nodiv_llimd: 0x86c9b26c9b26c9d1: 3.286 ns, rejected 1/10000out of line calibration: 0x0000000000000000: 30.351 ns, rejected 0/10000out of line llimd: 0x86c9b26c9b26c9d1: 64.434 ns, rejected 1/10000
out= of line llmulshft: 0x86c9b26d0000001e: 4.569 ns, rejected 1/10000
out o= f line nodiv_llimd: 0x86c9b26c9b26c9d1: 5.819 ns, rejected 1/10000

u= nsigned operation: 0x03ffffffffffffff * 1000000000 / 33000000
inline cal= ibration: 0x0000000000000000: 31.531 ns, rejected 0/10000
inlined nodiv_= ullimd: 0x79364d9364d9362f: 2.140 ns, rejected 0/10000
out of line calib= ration: 0x0000000000000000: 30.351 ns, rejected 0/10000
out of line nodi= v_ullimd: 0x79364d9364d9362f: 4.571 ns, rejected 1/10000
ERROR: Module x= eno_native does not exist in /proc/modules
ERROR: Module xeno_nucleus do= es not exist in /proc/modules
root@domain.hid= te/unit#

------=_Part_190450_29804676.1294247539346--