From: "Miquel van Smoorenburg" <miquels@cistron.nl>
To: linux-kernel@vger.kernel.org
Subject: Re: Interrupts disabled for too long in printk
Date: Thu, 8 Jun 2006 18:34:32 +0000 (UTC) [thread overview]
Message-ID: <e69qjo$ekd$1@news.cistron.nl> (raw)
In-Reply-To: 9e4733910606080845y48dabed1o333b82eeb1a57381@mail.gmail.com
In article <9e4733910606080845y48dabed1o333b82eeb1a57381@mail.gmail.com>,
Jon Smirl <jonsmirl@gmail.com> wrote:
>This just seems to be an issue with the serial console implementation
>which is much slower. So the answer looks to be that if the serial
>console buffer is full, and it is being called with interrupts off, it
>should just toss the printk.
Read the serial console code. It is a standalone implementation
completely seperate from the standard drivers, which deliberately
turns off the interrupts and reverts to polling. This because
there is no guarantee the whole irq handling stuff still works
at the moment you're printk'ing a panic.
Also the current standard serial drivers only work if the
tty has been opened by a userspace process.
If you want to change this, first fix the latter problem, then
change the serial console output driver so that it uses the
standard serial driver for lower priority messages and only
uses the polling code for panics.
Mike.
prev parent reply other threads:[~2006-06-08 18:34 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-06-03 11:19 Interrupts disabled for too long in printk Mathieu Desnoyers
2006-06-03 21:43 ` Steven Rostedt
2006-06-08 1:09 ` Mathieu Desnoyers
2006-06-08 1:37 ` Jon Smirl
2006-06-08 2:31 ` Mathieu Desnoyers
2006-06-08 2:35 ` Jon Smirl
2006-06-08 10:24 ` linux-os (Dick Johnson)
2006-06-08 14:38 ` Jon Smirl
2006-06-08 15:17 ` linux-os (Dick Johnson)
2006-06-08 15:45 ` Jon Smirl
2006-06-08 18:34 ` Miquel van Smoorenburg [this message]
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='e69qjo$ekd$1@news.cistron.nl' \
--to=miquels@cistron.nl \
--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