qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Rob Landley <rob@landley.net>
To: "H. Peter Anvin" <hpa@zytor.com>
Cc: qemu-devel@nongnu.org
Subject: [Qemu-devel] Re: 2.6.24 says "serial8250: too much work for irq4" a lot.
Date: Tue, 5 Feb 2008 18:43:14 -0600	[thread overview]
Message-ID: <200802051843.15163.rob@landley.net> (raw)
In-Reply-To: <47A8D00F.9040803@zytor.com>

On Tuesday 05 February 2008 15:07:27 H. Peter Anvin wrote:
> Rob Landley wrote:
> > When running a 2.6.24 kernel built for x86-64 under qemu via serial
> > console, doing CPU-intensive things that also produce a lot of output
> > (such as compiling software) tends to produce the error message in the
> > title.
> >
> > Anybody have a clue why?  It doesn't seem to cause an actual problem, but
> > it's kind of annoying.
> >
> > (If it's a qemu issue, I can go bother them.  It's possible that qemu
> > isn't delivering interrupts as often as it expects, since that's limited
> > by the granularity of the host timer; I know the clock in qemu can run a
> > bit slow because it only gets clock interrupts when the host system isn't
> > too busy to schedule the emulator.  But this doesn't usually cause a
> > problem.  I _think_ the message is just a "this should never happen" type
> > warning, which is happening to me.  But I break stuff. :)
>
> This is because Qemu spews data to the serial port without any rate
> limiting; this causes the in-kernel serial port driver to think the port
> is stuck.  The serial port emulation needs to make it possible to drain
> the virtual FIFO every now and then, as opposed to filling it again
> immediately.
>
> 	-hpa

Thanks.  cc'd the right list on this one. :)

Rob
-- 
"One of my most productive days was throwing away 1000 lines of code."
  - Ken Thompson.

       reply	other threads:[~2008-02-06  1:21 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <200802051455.10831.rob@landley.net>
     [not found] ` <47A8D00F.9040803@zytor.com>
2008-02-06  0:43   ` Rob Landley [this message]
     [not found] ` <200802071413.45085.rob@landley.net>
     [not found]   ` <47AB75EB.3040405@zytor.com>
2008-02-09  5:49     ` [Qemu-devel] Re: 2.6.24 says "serial8250: too much work for irq4" a lot Rob Landley
2008-02-09  7:04       ` Blue Swirl
2008-02-09  7:12         ` H. Peter Anvin
2008-02-09 11:15           ` Blue Swirl
2008-02-09 21:36             ` H. Peter Anvin
2008-02-10  8:01               ` Blue Swirl
2008-02-10 11:26                 ` Paul Brook
2008-03-11 23:51                   ` Aurelien Jarno

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=200802051843.15163.rob@landley.net \
    --to=rob@landley.net \
    --cc=hpa@zytor.com \
    --cc=qemu-devel@nongnu.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).