* SIGALRM ignored
@ 2005-11-07 17:36 Dick
2005-11-08 0:03 ` Paul Jackson
2005-11-08 2:35 ` Keith Owens
0 siblings, 2 replies; 10+ messages in thread
From: Dick @ 2005-11-07 17:36 UTC (permalink / raw)
To: linux-kernel
Hi all,
I've got a problem with SUSE LINUX Enterprise Server 9 (i586) patchlevel 2,
Linux 2.6.5-7.191-smp.
When I do the following (from bash):
trap 'echo bla' 14 ; /bin/kill -14 $$
nothing happens, utilities like iostat and netperf (and likely other utilities)
won't work due to this problem.
I've checked the glibc installation (rpm -V) and it's unchanged, bash and all
it's dependencies are also fine.
The kernel is unchanged from the SuSE LINUX Enterprise Server.
Could someone please help?
Thanks in advance,
Dick
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: SIGALRM ignored
2005-11-07 17:36 SIGALRM ignored Dick
@ 2005-11-08 0:03 ` Paul Jackson
2005-11-08 12:00 ` Dick
2005-11-08 2:35 ` Keith Owens
1 sibling, 1 reply; 10+ messages in thread
From: Paul Jackson @ 2005-11-08 0:03 UTC (permalink / raw)
To: Dick; +Cc: linux-kernel
> trap 'echo bla' 14 ; /bin/kill -14 $$
This is unlikely to be a Linux kernel internal development
issue, which is what this "linux-kernel@vger.kernel.org"
list is focused on. If I knew a good list to recommend
you ask this question on off the top of my head, I'd
recommend it. Nothing jumps to mind. Thought I'd at
least let you know that you might not get much help here,
and encourage you to research other possible resources.
--
I won't rest till it's the best ...
Programmer, Linux Scalability
Paul Jackson <pj@sgi.com> 1.925.600.0401
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: SIGALRM ignored
2005-11-07 17:36 SIGALRM ignored Dick
2005-11-08 0:03 ` Paul Jackson
@ 2005-11-08 2:35 ` Keith Owens
2005-11-08 11:48 ` Dick
1 sibling, 1 reply; 10+ messages in thread
From: Keith Owens @ 2005-11-08 2:35 UTC (permalink / raw)
To: Dick; +Cc: linux-kernel
On Mon, 7 Nov 2005 17:36:29 +0000 (UTC),
Dick <dm@chello.nl> wrote:
>I've got a problem with SUSE LINUX Enterprise Server 9 (i586) patchlevel 2,
>Linux 2.6.5-7.191-smp.
>
>When I do the following (from bash):
>
>trap 'echo bla' 14 ; /bin/kill -14 $$
>
>nothing happens, utilities like iostat and netperf (and likely other utilities)
>won't work due to this problem.
Works for me on SLES9 SP2 ia64.
Linux chook 2.6.5-7.191-sn2 #1 SMP Tue Jun 28 14:58:56 UTC 2005 ia64 ia64 ia64 GNU/Linux
bash-2.05b-305.9
# trap 'echo bla' 14 ; /bin/kill -14 $$
bla
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: SIGALRM ignored
2005-11-08 2:35 ` Keith Owens
@ 2005-11-08 11:48 ` Dick
0 siblings, 0 replies; 10+ messages in thread
From: Dick @ 2005-11-08 11:48 UTC (permalink / raw)
To: linux-kernel
Keith Owens <kaos <at> sgi.com> writes:
> Linux chook 2.6.5-7.191-sn2 #1 SMP Tue Jun 28 14:58:56 UTC 2005 ia64 ia64 ia64
GNU/Linux
I'm running a i686 kernel on a Xeon CPU... Thanks for testing!
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: SIGALRM ignored
2005-11-08 0:03 ` Paul Jackson
@ 2005-11-08 12:00 ` Dick
2005-11-09 0:58 ` Philippe Troin
0 siblings, 1 reply; 10+ messages in thread
From: Dick @ 2005-11-08 12:00 UTC (permalink / raw)
To: linux-kernel
Paul Jackson <pj <at> sgi.com> writes:
> This is unlikely to be a Linux kernel internal development
> issue, which is what this "linux-kernel <at> vger.kernel.org"
> list is focused on.
Yesterday I found the following issue:
http://www.vttoth.com/sigalrm.htm
which is kernel related, I will try to recompile the kernel for MPENTIUM4 and
see if it helps.
Does someone know a debugging technique to see whats happening?
Thanks,
Dick
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: SIGALRM ignored
2005-11-08 12:00 ` Dick
@ 2005-11-09 0:58 ` Philippe Troin
2005-11-09 9:21 ` Dick
0 siblings, 1 reply; 10+ messages in thread
From: Philippe Troin @ 2005-11-09 0:58 UTC (permalink / raw)
To: Dick; +Cc: linux-kernel
Dick <dm@chello.nl> writes:
> Paul Jackson <pj <at> sgi.com> writes:
> > This is unlikely to be a Linux kernel internal development
> > issue, which is what this "linux-kernel <at> vger.kernel.org"
> > list is focused on.
>
> Yesterday I found the following issue:
> http://www.vttoth.com/sigalrm.htm
>
> which is kernel related, I will try to recompile the kernel for MPENTIUM4 and
> see if it helps.
I doubt it.
> Does someone know a debugging technique to see whats happening?
First make sure that you do not inherit a signal mask where SIGALRM is
blocked, and that you do not inherit a SIG_IGN signal disposition for
SIGALRM either.
Cat /proc/pid/status and look for the SigBlk line (blocked signals)
and the SigIgn (ignored signals). SIGALRM is 14, look for bit 14,
that is 0000000000002000. This bit should not be set.
Phil.
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: SIGALRM ignored
2005-11-09 0:58 ` Philippe Troin
@ 2005-11-09 9:21 ` Dick
2005-11-09 19:28 ` Philippe Troin
0 siblings, 1 reply; 10+ messages in thread
From: Dick @ 2005-11-09 9:21 UTC (permalink / raw)
To: linux-kernel
Philippe Troin <phil <at> fifi.org> writes:
> > Does someone know a debugging technique to see whats happening?
> Cat /proc/pid/status and look for the SigBlk line (blocked signals)
> and the SigIgn (ignored signals). SIGALRM is 14, look for bit 14,
> that is 0000000000002000. This bit should not be set.
And it is set (SigBlk: 0000000000012000) ... Thank you very much, I have to
search in another direction.
Greetings,
Dick
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: SIGALRM ignored
2005-11-09 9:21 ` Dick
@ 2005-11-09 19:28 ` Philippe Troin
2005-11-10 20:04 ` Dick
0 siblings, 1 reply; 10+ messages in thread
From: Philippe Troin @ 2005-11-09 19:28 UTC (permalink / raw)
To: Dick; +Cc: linux-kernel
Dick <dm@chello.nl> writes:
> Philippe Troin <phil <at> fifi.org> writes:
> > > Does someone know a debugging technique to see whats happening?
> > Cat /proc/pid/status and look for the SigBlk line (blocked signals)
> > and the SigIgn (ignored signals). SIGALRM is 14, look for bit 14,
> > that is 0000000000002000. This bit should not be set.
>
> And it is set (SigBlk: 0000000000012000) ... Thank you very much, I have to
> search in another direction.
Look at the display manager. I know that wdm used to not clean up its
signals before starting a user session.
Phil.
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: SIGALRM ignored
2005-11-09 19:28 ` Philippe Troin
@ 2005-11-10 20:04 ` Dick
2005-11-11 1:12 ` Philippe Troin
0 siblings, 1 reply; 10+ messages in thread
From: Dick @ 2005-11-10 20:04 UTC (permalink / raw)
To: linux-kernel
Philippe Troin <phil <at> fifi.org> writes:
> Look at the display manager. I know that wdm used to not clean up its
> signals before starting a user session.
I've found the error, the signal was blocked in sshd and I was restarting sshd
from a ssh session, I also disabled some pam modules (which I suspect the block
came from). Restarting sshd from a console did the trick.
I don't know how to thank you ;-)
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: SIGALRM ignored
2005-11-10 20:04 ` Dick
@ 2005-11-11 1:12 ` Philippe Troin
0 siblings, 0 replies; 10+ messages in thread
From: Philippe Troin @ 2005-11-11 1:12 UTC (permalink / raw)
To: Dick; +Cc: linux-kernel
Dick <dm@chello.nl> writes:
> Philippe Troin <phil <at> fifi.org> writes:
> > Look at the display manager. I know that wdm used to not clean up its
> > signals before starting a user session.
>
> I've found the error, the signal was blocked in sshd and I was restarting sshd
> from a ssh session, I also disabled some pam modules (which I suspect the block
> came from). Restarting sshd from a console did the trick.
Daemons like ssh should clean-up their signal masks on start-up.
Maybe you should file a bug against ssh?
> I don't know how to thank you ;-)
Then don't :-)
Phil.
^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2005-11-11 1:12 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-11-07 17:36 SIGALRM ignored Dick
2005-11-08 0:03 ` Paul Jackson
2005-11-08 12:00 ` Dick
2005-11-09 0:58 ` Philippe Troin
2005-11-09 9:21 ` Dick
2005-11-09 19:28 ` Philippe Troin
2005-11-10 20:04 ` Dick
2005-11-11 1:12 ` Philippe Troin
2005-11-08 2:35 ` Keith Owens
2005-11-08 11:48 ` Dick
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox