Re: Linux 2.6.24-rc7: sparc64: WARNING: at kernel/lockdep_proc.c:267 lockdep_stats_show()

From: Mariusz Kozlowski
Date: Wed Jan 09 2008 - 11:31:27 EST


Hello,

> >>> Got this when doing usual looping over /proc entries on fresh test kernel:
> >> What is the usual looping, please?
> >
> > #!/bin/bash
> >
> > for i in `find /proc -type f`; do
> > echo -n "cat $i > /dev/null ... ";
> > ( cat $i > /dev/null & );
> > echo "done";
> > done
>
> OK, thanks. Probably not related to the problem report, but
> the script should probably check each file for 'readable' (-r).
> /proc/sysrq-trigger is write-only...

Hm... true. Good hint.

Thanks,

Mariusz


--
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/