Re: Red Hat AS 2.1 crash.

From: Linus Torvalds
Date: Tue Dec 02 2003 - 23:38:53 EST

On Tue, 2 Dec 2003, Eduardo E. Silva wrote:
> Hello, while mousing around we ran a command
> find / -type f -exec grep pass {} \;
> on a Red Hat Advanced Server 2.1 using kernel 2.4.9-e.12smp based rpm from
> Red Hat. Well the machine panic when grep hit /proc/kmsg.

That would be a bug. Although I suspect it's also a case of "don't do that
then" - you _really_ shouldn't indiscriminately touch files in /proc,
since they often have magical properties.

> I ran the same command on a machine with a later kernel 2.4.9-e.30smp
> withour panicing the machine. Although it hung up in the /proc/kmsg.
> Has this been a confirmed bug ?

The latter is not a bug, it's just an example of the magical properties of
/proc. Some files may _look_ like regular files, but you shouldn't depend
on it.

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at