public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Jesper Juhl <jesper.juhl@gmail.com>
To: Richard Mittendorfer <delist@gmx.net>
Cc: linux-kernel <linux-kernel@vger.kernel.org>
Subject: Re: Hang in 2.6.23-rc5
Date: Mon, 3 Sep 2007 00:14:53 +0200	[thread overview]
Message-ID: <200709030014.53225.jesper.juhl@gmail.com> (raw)
In-Reply-To: <20070903000515.45dacb3f.delist@gmx.net>

On Monday 03 September 2007 00:05:15 Richard Mittendorfer wrote:
> Also sprach "Alessandro Suardi" <alessandro.suardi@gmail.com> (Sun, 2 Sep 2007 22:38:28 +0200):
> > On 9/2/07, charles gagalac <charles.gagalac@gmail.com> wrote:
> > > On 9/2/07, daryll q wrote:
> > > > Upgraded my kernel from 2.6.23-rc2 to 2.6.23-rc5.
> > > >
> > > >  System hangs (caps lock and scroll lock leds are both flashing).
> [...]
> > > i experienced hangs, with the flashing caps and scroll locks as you've
> > > described, in a few of my later pulls prior to rc5.  i couldn't
> > > reproduce the hangs and my logs didn't show evidence of a problem.  my
> > > system under rc5, so far, hasn't hung on me.
> [...]
> > Oh, I thought I was the only one. I also had a single hang+flashing
> >  Caps & Scroll Lock with -rc5, but haven't had one since.
> [...]
> 
> Hmm, just occured here, no chance to capture anything. Happend under
> some system and network load (distcc/nfs) (latest atheros/madwifi
> tainted however, but never had troubles). Not had much uptime with pre-5
> -rc's.
> 
> Anything I can help to debug this?
> 

First of all, try this patch : 

--- a/net/ipv4/tcp_input.c
+++ b/net/ipv4/tcp_input.c
@@ -560,7 +560,7 @@ static u32 tcp_rto_min(struct sock *sk)
        struct dst_entry *dst = __sk_dst_get(sk);
        u32 rto_min = TCP_RTO_MIN;
 
-       if (dst_metric_locked(dst, RTAX_RTO_MIN))
+       if (dst && dst_metric_locked(dst, RTAX_RTO_MIN))
                rto_min = dst->metrics[RTAX_RTO_MIN-1];
        return rto_min;
 }

If that doesn't help, then setup netconsole or serial console and 
try to capture some output from the hang.
(details on how to setup net & serial consoles can be found in 
 Documentation/networking/netconsole.txt
  and
 Documentation/serial-console.txt
)
Make sure you've set your console loglevel high enough to log 
everything.

Also try enabling sysrq in your kernel and, if possible, capture a 
sysrq+t dump when the crash happens and send in the dmesg output 
after sysrq+t - details in Documentation/sysrq.txt - there's also 
info on console log level in there.

You can also try building a kernel with most (or all) of the debug 
options found in the 'Kernel hacking' menu enabled. That can often 
help by producing extra valuable debug output (you need to be able 
to capture it though, so getting net/serial console setup as well 
is usually a good idea if the box hangs completely and you can't 
just get info by running dmesg).


Kind regards,
  Jesper Juhl



  reply	other threads:[~2007-09-02 22:18 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-09-02 18:42 Hang in 2.6.23-rc5 daryll q
2007-09-02 19:05 ` charles gagalac
2007-09-02 20:38   ` Alessandro Suardi
2007-09-02 21:26     ` Satyam Sharma
2007-09-02 21:29     ` FD Cami
2007-09-02 21:46       ` Alexey Dobriyan
2007-09-02 22:45         ` Satyam Sharma
2007-09-02 23:10           ` Alessandro Suardi
2007-09-03  6:39           ` Patrick Mau
2007-09-04  9:32             ` Romano Giannetti
2007-09-05 17:11             ` Jean Delvare
2007-09-05 22:02               ` Satyam Sharma
2007-09-08  9:37           ` FD Cami
2007-09-03 21:04         ` Robert Fitzsimons
2007-09-02 22:05     ` Richard Mittendorfer
2007-09-02 22:14       ` Jesper Juhl [this message]
  -- strict thread matches above, loose matches on Subject: below --
2007-09-02 20:21 Andrew

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=200709030014.53225.jesper.juhl@gmail.com \
    --to=jesper.juhl@gmail.com \
    --cc=delist@gmx.net \
    --cc=linux-kernel@vger.kernel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox