Re: Crash when executing "cat /dev/mem"

David Mosberger <[email protected]> Mon, 20 May 2002 11:01:48 -0700
Newsgroups gmane.linux.redhat.ia64.general
Message-ID <[email protected]>
>>>>> On Wed, 15 May 2002 15:32:06 +0200, "Jose A. Rodriguez" <[email protected]> said:

  Jose> 	We're using linux kernel 2.4.18 (IA64 020508 patch) on
  Jose> RedHat 7.1, and we've found that when the command "cat
  Jose> /dev/mem > /dev/null" is used the server (HP Workstation
  Jose> i2000) crashes (no message is displayed, it just freezes).

I haven't seen this myself (I'm using gdm), but I'm not entirely
surprised, either.  It probably depends a bit on the memory map of
your system.  I suspect the /dev/mem driver needs better validity
checking.  A patch certainly would be welcome.

	--david