All of lore.kernel.org
 help / color / mirror / Atom feed
* [Xenomai] Problem with bringing up Xenomai User Space
@ 2012-11-30 14:04 Dharma R Bhushan
  2012-11-30 14:11 ` Gilles Chanteperdrix
  0 siblings, 1 reply; 4+ messages in thread
From: Dharma R Bhushan @ 2012-11-30 14:04 UTC (permalink / raw)
  To: xenomai@xenomai.org

Hello Community Members,

I am trying to run test cases present in xenomai-2.5.6 test suite. We are getting the "Segmentation fault".

Environment is as follows

 Board:                         Bagle-board XM rev C
 Kernel:                      2.6.35.14(2.6.35 from kernel.org+patch-2.6.35.10+linaro-2.6.35.10 patch+ patch-2.6.35.11+ patch-2.6.35.12+patch-2.6.35.13+ patch-2.6.35.14)
 I-Pipe patch:          adeos-ipipe-2.6.35.9-arm-1.18-03.patch(slightly modified to apply the above kernel)
 Tool chain:                  arm-none-linux-gnueabi-
 Config command:              ./configure --build=i686-pc-linux-gnu --host=arm-none-linux-gnueabi --enable-arm-mach=omap3 --enable-arm-tsc --enable-arm-eabi
                          make DESTDIR=/root/nfsroot install

 Then I tried to run the xenomai latency test case. Then got the following error

 root@armv7a-target:~# /usr/xenomai/bin/latency == Sampling period: 1000
 us == Test mode: periodic user-mode task == All results in microseconds
 Segmentation fault

 Strace log of is attached. Upon debug I found a simple program with one
 rt_task_create and rt_task_start is also giving segmentation fault.

 I tried the approach in the below post without any success.
 http://www.mail-archive.com/xenomai-help@gna.org/msg02216.html

 I am getting the same working with the following combination.
 Board:                         Bagle-board XM rev C
 Kernel:                      3.2.21(3.2.21-kernel.org+minor fixes to boot the board)
 I-Pipe patch:          ipipe-core-3.2.21-arm-1.patch
 Tool chain:                  arm-none-linux-gnueabi-
 Config command:              ./configure CFLAGS="-march=armv7-a" LDFLAGS="-march=armv7-a" --build=i686-pc-linux-gnu --host=arm-none-linux-gnueabi-
                         make DESTDIR=/root/nfsroot install

 I feel I am missing something w.r.t ./configure command in xenomai
 2.5.6. I have attached my kernel config(2.6.35.14 kernel) too for the
 reference.

Regards,
Dharma

This e-mail and any files transmitted with it are confidential and intended solely for the use of the individual(s) or entity addressed above. If you are not the intended recipient of this e-mail, then (i) please notify us at cipl.administrator@canon.co.in (ii) do not use the information contained  & (iii) delete it from your system. E-mail communications are not secure. Though efforts have been taken to ensure that this communication has not been tampered with; however,  Canon India Pvt. Ltd. is not responsible for any changes made to the contents of or any attachments to this message without its consent.
All information contained in this message which are not of an official nature shall not be deemed as given or endorsed by Canon India Pvt. Ltd.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: strace_latency.TXT
URL: <http://www.xenomai.org/pipermail/xenomai/attachments/20121130/285729f0/attachment.ksh>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Beaglexm_2635_adeos_defconfig
Type: application/octet-stream
Size: 61951 bytes
Desc: Beaglexm_2635_adeos_defconfig
URL: <http://www.xenomai.org/pipermail/xenomai/attachments/20121130/285729f0/attachment.obj>

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

end of thread, other threads:[~2012-12-03 19:53 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-11-30 14:04 [Xenomai] Problem with bringing up Xenomai User Space Dharma R Bhushan
2012-11-30 14:11 ` Gilles Chanteperdrix
2012-12-03 16:16   ` Dharma R Bhushan
2012-12-03 19:53     ` Gilles Chanteperdrix

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.