Re: 2.3.12 - klogd 100%CPU

Manfred Spraul (manfreds@colorfullife.com)
Wed, 11 Aug 1999 15:26:53 +0200


Alex Buell wrote:
> On Tue, 10 Aug 1999, Manfred Spraul wrote:
>
> > I noticed that the synchronization in do_syslog() is completely broken
> > on both SMP & UP. Perhaps this explains why klogd stays at 100%: the
> > CD drivers contains a bug, this causes unusual printk()'s, and this
> > corrupted the kernel ring buffer.
>
> Can this be back-ported to the 2.2.x kernel series? We've had this exact
> problem several times but my way was to kill the syslodg daemon and
> restart.

The same patch can be used for 2.2.11 & 2.3.12/13. There were no changes
in kernel/printk.c except __init & DECLARE_WAIT_QUEUE_HEAD between
2.2.9 & 2.3.13.

I'll wait until I hear from Linus, then I'll send the patch to Alan for
inclusion into 2.2.x

--
	Manfred

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/