From owner-freebsd-multimedia Wed Dec 18 13:04:19 1996 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id NAA27472 for multimedia-outgoing; Wed, 18 Dec 1996 13:04:19 -0800 (PST) Received: from phaeton.artisoft.com (phaeton.Artisoft.COM [198.17.250.211]) by freefall.freebsd.org (8.8.4/8.8.4) with SMTP id NAA27450; Wed, 18 Dec 1996 13:04:15 -0800 (PST) Received: (from terry@localhost) by phaeton.artisoft.com (8.6.11/8.6.9) id OAA10384; Wed, 18 Dec 1996 14:01:51 -0700 From: Terry Lambert Message-Id: <199612182101.OAA10384@phaeton.artisoft.com> Subject: Re: mmap problems? To: hasty@rah.star-gate.com (Amancio Hasty) Date: Wed, 18 Dec 1996 14:01:51 -0700 (MST) Cc: hackers@freebsd.org, multimedia@freebsd.org In-Reply-To: <199612180937.BAA03625@rah.star-gate.com> from "Amancio Hasty" at Dec 18, 96 01:37:12 am X-Mailer: ELM [version 2.4 PL24] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-multimedia@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > I have an old program "tv" which used to work okay. > > frame_size = 38896; > if ((video = open("/dev/meteor0", O_RDONLY)) < 0) { > fprintf(stderr, "open failed: %s\n", strerror(errno)); > exit(1); > } > > After running the program several times, tv exits with a a memory access > violation. It looks like the system is not > giving me access to the last page of the frame buffer. Any hints? Look at the meteor driver; the page range limitation is imposed at that level. Terry Lambert terry@lambert.org --- Any opinions in this posting are my own and not those of my present or previous employers.