From: Jarek Poplawski <jarkao2@gmail.com>
To: Andrew Morton <akpm@linux-foundation.org>
Cc: davem@davemloft.net, shemminger@linux-foundation.org,
netdev@vger.kernel.org, rjw@sisk.pl,
"bugme-daemon@kernel-bugs.osdl.org"
<bugme-daemon@bugzilla.kernel.org>
Subject: Re: [Bug 10238] Re: [PATCH] Re: netconsole still hangs
Date: Tue, 18 Mar 2008 22:05:42 +0100 [thread overview]
Message-ID: <20080318210542.GA2764@ami.dom.local> (raw)
In-Reply-To: <20080318015006.3f0efb8e.akpm@linux-foundation.org>
Andrew Morton wrote, On 03/18/2008 09:50 AM:
...
> As a last resort. But it'd surely be better if a net developer could
> reproduce this and do some work on it. It's bog-trivial to reproduce here
> and afaik nobody has even tried. Perhaps you have...
>
> service syslog stop
> while true
> do
> echo t > /proc/sysrq-trigger
> done
>
> and that's it.
Alas my testing possibilities, especially with real network, are very
limited, I can confirm: yes, the above test really hangs my box, yet
with syslog on and netconsole off. So, maybe I miss something, but I
don't understand why do you expect netconsole should endure this?
IMHO, after the below patch to sched.c you can't compare netconsole to
2.6.24 with this sysrq-trigger test; any bugs found with this could be
something old and not necessarily in netconsole (could be only exposed
by netconsole like this earlier mentioned, unexplained, probably after
double kfree OOPS).
Regards,
Jarek P.
From: Nick Piggin <nickpiggin@yahoo.com.au>
Date: Fri, 25 Jan 2008 20:08:34 +0000 (+0100)
Subject: sched: print backtrace of running tasks too
X-Git-Tag: v2.6.25-rc1~1237^2~3
X-Git-Url: http://git.kernel.org/?p=linux%2Fkernel%2Fgit%2Ftorvalds%2Flinux-2.6.git;a=commitdiff_plain;h=5fb5e6de55860a99c2d8fe7e0c8222d5c53d8464
sched: print backtrace of running tasks too
The attached patch is something really simple that can sometimes help
in getting more info out of a hung system.
Signed-off-by: Ingo Molnar <mingo@elte.hu>
---
diff --git a/kernel/sched.c b/kernel/sched.c
index 4d3a5a7..524285e 100644
--- a/kernel/sched.c
+++ b/kernel/sched.c
@@ -5161,8 +5161,7 @@ void sched_show_task(struct task_struct *p)
printk(KERN_CONT "%5lu %5d %6d\n", free,
task_pid_nr(p), task_pid_nr(p->real_parent));
- if (state != TASK_RUNNING)
- show_stack(p, NULL);
+ show_stack(p, NULL);
}
void show_state_filter(unsigned long state_filter)
http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=5fb5e6de55860a99c2d8fe7e0c8222d5c53d8464
next prev parent reply other threads:[~2008-03-19 20:21 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-03-12 23:14 netconsole still hangs Andrew Morton
2008-03-12 23:16 ` Andrew Morton
2008-03-12 23:30 ` Andrew Morton
2008-03-12 23:57 ` Andrew Morton
2008-03-13 6:10 ` David Miller
2008-03-13 6:52 ` Andrew Morton
2008-03-13 7:12 ` David Miller
2008-03-13 7:25 ` Andrew Morton
2008-03-13 7:48 ` Jike Song
2008-03-14 23:47 ` [PATCH] " Jarek Poplawski
2008-03-17 23:12 ` Andrew Morton
2008-03-18 8:04 ` Jarek Poplawski
2008-03-18 8:50 ` [Bug 10238] " Andrew Morton
2008-03-18 21:05 ` Jarek Poplawski [this message]
2008-03-18 21:47 ` Andrew Morton
2008-03-18 22:47 ` Jarek Poplawski
2008-03-19 19:17 ` Jarek Poplawski
2008-03-19 21:20 ` Andrew Morton
2008-03-19 21:31 ` David Miller
2008-03-19 21:54 ` Jarek Poplawski
2008-03-20 23:08 ` David Miller
2008-03-13 7:59 ` Andrew Morton
2008-03-13 15:09 ` Stephen Hemminger
2008-03-13 15:52 ` Andrew Morton
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=20080318210542.GA2764@ami.dom.local \
--to=jarkao2@gmail.com \
--cc=akpm@linux-foundation.org \
--cc=bugme-daemon@bugzilla.kernel.org \
--cc=davem@davemloft.net \
--cc=netdev@vger.kernel.org \
--cc=rjw@sisk.pl \
--cc=shemminger@linux-foundation.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;
as well as URLs for NNTP newsgroup(s).