Re: [Xenomai-core] Handle SIGILL when kernel compiled without Xenomai.

2008-09-28 Thread Philippe Gerum
Gilles Chanteperdrix wrote: > Philippe Gerum wrote: >> Gilles Chanteperdrix wrote: >>> Philippe Gerum wrote: Gilles Chanteperdrix wrote: > Hi, > > on some (all ?) platforms, we get a SIGILL when trying to emit the first > Xenomai syscall, instead of the -ENOSYS return value. T

Re: [Xenomai-core] Handle SIGILL when kernel compiled without Xenomai.

2008-09-28 Thread Gilles Chanteperdrix
Philippe Gerum wrote: > Gilles Chanteperdrix wrote: >> Philippe Gerum wrote: >>> Gilles Chanteperdrix wrote: Hi, on some (all ?) platforms, we get a SIGILL when trying to emit the first Xenomai syscall, instead of the -ENOSYS return value. This patches handles the SIGILL

Re: [Xenomai-core] Handle SIGILL when kernel compiled without Xenomai.

2008-09-28 Thread Philippe Gerum
Gilles Chanteperdrix wrote: > Philippe Gerum wrote: >> Gilles Chanteperdrix wrote: >>> Hi, >>> >>> on some (all ?) platforms, we get a SIGILL when trying to emit the first >>> Xenomai syscall, instead of the -ENOSYS return value. This patches >>> handles the SIGILL by printing an error message an

Re: [Xenomai-core] Handle SIGILL when kernel compiled without Xenomai.

2008-09-22 Thread Gilles Chanteperdrix
Gilles Chanteperdrix wrote: > Philippe Gerum wrote: >> Gilles Chanteperdrix wrote: >>> Hi, >>> >>> on some (all ?) platforms, we get a SIGILL when trying to emit the first >>> Xenomai syscall, instead of the -ENOSYS return value. This patches >>> handles the SIGILL by printing an error message an

Re: [Xenomai-core] Handle SIGILL when kernel compiled without Xenomai.

2008-09-22 Thread Gilles Chanteperdrix
Philippe Gerum wrote: > Gilles Chanteperdrix wrote: >> Hi, >> >> on some (all ?) platforms, we get a SIGILL when trying to emit the first >> Xenomai syscall, instead of the -ENOSYS return value. This patches >> handles the SIGILL by printing an error message and exiting. >> > > This is an issue

Re: [Xenomai-core] Handle SIGILL when kernel compiled without Xenomai.

2008-09-22 Thread Philippe Gerum
Gilles Chanteperdrix wrote: > Hi, > > on some (all ?) platforms, we get a SIGILL when trying to emit the first > Xenomai syscall, instead of the -ENOSYS return value. This patches > handles the SIGILL by printing an error message and exiting. > This is an issue for archs that encode the syscal

Re: [Xenomai-core] Handle SIGILL when kernel compiled without Xenomai.

2008-09-22 Thread Gilles Chanteperdrix
Jan Kiszka wrote: > Gilles Chanteperdrix wrote: >> Jan Kiszka wrote: >>> Gilles Chanteperdrix wrote: Hi, on some (all ?) platforms, we get a SIGILL when trying to emit the first >>> I don't see this on x86, though. >>> Xenomai syscall, instead of the -ENOSYS return value. This

Re: [Xenomai-core] Handle SIGILL when kernel compiled without Xenomai.

2008-09-22 Thread Jan Kiszka
Gilles Chanteperdrix wrote: > Jan Kiszka wrote: >> Gilles Chanteperdrix wrote: >>> Hi, >>> >>> on some (all ?) platforms, we get a SIGILL when trying to emit the first >> I don't see this on x86, though. >> >>> Xenomai syscall, instead of the -ENOSYS return value. This patches >>> handles the SIG

Re: [Xenomai-core] Handle SIGILL when kernel compiled without Xenomai.

2008-09-22 Thread Gilles Chanteperdrix
Jan Kiszka wrote: > Gilles Chanteperdrix wrote: >> Hi, >> >> on some (all ?) platforms, we get a SIGILL when trying to emit the first > > I don't see this on x86, though. > >> Xenomai syscall, instead of the -ENOSYS return value. This patches >> handles the SIGILL by printing an error message a

Re: [Xenomai-core] Handle SIGILL when kernel compiled without Xenomai.

2008-09-22 Thread Jan Kiszka
Gilles Chanteperdrix wrote: > Hi, > > on some (all ?) platforms, we get a SIGILL when trying to emit the first I don't see this on x86, though. > Xenomai syscall, instead of the -ENOSYS return value. This patches > handles the SIGILL by printing an error message and exiting. > > Index: includ