Skip to contentSkip to conversation

ARM: userspace apps result in Segmentation

Xenomai-help Karl Tyss 2 participants 3 messages Jul 13, 2009 – Jul 15, 2009

lore
Share & tools
lore

Karl Tyss

author
#0 lore raw

Hi Henri,

I had a similar problem. If you compile Xenomai you will get the old abi format by default.

Try the option "--enable-arm-eabi" while compiling Xenomai. It helped in my case. Or try turning the option "Allow old ABI binaries to run with this kernel" in the "Kernel Features" page.

Good luck,
Karl

Mit Freundlichen Grüßen,
Karl Tyss

---------------------------------------------------------------------------------------
This email including its attachments is intended for the person or entity only to which it is addressed. It may contain confidential and/or privileged material. Any review, forwarding, dissemination, other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you received this email in error, please contact the sender and delete the material from any computer system.
---------------------------------------------------------------------------------------

Eppendorf AG, Hamburg, Barkhausenweg 1, 22339 Hamburg, Amtsgericht Hamburg HRB 76249
Vors. des Aufsichtsrats: Dipl.-Ing. Adrian Déteindre
Vorstand: Klaus Fink (Vorsitzender), Detmar Ammermann, Dr. Heinz G. Koehn, Dr. Michael Schroeder

Eppendorf Instrumente GmbH, Hamburg, Amtsgericht Hamburg, HRB 69077 Geschäftsführer: Rainer Treptow

Eppendorf Biochip Systems GmbH, Hamburg, Amtsgericht Hamburg, HRB 96641 Geschäftsführer: Dr. Sven Buelow

Eppendorf Liquid Handling GmbH, Hamburg, Amtsgericht Hamburg, HRB 92250 Geschäftsführer: Boris von Beichmann

#1 lore raw

Hi Karl,

Thanks for the information. However I have tried the option "--enable-arm-eabi" and unfortunately without success. It solves the segmentation fault, but results in a hangup of the system. I was able to debug the latency application until the rt_task_create, but after that the debugger looses control. Any hints or help on that?

Thanks,
Henri

Quoted 44 lines · Karl Tyss

Hi Henri,

I had a similar problem. If you compile Xenomai you will get the old abi format by default.

Try the option "--enable-arm-eabi" while compiling Xenomai. It helped in my case. Or try turning the option "Allow old ABI binaries to run with this kernel" in the "Kernel Features" page.

Good luck,
Karl

Mit Freundlichen Grüßen,
Karl Tyss

---------------------------------------------------------------------------------------
This email including its attachments is intended for the person or entity only to which it is addressed. It may contain confidential and/or privileged material. Any review, forwarding, dissemination, other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you received this email in error, please contact the sender and delete the material from any computer system.
---------------------------------------------------------------------------------------

Eppendorf AG, Hamburg, Barkhausenweg 1, 22339 Hamburg, Amtsgericht Hamburg HRB 76249
Vors. des Aufsichtsrats: Dipl.-Ing. Adrian Déteindre
Vorstand: Klaus Fink (Vorsitzender), Detmar Ammermann, Dr. Heinz G. Koehn, Dr. Michael Schroeder

Eppendorf Instrumente GmbH, Hamburg, Amtsgericht Hamburg, HRB 69077 Geschäftsführer: Rainer Treptow

Eppendorf Biochip Systems GmbH, Hamburg, Amtsgericht Hamburg, HRB 96641 Geschäftsführer: Dr. Sven Buelow

Eppendorf Liquid Handling GmbH, Hamburg, Amtsgericht Hamburg, HRB 92250 Geschäftsführer: Boris von Beichmann

author
#2 lore raw

Hi Henry,

it looks like you had more than one problems. The one with the EABI settings seems to be solved. What debugger are you using? Are you trying to debug the "latecy-test" application? If yes then I cannot help you. I have been using the latency test but I did not have to debug it yet. Perhaps you should try to build a kernel module with one simple rt_task that triggers a led or something similar to test basic xenomai functionality? And did check the tip from Gilles?

Good luck,
Karl

Mit Freundlichen Grüßen,
Karl Tyss

Quoted 1 line
Quoted 1 line
Quoted 1 line

Henri Roosen <[email protected]> 07/14/09 2:19 PM >>>

Hi Karl,

Thanks for the information. However I have tried the option "--enable-arm-eabi" and unfortunately without success. It solves the segmentation fault, but results in a hangup of the system. I was able to debug the latency application until the rt_task_create, but after that the debugger looses control. Any hints or help on that?

Thanks,
Henri

Quoted 6 lines · Karl Tyss

Hi Henri,

I had a similar problem. If you compile Xenomai you will get the old abi format by default.

Try the option "--enable-arm-eabi" while compiling Xenomai. It

helped

Quoted 14 lines

in my case. Or try turning the option "Allow old ABI binaries to run with this kernel" in the "Kernel Features" page.

Good luck,
Karl

Mit Freundlichen Grüßen,
Karl Tyss

---------------------------------------------------------------------------------------

Quoted 2 lines

This email including its attachments is intended for the person or entity only to which it is addressed. It may contain confidential

and/or

Quoted 1 line

privileged material. Any review, forwarding, dissemination, other

use

Quoted 1 line

of, or taking of any action in reliance upon this information by

persons

Quoted 4 lines

or entities other than the intended recipient is prohibited. If you received this email in error, please contact the sender and delete the material from any computer system.

---------------------------------------------------------------------------------------

Quoted 11 lines

Eppendorf AG, Hamburg, Barkhausenweg 1, 22339 Hamburg, Amtsgericht Hamburg HRB 76249
Vors. des Aufsichtsrats: Dipl.-Ing. Adrian Déteindre
Vorstand: Klaus Fink (Vorsitzender), Detmar Ammermann, Dr. Heinz G. Koehn, Dr. Michael Schroeder

Eppendorf Instrumente GmbH, Hamburg, Amtsgericht Hamburg, HRB 69077 Geschäftsführer: Rainer Treptow

Eppendorf Biochip Systems GmbH, Hamburg, Amtsgericht Hamburg, HRB

96641

Quoted 3 lines

Geschäftsführer: Dr. Sven Buelow

Eppendorf Liquid Handling GmbH, Hamburg, Amtsgericht Hamburg, HRB

92250

Quoted 2 lines

Geschäftsführer: Boris von Beichmann

---------------------------------------------------------------------------------------
This email including its attachments is intended for the person or entity only to which it is addressed. It may contain confidential and/or privileged material. Any review, forwarding, dissemination, other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you received this email in error, please contact the sender and delete the material from any computer system.
---------------------------------------------------------------------------------------

Eppendorf AG, Hamburg, Barkhausenweg 1, 22339 Hamburg, Amtsgericht Hamburg HRB 76249
Vors. des Aufsichtsrats: Dipl.-Ing. Adrian Déteindre
Vorstand: Klaus Fink (Vorsitzender), Detmar Ammermann, Dr. Heinz G. Koehn, Dr. Michael Schroeder

Eppendorf Instrumente GmbH, Hamburg, Amtsgericht Hamburg, HRB 69077 Geschäftsführer: Rainer Treptow

Eppendorf Biochip Systems GmbH, Hamburg, Amtsgericht Hamburg, HRB 96641 Geschäftsführer: Dr. Sven Buelow

Eppendorf Liquid Handling GmbH, Hamburg, Amtsgericht Hamburg, HRB 92250 Geschäftsführer: Boris von Beichmann