Re: Hang in 2.6.23-rc5

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Richard Mittendorfer <delist@...>
Cc: linux-kernel <linux-kernel@...>
Date: Sunday, September 2, 2007 - 6:14 pm

On Monday 03 September 2007 00:05:15 Richard Mittendorfer wrote:

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


-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Hang in 2.6.23-rc5, daryll q, (Sun Sep 2, 2:42 pm)
Re: Hang in 2.6.23-rc5, charles gagalac, (Sun Sep 2, 3:05 pm)
Re: Hang in 2.6.23-rc5, Alessandro Suardi, (Sun Sep 2, 4:38 pm)
Re: Hang in 2.6.23-rc5, Richard Mittendorfer, (Sun Sep 2, 6:05 pm)
Re: Hang in 2.6.23-rc5, Jesper Juhl, (Sun Sep 2, 6:14 pm)
Re: Hang in 2.6.23-rc5, FD Cami, (Sun Sep 2, 5:29 pm)
Re: Hang in 2.6.23-rc5, Alexey Dobriyan, (Sun Sep 2, 5:46 pm)
Re: Hang in 2.6.23-rc5, Robert Fitzsimons, (Mon Sep 3, 5:04 pm)
Re: Hang in 2.6.23-rc5, Satyam Sharma, (Sun Sep 2, 6:45 pm)
Re: Hang in 2.6.23-rc5, FD Cami, (Sat Sep 8, 5:37 am)
Re: Hang in 2.6.23-rc5, Patrick Mau, (Mon Sep 3, 2:39 am)
Re: Hang in 2.6.23-rc5, Jean Delvare, (Wed Sep 5, 1:11 pm)
Re: Hang in 2.6.23-rc5, Satyam Sharma, (Wed Sep 5, 6:02 pm)
Re: Hang in 2.6.23-rc5, Romano Giannetti, (Tue Sep 4, 5:32 am)
Re: Hang in 2.6.23-rc5, Alessandro Suardi, (Sun Sep 2, 7:10 pm)
Re: Hang in 2.6.23-rc5, Satyam Sharma, (Sun Sep 2, 5:26 pm)