All of lore.kernel.org
 help / color / mirror / Atom feed
From: Rob Landley <rob@landley.net>
To: Andrew Morton <akpm@osdl.org>
Cc: linux-kernel@vger.kernel.org, linux-mm@kvack.org
Subject: Re: Process in D state (was Re: 2.6.0-test5-mm2)
Date: Sun, 21 Sep 2003 14:30:50 -0400	[thread overview]
Message-ID: <200309211430.51367.rob@landley.net> (raw)
In-Reply-To: <20030920144902.47c2c7c4.akpm@osdl.org>

On Saturday 20 September 2003 17:49, Andrew Morton wrote:
> Rob Landley <rob@landley.net> wrote:
> > But, twice in a row now I've made this happen:
> >
> >   1391 pts/1    S      0:00 /bin/bash
> >   1419 pts/1    S      0:00 /bin/sh ./build.sh
> >   1423 pts/1    S      0:00 /bin/bash
> >  /home/landley/pending/newfirmware/make-stat
> >   1447 pts/1    D      0:04 tar xvjf
> >  /home/landley/pending/newfirmware/base/linux
> >   1448 pts/1    S      0:37 bzip2 -d
> >
> >  All I have to do is run my script, it tries to extract the kernel
> > tarball, and tar hangs in D state.
> >
> >  How do I debug this?  (Is there some way to get the output of Ctrl-ScrLk
> > to go to the log instead of just the console?  My system isn't currently
> > hung, it's just got a process that is.  This process being hung prevents
> > my partitions from being unmounted on shutdown, which is annoying.)
>
> sysrq-T followed by `dmesg -s 1000000 > foo' should capture it.

I'll give it a try...

Okay, I reproduced the hang.  Now...  It's beeping at me?

It helps to have magic sysrq selected in menuconfig.  I'll get back to this...

> >  Other miscelanous bugs: cut and paste only works some of the time (it
> > pastes blanks other times, dunno if this was -test5 or -mm2; it worked
> > fine in -test4).
>
> vgacon? fbcon? X11?

X11.  At first I thought it was only between certain apps, but now I thin it's 
just plain intermittent.  Smells like a race or uninitialized variable or 
something.  (For all I know, the bug could be in kde, although I'm using 
RH9's binaries.  I've seen it cutting and pasting between kmail, konsole, and 
konqueror.  Sorry, can't reproduce this one at will...

> >  The key repeat problem is still there, although still highly
> > intermittent.
>
> I think Andries says that some keyboards just forget to send up codes.
> We'll probably need some kernel boot parameter to support these, using the
> keyboard's silly native autorepeat.

I'd rather not have any autorepeat at all than have it go intermittently nuts 
on me...

> >  The boot hung enabling swap space once.  I don't know why.  (Init was
> > already running and everything...)
>
> Probably the O_DIRECT locking bug: I had `rpmv' getting stuck on boot for a
> while.  mm3 fixed that.

I'll upgrade after I get you your sysrq-t.

Rob

WARNING: multiple messages have this Message-ID (diff)
From: Rob Landley <rob@landley.net>
To: Andrew Morton <akpm@osdl.org>
Cc: linux-kernel@vger.kernel.org, linux-mm@kvack.org
Subject: Re: Process in D state (was Re: 2.6.0-test5-mm2)
Date: Sun, 21 Sep 2003 14:30:50 -0400	[thread overview]
Message-ID: <200309211430.51367.rob@landley.net> (raw)
In-Reply-To: <20030920144902.47c2c7c4.akpm@osdl.org>

On Saturday 20 September 2003 17:49, Andrew Morton wrote:
> Rob Landley <rob@landley.net> wrote:
> > But, twice in a row now I've made this happen:
> >
> >   1391 pts/1    S      0:00 /bin/bash
> >   1419 pts/1    S      0:00 /bin/sh ./build.sh
> >   1423 pts/1    S      0:00 /bin/bash
> >  /home/landley/pending/newfirmware/make-stat
> >   1447 pts/1    D      0:04 tar xvjf
> >  /home/landley/pending/newfirmware/base/linux
> >   1448 pts/1    S      0:37 bzip2 -d
> >
> >  All I have to do is run my script, it tries to extract the kernel
> > tarball, and tar hangs in D state.
> >
> >  How do I debug this?  (Is there some way to get the output of Ctrl-ScrLk
> > to go to the log instead of just the console?  My system isn't currently
> > hung, it's just got a process that is.  This process being hung prevents
> > my partitions from being unmounted on shutdown, which is annoying.)
>
> sysrq-T followed by `dmesg -s 1000000 > foo' should capture it.

I'll give it a try...

Okay, I reproduced the hang.  Now...  It's beeping at me?

It helps to have magic sysrq selected in menuconfig.  I'll get back to this...

> >  Other miscelanous bugs: cut and paste only works some of the time (it
> > pastes blanks other times, dunno if this was -test5 or -mm2; it worked
> > fine in -test4).
>
> vgacon? fbcon? X11?

X11.  At first I thought it was only between certain apps, but now I thin it's 
just plain intermittent.  Smells like a race or uninitialized variable or 
something.  (For all I know, the bug could be in kde, although I'm using 
RH9's binaries.  I've seen it cutting and pasting between kmail, konsole, and 
konqueror.  Sorry, can't reproduce this one at will...

> >  The key repeat problem is still there, although still highly
> > intermittent.
>
> I think Andries says that some keyboards just forget to send up codes.
> We'll probably need some kernel boot parameter to support these, using the
> keyboard's silly native autorepeat.

I'd rather not have any autorepeat at all than have it go intermittently nuts 
on me...

> >  The boot hung enabling swap space once.  I don't know why.  (Init was
> > already running and everything...)
>
> Probably the O_DIRECT locking bug: I had `rpmv' getting stuck on boot for a
> while.  mm3 fixed that.

I'll upgrade after I get you your sysrq-t.

Rob
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"aart@kvack.org"> aart@kvack.org </a>

  reply	other threads:[~2003-09-21 18:34 UTC|newest]

Thread overview: 34+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-09-15  6:48 2.6.0-test5-mm2 Andrew Morton
2003-09-15  6:48 ` 2.6.0-test5-mm2 Andrew Morton
2003-09-15 14:19 ` 2.6.0-test5-mm2 Claas Langbehn
2003-09-15 14:19   ` 2.6.0-test5-mm2 Claas Langbehn
2003-09-15 14:34 ` 2.6.0-test5-mm2 Luiz Capitulino
2003-09-15 14:34   ` 2.6.0-test5-mm2 Luiz Capitulino
2003-09-15 16:03   ` 2.6.0-test5-mm2 Rusty Russell
2003-09-15 16:59   ` 2.6.0-test5-mm2 Arnaldo Carvalho de Melo
2003-09-15 16:59     ` 2.6.0-test5-mm2 Arnaldo Carvalho de Melo
2003-09-15 16:20 ` [patch] 2.6.0-test5-mm2: let PM_DISK_PARTITION depend on PM_DISK Adrian Bunk
2003-09-15 16:19   ` Patrick Mochel
2003-09-15 17:19 ` 2.6.0-test5-mm2 Felipe Alfaro Solana
2003-09-15 17:19   ` 2.6.0-test5-mm2 Felipe Alfaro Solana
2003-09-17 19:48   ` 2.6.0-test5-mm2 Sam Ravnborg
2003-09-17 19:48     ` 2.6.0-test5-mm2 Sam Ravnborg
2003-09-15 19:26 ` 2.6.0-test5-mm2 Marek Habersack
2003-09-15 19:24   ` 2.6.0-test5-mm2 Andrew Morton
2003-09-15 19:24     ` 2.6.0-test5-mm2 Andrew Morton
2003-09-15 22:08 ` 2.6.0-test5-mm2: dgap driver looks ugly Adrian Bunk
2003-09-16  2:02 ` 2.6.0-test5-mm2 Ramón Rey Vicente
2003-09-16  2:02   ` 2.6.0-test5-mm2 Ramón Rey Vicente
2003-09-16 10:23   ` 2.6.0-test5-mm2 Felipe Alfaro Solana
2003-09-16 10:23     ` 2.6.0-test5-mm2 Felipe Alfaro Solana
2003-09-16 11:51 ` 2.6.0-test5-mm2: i4l coompile error Adrian Bunk
2003-09-16 19:54 ` [patch] 2.6.0-test5-mm2: ISTALLION UP compile is fixed Adrian Bunk
2003-09-17 13:51 ` 2.6.0-test5-mm2 Sean Neakums
2003-09-17 13:51   ` 2.6.0-test5-mm2 Sean Neakums
2003-09-20 19:34 ` Process in D state (was Re: 2.6.0-test5-mm2) Rob Landley
2003-09-20 21:49   ` Andrew Morton
2003-09-20 21:49     ` Andrew Morton
2003-09-21 18:30     ` Rob Landley [this message]
2003-09-21 18:30       ` Rob Landley
2003-09-21 20:30     ` Rob Landley
2003-09-21 20:30       ` Rob Landley

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200309211430.51367.rob@landley.net \
    --to=rob@landley.net \
    --cc=akpm@osdl.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mm@kvack.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.