All of lore.kernel.org
 help / color / mirror / Atom feed
* [Xenomai-help] error messages
@ 2011-11-02  0:15 Łukasz Sacha
  2011-11-02 15:35 ` Gilles Chanteperdrix
  0 siblings, 1 reply; 3+ messages in thread
From: Łukasz Sacha @ 2011-11-02  0:15 UTC (permalink / raw)
  To: xenomai

[-- Attachment #1: Type: text/plain, Size: 631 bytes --]

I managed to install xenoami 2.5.6 on my mini (with kernel 2.6.35.9).
However I'm having problems even running the test scripts.
For example the ouput of xeno-test is provided as an attachment, it
looks somewhat like this:

/usr/xenomai/bin/xeno-load: line 247: /usr/xenomai/bin/latency: not found

/usr/xenomai/bin # ls -al latency
-rwxr-xr-x    1 root     root         29528 Nov  1  2011 latency

Any hint on what's causing the errors?

ps: I'm still trying to figure out how to set up xenomai 2.6.0
together with kernel 2.6.38.8 - so please help with that if you can
(another thread).
--
Łukasz Dragilla Sacha

[-- Attachment #2: xeno-test_output.txt --]
[-- Type: text/plain, Size: 13760 bytes --]

/usr/xenomai/bin # ./xeno-test 
xeno-test: started 
withBusybox is 1
xeno-test: running tests

Tue May  2 15:52:47 MDT 2000
running: ./xeno-config --verbose
xeno-config --verbose
        --version="2.5.6"
        --cc="arm-none-linux-gnueabi-gcc -march=armv4t -mtune=arm920t"
        --arch="arm"
        --prefix="/usr/xenomai"
        --xeno-cflags="-I/usr/xenomai/include -D_GNU_SOURCE -D_REENTRANT -Wall -pipe -D__XENO__"
        --xeno-ldflags="-L/usr/xenomai/lib -lxenomai -lpthread "
        --posix-cflags=""
        --posix-ldflags="-Wl,@/usr/xenomai/lib/posix.wrappers -L/usr/xenomai/lib -lpthread_rt -lxenomai -lpthread -lrt "
        --library-dir="/usr/xenomai/lib"

Tue May  2 15:52:47 MDT 2000
running: ./xeno-info
If some fields are empty or look unusual you may have an old version.
Compare to the current minimal requirements in Documentation/Changes.
 
BusyBox v1.18.5 (2011-11-01 23:34:00 CET) multi-call binary.
Linux (none) 2.6.35.9-ipipe #7 PREEMPT Tue Nov 1 23:19:09 CET 2011 armv4tl GNU/Linux
 
module-init-tools      V
Linux C Library        0.9.32
Linux C Library        0.9.32
-v: No such file or directory
Modules Loaded         

Tue May  2 15:52:48 MDT 2000
running: cat /proc/cpuinfo
Processor       : ARM920T rev 0 (v4l)
BogoMIPS        : 201.93
Features        : swp half thumb 
CPU implementer : 0x41
CPU architecture: 4T
CPU variant     : 0x1
CPU part        : 0x920
CPU revision    : 0

Hardware        : MINI2440
Revision        : 0000
Serial          : 0000000000000000

Tue May  2 15:52:48 MDT 2000
running: md5sum /proc/cpuinfo # cpuinfo fingerprint
72f59e533ef85a8821c3dfae14294205  /proc/cpuinfo

Tue May  2 15:52:48 MDT 2000
running: cat /proc/ipipe/Linux
       +----- Handling ([A]ccepted, [G]rabbed, [W]ired, [D]iscarded)
       |+---- Sticky
       ||+--- Locked
       |||+-- Exclusive
       ||||+- Virtual
[IRQ]  |||||
   0:  A....
   1:  A....
   2:  A....
   3:  A....
   4:  A....
   5:  A....
   6:  A....
   7:  A....
   8:  A....
   9:  A....
  10:  A....
  11:  A....
  12:  A....
  13:  A....
  14:  A....
  15:  A....
  16:  A....
  17:  A....
  18:  A....
  19:  A....
  20:  A....
  21:  A....
  22:  A....
  23:  A....
  24:  A....
  25:  A....
  26:  A....
  27:  A....
  28:  A....
  29:  A....
  30:  A....
  31:  A....
  32:  A....
  33:  A....
  34:  A....
  35:  A....
  36:  A....
  37:  A....
  38:  A....
  39:  A....
  40:  A....
  41:  A....
  42:  A....
  43:  A....
  44:  A....
  45:  A....
  46:  A....
  47:  A....
  48:  A....
  49:  A....
  50:  A....
  51:  A....
  52:  A....
  53:  A....
  54:  A....
  55:  A....
  56:  A....
  57:  A....
  58:  A....
  59:  A....
  60:  A....
  61:  A....
  62:  A....
  63:  A....
  64:  A....
  65:  A....
  66:  A....
  67:  A....
  68:  A....
  69:  A....
  70:  A....
  71:  A....
  72:  A....
  73:  A....
  74:  A....
  75:  A....
  76:  A....
  77:  A....
  78:  A....
  79:  A....
  80:  A....
  81:  A....
  82:  A....
  83:  A....
  84:  A....
  96:  G...V
  97:  G...V
[Domain info]
id=0x00000000
priority=100

Tue May  2 15:52:48 MDT 2000
running: cat /proc/ipipe/Xenomai
       +----- Handling ([A]ccepted, [G]rabbed, [W]ired, [D]iscarded)
       |+---- Sticky
       ||+--- Locked
       |||+-- Exclusive
       ||||+- Virtual
[IRQ]  |||||
  30:  W..X.
  98:  W...V
[Domain info]
id=0x58454e4f
priority=topmost

Tue May  2 15:52:48 MDT 2000
running: cat /proc/ipipe/version
1.18-01

Tue May  2 15:52:48 MDT 2000
running: generate_loads 1
dd workload started, pids 2155 stored in /var/lock/xeno-test.2045.pids

Tue May  2 15:52:48 MDT 2000
running: cat /proc/interrupts
           CPU0
 30:      91419         s3c  S3C2410 Timer Tick
 37:          0         s3c  s3c-mci
 38:          1         s3c  s3c2410-spi
 41:          0         s3c  s3c2410_udc
 42:          0         s3c  ohci_hcd:usb1
 43:          0         s3c  s3c2440-i2c
 60:          0     s3c-ext  s3c-mci
 70:        171   s3c-uart0  s3c2440-uart
 71:       1379   s3c-uart0  s3c2440-uart
 83:          0           -  s3c2410-wdt
Err:          0

Tue May  2 15:52:48 MDT 2000
running: cat /proc/loadavg
0.26 0.10 0.03 2/34 2161

Tue May  2 15:52:48 MDT 2000
running: cat /proc/meminfo
MemTotal:          60040 kB
MemFree:           53868 kB
Buffers:               0 kB
Cached:             1460 kB
SwapCached:            0 kB
Active:             1244 kB
Inactive:            668 kB
Active(anon):        452 kB
Inactive(anon):        0 kB
Active(file):        792 kB
Inactive(file):      668 kB
Unevictable:           0 kB
Mlocked:               0 kB
SwapTotal:             0 kB
SwapFree:              0 kB
Dirty:                 0 kB
Writeback:             0 kB
AnonPages:           468 kB
Mapped:              440 kB
Shmem:                 0 kB
Slab:               2044 kB
SReclaimable:        264 kB
SUnreclaim:         1780 kB
KernelStack:         272 kB
PageTables:           84 kB
NFS_Unstable:          0 kB
Bounce:                0 kB
WritebackTmp:          0 kB
CommitLimit:       30020 kB
Committed_AS:       1480 kB
VmallocTotal:     450560 kB
VmallocUsed:        5576 kB
VmallocChunk:     441340 kB

Tue May  2 15:52:48 MDT 2000
running: cat /proc/xenomai/acct
0 0 0 0 0 00500080 177949991986 177846170903 456860615523 ROOT
0 0 0 91350 0 00000000 177949991986 98816697 381701353 IRQ30: [timer]

Tue May  2 15:52:48 MDT 2000
running: cat /proc/xenomai/apc
APC          CPU0
  0:            0    (pipe_wakeup)
  1:            0    (lostage_handler)
  2:            0    (registry_export)
  3:            0    (pse51_lostage_handler)
  4:            0    (deferred RTDM close)

Tue May  2 15:52:49 MDT 2000
running: cat /proc/xenomai/faults
TRAP         CPU0
  0:            0    (Data or instruction access)
  1:            0    (Section fault)
  2:            0    (Generic data abort)
  3:            0    (Unknown exception)
  4:            0    (Instruction breakpoint)
  5:            0    (Floating point exception)
  6:            0    (VFP Floating point exception)
  7:            0    (Undefined instruction)
  8:            0    (Unaligned access exception)

Tue May  2 15:52:49 MDT 2000
running: cat /proc/xenomai/hal
1.18-01

Tue May  2 15:52:49 MDT 2000
running: cat /proc/xenomai/heap
size=8192:used=8:pagesz=4096  (global sem heap)
size=259584:used=64:pagesz=512  (main heap)
size=129536:used=0:pagesz=512  (stack pool)

Tue May  2 15:52:49 MDT 2000
running: cat /proc/xenomai/irq
IRQ         CPU0
 30:       91414         [timer]
 98:           0         [virtual]

Tue May  2 15:52:49 MDT 2000
running: cat /proc/xenomai/latency
9481

Tue May  2 15:52:49 MDT 2000
running: cat /proc/xenomai/sched
CPU  PID    CLASS  PRI      TIMEOUT   TIMEBASE   STAT       NAME
  0  0      idle    -1      -         master     R          ROOT

Tue May  2 15:52:49 MDT 2000
running: cat /proc/xenomai/stat
CPU  PID    MSW        CSW        PF    STAT       %CPU  NAME
  0  0      0          0          0     00500080   99.6  ROOT
  0  0      0          91453      0     00000000    0.4  IRQ30: [timer]

Tue May  2 15:52:49 MDT 2000
running: cat /proc/xenomai/timebases
NAME       RESOLUTION     JIFFIES   STATUS
master              1         n/a   enabled,set

Tue May  2 15:52:49 MDT 2000
running: cat /proc/xenomai/timer
status=on:setup=4148:clock=3863490365:timerdev=TCNTB4:clockdev=TCNTO3

Tue May  2 15:52:49 MDT 2000
running: cat /proc/xenomai/version
2.5.6

Tue May  2 15:52:49 MDT 2000
Mem: 6388K used, 53652K free, 0K shrd, 0K buff, 1468K cached
CPU: 14.2% usr 85.7% sys  0.0% nic  0.0% idle  0.0% io  0.0% irq  0.0% sirq
Load average: 0.26 0.10 0.03 2/36 2235
  PID  PPID USER     STAT   VSZ %MEM CPU %CPU COMMAND
 2155     1 root     R     1500  2.4   0 92.6 dd if /dev/zero of /dev/null
 2235  2234 root     R     1508  2.5   0  7.1 top
 2071  2045 root     S     1532  2.5   0  0.0 /bin/sh ./xeno-test
 2234  2231 root     S     1532  2.5   0  0.0 /bin/sh ./xeno-test
 2231  2071 root     S     1532  2.5   0  0.0 /bin/sh ./xeno-test
 2045     1 root     S     1528  2.5   0  0.0 /bin/sh ./xeno-test

Tue May  2 15:52:50 MDT 2000
running: ./run -- -sh -T 120 -t0 # latency
*
*
* Type ^C to stop this application.
*
*
/usr/xenomai/bin/xeno-load: line 247: /usr/xenomai/bin/latency: not found

Tue May  2 15:52:52 MDT 2000
running: ./run -- -sh -T 120 -t1 # latency
*
*
* Type ^C to stop this application.
*
*
/usr/xenomai/bin/xeno-load: line 247: /usr/xenomai/bin/latency: not found

Tue May  2 15:52:54 MDT 2000
running: ./run -- -sh -T 120 -t2 # latency
*
*
* Type ^C to stop this application.
*
*
/usr/xenomai/bin/xeno-load: line 247: /usr/xenomai/bin/latency: not found

Tue May  2 15:52:56 MDT 2000
running: ./run -- -T 120 # switchtest
*
*
* Type ^C to stop this application.
*
*
/usr/xenomai/bin/xeno-load: line 247: /usr/xenomai/bin/switchtest: not found
./xeno-test: cd: line 1: can't cd to /usr/xenomai/share/xenomai/testsuite/switchbench

Tue May  2 15:52:57 MDT 2000
running: ./run -- -h # switchbench
./xeno-test: eval: line 1: ./run: not found

Tue May  2 15:52:58 MDT 2000
running: ./run -- -p 10 -n -l 1000 # cyclictest
*
*
* Type ^C to stop this application.
*
*
/usr/xenomai/bin/xeno-load: line 247: /usr/xenomai/bin/cyclictest: not found

Tue May  2 15:52:59 MDT 2000
running: cat /proc/interrupts
           CPU0
 30:      93521         s3c  S3C2410 Timer Tick
 37:          0         s3c  s3c-mci
 38:          1         s3c  s3c2410-spi
 41:          0         s3c  s3c2410_udc
 42:          0         s3c  ohci_hcd:usb1
 43:          0         s3c  s3c2440-i2c
 60:          0     s3c-ext  s3c-mci
 70:        171   s3c-uart0  s3c2440-uart
 71:       1768   s3c-uart0  s3c2440-uart
 83:          0           -  s3c2410-wdt
Err:          0

Tue May  2 15:52:59 MDT 2000
running: cat /proc/loadavg
0.52 0.17 0.05 2/35 2649

Tue May  2 15:52:59 MDT 2000
running: cat /proc/meminfo
MemTotal:          60040 kB
MemFree:           53812 kB
Buffers:               0 kB
Cached:             1472 kB
SwapCached:            0 kB
Active:             1256 kB
Inactive:            672 kB
Active(anon):        456 kB
Inactive(anon):        0 kB
Active(file):        800 kB
Inactive(file):      672 kB
Unevictable:           0 kB
Mlocked:               0 kB
SwapTotal:             0 kB
SwapFree:              0 kB
Dirty:                 0 kB
Writeback:             0 kB
AnonPages:           472 kB
Mapped:              440 kB
Shmem:                 0 kB
Slab:               2072 kB
SReclaimable:        272 kB
SUnreclaim:         1800 kB
KernelStack:         280 kB
PageTables:           84 kB
NFS_Unstable:          0 kB
Bounce:                0 kB
WritebackTmp:          0 kB
CommitLimit:       30020 kB
Committed_AS:       1488 kB
VmallocTotal:     450560 kB
VmallocUsed:        5576 kB
VmallocChunk:     441340 kB

Tue May  2 15:52:59 MDT 2000
running: cat /proc/xenomai/acct
0 0 0 0 0 00500080 9985000232 9944409292 467317919309 ROOT
0 0 0 93450 0 00000000 9985000232 39759404 423531419 IRQ30: [timer]

Tue May  2 15:52:59 MDT 2000
running: cat /proc/xenomai/apc
APC          CPU0
  0:            0    (pipe_wakeup)
  1:            0    (lostage_handler)
  2:            0    (registry_export)
  3:            0    (pse51_lostage_handler)
  4:            0    (deferred RTDM close)

Tue May  2 15:52:59 MDT 2000
running: cat /proc/xenomai/faults
TRAP         CPU0
  0:            0    (Data or instruction access)
  1:            0    (Section fault)
  2:            0    (Generic data abort)
  3:            0    (Unknown exception)
  4:            0    (Instruction breakpoint)
  5:            0    (Floating point exception)
  6:            0    (VFP Floating point exception)
  7:            0    (Undefined instruction)
  8:            0    (Unaligned access exception)

Tue May  2 15:52:59 MDT 2000
running: cat /proc/xenomai/hal
1.18-01

Tue May  2 15:52:59 MDT 2000
running: cat /proc/xenomai/heap
size=8192:used=8:pagesz=4096  (global sem heap)
size=259584:used=64:pagesz=512  (main heap)
size=129536:used=0:pagesz=512  (stack pool)

Tue May  2 15:52:59 MDT 2000
running: cat /proc/xenomai/irq
IRQ         CPU0
 30:       93511         [timer]
 98:           0         [virtual]

Tue May  2 15:52:59 MDT 2000
running: cat /proc/xenomai/latency
9481

Tue May  2 15:52:59 MDT 2000
running: cat /proc/xenomai/sched
CPU  PID    CLASS  PRI      TIMEOUT   TIMEBASE   STAT       NAME
  0  0      idle    -1      -         master     R          ROOT

Tue May  2 15:52:59 MDT 2000
running: cat /proc/xenomai/stat
CPU  PID    MSW        CSW        PF    STAT       %CPU  NAME
  0  0      0          0          0     00500080   99.6  ROOT
  0  0      0          93549      0     00000000    0.4  IRQ30: [timer]

Tue May  2 15:52:59 MDT 2000
running: cat /proc/xenomai/timebases
NAME       RESOLUTION     JIFFIES   STATUS
master              1         n/a   enabled,set

Tue May  2 15:53:00 MDT 2000
running: cat /proc/xenomai/timer
status=on:setup=4148:clock=3951862781:timerdev=TCNTB4:clockdev=TCNTO3

Tue May  2 15:53:00 MDT 2000
running: cat /proc/xenomai/version
2.5.6

Tue May  2 15:53:00 MDT 2000
Mem: 6432K used, 53608K free, 0K shrd, 0K buff, 1476K cached
CPU:  7.6% usr 92.3% sys  0.0% nic  0.0% idle  0.0% io  0.0% irq  0.0% sirq
Load average: 0.52 0.17 0.05 2/37 2723
  PID  PPID USER     STAT   VSZ %MEM CPU %CPU COMMAND
 2155     1 root     R     1500  2.4   0 85.5 dd if /dev/zero of /dev/null
 2723  2722 root     R     1508  2.5   0 14.2 top
 2071  2045 root     S     1532  2.5   0  0.0 /bin/sh ./xeno-test
 2722  2719 root     S     1532  2.5   0  0.0 /bin/sh ./xeno-test
 2719  2071 root     S     1532  2.5   0  0.0 /bin/sh ./xeno-test
 2045     1 root     S     1528  2.5   0  0.0 /bin/sh ./xeno-test
 2155 root       0:06 dd if /dev/zero of /dev/null
 2727 root       0:00 grep 2155
xeno-test: finished


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Xenomai-help] error messages
  2011-11-02  0:15 [Xenomai-help] error messages Łukasz Sacha
@ 2011-11-02 15:35 ` Gilles Chanteperdrix
  2011-11-02 15:45   ` Łukasz Sacha
  0 siblings, 1 reply; 3+ messages in thread
From: Gilles Chanteperdrix @ 2011-11-02 15:35 UTC (permalink / raw)
  To: Łukasz Sacha; +Cc: xenomai

On 11/02/2011 01:15 AM, Łukasz Sacha wrote:
> I managed to install xenoami 2.5.6 on my mini (with kernel 2.6.35.9).
> However I'm having problems even running the test scripts.
> For example the ouput of xeno-test is provided as an attachment, it
> looks somewhat like this:
> 
> /usr/xenomai/bin/xeno-load: line 247: /usr/xenomai/bin/latency: not found
> 
> /usr/xenomai/bin # ls -al latency
> -rwxr-xr-x    1 root     root         29528 Nov  1  2011 latency
> 
> Any hint on what's causing the errors?

Mismatch between libraries in the toolchain, and libraries installed?
Especially the loader ld-linux.so. Please try and copy ldd to the board
filesystem and try the command:
ldd /usr/xenomai/bin/latency

-- 
                                                                Gilles.



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Xenomai-help] error messages
  2011-11-02 15:35 ` Gilles Chanteperdrix
@ 2011-11-02 15:45   ` Łukasz Sacha
  0 siblings, 0 replies; 3+ messages in thread
From: Łukasz Sacha @ 2011-11-02 15:45 UTC (permalink / raw)
  To: Gilles Chanteperdrix; +Cc: xenomai

On Wed, Nov 2, 2011 at 16:35, Gilles Chanteperdrix
<gilles.chanteperdrix@xenomai.org> wrote:
> On 11/02/2011 01:15 AM, Łukasz Sacha wrote:
>> I managed to install xenoami 2.5.6 on my mini (with kernel 2.6.35.9).
>> However I'm having problems even running the test scripts.
>> For example the ouput of xeno-test is provided as an attachment, it
>> looks somewhat like this:
>>
>> /usr/xenomai/bin/xeno-load: line 247: /usr/xenomai/bin/latency: not found
>>
>> /usr/xenomai/bin # ls -al latency
>> -rwxr-xr-x    1 root     root         29528 Nov  1  2011 latency
>>
>> Any hint on what's causing the errors?
>
> Mismatch between libraries in the toolchain, and libraries installed?
> Especially the loader ld-linux.so. Please try and copy ldd to the board
> filesystem and try the command:
> ldd /usr/xenomai/bin/latency
>
> --
>                                                                Gilles.
>
>

Yes, that was it. Now it works. Thank you.
--
Łukasz Dragilla Sacha


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2011-11-02 15:45 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-11-02  0:15 [Xenomai-help] error messages Łukasz Sacha
2011-11-02 15:35 ` Gilles Chanteperdrix
2011-11-02 15:45   ` Łukasz Sacha

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.