All of lore.kernel.org
 help / color / mirror / Atom feed
* Real Time Signals In PowerPC Linux
@ 2005-05-04  5:52 Deepak
  2005-05-05  7:35 ` Benjamin Herrenschmidt
  0 siblings, 1 reply; 7+ messages in thread
From: Deepak @ 2005-05-04  5:52 UTC (permalink / raw)
  To: linux-arch

Its regarding realtime signals support in powerpc port of linux. Though
Real-Time signals are supported for Intel i386 port no such support is
available for powerpc port
Anyone having idea about any existing patch for real-time signals in
powerpc linux(linux kernel 2.4.20)

Deepak Gaur
C-DOT 
New Delhi

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

* Re: Real Time Signals In PowerPC Linux
  2005-05-04  5:52 Real Time Signals In PowerPC Linux Deepak
@ 2005-05-05  7:35 ` Benjamin Herrenschmidt
  2005-05-05 10:26   ` Deepak
  0 siblings, 1 reply; 7+ messages in thread
From: Benjamin Herrenschmidt @ 2005-05-05  7:35 UTC (permalink / raw)
  To: Deepak; +Cc: linux-arch

On Wed, 2005-05-04 at 14:52 +0900, Deepak wrote:
> Its regarding realtime signals support in powerpc port of linux. Though
> Real-Time signals are supported for Intel i386 port no such support is
> available for powerpc port
> Anyone having idea about any existing patch for real-time signals in
> powerpc linux(linux kernel 2.4.20)

What are you talking about ? All architectures have RT signals afaik...

Ben.

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

* Re: Real Time Signals In PowerPC Linux
  2005-05-05  7:35 ` Benjamin Herrenschmidt
@ 2005-05-05 10:26   ` Deepak
  2005-05-05 23:39     ` Benjamin Herrenschmidt
  0 siblings, 1 reply; 7+ messages in thread
From: Deepak @ 2005-05-05 10:26 UTC (permalink / raw)
  To: Benjamin Herrenschmidt, linux-arch

hi

  Well I did "kill -l" in linux (v2.4.20) installed on a powerpc board
  and it listed only 32 signals, SIGRTMIN to SIGRTMAX were missing

Deepak 

On Thu, 05 May 2005 17:35:45 +1000, "Benjamin Herrenschmidt"
<benh@kernel.crashing.org> said:
> On Wed, 2005-05-04 at 14:52 +0900, Deepak wrote:
> > Its regarding realtime signals support in powerpc port of linux. Though
> > Real-Time signals are supported for Intel i386 port no such support is
> > available for powerpc port
> > Anyone having idea about any existing patch for real-time signals in
> > powerpc linux(linux kernel 2.4.20)
> 
> What are you talking about ? All architectures have RT signals afaik...
> 
> Ben.
> 
> 

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

* Real Time Signals In Powerpc Linux
@ 2005-05-05 10:59 Deepak
  2005-05-05 16:12 ` J. Scott Kasten
  0 siblings, 1 reply; 7+ messages in thread
From: Deepak @ 2005-05-05 10:59 UTC (permalink / raw)
  To: linux-kernel


I am working on a linux (v 2.4.20) based powerpc(8260) board. During
development of an application program I planned to use real time
signals(SIGRTMIN to SIGRTMAX) for interprocess communication. On giving
the command 'kill -l' on the terminal window of ppc linux  it displayed
only 32 signals while giving the same command on an Intel based Linux PC
(same kernel version) showed all 64 signals. 

Anyone having idea whether these signals are present in powerpc Linux
kernal v 2.4.20 ?

Deepak Gaur

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

* Re: Real Time Signals In Powerpc Linux
  2005-05-05 10:59 Real Time Signals In Powerpc Linux Deepak
@ 2005-05-05 16:12 ` J. Scott Kasten
  0 siblings, 0 replies; 7+ messages in thread
From: J. Scott Kasten @ 2005-05-05 16:12 UTC (permalink / raw)
  To: Deepak; +Cc: linux-kernel


See linux/include/asm-xxx/signal.h in your kernel tree, where xxx is the 
specific arch you are interested in.

You will see definitions for a series of  _NSIG macros.  These define the 
number of available signals and the byte size of the signal mask data 
type.  The stuff at the bottom is educational as well.  You can then 
follow those defines into other header files as needed.

Happy hacking,

J. Scott Kasten
Email: jscottkasten AT yahoo DOT com

On Thu, 5 May 2005, Deepak wrote:

>
> I am working on a linux (v 2.4.20) based powerpc(8260) board. During
> development of an application program I planned to use real time
> signals(SIGRTMIN to SIGRTMAX) for interprocess communication. On giving
> the command 'kill -l' on the terminal window of ppc linux  it displayed
> only 32 signals while giving the same command on an Intel based Linux PC
> (same kernel version) showed all 64 signals.
>
> Anyone having idea whether these signals are present in powerpc Linux
> kernal v 2.4.20 ?
>
> Deepak Gaur
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at  http://www.tux.org/lkml/
>

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

* Re: Real Time Signals In PowerPC Linux
  2005-05-05 10:26   ` Deepak
@ 2005-05-05 23:39     ` Benjamin Herrenschmidt
  2005-05-19  5:00       ` Deepak
  0 siblings, 1 reply; 7+ messages in thread
From: Benjamin Herrenschmidt @ 2005-05-05 23:39 UTC (permalink / raw)
  To: Deepak; +Cc: linux-arch

On Thu, 2005-05-05 at 19:26 +0900, Deepak wrote:
> hi
> 
>   Well I did "kill -l" in linux (v2.4.20) installed on a powerpc board
>   and it listed only 32 signals, SIGRTMIN to SIGRTMAX were missing

Well, I don't know what's up with that kernel you are using, it works
fine here on 2.6.12 but I'm fairly sure it worked with 2.4.20 too. Maybe
a glibc or a kill version issue ?

Ben.

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

* Re: Real Time Signals In PowerPC Linux
  2005-05-05 23:39     ` Benjamin Herrenschmidt
@ 2005-05-19  5:00       ` Deepak
  0 siblings, 0 replies; 7+ messages in thread
From: Deepak @ 2005-05-19  5:00 UTC (permalink / raw)
  To: Benjamin Herrenschmidt; +Cc: linux-arch

Yes It was indeed the issue of kill command version. I tried sending
SIGRTMAX to a process using kill() and sigqueue() , both of them worked
though 'kill -l' was still showing 32 signals. 

On Fri, 06 May 2005 09:39:18 +1000, "Benjamin Herrenschmidt"
<benh@kernel.crashing.org> said:
> On Thu, 2005-05-05 at 19:26 +0900, Deepak wrote:
> > hi
> > 
> >   Well I did "kill -l" in linux (v2.4.20) installed on a powerpc board
> >   and it listed only 32 signals, SIGRTMIN to SIGRTMAX were missing
> 
> Well, I don't know what's up with that kernel you are using, it works
> fine here on 2.6.12 but I'm fairly sure it worked with 2.4.20 too. Maybe
> a glibc or a kill version issue ?
> 
> Ben.
> 
> 

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

end of thread, other threads:[~2005-05-19  5:00 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-05-04  5:52 Real Time Signals In PowerPC Linux Deepak
2005-05-05  7:35 ` Benjamin Herrenschmidt
2005-05-05 10:26   ` Deepak
2005-05-05 23:39     ` Benjamin Herrenschmidt
2005-05-19  5:00       ` Deepak
  -- strict thread matches above, loose matches on Subject: below --
2005-05-05 10:59 Real Time Signals In Powerpc Linux Deepak
2005-05-05 16:12 ` J. Scott Kasten

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.