v3.0-rc* intermittent network failure: how to debug?
Subsystems (2)
I keep seeing a total network failure on v3.0.0-rc* , it is highly intermittent, anything from 1 hour to 12+, and I don't have a reliable test case.
When it fails I lose all network comms, but there are no errors in the system log, no hung tasks reported, nothing. But after it fails the machine hangs during shutdown, it just never turns off. So I guess something is getting stuck but I can't find it.
Can you suggest how to find out what going on? Or how collect more information as to what's failing?
I'm going to add a serial console and see if that helps.
this is on a x86_64, via_velocity currently running 3.0.0-rc7 latest.
all suggestions gratefully received
regards
Richard
Richard Kennedy <[email protected]> :
Quoted 7 lines
I keep seeing a total network failure on v3.0.0-rc* , it is highly intermittent, anything from 1 hour to 12+, and I don't have a reliable test case.
When it fails I lose all network comms, but there are no errors in the system log, no hung tasks reported, nothing. But after it fails the machine hangs during shutdown, it just never turns off. So I guess something is getting stuck but I can't find it.
Assuming the kernel hangs late enough, you can try the "reboot=" kernel parameter and see if a value in arch/x86/include/asm/emergency-restart.h makes a difference.
Quoted 1 line
Can you suggest how to find out what going on?
Switch into text mode before starting the reboot sequence then send a magic sysrq T or W ?
Quoted 1 line
I'm going to add a serial console and see if that helps.
It will help, especially with the kilometer long output of sysrq.
Quoted 3 lines
this is on a
x86_64,via_velocitycurrently running 3.0.0-rc7 latest.all suggestions gratefully received
Last via-velocity change in mainline dates back to may 25 (see d10358de8d70aaeb965a974d56e9b72f6c6dbb3a). Were you previously fine with a recent enough kernel to rule it out ?
Signature · 1 line
Ueimor
Quoted 22 lines · Francois Romieu
Richard Kennedy <[email protected]> :
Quoted 7 lines
I keep seeing a total network failure on v3.0.0-rc* , it is highly intermittent, anything from 1 hour to 12+, and I don't have a reliable test case.
When it fails I lose all network comms, but there are no errors in the system log, no hung tasks reported, nothing. But after it fails the machine hangs during shutdown, it just never turns off. So I guess something is getting stuck but I can't find it.Assuming the kernel hangs late enough, you can try the "reboot=" kernel parameter and see if a value in
arch/x86/include/asm/emergency-restart.hmakes a difference.Quoted 1 line
Can you suggest how to find out what going on?
Switch into text mode before starting the reboot sequence then send a magic sysrq T or W ?
Quoted 1 line
I'm going to add a serial console and see if that helps.
It will help, especially with the kilometer long output of sysrq.
Quoted 8 lines
Quoted 3 lines
this is on a
x86_64,via_velocitycurrently running 3.0.0-rc7 latest.all suggestions gratefully received
Last via-velocity change in mainline dates back to may 25 (see
d10358de8d70aaeb965a974d56e9b72f6c6dbb3a). Were you previously fine with a recent enough kernel to rule it out ?
Thanks Francois,
I'll try the reboot= tomorrow.
I don't really know when my last know good was, it could be that via-velocity change, but the problem is so intermittent it's difficult to be sure. I've been trying to stress the network to make the problem happen sooner but I've had no luck yet.
regards
Richard
Re: v3.0-rc* intermittent network failure: Test case found!
Quoted 9 lines · Richard Kennedy
Quoted 9 lines
Richard Kennedy<[email protected]> :
Quoted 7 lines
I keep seeing a total network failure on v3.0.0-rc* , it is highly intermittent, anything from 1 hour to 12+, and I don't have a reliable test case.
When it fails I lose all network comms, but there are no errors in the system log, no hung tasks reported, nothing. But after it fails the machine hangs during shutdown, it just never turns off. So I guess something is getting stuck but I can't find it.
I have found a reliable test case, I can instantly trigger my problem by starting 2 instances of rsync at the same time. [this is on x86_64 AMDX2]
e.g.
rsync -a linux-2.6 server:t1 & ;rsync -a linux-2.6 server:t2 &
If I have a ping running when I trigger the problem, it pauses then errors with :-
ping: sendmsg: No buffer space available
But if I start a ping after, it fails with
... Destination Host Unreachable
.
I have a serial console attached but don't really understand what it's telling me. AFAICT -- I have no blocked tasks - sysrq w shows :-
SysRq : Show Blocked State
task PC stack pid father
Sched Debug Version: v0.10, 3.0.0 #46
ktime : 7129717.783042 sched_clk : 7126380.221722 cpu_clk : 7129711.544071 jiffies : 4301797008 sched_clock_stable : 0
.....[lots more schedule & cpu info]
But now I've got a reliable test case I can find a last know good kernel and have a stab at bisecting this, unless anyone has got any better suggestions?
regards
Richard