Skip to contentSkip to conversation

Problem with Xeno-test: "Something died a XXX or"

Xenomai-help Mathieu JOINIE-MAURIN 3 participants 8 messages Feb 10, 2009 – Feb 2, 2010 1 message not in the archive

lore
Share & tools
lore
#0 lore raw

Hello,

I try to install Xenomai on Ubunut Hardy 8.04. Versions used are:
- xenomai-2.4.6.1
- linux-kernel 2-6.24.6
- adeos patch: adeos-ipipe-2.6.24-x86-2.0-07.patch

I tried many .config files but it is always the same problem with Xeno-test. It seems that there is a problem with the "generate load" part of the script. Attached, are two files. One is xeno-test without modifying it. The other is xeno-test results but with the "generate load'" part removed.

Latency (in user space and kernel) seem to be great. Around 7 us in user-space and 4 us in kernel for worst case.

Thanks in advance for your help,

Mathieu

      __________________________________________________________________________________________________

Ne pleurez pas si votre Webmail ferme ! Récupérez votre historique sur Yahoo! Mail ! http://fr.docs.yahoo.com/mail/transfert_mails.html

xeno-test: started
withBusybox is 0
xeno-test: running tests

mardi 10 février 2009, 10:53:24 (UTC+0100)
running: ./xeno-config --verbose
xeno-config --verbose

        --version="2.4.6.1"
        --cc="gcc"
        --arch="x86"
        --prefix="/usr/xenomai"
        --xeno-cflags="-I/usr/xenomai/include -D_GNU_SOURCE -D_REENTRANT -D__XENO__"
        --xeno-ldflags="-L/usr/xenomai/lib -lpthread "
        --posix-cflags="-I/usr/xenomai/include -I/usr/xenomai/include/posix -D_GNU_SOURCE -D_REENTRANT -D__XENO__"
        --posix-ldflags="-Wl,@/usr/xenomai/lib/posix.wrappers -L/usr/xenomai/lib -lpthread_rt -lpthread -lrt "
        --library-dir="/usr/xenomai/lib"

mardi 10 février 2009, 10:53:24 (UTC+0100)
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.

Linux ubuntu 2.6.24.6rt #1 Mon Feb 9 18:49:41 CET 2009 i686 GNU/Linux

Gnu C                  4.2.4
Gnu make               3.81
util-linux             ng 2.13.1)
mount                  ng 2.13.1)
module-init-tools      3.3-pre11
e2fsprogs              1.40.8
PPP                    2.4.4
Linux C Library        > libc.2.7
Dynamic linker (ldd)   2.7
Procps                 3.2.7
Net-tools              1.60
Console-tools          0.2.3
Sh-utils               6.10
Modules Loaded         ipv6 af_packet rfcomm l2cap bluetooth ppdev iptable_filter ip_tables x_tables sbp2 lp loop hisax crc_ccitt isdn slhc com20020_pci com20020 arcnet intel_agp agpgart e7xxx_edac dcdbas edac_core parport_pc iTCO_wdt iTCO_vendor_support shpchp pci_hotplug parport evdev pcspkr usbhid hid sg sr_mod cdrom sd_mod ata_piix floppy ata_generic libata ohci1394 scsi_mod ieee1394 ehci_hcd e1000 uhci_hcd usbcore fuse

mardi 10 février 2009, 10:53:24 (UTC+0100)
running: cat /proc/cpuinfo
processor : 0
vendor_id : GenuineIntel
cpu family : 15
model : 2
model name : Intel(R) Xeon(TM) CPU 2.40GHz
stepping : 9
cpu MHz : 2392.352
cache size : 512 KB
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 2
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe pebs bts cid xtpr
bogomips : 4786.92
clflush size : 64

mardi 10 février 2009, 10:53:24 (UTC+0100)
running: md5sum /proc/cpuinfo # cpuinfo fingerprint 035ae57df844bf837b7d1208e7f8b27c /proc/cpuinfo CONFIG_PREEMPT_NOTIFIERS=y
# CONFIG_PREEMPT_NONE is not set CONFIG_PREEMPT_VOLUNTARY=y
# CONFIG_PREEMPT is not set
CONFIG_IPIPE=y
CONFIG_IPIPE_DOMAINS=4 CONFIG_IPIPE_COMPAT=y
CONFIG_PM=y
# CONFIG_PM_LEGACY is not set
# CONFIG_PM_DEBUG is not set
# CONFIG_PM_DISABLE_CONSOLE is not set CONFIG_ACPI=y
# CONFIG_ACPI_PROCFS is not set CONFIG_ACPI_PROCFS_POWER=y CONFIG_ACPI_SYSFS_POWER=y CONFIG_ACPI_PROC_EVENT=y
# CONFIG_ACPI_AC is not set
# CONFIG_ACPI_BATTERY is not set CONFIG_ACPI_BUTTON=y
# CONFIG_ACPI_VIDEO is not set
# CONFIG_ACPI_FAN is not set
# CONFIG_ACPI_DOCK is not set
# CONFIG_ACPI_PROCESSOR is not set
# CONFIG_ACPI_ASUS is not set
# CONFIG_ACPI_TOSHIBA is not set CONFIG_ACPI_CUSTOM_DSDT_INITRD=y CONFIG_ACPI_BLACKLIST_YEAR=0
# CONFIG_ACPI_DEBUG is not set CONFIG_ACPI_EC=y
CONFIG_ACPI_POWER=y
CONFIG_ACPI_SYSTEM=y
# CONFIG_ACPI_CONTAINER is not set
# CONFIG_ACPI_SBS is not set
# CONFIG_CPU_FREQ is not set
# CONFIG_IPIPE_DEBUG is not set
# CONFIG_DEBUG_SPINLOCK is not set
# CONFIG_DEBUG_SPINLOCK_SLEEP is not set

mardi 10 février 2009, 10:53:24 (UTC+0100)
running: cat /proc/ipipe/IShield

       +----- Handling ([A]ccepted, [G]rabbed, [W]ired, [D]iscarded)
       |+---- Sticky
       ||+--- Locked
       |||+-- Exclusive
       ||||+- Virtual
[IRQ]  |||||
   0:  G....
   1:  G....
   2:  G....
   3:  G....
   4:  G....
   5:  G....
   6:  G....
   7:  G....
   8:  G....
   9:  G....
  10:  G....
  11:  G....
  12:  G....
  13:  G....
  14:  G....
  15:  G....
  16:  G....
  17:  G....
  18:  G....
  19:  G....
  20:  G....
  21:  G....
  22:  G....
  23:  G....
  24:  G....
  25:  G....
  26:  G....
  27:  G....
  28:  G....
  29:  G....
  30:  G....
  31:  G....
  32:  G....
  33:  G....
  34:  G....
  35:  G....
  36:  G....
  37:  G....
  38:  G....
  39:  G....
  40:  G....
  41:  G....
  42:  G....
  43:  G....
  44:  G....
  45:  G....
  46:  G....
  47:  G....
  48:  G....
  49:  G....
  50:  G....
  51:  G....
  52:  G....
  53:  G....
  54:  G....
  55:  G....
  56:  G....
  57:  G....
  58:  G....
  59:  G....
  60:  G....
  61:  G....
  62:  G....
  63:  G....
  64:  G....
  65:  G....
  66:  G....
  67:  G....
  68:  G....
  69:  G....
  70:  G....
  71:  G....
  72:  G....
  73:  G....
  74:  G....
  75:  G....
  76:  G....
  77:  G....
  78:  G....
  79:  G....
  80:  G....
  81:  G....
  82:  G....
  83:  G....
  84:  G....
  85:  G....
  86:  G....
  87:  G....
  88:  G....
  89:  G....
  90:  G....
  91:  G....
  92:  G....
  93:  G....
  94:  G....
  95:  G....
  96:  G....
  97:  G....
  98:  G....
  99:  G....
 100:  G....
 101:  G....
 102:  G....
 103:  G....
 104:  G....
 105:  G....
 106:  G....
 107:  G....
 108:  G....
 109:  G....
 110:  G....
 111:  G....
 112:  G....
 113:  G....
 114:  G....
 115:  G....
 116:  G....
 117:  G....
 118:  G....
 119:  G....
 120:  G....
 121:  G....
 122:  G....
 123:  G....
 124:  G....
 125:  G....
 126:  G....
 127:  G....
 128:  G....
 129:  G....
 130:  G....
 131:  G....
 132:  G....
 133:  G....
 134:  G....
 135:  G....
 136:  G....
 137:  G....
 138:  G....
 139:  G....
 140:  G....
 141:  G....
 142:  G....
 143:  G....
 144:  G....
 145:  G....
 146:  G....
 147:  G....
 148:  G....
 149:  G....
 150:  G....
 151:  G....
 152:  G....
 153:  G....
 154:  G....
 155:  G....
 156:  G....
 157:  G....
 158:  G....
 159:  G....
 160:  G....
 161:  G....
 162:  G....
 163:  G....
 164:  G....
 165:  G....
 166:  G....
 167:  G....
 168:  G....
 169:  G....
 170:  G....
 171:  G....
 172:  G....
 173:  G....
 174:  G....
 175:  G....
 176:  G....
 177:  G....
 178:  G....
 179:  G....
 180:  G....
 181:  G....
 182:  G....
 183:  G....
 184:  G....
 185:  G....
 186:  G....
 187:  G....
 188:  G....
 189:  G....
 190:  G....
 191:  G....
 192:  G....
 193:  G....
 194:  G....
 195:  G....
 196:  G....
 197:  G....
 198:  G....
 199:  G....
 200:  G....
 201:  G....
 202:  G....
 203:  G....
 204:  G....
 205:  G....
 206:  G....
 207:  G....
 208:  G....
 209:  G....
 210:  G....
 211:  G....
 212:  G....
 213:  G....
 214:  G....
 215:  G....
 216:  G....
 217:  G....
 218:  G....
 219:  G....
 220:  G....
 221:  G....
 222:  G....
 223:  G....
 224:  G....
 225:  G....
 226:  G....
 227:  G....
 228:  G....
 229:  G....
 230:  G....
 231:  G....
 232:  G....
 233:  G....
 234:  G....
 235:  G....
 236:  G....
 237:  G....
 238:  G....
 239:  G....
 240:  G....

[Domain info]
id=0x53484c44
priority=150

mardi 10 février 2009, 10:53:24 (UTC+0100)
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.L..
   4:  A.L..
   5:  A.L..
   6:  A....
   7:  A.L..
   8:  A....
   9:  A....
  10:  A.L..
  11:  A.L..
  12:  A.L..
  13:  A.L..
  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....
  85:  A....
  86:  A....
  87:  A....
  88:  A....
  89:  A....
  90:  A....
  91:  A....
  92:  A....
  93:  A....
  94:  A....
  95:  A....
  96:  A....
  97:  A....
  98:  A....
  99:  A....
 100:  A....
 101:  A....
 102:  A....
 103:  A....
 104:  A....
 105:  A....
 106:  A....
 107:  A....
 108:  A....
 109:  A....
 110:  A....
 111:  A....
 112:  A....
 113:  A....
 114:  A....
 115:  A....
 116:  A....
 117:  A....
 118:  A....
 119:  A....
 120:  A....
 121:  A....
 122:  A....
 123:  A....
 124:  A....
 125:  A....
 126:  A....
 127:  A....
 128:  A....
 129:  A....
 130:  A....
 131:  A....
 132:  A....
 133:  A....
 134:  A....
 135:  A....
 136:  A....
 137:  A....
 138:  A....
 139:  A....
 140:  A....
 141:  A....
 142:  A....
 143:  A....
 144:  A....
 145:  A....
 146:  A....
 147:  A....
 148:  A....
 149:  A....
 150:  A....
 151:  A....
 152:  A....
 153:  A....
 154:  A....
 155:  A....
 156:  A....
 157:  A....
 158:  A....
 159:  A....
 160:  A....
 161:  A....
 162:  A....
 163:  A....
 164:  A....
 165:  A....
 166:  A....
 167:  A....
 168:  A....
 169:  A....
 170:  A....
 171:  A....
 172:  A....
 173:  A....
 174:  A....
 175:  A....
 176:  A....
 177:  A....
 178:  A....
 179:  A....
 180:  A....
 181:  A....
 182:  A....
 183:  A....
 184:  A....
 185:  A....
 186:  A....
 187:  A....
 188:  A....
 189:  A....
 190:  A....
 191:  A....
 192:  A....
 193:  A....
 194:  A....
 195:  A....
 196:  A....
 197:  A....
 198:  A....
 199:  A....
 200:  A....
 201:  A....
 202:  A....
 203:  A....
 204:  A....
 205:  A....
 206:  A....
 207:  A....
 208:  A....
 209:  A....
 210:  A....
 211:  A....
 212:  A....
 213:  A....
 214:  A....
 215:  A....
 216:  A....
 217:  A....
 218:  A....
 219:  A....
 220:  A....
 221:  A....
 222:  A....
 223:  A....
 224:  A....
 230:  A....
 231:  A....
 232:  A....
 233:  A....
 239:  A....
 240:  A....
 256:  G...V
 257:  G...V
 259:  G...V

[Domain info]
id=0x00000000
priority=100

mardi 10 février 2009, 10:53:24 (UTC+0100)
running: cat /proc/ipipe/Xenomai

       +----- Handling ([A]ccepted, [G]rabbed, [W]ired, [D]iscarded)
       |+---- Sticky
       ||+--- Locked
       |||+-- Exclusive
       ||||+- Virtual
[IRQ]  |||||
 233:  W..X.
 258:  W...V

[Domain info]
id=0x58454e4f
priority=topmost

mardi 10 février 2009, 10:53:24 (UTC+0100)
running: cat /proc/ipipe/version
2.0-07

mardi 10 février 2009, 10:53:24 (UTC+0100)
running: generate_loads 1
dd workload started, pids 7129 stored in /var/lock/xeno-test.6985.pids
7129 pts/1 00:00:00 dd
something died a 7129 or
something died a 7129 or
something died a 7129 or
something died a 7129 or
something died a 7129 or
something died a 7129 or
something died a 7129 or
something died a 7129 or
something died a 7129 or
something died a 7129 or
something died a 7129 or

xeno-test: started
withBusybox is 0
xeno-test: running tests

mardi 10 février 2009, 11:04:02 (UTC+0100)
running: ./xeno-config --verbose
xeno-config --verbose

        --version="2.4.6.1"
        --cc="gcc"
        --arch="x86"
        --prefix="/usr/xenomai"
        --xeno-cflags="-I/usr/xenomai/include -D_GNU_SOURCE -D_REENTRANT -D__XENO__"
        --xeno-ldflags="-L/usr/xenomai/lib -lpthread "
        --posix-cflags="-I/usr/xenomai/include -I/usr/xenomai/include/posix -D_GNU_SOURCE -D_REENTRANT -D__XENO__"
        --posix-ldflags="-Wl,@/usr/xenomai/lib/posix.wrappers -L/usr/xenomai/lib -lpthread_rt -lpthread -lrt "
        --library-dir="/usr/xenomai/lib"

mardi 10 février 2009, 11:04:02 (UTC+0100)
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.

Linux ubuntu 2.6.24.6rt #1 Mon Feb 9 18:49:41 CET 2009 i686 GNU/Linux

Gnu C                  4.2.4
Gnu make               3.81
util-linux             ng 2.13.1)
mount                  ng 2.13.1)
module-init-tools      3.3-pre11
e2fsprogs              1.40.8
PPP                    2.4.4
Linux C Library        > libc.2.7
Dynamic linker (ldd)   2.7
Procps                 3.2.7
Net-tools              1.60
Console-tools          0.2.3
Sh-utils               6.10
Modules Loaded         ipv6 af_packet rfcomm l2cap bluetooth ppdev iptable_filter ip_tables x_tables sbp2 lp loop hisax crc_ccitt isdn slhc com20020_pci com20020 arcnet intel_agp agpgart e7xxx_edac dcdbas edac_core parport_pc iTCO_wdt iTCO_vendor_support shpchp pci_hotplug parport evdev pcspkr usbhid hid sg sr_mod cdrom sd_mod ata_piix floppy ata_generic libata ohci1394 scsi_mod ieee1394 ehci_hcd e1000 uhci_hcd usbcore fuse

mardi 10 février 2009, 11:04:02 (UTC+0100)
running: cat /proc/cpuinfo
processor : 0
vendor_id : GenuineIntel
cpu family : 15
model : 2
model name : Intel(R) Xeon(TM) CPU 2.40GHz
stepping : 9
cpu MHz : 2392.352
cache size : 512 KB
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 2
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe pebs bts cid xtpr
bogomips : 4786.92
clflush size : 64

mardi 10 février 2009, 11:04:02 (UTC+0100)
running: md5sum /proc/cpuinfo # cpuinfo fingerprint 035ae57df844bf837b7d1208e7f8b27c /proc/cpuinfo CONFIG_PREEMPT_NOTIFIERS=y
# CONFIG_PREEMPT_NONE is not set CONFIG_PREEMPT_VOLUNTARY=y
# CONFIG_PREEMPT is not set
CONFIG_IPIPE=y
CONFIG_IPIPE_DOMAINS=4 CONFIG_IPIPE_COMPAT=y
CONFIG_PM=y
# CONFIG_PM_LEGACY is not set
# CONFIG_PM_DEBUG is not set
# CONFIG_PM_DISABLE_CONSOLE is not set CONFIG_ACPI=y
# CONFIG_ACPI_PROCFS is not set CONFIG_ACPI_PROCFS_POWER=y CONFIG_ACPI_SYSFS_POWER=y CONFIG_ACPI_PROC_EVENT=y
# CONFIG_ACPI_AC is not set
# CONFIG_ACPI_BATTERY is not set CONFIG_ACPI_BUTTON=y
# CONFIG_ACPI_VIDEO is not set
# CONFIG_ACPI_FAN is not set
# CONFIG_ACPI_DOCK is not set
# CONFIG_ACPI_PROCESSOR is not set
# CONFIG_ACPI_ASUS is not set
# CONFIG_ACPI_TOSHIBA is not set CONFIG_ACPI_CUSTOM_DSDT_INITRD=y CONFIG_ACPI_BLACKLIST_YEAR=0
# CONFIG_ACPI_DEBUG is not set CONFIG_ACPI_EC=y
CONFIG_ACPI_POWER=y
CONFIG_ACPI_SYSTEM=y
# CONFIG_ACPI_CONTAINER is not set
# CONFIG_ACPI_SBS is not set
# CONFIG_CPU_FREQ is not set
# CONFIG_IPIPE_DEBUG is not set
# CONFIG_DEBUG_SPINLOCK is not set
# CONFIG_DEBUG_SPINLOCK_SLEEP is not set

mardi 10 février 2009, 11:04:02 (UTC+0100)
running: cat /proc/ipipe/IShield

       +----- Handling ([A]ccepted, [G]rabbed, [W]ired, [D]iscarded)
       |+---- Sticky
       ||+--- Locked
       |||+-- Exclusive
       ||||+- Virtual
[IRQ]  |||||
   0:  G....
   1:  G....
   2:  G....
   3:  G....
   4:  G....
   5:  G....
   6:  G....
   7:  G....
   8:  G....
   9:  G....
  10:  G....
  11:  G....
  12:  G....
  13:  G....
  14:  G....
  15:  G....
  16:  G....
  17:  G....
  18:  G....
  19:  G....
  20:  G....
  21:  G....
  22:  G....
  23:  G....
  24:  G....
  25:  G....
  26:  G....
  27:  G....
  28:  G....
  29:  G....
  30:  G....
  31:  G....
  32:  G....
  33:  G....
  34:  G....
  35:  G....
  36:  G....
  37:  G....
  38:  G....
  39:  G....
  40:  G....
  41:  G....
  42:  G....
  43:  G....
  44:  G....
  45:  G....
  46:  G....
  47:  G....
  48:  G....
  49:  G....
  50:  G....
  51:  G....
  52:  G....
  53:  G....
  54:  G....
  55:  G....
  56:  G....
  57:  G....
  58:  G....
  59:  G....
  60:  G....
  61:  G....
  62:  G....
  63:  G....
  64:  G....
  65:  G....
  66:  G....
  67:  G....
  68:  G....
  69:  G....
  70:  G....
  71:  G....
  72:  G....
  73:  G....
  74:  G....
  75:  G....
  76:  G....
  77:  G....
  78:  G....
  79:  G....
  80:  G....
  81:  G....
  82:  G....
  83:  G....
  84:  G....
  85:  G....
  86:  G....
  87:  G....
  88:  G....
  89:  G....
  90:  G....
  91:  G....
  92:  G....
  93:  G....
  94:  G....
  95:  G....
  96:  G....
  97:  G....
  98:  G....
  99:  G....
 100:  G....
 101:  G....
 102:  G....
 103:  G....
 104:  G....
 105:  G....
 106:  G....
 107:  G....
 108:  G....
 109:  G....
 110:  G....
 111:  G....
 112:  G....
 113:  G....
 114:  G....
 115:  G....
 116:  G....
 117:  G....
 118:  G....
 119:  G....
 120:  G....
 121:  G....
 122:  G....
 123:  G....
 124:  G....
 125:  G....
 126:  G....
 127:  G....
 128:  G....
 129:  G....
 130:  G....
 131:  G....
 132:  G....
 133:  G....
 134:  G....
 135:  G....
 136:  G....
 137:  G....
 138:  G....
 139:  G....
 140:  G....
 141:  G....
 142:  G....
 143:  G....
 144:  G....
 145:  G....
 146:  G....
 147:  G....
 148:  G....
 149:  G....
 150:  G....
 151:  G....
 152:  G....
 153:  G....
 154:  G....
 155:  G....
 156:  G....
 157:  G....
 158:  G....
 159:  G....
 160:  G....
 161:  G....
 162:  G....
 163:  G....
 164:  G....
 165:  G....
 166:  G....
 167:  G....
 168:  G....
 169:  G....
 170:  G....
 171:  G....
 172:  G....
 173:  G....
 174:  G....
 175:  G....
 176:  G....
 177:  G....
 178:  G....
 179:  G....
 180:  G....
 181:  G....
 182:  G....
 183:  G....
 184:  G....
 185:  G....
 186:  G....
 187:  G....
 188:  G....
 189:  G....
 190:  G....
 191:  G....
 192:  G....
 193:  G....
 194:  G....
 195:  G....
 196:  G....
 197:  G....
 198:  G....
 199:  G....
 200:  G....
 201:  G....
 202:  G....
 203:  G....
 204:  G....
 205:  G....
 206:  G....
 207:  G....
 208:  G....
 209:  G....
 210:  G....
 211:  G....
 212:  G....
 213:  G....
 214:  G....
 215:  G....
 216:  G....
 217:  G....
 218:  G....
 219:  G....
 220:  G....
 221:  G....
 222:  G....
 223:  G....
 224:  G....
 225:  G....
 226:  G....
 227:  G....
 228:  G....
 229:  G....
 230:  G....
 231:  G....
 232:  G....
 233:  G....
 234:  G....
 235:  G....
 236:  G....
 237:  G....
 238:  G....
 239:  G....
 240:  G....

[Domain info]
id=0x53484c44
priority=150

mardi 10 février 2009, 11:04:02 (UTC+0100)
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.L..
   4:  A.L..
   5:  A.L..
   6:  A....
   7:  A.L..
   8:  A....
   9:  A....
  10:  A.L..
  11:  A.L..
  12:  A.L..
  13:  A.L..
  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....
  85:  A....
  86:  A....
  87:  A....
  88:  A....
  89:  A....
  90:  A....
  91:  A....
  92:  A....
  93:  A....
  94:  A....
  95:  A....
  96:  A....
  97:  A....
  98:  A....
  99:  A....
 100:  A....
 101:  A....
 102:  A....
 103:  A....
 104:  A....
 105:  A....
 106:  A....
 107:  A....
 108:  A....
 109:  A....
 110:  A....
 111:  A....
 112:  A....
 113:  A....
 114:  A....
 115:  A....
 116:  A....
 117:  A....
 118:  A....
 119:  A....
 120:  A....
 121:  A....
 122:  A....
 123:  A....
 124:  A....
 125:  A....
 126:  A....
 127:  A....
 128:  A....
 129:  A....
 130:  A....
 131:  A....
 132:  A....
 133:  A....
 134:  A....
 135:  A....
 136:  A....
 137:  A....
 138:  A....
 139:  A....
 140:  A....
 141:  A....
 142:  A....
 143:  A....
 144:  A....
 145:  A....
 146:  A....
 147:  A....
 148:  A....
 149:  A....
 150:  A....
 151:  A....
 152:  A....
 153:  A....
 154:  A....
 155:  A....
 156:  A....
 157:  A....
 158:  A....
 159:  A....
 160:  A....
 161:  A....
 162:  A....
 163:  A....
 164:  A....
 165:  A....
 166:  A....
 167:  A....
 168:  A....
 169:  A....
 170:  A....
 171:  A....
 172:  A....
 173:  A....
 174:  A....
 175:  A....
 176:  A....
 177:  A....
 178:  A....
 179:  A....
 180:  A....
 181:  A....
 182:  A....
 183:  A....
 184:  A....
 185:  A....
 186:  A....
 187:  A....
 188:  A....
 189:  A....
 190:  A....
 191:  A....
 192:  A....
 193:  A....
 194:  A....
 195:  A....
 196:  A....
 197:  A....
 198:  A....
 199:  A....
 200:  A....
 201:  A....
 202:  A....
 203:  A....
 204:  A....
 205:  A....
 206:  A....
 207:  A....
 208:  A....
 209:  A....
 210:  A....
 211:  A....
 212:  A....
 213:  A....
 214:  A....
 215:  A....
 216:  A....
 217:  A....
 218:  A....
 219:  A....
 220:  A....
 221:  A....
 222:  A....
 223:  A....
 224:  A....
 230:  A....
 231:  A....
 232:  A....
 233:  A....
 239:  A....
 240:  A....
 256:  G...V
 257:  G...V
 259:  G...V

[Domain info]
id=0x00000000
priority=100

mardi 10 février 2009, 11:04:02 (UTC+0100)
running: cat /proc/ipipe/Xenomai

       +----- Handling ([A]ccepted, [G]rabbed, [W]ired, [D]iscarded)
       |+---- Sticky
       ||+--- Locked
       |||+-- Exclusive
       ||||+- Virtual
[IRQ]  |||||
 233:  W..X.
 258:  W...V

[Domain info]
id=0x58454e4f
priority=topmost

mardi 10 février 2009, 11:04:02 (UTC+0100)
running: cat /proc/ipipe/version
2.0-07

mardi 10 février 2009, 11:04:02 (UTC+0100)
running: generate_loads 1
eval: 1: generate_loads: not found

mardi 10 février 2009, 11:04:02 (UTC+0100)
running: cat /proc/interrupts
CPU0

  0:     509628   IO-APIC-edge      timer
  1:       4087   IO-APIC-edge      i8042
  3:          2   IO-APIC-edge    
  4:          2   IO-APIC-edge    
  6:          5   IO-APIC-edge      floppy
  8:          3   IO-APIC-edge      rtc
  9:          0   IO-APIC-fasteoi   acpi
 14:      17585   IO-APIC-edge      libata
 15:      22196   IO-APIC-edge      libata
 16:      43734   IO-APIC-fasteoi   uhci_hcd:usb1
 17:          0   IO-APIC-fasteoi   uhci_hcd:usb2
 18:          0   IO-APIC-fasteoi   uhci_hcd:usb3
 19:       2642   IO-APIC-fasteoi   eth0
 20:       2681   IO-APIC-fasteoi   ehci_hcd:usb4
 21:          3   IO-APIC-fasteoi   ohci1394
NMI:          0   Non-maskable interrupts
LOC:     509064   Local timer interrupts
TRM:          0   Thermal event interrupts
SPU:          0   Spurious interrupts
ERR:          0
MIS:          0

mardi 10 février 2009, 11:04:02 (UTC+0100)
running: cat /proc/loadavg
0.21 0.22 0.19 3/202 7842

mardi 10 février 2009, 11:04:02 (UTC+0100)

running: cat /proc/meminfo
MemTotal:      2075248 kB
MemFree:       1486112 kB
Buffers:         11124 kB
Cached:         322308 kB
SwapCached:          0 kB
Active:         313872 kB
Inactive:       239660 kB
HighTotal:     1179092 kB
HighFree:       629568 kB
LowTotal:       896156 kB
LowFree:        856544 kB
SwapTotal:     2096440 kB
SwapFree:      2096440 kB
Dirty:              64 kB
Writeback:           0 kB
AnonPages:      220128 kB
Mapped:          81712 kB
Slab:            23272 kB
SReclaimable:    15224 kB
SUnreclaim:       8048 kB
PageTables:       2416 kB
NFS_Unstable:        0 kB
Bounce:              0 kB
CommitLimit:   3134064 kB
Committed_AS:   615708 kB
VmallocTotal:   114680 kB
VmallocUsed:      4204 kB
VmallocChunk:   104076 kB

mardi 10 février 2009, 11:04:02 (UTC+0100)
running: cat /proc/xenomai/affinity
00000001

mardi 10 février 2009, 11:04:02 (UTC+0100)
running: cat /proc/xenomai/apc
APC CPU0

  0:            0    (pipe_wakeup)
  1:        21153    (lostage_handler)
  2:            8    (registry_export)
  3:            0    (pse51_lostage_handler)

mardi 10 février 2009, 11:04:02 (UTC+0100)
running: cat /proc/xenomai/faults
TRAP CPU0

  0:            0    (Divide error)
  1:            0    (Debug)
  3:            0    (Int3)
  4:            0    (Overflow)
  5:            0    (Bounds)
  6:            0    (Invalid opcode)
  7:            0    (FPU not available)
  8:            0    (Double fault)
  9:            0    (FPU segment overrun)
 10:            0    (Invalid TSS)
 11:            0    (Segment not present)
 12:            0    (Stack segment)
 13:            0    (General protection)
 14:            0    (Page fault)
 15:            0    (Spurious interrupt)
 16:            0    (FPU error)
 17:            0    (Alignment check)
 18:            0    (Machine check)
 19:            0    (SIMD error)

mardi 10 février 2009, 11:04:02 (UTC+0100)
running: cat /proc/xenomai/hal
2.0-07

mardi 10 février 2009, 11:04:02 (UTC+0100)
running: cat /proc/xenomai/heap
size=129536:used=96:pagesz=512 (main heap)
size=32256:used=0:pagesz=512 (stack pool)

mardi 10 février 2009, 11:04:02 (UTC+0100)
running: cat /proc/xenomai/irq
IRQ CPU0
233: 1403811 [timer]
258: 106701 [virtual]

mardi 10 février 2009, 11:04:02 (UTC+0100)
running: cat /proc/xenomai/latency
1000

mardi 10 février 2009, 11:04:02 (UTC+0100)
running: cat /proc/xenomai/sched

CPU  PID    PRI      PERIOD     TIMEOUT    TIMEBASE  STAT       NAME
  0  0       -1      0          0          master    R          ROOT

mardi 10 février 2009, 11:04:02 (UTC+0100)
running: cat /proc/xenomai/stat

CPU  PID    MSW        CSW        PF    STAT       %CPU  NAME
  0  0      0          790535     0     00500080   98.9  ROOT
  0  0      0          1403815    0     00000000    0.2  IRQ233: [timer]

mardi 10 février 2009, 11:04:02 (UTC+0100)
running: cat /proc/xenomai/timebases
NAME RESOLUTION JIFFIES STATUS
master 1 n/a enabled,set

mardi 10 février 2009, 11:04:02 (UTC+0100)
running: cat /proc/xenomai/timer status=on:setup=0:clock=4936391945228:timerdev=lapic:clockdev=tsc

mardi 10 février 2009, 11:04:02 (UTC+0100)
running: cat /proc/xenomai/version
2.4.6

mardi 10 février 2009, 11:04:02 (UTC+0100)
running: cat /proc/xenomai/interfaces/native
0

mardi 10 février 2009, 11:04:02 (UTC+0100)
running: cat /proc/xenomai/interfaces/posix
0

mardi 10 février 2009, 11:04:02 (UTC+0100)
running: cat /proc/xenomai/interfaces/rtai
0

mardi 10 février 2009, 11:04:02 (UTC+0100)
running: cat /proc/xenomai/interfaces/rtdm
0

mardi 10 février 2009, 11:04:02 (UTC+0100)
running: cat /proc/xenomai/interfaces/sys
0

mardi 10 février 2009, 11:04:02 (UTC+0100)
running: cat /proc/xenomai/rtdm/fildes
total=128:open=0:free=128

mardi 10 février 2009, 11:04:02 (UTC+0100)
running: cat /proc/xenomai/rtdm/named_devices
Hash Name Driver /proc

D6	rttest0                        	xeno_timerbench	rttest0
D7	rttest1                        	xeno_irqbench  	rttest1
D8	rttest2                        	xeno_switchtest	rttest2

mardi 10 février 2009, 11:04:02 (UTC+0100)
running: cat /proc/xenomai/rtdm/open_fildes
Index Locked Device Owner [PID]

mardi 10 février 2009, 11:04:02 (UTC+0100)
running: cat /proc/xenomai/rtdm/protocol_devices
Hash ProtocolFamily:SocketType Driver /proc

mardi 10 février 2009, 11:04:02 (UTC+0100)
running: cat /proc/xenomai/timerstat/master

CPU  SCHEDULED   FIRED       TIMEOUT    INTERVAL   HANDLER      NAME           
0    507992      507991      663822     4000000    NULL         [host-timer]   

mardi 10 février 2009, 11:04:02 (UTC+0100)
running: top -bn1c
top - 11:04:02 up 33 min, 3 users, load average: 0.21, 0.22, 0.19

Tasks: 121 total,   1 running, 120 sleeping,   0 stopped,   0 zombie
Cpu(s): 10.2%us,  5.3%sy,  0.1%ni, 82.7%id,  1.8%wa,  0.0%hi,  0.0%si,  0.0%st
Mem:   2075248k total,   588252k used,  1486996k free,    11124k buffers
Swap:  2096440k total,        0k used,  2096440k free,   322324k cached
  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND            
    1 root      20   0  2844 1692  544 S  0.0  0.1   0:04.92 /sbin/init         
    2 root      15  -5     0    0    0 S  0.0  0.0   0:00.00 [kthreadd]         
    3 root      15  -5     0    0    0 S  0.0  0.0   0:00.00 [ksoftirqd/0]      

mardi 10 février 2009, 11:04:02 (UTC+0100)
running: ./run -- -sh -T 120 -t0 # latency
*
*
* Type ^C to stop this application.
*
*
== Sampling period: 100 us
== Test mode: periodic user-mode task
== All results in microseconds
warming up...

RTT|  00:00:01  (periodic user-mode task, 100 us period, priority 99)
RTH|-----lat min|-----lat avg|-----lat max|-overrun|----lat best|---lat worst
RTD|       2.111|       2.241|       4.396|       0|       2.111|       4.396
RTD|       2.061|       2.271|       4.858|       0|       2.061|       4.858
RTD|       2.057|       2.232|       4.589|       0|       2.057|       4.858
RTD|       2.041|       2.222|       4.554|       0|       2.041|       4.858
RTD|       2.105|       2.265|       4.804|       0|       2.041|       4.858
RTD|       2.075|       2.225|       4.525|       0|       2.041|       4.858
RTD|       2.101|       2.258|       4.656|       0|       2.041|       4.858
RTD|       2.128|       2.250|       4.546|       0|       2.041|       4.858
#1 lore raw
Quoted 6 lines · Mathieu JOINIE-MAURIN

Hello,

I try to install Xenomai on Ubunut Hardy 8.04. Versions used are: - xenomai-2.4.6.1 - linux-kernel 2-6.24.6 - adeos patch:
adeos-ipipe-2.6.24-x86-2.0-07.patch

Quoted 8 lines

I tried many .config files but it is always the same problem with Xeno-test. It seems that there is a problem with the "generate load" part of the script. Attached, are two files. One is xeno-test without modifying it. The other is xeno-test results but with the "generate load'" part removed.

Latency (in user space and kernel) seem to be great. Around 7 us in user-space and 4 us in kernel for worst case.

Unfortunately, latencies obtained without loading the system are meaningless. So, generating a load is mandatory. I am afraid you will have to debug why the load generator does not work for you.

Signature · 1 line
                                                 Gilles.
#2 lore raw

The thing is that as I had to compile many times my kernel in order to try many .config, I had time to try to run ./latency when compilation is made. And there is no problem with latencies for example.

What does make exactly the load generator ? How can I try to debug it ?

Mathieu

________________________________
De : Gilles Chanteperdrix <[email protected]>
À : Mathieu JOINIE-MAURIN <[email protected]>
Cc : [email protected] le : Mardi, 10 Février 2009, 12h01mn 41s Objet : Re: [Xenomai-help] Problem with Xeno-test: "Something died a XXX or"

Quoted 6 lines · Mathieu JOINIE-MAURIN

Hello,

I try to install Xenomai on Ubunut Hardy 8.04. Versions used are: - xenomai-2.4.6.1 - linux-kernel 2-6.24.6 - adeos patch:
adeos-ipipe-2.6.24-x86-2.0-07.patch

Quoted 8 lines

I tried many .config files but it is always the same problem with Xeno-test. It seems that there is a problem with the "generate load" part of the script. Attached, are two files. One is xeno-test without modifying it. The other is xeno-test results but with the "generate load'" part removed.

Latency (in user space and kernel) seem to be great. Around 7 us in user-space and 4 us in kernel for worst case.

Unfortunately, latencies obtained without loading the system are meaningless. So, generating a load is mandatory. I am afraid you will have to debug why the load generator does not work for you.

Signature · 6 lines
                                                 Gilles.



      __________________________________________________________________________________________________
Ne pleurez pas si votre Webmail ferme ! Récupérez votre historique sur Yahoo! Mail ! http://fr.docs.yahoo.com/mail/transfert_mails.html
#3 lore raw
Quoted 7 lines · Mathieu JOINIE-MAURIN

The thing is that as I had to compile many times my kernel in order to try many .config, I had time to try to run ./latency when compilation is made. And there is no problem with latencies for example.

What does make exactly the load generator ? How can I try to debug it ?

xeno-test is a script, so, debug it the way you would debug any script. bash -x is your friend.
Also, since you seem to be running a localized Linux, you could try export LANG=C before running the script.

Signature · 1 line
                                                 Gilles.

A message that is not in the archive (sent off-list or not yet received): [email protected]

#5 lore raw
Quoted 3 lines · Mathieu JOINIE-MAURIN

Thank you for your help. The thing is that I am really not familiar with such scripts. I found somebody who had the same error before on
https://mail.gna.org/public/xenomai-help/2008-10/msg00034.html

Come on ! Debugging a script is not that hard.

Quoted 13 lines

I think I defined good my processor in .config file.

In the script, I found the following code:

generate_loads() { jobsct=$1; #if test -z "$1"; then echo Skipping generate_loads; return; fi shift 1 if test 0 -eq $withBusybox ; then reaper() { echo something died a $! or $* ; sleep 1; } trap reaper
CHLD trap cleanup_load EXIT # under all exit conditions fi while
test $jobsct -ge 1; do jobsct=$(($jobsct-1)); mkload dd_jobs="$dd_jobs $!" ; done

Quoted 3 lines

What is exactly Busy box ? Is it a flag I should have turned off or on in the kernel .config file ? I do not really understand the test which is made and why I get "Something died a ..." error.

You can find what is busybox with google or wikipedia. And in any case, you can look in the script to see how this withBusybox variable is set.

Please use the mailing list.

Signature · 1 line
                                                 Gilles.
#6 lore raw
In reply to Mathieu JOINIE-MAURIN

Hello,

Quoted 6 lines

I try to install Xenomai on Ubunut Hardy 8.04. Versions used are:
- xenomai-2.4.6.1
- linux-kernel 2-6.24.6
- adeos patch: adeos-ipipe-2.6.24-x86-2.0-07.patch

Quoted 8 lines

I tried many .config files but it is always the same problem with Xeno-test. It seems that there is a problem with the "generate load" part of the script.
Attached, are two files. One is xeno-test without modifying it. The other is xeno-test results but with the "generate load'" part removed.

Latency (in user space and kernel) seem to be great. Around 7 us in user-space and 4 us in kernel for worst case.

I know this thread is a year old now, but there was never a solution posted. I ran into the same problem a few months ago, solved it, ran into it again yesterday, and forgot how I solved it before.

So, just to document the solution for posterity's sake (or for anyone Googling for a solution):

The xeno-test script fails with "something died a <xxxx>" when it is run under the dash shell for me. The xeno-test script specifies "/bin/sh" as a shell, and under my distro (Ubuntu 9.10 now), /bin/sh => dash, not bash. The dash shell is designed to be a fast, efficient, non-interactive shell mainly for running scripts, and therefore has a limited feature set when compared with bash.

It seems dash is not able to handle whatever xeno-test is asking it to do at that moment. But the xeno-test script works fine (for me) when run with "bash xeno-test".

There. Now I just need to sit back and let all the little web-crawling robots index the heck out of this email. Soon, this solution will show up in a half-dozen "mailing list archive" sites, and I'll never have to re-solve it again! :-)

Sincerely,

Signature · 5 lines
Brian Zenowich <[email protected]>
Robotics Engineer @ Barrett Technology, Inc.
625 Mount Auburn Street, Cambridge, MA 02138, USA
Tel: 617-252-9000 x38
Web: http://www.barrett.com
#7 lore raw
Quoted 30 lines · Brian Zenowich

Hello,

Quoted 5 lines

I try to install Xenomai on Ubunut Hardy 8.04. Versions used are:
- xenomai-2.4.6.1
- linux-kernel 2-6.24.6
- adeos patch: adeos-ipipe-2.6.24-x86-2.0-07.patch

Quoted 8 lines

I tried many .config files but it is always the same problem with Xeno-test. It seems that there is a problem with the "generate load" part of the script.
Attached, are two files. One is xeno-test without modifying it. The other is xeno-test results but with the "generate load'" part removed.

Latency (in user space and kernel) seem to be great. Around 7 us in user-space and 4 us in kernel for worst case.

I know this thread is a year old now, but there was never a solution posted. I ran into the same problem a few months ago, solved it, ran into it again yesterday, and forgot how I solved it before.

So, just to document the solution for posterity's sake (or for anyone Googling for a solution):

The xeno-test script fails with "something died a <xxxx>" when it is run under the dash shell for me. The xeno-test script specifies "/bin/sh" as a shell, and under my distro (Ubuntu 9.10 now), /bin/sh => dash, not bash. The dash shell is designed to be a fast, efficient, non-interactive shell mainly for running scripts, and therefore has a limited feature set when compared with bash.

Quoted 3 lines

It seems dash is not able to handle whatever xeno-test is asking it to do at that moment. But the xeno-test script works fine (for me) when run with "bash xeno-test".

That is not a good solution. bash is not available on embedded platform. The real platform is to fix the script to run with dash. And it is far from impossible. I mean come on, xeno-test runs with busybox' ash, I do not see why it would not run with dash.

Signature · 1 line
					    Gilles.
#8 lore raw
Quoted 30 lines · Gilles Chanteperdrix
Quoted 29 lines · Brian Zenowich

Hello,

Quoted 5 lines

I try to install Xenomai on Ubunut Hardy 8.04. Versions used are:
- xenomai-2.4.6.1
- linux-kernel 2-6.24.6
- adeos patch: adeos-ipipe-2.6.24-x86-2.0-07.patch

Quoted 8 lines

I tried many .config files but it is always the same problem with Xeno-test. It seems that there is a problem with the "generate load" part of the script.
Attached, are two files. One is xeno-test without modifying it. The other is xeno-test results but with the "generate load'" part removed.

Latency (in user space and kernel) seem to be great. Around 7 us in user-space and 4 us in kernel for worst case.

I know this thread is a year old now, but there was never a solution posted. I ran into the same problem a few months ago, solved it, ran into it again yesterday, and forgot how I solved it before.

So, just to document the solution for posterity's sake (or for anyone Googling for a solution):

The xeno-test script fails with "something died a <xxxx>" when it is run under the dash shell for me. The xeno-test script specifies "/bin/sh" as a shell, and under my distro (Ubuntu 9.10 now), /bin/sh => dash, not bash. The dash shell is designed to be a fast, efficient, non-interactive shell mainly for running scripts, and therefore has a limited feature set when compared with bash.

Quoted 6 lines
Quoted 3 lines

It seems dash is not able to handle whatever xeno-test is asking it to do at that moment. But the xeno-test script works fine (for me) when run with "bash xeno-test".

That is not a good solution. bash is not available on embedded platform. The real platform is to fix the script to run with dash. And it is far

I meant: "the real solution".

Signature · 1 line
					    Gilles.