Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S265985AbUFDURm (ORCPT ); Fri, 4 Jun 2004 16:17:42 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S265922AbUFDUQb (ORCPT ); Fri, 4 Jun 2004 16:16:31 -0400 Received: from dragnfire.mtl.istop.com ([66.11.160.179]:17124 "EHLO dsl.commfireservices.com") by vger.kernel.org with ESMTP id S265973AbUFDUO4 (ORCPT ); Fri, 4 Jun 2004 16:14:56 -0400 Date: Fri, 4 Jun 2004 16:16:19 -0400 (EDT) From: Zwane Mwaikambo To: Markus Lidel Cc: Jeff Garzik , linux-kernel@vger.kernel.org Subject: Re: Problem with ioremap which returns NULL in 2.6 kernel In-Reply-To: <40BDC553.4060809@shadowconnect.com> Message-ID: References: <40BC788A.3020103@shadowconnect.com> <20040601142122.GA7537@havoc.gtf.org> <40BC9EF7.4060502@shadowconnect.com> <40BDC553.4060809@shadowconnect.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1152 Lines: 27 On Wed, 2 Jun 2004, Markus Lidel wrote: > Zwane Mwaikambo wrote: > >>>probably too large an area to be remapping. Try remapping only the > >>>memory area needed, and not the entire area. > >>Is there a way, to increase the size, which could be remapped, or is > >>there a way, to find out what is the maximum size which could be remapped? > >>Thank you very much for the fast answer! > > You could try a 4G/4G enabled kernel, /proc/meminfo tells you how much > > vmalloc (ioremap) space there is too. > > VmallocTotal: 245752 kB > VmallocUsed: 137720 kB > VmallocChunk: 107904 kB > > Okay, i see the problem now, the largest piece of memory which could be > allocated is 107904 kB, right? > > Is the 4G/4G split already in the kernel? If yes, which entry activates it? 'fraid not, you'll have to either patch a kernel or use Arjan's i686 kernels at http://people.redhat.com/arjanv/2.6/RPMS.kernel/ - 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/