Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S261450AbVETPYd (ORCPT ); Fri, 20 May 2005 11:24:33 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S261470AbVETPYd (ORCPT ); Fri, 20 May 2005 11:24:33 -0400 Received: from alog0374.analogic.com ([208.224.222.150]:29162 "EHLO chaos.analogic.com") by vger.kernel.org with ESMTP id S261450AbVETPYV (ORCPT ); Fri, 20 May 2005 11:24:21 -0400 Date: Fri, 20 May 2005 11:24:06 -0400 (EDT) From: "Richard B. Johnson" Reply-To: linux-os@analogic.com To: Marco Rogantini cc: Linux kernel Subject: Re: Screen regen buffer at 0x00b8000 In-Reply-To: Message-ID: References: <20050520141434.GZ2417@lug-owl.de> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 900 Lines: 27 On Fri, 20 May 2005, Marco Rogantini wrote: > On Fri, 2005-05-20 09:48:35 -0400, Richard B. Johnson wrote: > >> if((fd = open("/dev/mem", O_RDWR)) == FAIL) >> ERRORS("open"); >> if((sp = mmap((void *)SCREEN, len, PROT, TYPE, fd, SCREEN))==MAP_FAILED) >> ERRORS("mmap"); > > Try to open("/dev/mem", O_RDWR | O_SYNC). Without this the mapping > will be chached. > > -marco > Doesn't help. Cheers, Dick Johnson Penguin : Linux version 2.6.11.9 on an i686 machine (5537.79 BogoMips). Notice : All mail here is now cached for review by Dictator Bush. 98.36% of all statistics are fiction. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/