lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Tue, 05 Feb 2008 13:07:27 -0800
From:	"H. Peter Anvin" <hpa@...or.com>
To:	Rob Landley <rob@...dley.net>
CC:	linux-kernel@...r.kernel.org
Subject: Re: 2.6.24 says "serial8250: too much work for irq4" a lot.

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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ