linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* High Memory problem on 2.4.22 Linux, 2GB ppc card
@ 2008-06-30  9:20 Ruksen INANIR
  2008-07-02 13:33 ` Ruksen INANIR
  0 siblings, 1 reply; 4+ messages in thread
From: Ruksen INANIR @ 2008-06-30  9:20 UTC (permalink / raw)
  To: linuxppc-dev


Hi all,
    I am working on a PPC Motorola card, which runs Linux 2.4.22.  The 
card has 2 GB onboard memory. But with use 1456 MB of  the available 
memory.  To increase the memory capacity i  need  to  increase the used 
memory at least 64 MB. With CONFIG_HIGHMEM option all of the 2 GB memory 
can be used but, but the fc driver on the card has no high memory 
support, so this caused problems.
   
    Then i saw that the memory is limited to 1456 by
    #define MAX_LOW_MEM        0x5B000000  setting in pgtable.c.  I 
tried to increase it by 64 MB but i could only increase the value of 
MAX_LOW_MEM by 47 MB (1503 MB) without CONFIG_HIGHMEM option.

    1)Is there any other setting that i should set other than     
MAX_LOW_MEM to increase the usable memory to 1520 ?
    2)I knew that the addressable physical memory without high memory 
option was 1 G.  How was it possible to address 1503 MB without 
CONFIG_HIGHMEM ? What is the max usable memory for 2.4.22 kernel?

    Thanks,
    Rinanir.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* High Memory problem on 2.4.22 Linux, 2GB ppc card
@ 2008-06-30  9:22 Ruksen INANIR
  2008-07-02 13:32 ` Ruksen INANIR
  0 siblings, 1 reply; 4+ messages in thread
From: Ruksen INANIR @ 2008-06-30  9:22 UTC (permalink / raw)
  To: linuxppc-embedded


Hi all,
   I am working on a PPC Motorola card, which runs Linux 2.4.22.  The 
card has 2 GB onboard memory. But with use 1456 MB of  the available 
memory.  To increase the memory capacity i  need  to  increase the used 
memory at least 64 MB. With CONFIG_HIGHMEM option all of the 2 GB memory 
can be used but, but the fc driver on the card has no high memory 
support, so this caused problems.
     Then i saw that the memory is limited to 1456 by
   #define MAX_LOW_MEM        0x5B000000  setting in pgtable.c.  I tried 
to increase it by 64 MB but i could only increase the value of 
MAX_LOW_MEM by 47 MB (1503 MB) without CONFIG_HIGHMEM option.

   1)Is there any other setting that i should set other than     
MAX_LOW_MEM to increase the usable memory to 1520 ?
   2)I knew that the addressable physical memory without high memory 
option was 1 G.  How was it possible to address 1503 MB without 
CONFIG_HIGHMEM ? What is the max usable memory for 2.4.22 kernel?

   Thanks,
   Rinanir.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: High Memory problem on 2.4.22 Linux, 2GB ppc card
  2008-06-30  9:22 High Memory problem on 2.4.22 Linux, 2GB ppc card Ruksen INANIR
@ 2008-07-02 13:32 ` Ruksen INANIR
  0 siblings, 0 replies; 4+ messages in thread
From: Ruksen INANIR @ 2008-07-02 13:32 UTC (permalink / raw)
  To: linuxppc-embedded



I want to change the MAX_LOW_MEM to 1520 MB, what other settings do i 
need to change? I do not want to use HIGHMEM because the Fiber channel 
does not support highmem. The card is 2 GB ppc. 1520 MB is enough. At 
the moment card works with 1456 MB MAX_LOW_MEM.

Thanks





Ruksen INANIR wrote:
>
> Hi all,
>   I am working on a PPC Motorola card, which runs Linux 2.4.22.  The 
> card has 2 GB onboard memory. But with use 1456 MB of  the available 
> memory.  To increase the memory capacity i  need  to  increase the 
> used memory at least 64 MB. With CONFIG_HIGHMEM option all of the 2 GB 
> memory can be used but, but the fc driver on the card has no high 
> memory support, so this caused problems.
>     Then i saw that the memory is limited to 1456 by
>   #define MAX_LOW_MEM        0x5B000000  setting in pgtable.c.  I 
> tried to increase it by 64 MB but i could only increase the value of 
> MAX_LOW_MEM by 47 MB (1503 MB) without CONFIG_HIGHMEM option.
>
>   1)Is there any other setting that i should set other than     
> MAX_LOW_MEM to increase the usable memory to 1520 ?
>   2)I knew that the addressable physical memory without high memory 
> option was 1 G.  How was it possible to address 1503 MB without 
> CONFIG_HIGHMEM ? What is the max usable memory for 2.4.22 kernel?
>
>   Thanks,
>   Rinanir.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: High Memory problem on 2.4.22 Linux, 2GB ppc card
  2008-06-30  9:20 Ruksen INANIR
@ 2008-07-02 13:33 ` Ruksen INANIR
  0 siblings, 0 replies; 4+ messages in thread
From: Ruksen INANIR @ 2008-07-02 13:33 UTC (permalink / raw)
  To: linuxppc-dev



I want to change the MAX_LOW_MEM to 1520 MB, what other settings do i 
need to change?  I do not want to use HIGHMEM because the Fiber channel 
does not support highmem. The card is 2 GB ppc. 1520 MB is enough. At 
the moment card works with 1456 MB MAX_LOW_MEM. but setting the value 
MAX_LOW_MEM to 1520 results problems. I believe there should be other 
settings.

Thanks


Ruksen INANIR wrote:
>
> Hi all,
>    I am working on a PPC Motorola card, which runs Linux 2.4.22.  The 
> card has 2 GB onboard memory. But with use 1456 MB of  the available 
> memory.  To increase the memory capacity i  need  to  increase the 
> used memory at least 64 MB. With CONFIG_HIGHMEM option all of the 2 GB 
> memory can be used but, but the fc driver on the card has no high 
> memory support, so this caused problems.
>      Then i saw that the memory is limited to 1456 by
>    #define MAX_LOW_MEM        0x5B000000  setting in pgtable.c.  I 
> tried to increase it by 64 MB but i could only increase the value of 
> MAX_LOW_MEM by 47 MB (1503 MB) without CONFIG_HIGHMEM option.
>
>    1)Is there any other setting that i should set other than     
> MAX_LOW_MEM to increase the usable memory to 1520 ?
>    2)I knew that the addressable physical memory without high memory 
> option was 1 G.  How was it possible to address 1503 MB without 
> CONFIG_HIGHMEM ? What is the max usable memory for 2.4.22 kernel?
>
>    Thanks,
>    Rinanir.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2008-07-02 13:33 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-06-30  9:22 High Memory problem on 2.4.22 Linux, 2GB ppc card Ruksen INANIR
2008-07-02 13:32 ` Ruksen INANIR
  -- strict thread matches above, loose matches on Subject: below --
2008-06-30  9:20 Ruksen INANIR
2008-07-02 13:33 ` Ruksen INANIR

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).