Xenomai xeno-test hangs on 2.6.31 on BeagleBoard, same works on 2.6.33
Below is the console log for 2.6.31. It hangs after starting the
workload...
Starting kernel ...
Uncompressing Linux.................................................................................................. ................................ done, booting the kernel.
Linux version 2.6.31-omap1 ([email protected]) (gcc version 4.3.3 (GCC) ) #4 Mon Jul 26 16:26:39 PDT 2010
CPU: ARMv7 Processor [411fc083] revision 3 (ARMv7), cr=10c53c7f
CPU: VIPT nonaliasing data cache, VIPT nonaliasing instruction cache
Machine: OMAP3 Beagle Board
Memory policy: ECC disabled, Data cache writeback
OMAP3430 ES3.0
SRAM: Mapped pa 0x40200000 to va 0xe3000000 size: 0x100000
Built 1 zonelists in Zone order, mobility grouping on. Total pages: 65024
Kernel command line: console=ttyS2,115200n8 ip=192.168.1.81:192.168.1.80:192.168.1.1:255.255.255.0:beagleboard:eth0:o ff root=/dev/nfs rw nfsroot=192.168.1.80:/home/Bob/NFSROOT,nolock,rsize=1024,wsize=1024 rootwait PID hash table entries: 1024 (order: 10, 4096 bytes)
Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
Memory: 128MB 128MB = 256MB total
Memory: 255360KB available (3580K code, 415K data, 136K init, 0K highmem)
NR_IRQS:402
Clocking rate (Crystal/Core/MPU): 26.0/332/500 MHz
Reprogramming SDRC clock to 332000000 Hz
GPMC revision 5.0
IRQ: Found an INTC at 0xd8200000 (revision 4.0) with 96 interrupts
Total of 96 interrupts on 1 active controller
OMAP34xx GPIO hardware version 2.5
OMAP clockevent source: GPTIMER1 at 13000000 Hz
I-pipe 1.16-01: pipeline enabled.
Console: colour dummy device 80x30
Calibrating delay loop... 498.07 BogoMIPS (lpj=2490368)
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
regulator: core version 0.5
NET: Registered protocol family 16
Found NAND on CS0
Registering NAND on CS0
OMAP DMA hardware revision 4.0
bio: create slab <bio-0> at 0i2c_omap i2c_omap.1: bus 1 rev3.12 at 2600 kHz
twl4030: PIH (irq 7) chaining IRQs 368..375
twl4030: power (irq 373) chaining IRQs 376..383
twl4030: gpio (irq 368) chaining IRQs 384..401
regulator: VMMC1: 1850 <--> 3150 mV normal standby
regulator: VDAC: 1800 mV normal standby
regulator: VUSB1V5: 1500 mV normal standby
regulator: VUSB1V8: 1800 mV normal standby
regulator: VUSB3V1: 3100 mV normal standby
regulator: VPLL2: 1800 mV normal standby
regulator: VSIM: 1800 <--> 3000 mV normal standbyi2c_omap i2c_omap.3: bus 3 rev3.12 at 100 kHz
SCSI subsystem initializedtwl4030_usb twl4030_usb: Initialized TWL4030 USB module
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usbmusb_hdrc: version 6.0, musb-dma, otg (peripheral+host), debug=0musb_hdrc: USB OTG mode controller at d80ab000 using DMA, IRQ 92
NET: Registered protocol family 2
IP route cache hash table entries: 2048 (order: 1, 8192 bytes)
TCP established hash table entries: 8192 (order: 4, 65536 bytes)
TCP bind hash table entries: 8192 (order: 3, 32768 bytes)
TCP: Hash tables configured (established 8192 bind 8192)
TCP reno registered
NET: Registered protocol family 1
I-pipe: Domain Xenomai registered.
Xenomai: hal/arm started.
Xenomai: scheduling class idle registered.
Xenomai: scheduling class rt registered.
Xenomai: real-time nucleus v2.5.3 (Hordes Of Locusts) loaded.
Xenomai: starting native API services.
Xenomai: starting POSIX services.
Xenomai: starting RTDM services.
VFS: Disk quotas dquot_6.5.2
Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
JFFS2 version 2.2. (NAND) �© 2001-2006 Red Hat, Inc.
msgmni has been set to 499
alg: No test for stdrng (krng)
Block layer SCSI generic (bsg) driver version 0.4 loaded (major 253)
io scheduler noop registered
io scheduler anticipatory registered (default)
io scheduler deadline registered
io scheduler cfq registered
Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
serial8250.0: ttyS0 at MMIO 0x4806a000 (irq = 72) is a ST16654
serial8250.1: ttyS1 at MMIO 0x4806c000 (irq = 73) is a ST16654
serial8250.2: ttyS2 at MMIO 0x49020000 (irq = 74) is a ST16654
console [ttyS2] enabled
brd: module loaded
loop: module loaded
i2c /dev entries driver
pegasus: v0.6.14 (2006/09/27), Pegasus/Pegasus II USB Ethernet driver
usbcore: registered new interface driver pegasus
usbcore: registered new interface driver asix
usbcore: registered new interface driver cdc_ether
usbcore: registered new interface driver net1080
usbcore: registered new interface driver cdc_subset
usbcore: registered new interface driver zaurus
usbmon: debugfs is not availableehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
ehci-omap ehci-omap.0: OMAP-EHCI Host Controller
ehci-omap ehci-omap.0: new USB bus registered, assigned bus number 1
ehci-omap ehci-omap.0: irq 77, io mem 0x48064800
ehci-omap ehci-omap.0: USB 2.0 started, EHCI 1.00
usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
usb usb1: Product: OMAP-EHCI Host Controller
usb usb1: Manufacturer: Linux 2.6.31-omap1 ehci_hcd
usb usb1: SerialNumber: ehci-omap.0
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 3 ports detectedg_ether gadget: using random self ethernet addressg_ether gadget: using random host ethernet address
usb0: MAC 22:04:5b:1d:e9:ea
usb0: HOST MAC 2e:a8:a3:51:23:88g_ether gadget: Ethernet Gadget, version: Memorial Day 2008g_ether gadget: g_ether readymusb_hdrc musb_hdrc: MUSB HDRC host drivermusb_hdrc musb_hdrc: new USB bus registered, assigned bus number 2
usb usb2: New USB device found, idVendor=1d6b, idProduct=0002
usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
usb usb2: Product: MUSB HDRC host driver
usb usb2: Manufacturer: Linux 2.6.31-omap1 musb-hcd
usb usb2: SerialNumber: musb_hdrc
usb usb2: configuration #1 chosen from 1 choice
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 1 port detectedtwl4030_rtc twl4030_rtc: rtc core: registered twl4030_rtc as rtc0
mmci-omap-hs mmci-omap-hs.0: Failed to get debounce clock
TCP cubic registered
NET: Registered protocol family 17
NET: Registered protocol family 15
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
Power Management for TI OMAP3.
VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 1regulator_init_complete: incomplete constraints, leaving VDVI onregulator_init_complete: incomplete constraints, leaving VDAC ontwl4030_rtc twl4030_rtc: setting system clock to 2010-05-18 20:59:16 UTC (1274216356)
usb 1-2: new high speed USB device using ehci-omap and address 2
mmc0: new high speed SDHC card at address 856e
mmcblk0: mmc0:856e SD04G 3.69 GiB
mmcblk0:
usb 1-2: New USB device found, idVendor=0b95, idProduct=7720
usb 1-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
usb 1-2: Product: AX88772
usb 1-2: Manufacturer: ASIX Elec. Corp.
usb 1-2: SerialNumber: 000001
usb 1-2: configuration #1 chosen from 1 choice
p1 p2
eth0: register 'asix' at usb-ehci-omap.0-2, ASIX AX88772 USB 2.0 Ethernet, 00:50:b6:05:d2:0c
eth0: link up, 100Mbps, half-duplex, lpa 0x40A1
eth0: link up, 100Mbps, half-duplex, lpa 0x40A1
IP-Config: Complete:
device=eth0, addr=192.168.1.81, mask=255.255.255.0, gw=192.168.1.1,
host=beagleboard, domain=, nis-domain=(none),
bootserver=192.168.1.80, rootserver=192.168.1.80, rootpath=Looking up port of RPC 100003/2 on 192.168.1.80
Looking up port of RPC 100005/1 on 192.168.1.80
VFS: Mounted root (nfs filesystem) on device 0:13.
Freeing init memory: 136K
INIT: version 2.86 booting
Please wait: booting...
Starting udev
udev: starting version 151
Remounting root file system...
Caching udev devnodes
Populating dev cachemv: cannot rename '/tmp/uname': No such file or directory
root: mount: mounting rootfs on / failed: No such file or directory
EXT2-fs: mmcblk0p2: couldn't mount because of unsupported optional features (4). kjournald starting. Commit interval 5 seconds
EXT3-fs warning: mounting unchecked fs, running e2fsck is recommended EXT3 FS on mmcblk0p2, internal journal
EXT3-fs: recovery complete.
EXT3-fs: mounted filesystem with writeback data mode.
NOT configuring network interfaces: / is an NFS mount
Starting to configure packages...
Nothing to be done
Finished to configure packages.
INIT: Entering runlevel: 5
Starting Dropbear SSH server: dropbear.
Starting syslogd/klogd: done
.-------.
| | .-.
| | |-----.-----.-----.| | .----..-----.-----.
| | | __ | ---'| '--.| .-'| | |
| | | | | |--- || --'| | | ' | | | |
'---'---'--'--'--. |-----''----''--' '-----'-'-'-'
-' |
'---'The Angstrom Distribution beagleboard ttyS2
Angstrom 2010.4-test-20100518 beagleboard ttyS2
beagleboard login: root
[email protected]:~# /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:50 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:50 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 #4 Mon Jul 26 16:26:39 PDT 2010 armv7l unknown
module-init-tools 3.4
Modules Loaded
Tue May 18 20:59:50 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:50 UTC 2010
running: md5sum /proc/cpuinfo # cpuinfo fingerprint 6f0a1a5525e65155ee727ef0c3403ba9 /proc/cpuinfo
Tue May 18 20:59:51 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:51 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:51 UTC 2010
running: cat /proc/ipipe/version
1.16-01
Tue May 18 20:59:51 UTC 2010
running: generate_loads 1
dd workload started, pids 804 stored in /var/lock/xeno-test.703.pids
************************************************************
Below is the same user binary running with the 2.6.33 kernel...
************************************************************
[email protected]:~# /usr/xenomai/bin/xeno-test -s -h -T 20 > ~/xeno-test-log.txt& Console log contents. 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:07 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 -lrt "
--library-dir="/usr/xenomai/lib"
Tue May 18 20:59:07 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.33 #3 Sun Jul 25 14:20:13 PDT 2010 armv7l unknown
module-init-tools 3.4
Modules Loaded
Tue May 18 20:59:08 UTC 2010
running: cat /proc/cpuinfo
Processor : ARMv7 Processor rev 3 (v7l)
BogoMIPS : 498.07
Features : swp half thumb fastmult vfp edsp 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:08 UTC 2010
running: md5sum /proc/cpuinfo # cpuinfo fingerprint a8fe0c59927140f286a50cc74b35f1d2 /proc/cpuinfo
Tue May 18 20:59:08 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....
2: 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:08 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:08 UTC 2010
running: cat /proc/ipipe/version
1.16-01
Tue May 18 20:59:08 UTC 2010
running: generate_loads 1
dd workload started, pids 763 stored in /var/lock/xeno-test.662.pids
Tue May 18 20:59:08 UTC 2010
running: cat /proc/interrupts
CPU0
7: 0 INTC TWL4030-PIH 11: 0 INTC prcm 12: 165 INTC DMA 37: 1690 INTC gp timer 56: 262 INTC i2c_omap 61: 0 INTC i2c_omap 72: 1 INTC serial idle 73: 1 INTC serial idle 74: 211 INTC serial idle, serial 77: 12161 INTC ehci_hcd:usb1 83: 126 INTC mmc0 92: 0 INTC musb_hdrc 93: 0 INTC musb_hdrc 378: 0 twl4030 twl4030_usb 384: 0 twl4030 mmc0
Err: 0
Tue May 18 20:59:08 UTC 2010
running: cat /proc/loadavg
0.99 0.52 0.19 2/40 769
Tue May 18 20:59:08 UTC 2010
running: cat /proc/meminfo MemTotal: 255720 kB MemFree: 244632 kB Buffers: 24 kB Cached: 4720 kB SwapCached: 0 kB Active: 3512 kB Inactive: 2684 kB Active(anon): 1680 kB Inactive(anon): 0 kB Active(file): 1832 kB Inactive(file): 2684 kB Unevictable: 0 kB Mlocked: 0 kB SwapTotal: 0 kB SwapFree: 0 kB Dirty: 12 kB Writeback: 0 kB AnonPages: 1480 kB Mapped: 1168 kB Shmem: 228 kB Slab: 3232 kB SReclaimable: 964 kB SUnreclaim: 2268 kB KernelStack: 320 kB PageTables: 180 kB NFS_Unstable: 0 kB Bounce: 0 kB WritebackTmp: 0 kB CommitLimit: 127860 kB Committed_AS: 4960 kB VmallocTotal: 647168 kB VmallocUsed: 592 kB VmallocChunk: 646536 kB
Tue May 18 20:59:08 UTC 2010
running: cat /proc/xenomai/acct
0 0 0 0 0 00500080 82019860172 82010806172 82010806172 ROOT 0 0 0 1666 0 00000000 82019860172 7931615 7931615 IRQ37: [timer]
Tue May 18 20:59:08 UTC 2010
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 18 20:59:08 UTC 2010
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 18 20:59:08 UTC 2010
running: cat /proc/xenomai/hal
1.16-01
Tue May 18 20:59:08 UTC 2010
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 18 20:59:08 UTC 2010
running: cat /proc/xenomai/irq
IRQ CPU0
37: 1687 [timer]
418: 0 [virtual]
Tue May 18 20:59:08 UTC 2010
running: cat /proc/xenomai/latency
9538
Tue May 18 20:59:08 UTC 2010
running: cat /proc/xenomai/sched
CPU PID CLASS PRI TIMEOUT TIMEBASE STAT NAME 0 0 idle -1 - master R ROOT
Tue May 18 20:59:09 UTC 2010
running: cat /proc/xenomai/stat
CPU PID MSW CSW PF STAT %CPU NAME 0 0 0 0 0 00500080 99.9 ROOT 0 0 0 1699 0 00000000 0.1 IRQ37: [timer]
Tue May 18 20:59:09 UTC 2010
running: cat /proc/xenomai/timebases
NAME RESOLUTION JIFFIES STATUS
master 1 n/a enabled,set
Tue May 18 20:59:09 UTC 2010
running: cat /proc/xenomai/timer status=on:setup=76:clock=1071532788:timerdev=gp timer:clockdev=gp timer
Tue May 18 20:59:09 UTC 2010
running: cat /proc/xenomai/version
2.5.3
Tue May 18 20:59:09 UTC 2010
running: cat /proc/xenomai/interfaces/native
0
Tue May 18 20:59:09 UTC 2010
running: cat /proc/xenomai/interfaces/posix
0
Tue May 18 20:59:09 UTC 2010
running: cat /proc/xenomai/interfaces/rtdm
0
Tue May 18 20:59:09 UTC 2010
running: cat /proc/xenomai/interfaces/sys
0
Tue May 18 20:59:09 UTC 2010
running: cat /proc/xenomai/registry/usage
slots=512:used=1:exported=0
Tue May 18 20:59:09 UTC 2010
running: cat /proc/xenomai/rtdm/fildes
total=128:open=0:free=128
Tue May 18 20:59:09 UTC 2010
running: cat /proc/xenomai/rtdm/named_devices
Hash Name Driver /proc
24 rttest-timerbench0 xeno_timerbench rttest-timerbench0 55 rttest-switchtest0 xeno_switchtest rttest-switchtest0
Tue May 18 20:59:09 UTC 2010
running: cat /proc/xenomai/rtdm/open_fildes
Index Locked Device Owner [PID]
Tue May 18 20:59:09 UTC 2010
running: cat /proc/xenomai/rtdm/protocol_devices
Hash ProtocolFamily:SocketType Driver /proc
Tue May 18 20:59:09 UTC 2010
running: cat /proc/xenomai/timerstat/master
CPU SCHEDULED FIRED TIMEOUT INTERVAL HANDLER NAME 0 6035 1752 7811999 - NULL [host-timer]
Tue May 18 20:59:09 UTC 2010
running: top
[H[JMem: 11256K used, 244464K free, 0K shrd, 24K buff, 4728K cached
CPU: 40% usr 60% sys 0% nic 0% idle 0% io 0% irq 0% sirq
Load average: 0.99 0.52 0.19 2/42 843
[7m PID PPID USER STAT VSZ %MEM %CPU COMMAND[0m
763 1 root R 2608 1% 92% dd if /dev/zero of /dev/null 843 842 root R 2608 1% 8% top 657 1 root S 2788 1% 0% -sh 653 1 root S 2672 1% 0% /sbin/syslogd -n -C64 -m 20 688 662 root S 2612 1% 0% /bin/sh
/usr/xenomai/bin/xeno-test -s
662 657 root S 2612 1% 0% /bin/sh/usr/xenomai/bin/xeno-test -s
Tue May 18 20:59:09 UTC 2010
running: ./run -- -s -h -T 20 -t0 # latency
*
*
* Type ^C to stop this application.
*
*
Xenomai or CONFIG_XENO_OPT_PERVASIVE disabled.
(modprobe xeno_nucleus?)
Tue May 18 20:59:11 UTC 2010
running: ./run -- -s -h -T 20 -t1 # latency
*
*
* Type ^C to stop this application.
*
*
Xenomai or CONFIG_XENO_OPT_PERVASIVE disabled.
(modprobe xeno_nucleus?)
Tue May 18 20:59:12 UTC 2010
running: ./run -- -s -h -T 20 -t2 # latency
*
*
* Type ^C to stop this application.
*
*
Xenomai or CONFIG_XENO_OPT_PERVASIVE disabled.
(modprobe xeno_nucleus?)
Tue May 18 20:59:13 UTC 2010
running: ./run -- -T 120 # switchtest
*
*
* Type ^C to stop this application.
*
*
Xenomai or CONFIG_XENO_OPT_PERVASIVE disabled.
(modprobe xeno_nucleus?)/usr/xenomai/bin/xeno-test: cd: line 1: can't cd to /usr/xenomai/share/xenomai/testsuite/switchbench
Tue May 18 20:59:14 UTC 2010
running: ./run -- -h # switchbench /usr/xenomai/bin/xeno-test: eval: line 1: ./run: not found
Tue May 18 20:59:14 UTC 2010
running: ./run -- -p 10 -n -l 1000 # cyclictest
*
*
* Type ^C to stop this application.
*
*
Xenomai or CONFIG_XENO_OPT_PERVASIVE disabled.
(modprobe xeno_nucleus?)
Tue May 18 20:59:15 UTC 2010
running: cat /proc/interrupts
CPU0
7: 0 INTC TWL4030-PIH 11: 0 INTC prcm 12: 180 INTC DMA 37: 2344 INTC gp timer 56: 262 INTC i2c_omap 61: 0 INTC i2c_omap 72: 1 INTC serial idle 73: 1 INTC serial idle 74: 227 INTC serial idle, serial 77: 15403 INTC ehci_hcd:usb1 83: 201 INTC mmc0 92: 0 INTC musb_hdrc 93: 0 INTC musb_hdrc 378: 0 twl4030 twl4030_usb 384: 0 twl4030 mmc0
Err: 0
Tue May 18 20:59:15 UTC 2010
running: cat /proc/loadavg
1.07 0.55 0.20 2/40 1256
Tue May 18 20:59:15 UTC 2010
running: cat /proc/meminfo MemTotal: 255720 kB MemFree: 243732 kB Buffers: 24 kB Cached: 5460 kB SwapCached: 0 kB Active: 3704 kB Inactive: 3236 kB Active(anon): 1688 kB Inactive(anon): 0 kB Active(file): 2016 kB Inactive(file): 3236 kB Unevictable: 0 kB Mlocked: 0 kB SwapTotal: 0 kB SwapFree: 0 kB Dirty: 4 kB Writeback: 0 kB AnonPages: 1484 kB Mapped: 1168 kB Shmem: 232 kB Slab: 3348 kB SReclaimable: 1016 kB SUnreclaim: 2332 kB KernelStack: 328 kB PageTables: 180 kB NFS_Unstable: 0 kB Bounce: 0 kB WritebackTmp: 0 kB CommitLimit: 127860 kB Committed_AS: 4964 kB VmallocTotal: 647168 kB VmallocUsed: 592 kB VmallocChunk: 646536 kB
Tue May 18 20:59:15 UTC 2010
running: cat /proc/xenomai/acct
0 0 0 0 0 00500080 6210005610 6206070380 88546642321 ROOT 0 0 0 2321 0 00000000 6210005610 3506769 11649615 IRQ37: [timer]
Tue May 18 20:59:15 UTC 2010
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 18 20:59:15 UTC 2010
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 18 20:59:15 UTC 2010
running: cat /proc/xenomai/hal
1.16-01
Tue May 18 20:59:15 UTC 2010
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 18 20:59:15 UTC 2010
running: cat /proc/xenomai/irq
IRQ CPU0
37: 2341 [timer]
418: 0 [virtual]
Tue May 18 20:59:15 UTC 2010
running: cat /proc/xenomai/latency
9538
Tue May 18 20:59:15 UTC 2010
running: cat /proc/xenomai/sched
CPU PID CLASS PRI TIMEOUT TIMEBASE STAT NAME 0 0 idle -1 - master R ROOT
Tue May 18 20:59:15 UTC 2010
running: cat /proc/xenomai/stat
CPU PID MSW CSW PF STAT %CPU NAME 0 0 0 0 0 00500080 99.9 ROOT 0 0 0 2353 0 00000000 0.1 IRQ37: [timer]
Tue May 18 20:59:15 UTC 2010
running: cat /proc/xenomai/timebases
NAME RESOLUTION JIFFIES STATUS
master 1 n/a enabled,set
Tue May 18 20:59:15 UTC 2010
running: cat /proc/xenomai/timer status=on:setup=76:clock=1156507211:timerdev=gp timer:clockdev=gp timer
Tue May 18 20:59:15 UTC 2010
running: cat /proc/xenomai/version
2.5.3
Tue May 18 20:59:15 UTC 2010
running: cat /proc/xenomai/interfaces/native
0
Tue May 18 20:59:15 UTC 2010
running: cat /proc/xenomai/interfaces/posix
0
Tue May 18 20:59:15 UTC 2010
running: cat /proc/xenomai/interfaces/rtdm
0
Tue May 18 20:59:15 UTC 2010
running: cat /proc/xenomai/interfaces/sys
0
Tue May 18 20:59:15 UTC 2010
running: cat /proc/xenomai/registry/usage
slots=512:used=1:exported=0
Tue May 18 20:59:15 UTC 2010
running: cat /proc/xenomai/rtdm/fildes
total=128:open=0:free=128
Tue May 18 20:59:15 UTC 2010
running: cat /proc/xenomai/rtdm/named_devices
Hash Name Driver /proc
24 rttest-timerbench0 xeno_timerbench rttest-timerbench0 55 rttest-switchtest0 xeno_switchtest rttest-switchtest0
Tue May 18 20:59:15 UTC 2010
running: cat /proc/xenomai/rtdm/open_fildes
Index Locked Device Owner [PID]
Tue May 18 20:59:16 UTC 2010
running: cat /proc/xenomai/rtdm/protocol_devices
Hash ProtocolFamily:SocketType Driver /proc
Tue May 18 20:59:16 UTC 2010
running: cat /proc/xenomai/timerstat/master
CPU SCHEDULED FIRED TIMEOUT INTERVAL HANDLER NAME 0 6690 2407 7816307 - NULL [host-timer]
Tue May 18 20:59:16 UTC 2010
running: top
[H[JMem: 12088K used, 243632K free, 0K shrd, 24K buff, 5468K cached
CPU: 18% usr 81% sys 0% nic 0% idle 0% io 0% irq 0% sirq
Load average: 1.07 0.55 0.20 2/42 1330
[7m PID PPID USER STAT VSZ %MEM %CPU COMMAND[0m
763 1 root R 2608 1% 91% dd if /dev/zero of /dev/null 1330 1329 root R 2608 1% 9% top 657 1 root S 2788 1% 0% -sh 653 1 root S 2672 1% 0% /sbin/syslogd -n -C64 -m 20 688 662 root S 2612 1% 0% /bin/sh /usr/xenomai/bin/xeno-test -s 662 657 root S 2612 1% 0% /bin/sh /usr/xenomai/bin/xeno-test -s 763 root 2608 R dd if /dev/zero of /dev/null 1334 root 2612 S grep 763
xeno-test: finished
Any idea what's causing this?
Regards,
Bob Feretich
Quoted 3 lines · Bob Feretich
xeno-test: finished
Any idea what's causing this?
What is causing what? From the last message, xeno-test appears to have finished. What happens if you run the "latency" test?
Signature · 1 line
Gilles.
There are two console logs in my previous post.
Only the second one (the 2.6.33 working one) shows the finished message.
The below comment separates the two logs.
************************************************************
Below is the same user binary running with the 2.6.33 kernel...
************************************************************
Regards,
Bob feretich
Quoted 7 lines · Gilles Chanteperdrix
Quoted 3 lines · Bob Feretich
xeno-test: finished
Any idea what's causing this?
What is causing what? From the last message, xeno-test appears to have finished. What happens if you run the "latency" test?
On 2.6.33.......... (2.6.31 gives the same result)
[email protected]:~# /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. From .config.........CONFIG_XENOMAI=yCONFIG_XENO_GENERIC_STACKPOOL=yCONFIG_XENO_FASTSYNCH_DEP=yCONFIG_XENO_FASTSYNCH=yCONFIG_XENO_OPT_NUCLEUS=yCONFIG_XENO_OPT_PERVASIVE=yCONFIG_XENO_OPT_PRIOCPL=yCONFIG_XENO_OPT_PIPELINE_HEAD=y
# CONFIG_XENO_OPT_SCHED_CLASSES is not set CONFIG_XENO_OPT_PIPE=yCONFIG_XENO_OPT_PIPE_NRDEV=32 CONFIG_XENO_OPT_REGISTRY_NRSLOTS=512 CONFIG_XENO_OPT_SYS_HEAPSZ=256 CONFIG_XENO_OPT_SYS_STACKPOOLSZ=128 CONFIG_XENO_OPT_SEM_HEAPSZ=12 CONFIG_XENO_OPT_GLOBAL_SEM_HEAPSZ=12CONFIG_XENO_OPT_STATS=y
# CONFIG_XENO_OPT_DEBUG is not set
# CONFIG_XENO_OPT_SHIRQ is not set
#
# Timing
#
# CONFIG_XENO_OPT_TIMING_PERIODIC is not setCONFIG_XENO_OPT_TIMING_VIRTICK=1000CONFIG_XENO_OPT_TIMING_SCHEDLAT=0
#
# Scalability
#
# CONFIG_XENO_OPT_SCALABLE_SCHED is not setCONFIG_XENO_OPT_TIMER_LIST=y
# CONFIG_XENO_OPT_TIMER_HEAP is not set
# CONFIG_XENO_OPT_TIMER_WHEEL is not set
#
# Machine
#CONFIG_IPIPE_WANT_PREEMPTIBLE_SWITCH=yCONFIG_XENO_HW_FPU=yCONFIG_XENO_HW_UNLOCKED_SWITCH=y
#
# Interfaces
#CONFIG_XENO_SKIN_NATIVE=yCONFIG_XENO_OPT_NATIVE_PERIOD=0CONFIG_XENO_OPT_NATIVE_PIPE=yCONFIG_XENO_OPT_NATIVE_PIPE_BUFSZ=1024CONFIG_XENO_OPT_NATIVE_SEM=yCONFIG_XENO_OPT_NATIVE_EVENT=yCONFIG_XENO_OPT_NATIVE_MUTEX=yCONFIG_XENO_OPT_NATIVE_COND=yCONFIG_XENO_OPT_NATIVE_QUEUE=yCONFIG_XENO_OPT_NATIVE_BUFFER=yCONFIG_XENO_OPT_NATIVE_HEAP=yCONFIG_XENO_OPT_NATIVE_ALARM=yCONFIG_XENO_OPT_NATIVE_MPS=y
# CONFIG_XENO_OPT_NATIVE_INTR is not setCONFIG_XENO_SKIN_POSIX=yCONFIG_XENO_OPT_POSIX_PERIOD=0
# CONFIG_XENO_OPT_POSIX_SHM is not set
# CONFIG_XENO_OPT_POSIX_INTR is not set
# CONFIG_XENO_OPT_POSIX_SELECT is not set
# CONFIG_XENO_OPT_DEBUG_POSIX is not set
# CONFIG_XENO_SKIN_PSOS is not set
# CONFIG_XENO_SKIN_UITRON is not set
# CONFIG_XENO_SKIN_VRTX is not set
# CONFIG_XENO_SKIN_VXWORKS is not set
# CONFIG_XENO_SKIN_RTAI is not set
# CONFIG_XENO_OPT_NOWARN_DEPRECATED is not setCONFIG_XENO_SKIN_RTDM=yCONFIG_XENO_OPT_RTDM_PERIOD=0CONFIG_XENO_OPT_RTDM_FILDES=128
# CONFIG_XENO_OPT_RTDM_SELECT is not set
#
# Drivers
#
#
# Serial drivers
#
# CONFIG_XENO_DRIVERS_16550A is not set
#
# Testing drivers
#
# CONFIG_XENO_DRIVERS_TESTING_LEGACY_NAMES is not set CONFIG_XENO_DRIVERS_TIMERBENCH=y
# CONFIG_XENO_DRIVERS_KLATENCY is not set
# CONFIG_XENO_DRIVERS_IRQBENCH is not set CONFIG_XENO_DRIVERS_SWITCHTEST=y
# CONFIG_XENO_DRIVERS_SIGTEST is not set
# CONFIG_XENO_DRIVERS_RTDMTEST is not set
#
# CAN drivers
#
# CONFIG_XENO_DRIVERS_CAN is not set
#
# ANALOGY drivers
#
# CONFIG_XENO_DRIVERS_ANALOGY is not set
#
# Real-time IPC drivers
#
# CONFIG_XENO_DRIVERS_RTIPC is not setCONFIG_FREEZER=y
Regards,
Bob Feretich
Quoted 7 lines · Gilles Chanteperdrix
Quoted 3 lines · Bob Feretich
xeno-test: finished
Any idea what's causing this?
What is causing what? From the last message, xeno-test appears to have finished. What happens if you run the "latency" test?
Quoted 6 lines · Bob Feretich
On 2.6.33.......... (2.6.31 gives the same result)
[email protected]:~# /usr/xenomai/bin/latency Xenomai or CONFIG_XENO_OPT_PERVASIVE disabled. (modprobe xeno_nucleus?)BUT, neither are disabled... And,
xeno_nucleusis built-in to the kernel.
Ok. If you are using an EABI toolchain, did you pass --enable-arm-eabi to the configure script?
Signature · 1 line
Gilles.
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
[email protected]:~# 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 [email protected]:~# /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 ---|-----------|-----------|-----------|--------|------|------------------------- RTS| 12.384| 13.615| 33.923| 0| 0| 00:00:32/00:00:32 [email protected]:~# /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
Quoted 11 lines · Gilles Chanteperdrix
Quoted 6 lines · Bob Feretich
On 2.6.33.......... (2.6.31 gives the same result)
[email protected]:~# /usr/xenomai/bin/latency Xenomai or CONFIG_XENO_OPT_PERVASIVE disabled. (modprobe xeno_nucleus?)BUT, neither are disabled... And,
xeno_nucleusis built-in to the kernel.Ok. If you are using an EABI toolchain, did you pass --enable-arm-eabi to the configure script?
Quoted 3 lines · Bob Feretich
OK, --enable-arm-eabi fixed the latency program, but xeno-test still
hangs atgenerate_loadson 2.6.31 (below). xeno-test worked on 2.6.33 .
We have been having issues with xeno-test for a long time due to differences of behaviour between shells. Do not try xeno-test.
Signature · 1 line
Gilles.
Then what is the recommended set of test to run to determine if
Xenomai is fully and properly installed?
Regards,
Bob Feretich
Quoted 7 lines · Gilles Chanteperdrix
Quoted 3 lines · Bob Feretich
OK, --enable-arm-eabi fixed the latency program, but xeno-test still
hangs atgenerate_loadson 2.6.31 (below). xeno-test worked on 2.6.33 .We have been having issues with xeno-test for a long time due to differences of behaviour between shells. Do not try xeno-test.
Quoted 2 lines · Bob Feretich
Then what is the recommended set of test to run to determine if
Xenomai is fully and properly installed?
We validate Xenomai by running the latency test while running a script called "dohell" in order to apply some load on the board, which requires installing a few things on the board (LTP, netcat, the dohell script). I described the procedure in the following mail:
https://mail.gna.org/public/xenomai-help/2010-07/msg00184.html
To have some basic validation, you may run the tests from the testsuite one by one.
I am currently working on a replacement for xeno-test, which would enable us to automate the procedure.
Signature · 1 line
Gilles.