From owner-freebsd-current Mon Mar 11 20:25:49 1996 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id UAA24343 for current-outgoing; Mon, 11 Mar 1996 20:25:49 -0800 (PST) Received: from dyson.iquest.net (dyson.iquest.net [198.70.144.127]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id UAA24334 for ; Mon, 11 Mar 1996 20:25:37 -0800 (PST) Received: (from root@localhost) by dyson.iquest.net (8.6.11/8.6.9) id XAA00292; Mon, 11 Mar 1996 23:20:12 GMT From: "John S. Dyson" Message-Id: <199603112320.XAA00292@dyson.iquest.net> Subject: Re: system() broken while mmap()ing something To: dawes@rf900.physics.usyd.edu.au (David Dawes) Date: Mon, 11 Mar 1996 23:20:12 +0000 () Cc: j@uriah.heep.sax.de, freebsd-current@freebsd.org In-Reply-To: <199603120252.NAA01086@rf900.physics.usyd.edu.au> from "David Dawes" at Mar 12, 96 01:52:29 pm X-Mailer: ELM [version 2.4 PL24 ME8] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-current@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > > >> I've attached a test program that does demonstrate a problem. The program > >> isn't what I originally had in mind. This one mmaps the BIOS, and in three > >> phases it "writes" to it, and reads back the result. Since the BIOS is > >> read-only, mismatches should occur in each phase, however on FreeBSD-current, > >> the last phase (after a system("/bin/ls > /tmp/l")) reports no mismatches. > >> On FreeBSD-2.0.5, mismatches are correctly reported at each phase. > > > I have committed a temporary fix for the problem. It will work fine, except that I want to clean it up a bit later on. Still working on the map problem (that is probably causing panics.) John dyson@freebsd.org