lkml.org 
[lkml]   [2004]   [Aug]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: Help with mapping memory into kernel space?
    On Tue, Aug 17, 2004 at 10:39:38PM -0700, Brian McGrew wrote:
    > The overall problem is that the more system memory we install,
    > the fewer IBB's we can use. For instance, 256MB lets us use
    > four IBB's; 512MB lets us use three IBB's and so on. Basicly,
    > the kernel blows up trying to map memory. Each IBB has two
    > banks of 64MB of RAM on them which we try and memmap to system
    > memory for speed of addressing. So essentaily, we're sending
    > out four camera systems with only 256MB of memory which is only
    > about one quarter of what we need.
    > I can't think of any better way to explain it other than it's
    > almost like adding system memory subtracts from kernel memory.
    > Does that make any sense? We've tried building the kernel with
    > the 4GB memory model and the 64GB memory model and had no success.

    You appear to be trying to ioremap() vast areas. ia32 has limited
    address space, so you need to do one of two things:
    (a) subdivide into portions mapped into different address spaces
    (b) map portions on demand

    There is no support for (a) in Linux.


    -- wli
    -
    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/

    \
     
     \ /
      Last update: 2005-03-22 14:05    [W:0.025 / U:0.136 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site