From: "Haoqiang Zheng" <hzheng@cs.columbia.edu>
To: <ak@suse.de>
Cc: <linux-kernel@vger.kernel.org>
Subject: Re: linux hangs with printk on schedule()
Date: Tue, 4 Feb 2003 22:01:27 -0500 [thread overview]
Message-ID: <015201c2ccc2$e10729e0$bcf627a0@zhengthinkpad> (raw)
> oops_in_progress++;
> printk(...);
> oops_in_progress--;
Thanks Robert and Andi for your help.
But the trick (avoid waking up klog by setting oops_in_progress) doesn't
seem to work for me.
I did notice the code:
*********************************************
if (must_wake_klogd && !oops_in_progress)
wake_up_interruptible(&log_wait);
*****************************************
But it simply still doesn't work. :-(
I am working on implementing a new SMP scheduler. It's an OS research
project. Without "printk" in the scheduler, it's really very hard to do the
debugging. I don't know how other guys do in this case. Are you guys better
equipped than me? I mean is debugging with gdb running on another machine
(connected via serial port) a common technique? I am not sure whether it's
necessary to set up an environment like that.
Haoqiang
next reply other threads:[~2003-02-05 2:52 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-02-05 3:01 Haoqiang Zheng [this message]
2003-02-06 2:18 ` Rick Lindsley
[not found] <05db01c2cbe5$4b4c34f0$9c2a3b80@zhengthinkpad.suse.lists.linux.kernel>
2003-02-04 0:48 ` Andi Kleen
-- strict thread matches above, loose matches on Subject: below --
2003-02-04 0:35 Haoqiang Zheng
2003-02-04 0:43 ` Robert Love
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='015201c2ccc2$e10729e0$bcf627a0@zhengthinkpad' \
--to=hzheng@cs.columbia.edu \
--cc=ak@suse.de \
--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
all inboxes | Powered by JetHome®