From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail-lb0-x236.google.com ([2a00:1450:4010:c04::236]) by metis.ext.pengutronix.de with esmtp (Exim 4.72) (envelope-from ) id 1WYdTr-0006Kq-It for ptxdist@pengutronix.de; Fri, 11 Apr 2014 17:35:07 +0200 Received: by mail-lb0-f182.google.com with SMTP id n15so3719856lbi.27 for ; Fri, 11 Apr 2014 08:34:57 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: References: Date: Fri, 11 Apr 2014 11:34:57 -0400 Message-ID: From: Jon Ringle Subject: Re: [ptxdist] kill missing RT signals Reply-To: ptxdist@pengutronix.de List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: ptxdist-bounces@pengutronix.de Errors-To: ptxdist-bounces@pengutronix.de To: "ptxdist@pengutronix.de" On Thu, Apr 10, 2014 at 8:58 PM, Jon Ringle wrote: > I'm not sure if this is an issue with ptxdist or OSELAS toolchain or > something else, but I want to be able to send to systemd a SIGRTMIN+21 > signal and I found that kill command does not report the RT signals: > > $ kill -l > 1) SIGHUP 2) SIGINT 3) SIGQUIT 4) SIGILL > 5) SIGTRAP 6) SIGABRT 7) SIGBUS 8) SIGFPE > 9) SIGKILL 10) SIGUSR1 11) SIGSEGV 12) SIGUSR2 > 13) SIGPIPE 14) SIGALRM 15) SIGTERM 16) SIGSTKFLT > 17) SIGCHLD 18) SIGCONT 19) SIGSTOP 20) SIGTSTP > 21) SIGTTIN 22) SIGTTOU 23) SIGURG 24) SIGXCPU > 25) SIGXFSZ 26) SIGVTALRM 27) SIGPROF 28) SIGWINCH > 29) SIGIO 30) SIGPWR 31) SIGSYS > > I thought may be it was the busybox kill, so I build the coreutils > kill, but it gives exactly the same output. I don't understand why > kill is not listing the RT signalse from SIGRTMIN to SIGRTMAX. > > $ arm-v5te-linux-gnueabi-gcc --version > arm-v5te-linux-gnueabi-gcc (OSELAS.Toolchain-2013.12.1) 4.8.2 > Copyright (C) 2013 Free Software Foundation, Inc. > This is free software; see the source for copying conditions. There is NO > warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. > > Target board has Linux-3.12 > > Anyone have any ideas? Ok... I've a little confused about this. It seems like I have 2 different versions of kill installed on my target, but I can't figure out where the 1st one is located: root@ec1k:/# kill -l 1) SIGHUP 2) SIGINT 3) SIGQUIT 4) SIGILL 5) SIGTRAP 6) SIGABRT 7) SIGBUS 8) SIGFPE 9) SIGKILL 10) SIGUSR1 11) SIGSEGV 12) SIGUSR2 13) SIGPIPE 14) SIGALRM 15) SIGTERM 16) SIGSTKFLT 17) SIGCHLD 18) SIGCONT 19) SIGSTOP 20) SIGTSTP 21) SIGTTIN 22) SIGTTOU 23) SIGURG 24) SIGXCPU 25) SIGXFSZ 26) SIGVTALRM 27) SIGPROF 28) SIGWINCH 29) SIGIO 30) SIGPWR 31) SIGSYS root@ec1k:/# which kill /bin/kill root@ec1k:/# /bin/kill -l 1) HUP 2) INT 3) QUIT 4) ILL 5) TRAP 6) ABRT 7) BUS 8) FPE 9) KILL 10) USR1 11) SEGV 12) USR2 13) PIPE 14) ALRM 15) TERM 16) STKFLT 17) CHLD 18) CONT 19) STOP 20) TSTP 21) TTIN 22) TTOU 23) URG 24) XCPU 25) XFSZ 26) VTALRM 27) PROF 28) WINCH 29) POLL 30) PWR 31) SYS 32) RTMIN 64) RTMAX -- ptxdist mailing list ptxdist@pengutronix.de