public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* on exit xterm  totally wrecks linux 2.4.11 to 2.4.14-pre6 (unkillable processes)
@ 2001-11-01 16:25 Ricardo Martins
  2001-11-01 19:05 ` Pierre Rousselet
  2001-11-01 19:19 ` Ricardo Martins
  0 siblings, 2 replies; 17+ messages in thread
From: Ricardo Martins @ 2001-11-01 16:25 UTC (permalink / raw)
  To: linux-kernel

I'm using Linux kernel 2.4.10, and since the fatidic 2.4.11 release ( i 
tried 2.4.11 (one day :)))) 2.4.12, 2.4.13 and 2.4.14-pre6) I get the 
same bug on and on (that means I can reproduce the experience and obtain 
the same results).

Procedure
In X windows (version 4.1.0 compiled from the sources) when writing 
"exit" in xterm to close the terminal emulator, the window freezes, and 
from that moment on, every process becomes "unkillable", including xterm 
and X (ps also freezes), and there's no way to shutdown GNU/Linux in a 
sane way (must hit reset or poweroff).

Environment
I used Glibc 2.2.4 and GCC 3.0.1 (tried with 2.95.3, obtained the same 
results).

The odd thing is, that with the same configuration, kernel 2.4.10 works 
just fine, but every other release since then ends up doing the same 
thing (the system can't maintain integrity after writing "exit" and 
hiting enter in xterm).

Please help me, I getting slightly mad with the situation.

Ricardo Martins


^ permalink raw reply	[flat|nested] 17+ messages in thread
* Re: on exit xterm  totally wrecks linux 2.4.11 to 2.4.14-pre6 (unkillable processes)
@ 2001-11-02  6:16 Chris Rankin
  0 siblings, 0 replies; 17+ messages in thread
From: Chris Rankin @ 2001-11-02  6:16 UTC (permalink / raw)
  To: thecrown; +Cc: linux-kernel

Hi,

I see something similar with vanilla 2.4.13 (+devfs), except my 
unkillable xterms don't appear until a modprobe has already failed. 
Specifically, what seems to happen is:

- an open() call causes the kernel to grab the devfs rwsem for reading, 
and then load a module (e.g. ide-cd).
- the modprobe process then waits forever for write-access to the devfs 
rwsem.

Each xterm then waits forever in "wait_for_devfsd_finished()", 
presumably when it tries to close its terminal.

Are you also using dynamic module loading? Are ALL of your unkillable 
processes xterms, or do you also have a failed modprobe lurking somewhere?

Chris



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

end of thread, other threads:[~2001-11-09  1:18 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-11-01 16:25 on exit xterm totally wrecks linux 2.4.11 to 2.4.14-pre6 (unkillable processes) Ricardo Martins
2001-11-01 19:05 ` Pierre Rousselet
2001-11-01 19:19 ` Ricardo Martins
2001-11-01 19:31   ` Pierre Rousselet
2001-11-01 19:44     ` Nick LeRoy
2001-11-01 20:00       ` Pierre Rousselet
2001-11-01 20:06         ` Nick LeRoy
2001-11-01 20:13           ` Jeffrey W. Baker
2001-11-01 20:35             ` Nick LeRoy
2001-11-01 20:40               ` Rik van Riel
2001-11-01 21:34                 ` Richard Gooch
2001-11-02  3:41                 ` David Ford
2001-11-01 20:42               ` Brian Gerst
2001-11-09  1:17           ` Dr. Kelsey Hudson
2001-11-01 19:47   ` Ricardo Martins
2001-11-01 19:58     ` Per Lidén
  -- strict thread matches above, loose matches on Subject: below --
2001-11-02  6:16 Chris Rankin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox