All of lore.kernel.org
 help / color / mirror / Atom feed
From: Bob Feretich <bob.feretich@domain.hid>
To: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>,
	xenomai@xenomai.org
Subject: Re: [Xenomai-help] Xenomai xeno-test hangs on 2.6.31 on BeagleBoard, same works on 2.6.33
Date: Wed, 28 Jul 2010 18:25:15 -0700	[thread overview]
Message-ID: <4C50D87B.2010008@domain.hid> (raw)
In-Reply-To: <4C4FDFD2.4010405@domain.hid>

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

  OK, --enable-arm-eabi fixed the latency program, but xeno-test still 
hangs at generate_loads on 2.6.31 (below). xeno-test worked on 2.6.33
.
The Angstrom Distribution beagleboard ttyS2

Angstrom 2010.4-test-20100518 beagleboard ttyS2

beagleboard login: root
root@domain.hid:~# ls /proc
1              28             9              irq            self
10             286            buddyinfo      kallsyms       slabinfo
11             29             bus            kmsg           softirqs
12             3              cmdline        kpagecount     stat
13             4              cpu            kpageflags     swaps
14             49             cpuinfo        loadavg        sys
15             5              crypto         locks          sysrq-trigger
16             6              devices        meminfo        sysvipc
17             662            diskstats      misc           timer_list
18             7              driver         modules        tty
19             790            execdomains    mounts         uptime
2              793            filesystems    mtd            version
20             795            fs             net            vmallocinfo
21             797            interrupts     pagetypeinfo   vmstat
211            798            iomem          partitions     xenomai
212            8              ioports        sched_debug    zoneinfo
27             800            ipipe          scsi
root@domain.hid:~# /usr/xenomai/bin/latency
== Sampling period: 1000 us
== Test mode: periodic user-mode task
== All results in microseconds
warming up...
RTT|  00:00:01  (periodic user-mode task, 1000 us period, priority 99)
RTH|----lat min|----lat avg|----lat max|-overrun|---msw|---lat 
best|--lat worst
RTD|     17.999|     18.846|     28.615|       0|     0|     17.999|     
28.615
RTD|     12.538|     13.307|     27.923|       0|     0|     12.538|     
28.615
RTD|     12.384|     13.307|     26.461|       0|     0|     12.384|     
28.615
RTD|     12.461|     13.307|     21.538|       0|     0|     12.384|     
28.615
RTD|     12.538|     14.384|     33.923|       0|     0|     12.384|     
33.923
RTD|     12.461|     13.307|     24.230|       0|     0|     12.384|     
33.923
RTD|     12.461|     13.307|     25.923|       0|     0|     12.384|     
33.923
RTD|     12.538|     13.307|     22.769|       0|     0|     12.384|     
33.923
RTD|     12.461|     13.307|     23.769|       0|     0|     12.384|     
33.923
RTD|     12.461|     14.307|     26.769|       0|     0|     12.384|     
33.923
RTD|     12.461|     13.307|     22.923|       0|     0|     12.384|     
33.923
RTD|     12.461|     13.307|     21.384|       0|     0|     12.384|     
33.923
RTD|     12.461|     13.307|     23.384|       0|     0|     12.384|     
33.923
RTD|     12.461|     13.230|     22.153|       0|     0|     12.384|     
33.923
RTD|     12.461|     14.307|     26.615|       0|     0|     12.384|     
33.923
RTD|     12.538|     13.307|     22.538|       0|     0|     12.384|     
33.923
RTD|     12.461|     13.307|     23.461|       0|     0|     12.384|     
33.923
RTD|     12.461|     13.307|     21.923|       0|     0|     12.384|     
33.923
RTD|     12.461|     13.307|     22.769|       0|     0|     12.384|     
33.923
RTD|     12.461|     14.307|     26.923|       0|     0|     12.384|     
33.923
RTD|     12.461|     13.307|     22.538|       0|     0|     12.384|     
33.923
RTT|  00:00:22  (periodic user-mode task, 1000 us period, priority 99)
RTH|----lat min|----lat avg|----lat max|-overrun|---msw|---lat 
best|--lat worst
RTD|     12.461|     13.230|     21.230|       0|     0|     12.384|     
33.923
RTD|     12.538|     13.307|     21.076|       0|     0|     12.384|     
33.923
RTD|     12.461|     13.307|     20.692|       0|     0|     12.384|     
33.923
RTD|     12.538|     14.230|     27.538|       0|     0|     12.384|     
33.923
RTD|     12.461|     13.230|     22.692|       0|     0|     12.384|     
33.923
RTD|     12.461|     13.307|     20.846|       0|     0|     12.384|     
33.923
RTD|     12.461|     13.230|     21.692|       0|     0|     12.384|     
33.923
RTD|     12.384|     13.307|     21.384|       0|     0|     12.384|     
33.923
RTD|     12.384|     14.230|     26.615|       0|     0|     12.384|     
33.923
RTD|     12.538|     13.307|     22.461|       0|     0|     12.384|     
33.923
\x03---|-----------|-----------|-----------|--------|------|-------------------------
RTS|     12.384|     13.615|     33.923|       0|     0|    
00:00:32/00:00:32
root@domain.hid:~#  /usr/xenomai/bin/xeno-test -s -h -T 20
xeno-test: started -s -h -T 20
withBusybox is 1
xeno-test: running tests
/usr/xenomai/bin/xeno-test: eval: line 1: -h: not found

Tue May 18 20:59:04 UTC 2010
running: /usr/xenomai/bin/xeno-config --verbose
xeno-config --verbose
         --version="2.5.3"
         --cc="arm-angstrom-linux-gnueabi-gcc -march=armv7-a 
-mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp"
         --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 -lr
t "
         --library-dir="/usr/xenomai/lib"

Tue May 18 20:59:04 UTC 2010
running: /usr/xenomai/bin/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.13.2 (2010-05-18 15:45:51 PDT) multi-call binary
Linux beagleboard 2.6.31-omap1 #1 Sun Jul 25 16:58:55 PDT 2010 armv7l 
unknown

module-init-tools      3.4
Modules Loaded         omap2_mcspi

Tue May 18 20:59:04 UTC 2010
running: cat /proc/cpuinfo
Processor       : ARMv7 Processor rev 3 (v7l)
BogoMIPS        : 498.07
Features        : swp half thumb fastmult vfp edsp neon vfpv3
CPU implementer : 0x41
CPU architecture: 7
CPU variant     : 0x1
CPU part        : 0xc08
CPU revision    : 3

Hardware        : OMAP3 Beagle Board
Revision        : 0020
Serial          : 0000000000000000

Tue May 18 20:59:04 UTC 2010
running: md5sum /proc/cpuinfo # cpuinfo fingerprint
6f0a1a5525e65155ee727ef0c3403ba9  /proc/cpuinfo

Tue May 18 20:59:04 UTC 2010
running: cat /proc/ipipe/Linux
        +----- Handling ([A]ccepted, [G]rabbed, [W]ired, [D]iscarded)
        |+---- Sticky
        ||+--- Locked
        |||+-- Exclusive
        ||||+- Virtual
[IRQ]  |||||
    0:  A....
    1:  A....
... IRQ counts, values are the same ...
  401:  A....
  416:  G...V
  417:  G...V
[Domain info]
id=0x00000000
priority=100

Tue May 18 20:59:04 UTC 2010
running: cat /proc/ipipe/Xenomai
        +----- Handling ([A]ccepted, [G]rabbed, [W]ired, [D]iscarded)
        |+---- Sticky
        ||+--- Locked
        |||+-- Exclusive
        ||||+- Virtual
[IRQ]  |||||
   37:  W..X.
  418:  W...V
[Domain info]
id=0x58454e4f
priority=topmost

Tue May 18 20:59:04 UTC 2010
running: cat /proc/ipipe/version
1.16-01

Tue May 18 20:59:05 UTC 2010
running: generate_loads 1
dd workload started, pids 905 stored in /var/lock/xeno-test.804.pids


Regards,
Bob Feretich

On 7/28/2010 12:44 AM, Gilles Chanteperdrix wrote:
> Bob Feretich wrote:
>>    On 2.6.33.......... (2.6.31 gives the same result)
>> root@domain.hid:~# /usr/xenomai/bin/latency
>> Xenomai or CONFIG_XENO_OPT_PERVASIVE disabled.
>> (modprobe xeno_nucleus?)
>>
>> BUT, neither are disabled... And, xeno_nucleus is built-in to the kernel.
> Ok. If you are using an EABI toolchain, did you pass --enable-arm-eabi
> to the configure script?
>
>

[-- Attachment #2: Type: text/html, Size: 12246 bytes --]

  reply	other threads:[~2010-07-29  1:25 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-07-28  0:26 [Xenomai-help] Xenomai xeno-test hangs on 2.6.31 on BeagleBoard, same works on 2.6.33 Bob Feretich
2010-07-28  0:34 ` Gilles Chanteperdrix
2010-07-28  1:57   ` Bob Feretich
2010-07-28  2:23   ` Bob Feretich
2010-07-28  7:44     ` Gilles Chanteperdrix
2010-07-29  1:25       ` Bob Feretich [this message]
2010-07-29  7:35         ` Gilles Chanteperdrix
2010-07-29 16:28           ` Bob Feretich
2010-07-29 16:38             ` Gilles Chanteperdrix

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4C50D87B.2010008@domain.hid \
    --to=bob.feretich@domain.hid \
    --cc=gilles.chanteperdrix@xenomai.org \
    --cc=xenomai@xenomai.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.