* Re:32bit on 64bit in xenomai 2.6.0
@ 2018-11-07 6:15 Manikanta Mylavarapu
2018-11-07 6:43 ` 32bit " Jan Kiszka
0 siblings, 1 reply; 4+ messages in thread
From: Manikanta Mylavarapu @ 2018-11-07 6:15 UTC (permalink / raw)
To: xenomai
Dear all,
I am trying to run 32bit applications on 64bit xenomai. I installed xenomai
2.6.0 on fedora 13 x86_64. I installed all 32bit GCC lib & c librarys
(glibc-devel.i686 & going.i686).
I made one hello world sample (non-rt) app, it is giving error while running
"-bash: ./a.out: cannot execute binary file" but the same a.out is running
fine on "plain fedora13 x86_64".
My question is on xenomai 2.x can we run 32bit rt & non-rt app on 64bit
kernel? Please help me.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: 32bit on 64bit in xenomai 2.6.0
2018-11-07 6:15 Re:32bit on 64bit in xenomai 2.6.0 Manikanta Mylavarapu
@ 2018-11-07 6:43 ` Jan Kiszka
2018-11-07 7:06 ` Manikanta Mylavarapu
0 siblings, 1 reply; 4+ messages in thread
From: Jan Kiszka @ 2018-11-07 6:43 UTC (permalink / raw)
To: Manikanta Mylavarapu, xenomai
On 07.11.18 07:15, Manikanta Mylavarapu via Xenomai wrote:
> Dear all,
>
> I am trying to run 32bit applications on 64bit xenomai. I installed xenomai
> 2.6.0 on fedora 13 x86_64. I installed all 32bit GCC lib & c librarys
> (glibc-devel.i686 & going.i686).
>
> I made one hello world sample (non-rt) app, it is giving error while running
> "-bash: ./a.out: cannot execute binary file" but the same a.out is running
> fine on "plain fedora13 x86_64".
>
> My question is on xenomai 2.x can we run 32bit rt & non-rt app on 64bit
> kernel? Please help me.
>
Xenomai 2 is EOL, no longer supported. And compat support (32-on-64 bit) has
only be added to Xenomai 3. So you should migrate to the current stable version.
Jan
--
Siemens AG, Corporate Technology, CT RDA IOT SES-DE
Corporate Competence Center Embedded Linux
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: 32bit on 64bit in xenomai 2.6.0
2018-11-07 6:43 ` 32bit " Jan Kiszka
@ 2018-11-07 7:06 ` Manikanta Mylavarapu
2018-11-07 13:57 ` Lennart Sorensen
0 siblings, 1 reply; 4+ messages in thread
From: Manikanta Mylavarapu @ 2018-11-07 7:06 UTC (permalink / raw)
To: Jan Kiszka; +Cc: xenomai
Thank you Jan.
For my project requirement I am working with xenomai 2.6.0 on fedora 13.
My doubt is at least sample app compiled as a 32bit exe on 64bit kernel
should work. But it is not running on xenomai patched 64bit os,why?
On Wed, Nov 7, 2018, 12:13 PM Jan Kiszka <jan.kiszka@siemens.com> wrote:
> On 07.11.18 07:15, Manikanta Mylavarapu via Xenomai wrote:
> > Dear all,
> >
> > I am trying to run 32bit applications on 64bit xenomai. I installed
> xenomai
> > 2.6.0 on fedora 13 x86_64. I installed all 32bit GCC lib & c librarys
> > (glibc-devel.i686 & going.i686).
> >
> > I made one hello world sample (non-rt) app, it is giving error while
> running
> > "-bash: ./a.out: cannot execute binary file" but the same a.out is
> running
> > fine on "plain fedora13 x86_64".
> >
> > My question is on xenomai 2.x can we run 32bit rt & non-rt app on 64bit
> > kernel? Please help me.
> >
>
> Xenomai 2 is EOL, no longer supported. And compat support (32-on-64 bit)
> has
> only be added to Xenomai 3. So you should migrate to the current stable
> version.
>
> Jan
>
> --
> Siemens AG, Corporate Technology, CT RDA IOT SES-DE
> Corporate Competence Center Embedded Linux
>
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: 32bit on 64bit in xenomai 2.6.0
2018-11-07 7:06 ` Manikanta Mylavarapu
@ 2018-11-07 13:57 ` Lennart Sorensen
0 siblings, 0 replies; 4+ messages in thread
From: Lennart Sorensen @ 2018-11-07 13:57 UTC (permalink / raw)
To: Manikanta Mylavarapu; +Cc: Jan Kiszka, xenomai
On Wed, Nov 07, 2018 at 12:36:20PM +0530, Manikanta Mylavarapu via Xenomai wrote:
> Thank you Jan.
>
> For my project requirement I am working with xenomai 2.6.0 on fedora 13.
>
> My doubt is at least sample app compiled as a 32bit exe on 64bit kernel
> should work. But it is not running on xenomai patched 64bit os,why?
Is 32 bit support even enabled in the kernel config?
CONFIG_IA32_EMULATION under executable file formats is rather required.
And which kernel are you using, given xenomai 2.6.0 had ipipe patches for
2.6.35 and a few others, but not 2.6.32 that I believe fedora 13 used.
Of course who remembers what things were like 8 years ago.
Other than configuring the kernel wrong I see no reason 32 bit linux
applications shouldn't work on a 64 bit linux kernel, but xenomai apps
have to be 64 bit (unless you move to xenomai 3.x).
--
Len Sorensen
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2018-11-07 13:57 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-11-07 6:15 Re:32bit on 64bit in xenomai 2.6.0 Manikanta Mylavarapu
2018-11-07 6:43 ` 32bit " Jan Kiszka
2018-11-07 7:06 ` Manikanta Mylavarapu
2018-11-07 13:57 ` Lennart Sorensen
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.