Re: kernel error : 'find /proc/ -type f | xargs -n 1 head -c 10>/dev/null'

From: Al Viro
Date: Fri Jan 29 2010 - 08:46:01 EST


On Tue, Jan 26, 2010 at 02:17:32PM +0100, Jiri Kosina wrote:
> > > Please, find out which file is causing this, if it's reproducible.
> > >
> > I reproduced the msg :
> > "ACPI: Please implement acpi_video_bus_ROM_seq_show" by :
> > by
> > $> head -c 10 /proc/acpi/video/VID/info
> >
> > After suspend to disk and wakeup however the file /proc/acpi/video/VID/ROM was
> > the culprit.
> >
> > The trace however I can't reproduce until now.

*snort*
The message is caused by
printk(KERN_INFO PREFIX "Please implement %s\n", __func__);
seq_printf(seq, "<TODO>\n");
in acpi_video_bus_ROM_seq_show(), so it's not surprising. Shouldn't spew
to syslog, but other than that it's a non-issue. Stack trace, OTOH, is
something very different; something is trying to generate 2Mb of contents
in a single ->show(). Which is definitely not that one - "<TODO>\n" is
not going to eat that much ;-)
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/