linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* 2.4.23-pre9 ide+XFree+ptrace=Complete hang
@ 2003-11-11 19:22 Maciej Zenczykowski
  2003-11-11 22:50 ` Peter Adebahr
  0 siblings, 1 reply; 13+ messages in thread
From: Maciej Zenczykowski @ 2003-11-11 19:22 UTC (permalink / raw)
  To: Linux Kernel Mailing List

This is a very vague bug report... however this is something which 
definetely shouldn't be happening.  This is more a question as to whether 
such an issue is known and if not, how should I go about fixing it...

Running a patched 2.4.23-pre9 kernel (I don't think the patches are in
places which might affect this) on a Satellite 2590 CDT laptop (pretty old
and no real stability problems so far, I've had uptimes of months
(obviously not on this kernel, but on 2.4.9-34 RH) with hibernation,
everything is supported under linux) I'm experiencing total lockups
(non-responding keyboard, ps2 mouse, usb mouse, ping from outside,
sometimes even the bios crashes (the fn key ceases to cause a status LED
to light up)).  This is an up2date RH9 system.

This has happened now a dozen times in the last hour.

All I need to do is start the Xserver (i'm using twm as the window 
manager, so no extra junk) open an xterm and run
  strace /bin/ls -lR /
as a normal unpriveledged user.
Junk starts spamming across the terminal (as expected) and then sooner or 
later (random time interval) everything crashes, most likely with the 
terminal screen empty from a given scanline (often in the middle of a text 
row) and on down.  This has never happened on ls -lR / alone in an xterm 
(ie the Xserver screen update doesn't seem to be the problem).
I expect this is some sort of interaction (race?) but I have no idea how 
to go about testing this...

Obviously due to this being under X, there's no oops.

Running strace /bin/ls -lR / on a text console doesn't appear to cause 
crashes - but then that's a lot less taxing for the computer...

Perhaps I should mention that this doesn't seem to be a strace bug per se 
since this happened while writing my own ptrace-based utility (also does 
stdio output, but way less that strace, although it seems to crash faster) 
and I've since verified that strace crashes in exactly the same manner.

The minimum case I've managed to get to crash:

processes: init + kernel threads + mingetty * 9 + login + bash + X + xterm
command: strace /bin/ls -lR / 2>/dev/null
no pcmcia/usb etc modules loaded
with minimal mounted file systems (rootfs,tmpfs,proc,devfs,ext3 (and 
vfat)) (have seen crash during ls on vfat and seperately on ext3, only 
during ide disk access, doesn't seem to crash when running out of cache)

As far as I can tell it only happens when video screen output, ide hard 
disk access and ptrace are happening at the same time...

Any ideas?

I'm about to embark on a bug binsearch (I know RH 2.4.20-18.9 doesn't 
freeze) and I'm hoping someone will save me the trouble... :)

Cheers,
MaZe.




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

end of thread, other threads:[~2003-11-14 20:25 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <Pine.LNX.4.44.0311111142520.1960-100000@home.osdl.org>
2003-11-12 11:25 ` 2.4.23-pre9 ide+XFree+ptrace=Complete hang Maciej Zenczykowski
2003-11-12 13:30   ` Maciej Zenczykowski
2003-11-12 16:27     ` Linus Torvalds
2003-11-12 22:35       ` Maciej Zenczykowski
2003-11-14 20:24         ` Maciej Zenczykowski
2003-11-12 16:34     ` Paulo Marques
2003-11-12 17:17       ` Maciej Zenczykowski
2003-11-12 16:19   ` Linus Torvalds
2003-11-11 19:22 Maciej Zenczykowski
2003-11-11 22:50 ` Peter Adebahr
2003-11-12 11:37   ` Marcelo Tosatti
2003-11-12 11:39     ` Marcelo Tosatti
2003-11-13  1:33     ` Peter Adebahr

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).