From owner-freebsd-bugs Thu Feb 8 10:36:37 1996 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id KAA11507 for bugs-outgoing; Thu, 8 Feb 1996 10:36:37 -0800 (PST) Received: from labinfo.iet.unipi.it (labinfo.iet.unipi.it [131.114.9.5]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id KAA11483 Thu, 8 Feb 1996 10:36:32 -0800 (PST) Received: from localhost (luigi@localhost) by labinfo.iet.unipi.it (8.6.5/8.6.5) id TAA29988; Thu, 8 Feb 1996 19:38:03 +0100 From: Luigi Rizzo Message-Id: <199602081838.TAA29988@labinfo.iet.unipi.it> Subject: Re: kern/383 To: wollman@freefall.freebsd.org (Garrett Wollman) Date: Thu, 8 Feb 1996 19:38:03 +0100 (MET) Cc: fredriks@mcs.com, wollman@freefall.freebsd.org, freebsd-bugs@freefall.freebsd.org In-Reply-To: <199602081659.IAA01134@freefall.freebsd.org> from "Garrett Wollman" at Feb 8, 96 08:59:37 am X-Mailer: ELM [version 2.4 PL23] Content-Type: text Sender: owner-bugs@FreeBSD.ORG Precedence: bulk > Synopsis: dd to from /dev/mem panics the machine. > > State-Changed-From-To: open-closed > State-Changed-By: wollman > State-Changed-When: Thu Feb 8 08:58:24 PST 1996 > State-Changed-Why: > It is an error to dd from random regions of /dev/mem. All > sorts of nasty things can happen. I have experienced a similar problem. It occurred when reading from /dev/mem with "dd" from within an xterm. The same thing from a vty worked fine, as it did a C program doing random reads from the whole memory space running from within an xterm. In my case I don't think the crashes were caused by underlying hw problems, otherwise they would only depend on the phys. address, not on the program that uses it or other context-dependant issues. And how can reads from phys. mem be harmful ? I would at least like to know why it crashes the system. Thanks Luigi