Pegasos2 and 2 gb ram
  • Order of the Butterfly
    Order of the Butterfly
    Divinity
    Posts: 498 from 2009/9/8
    Hi,

    Is It possible to address 2gb ram in MorphOS 2.4 using a Pegasos2 G4@1000 with 2gb ram ?

    thanks
  • »14.11.09 - 22:06
    Profile
  • Order of the Butterfly
    Order of the Butterfly
    Ruud
    Posts: 335 from 2009/2/2
    From: Hampshire, UK
    Not as far as I'm aware. As the ABox follows the Amiga design the maximum is something like 1.5-1.8GB
    "We live, we die, we laugh, we cry"
  • »14.11.09 - 22:57
    Profile
  • Yokemate of Keyboards
    Yokemate of Keyboards
    Andreas_Wolf
    Posts: 12163 from 2003/5/22
    From: Germany
    > the maximum is something like 1.5-1.8GB

    I think it's exactly 1.5 GiB (= 1.61 GB).
  • »15.11.09 - 00:01
    Profile
  • Paladin of the Pegasos
    Paladin of the Pegasos
    SoundSquare
    Posts: 1213 from 2004/12/1
    From: Paris, France
    yes, 1,5 will be displayed and usable in MorphOS, linux will display and use 2gb if you enable the highmem option for your kernel.
  • »15.11.09 - 00:20
    Profile
  • Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    stephen_robinson
    Posts: 746 from 2007/4/22
    Amiga OS4.1 will use all the 2GB of Ram, While MorphOS 2.2 would only see 1.5, I havn't tried with 2.3 or 2.4, but I've not heard anything about that changing.

    As others have said Linux will use all 2gb.

    I can't think of many occasions where having 2gb would make any difference over 1.5GB on MorphOS to be honest.
  • »15.11.09 - 08:39
    Profile
  • Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    stephen_robinson
    Posts: 746 from 2007/4/22
    Amiga OS4.1 will use all the 2GB of Ram, While MorphOS 2.2 would only see 1.5, I havn't tried with 2.3 or 2.4, but I've not heard anything about that changing.

    As others have said Linux will use all 2gb.

    I can't think of many occasions where having 2gb would make any difference over 1.5GB on MorphOS to be honest.
  • »15.11.09 - 08:39
    Profile
  • Order of the Butterfly
    Order of the Butterfly
    Ruud
    Posts: 335 from 2009/2/2
    From: Hampshire, UK
    Quote:


    stephen_robinson wrote:
    Amiga OS4.1 will use all the 2GB of Ram, While MorphOS 2.2 would only see 1.5, I havn't tried with 2.3 or 2.4, but I've not heard anything about that changing.

    As others have said Linux will use all 2gb.

    I can't think of many occasions where having 2gb would make any difference over 1.5GB on MorphOS to be honest.


    Are you sure Amiga OS4.1 can use all 2gb? My A1-XE only shows ~1.8 with two sticks installed.
    "We live, we die, we laugh, we cry"
  • »15.11.09 - 09:23
    Profile
  • Moderator
    Kronos
    Posts: 2326 from 2003/2/24
    The AmigaAPI uses negative return-values as error-codes, restricting the address space to 31Bit or 2GiB. In this space the OS must also map the PCI-address-space, legacy ports and some stuff more.

    Under MorphOS 512MiB are set aside for it, dunno what the value for OS4 is (but remember 1.8GB != 1.8GiB).
  • »15.11.09 - 09:44
    Profile
  • Order of the Butterfly
    Order of the Butterfly
    Divinity
    Posts: 498 from 2009/9/8
    Ok.

    thanks
  • »15.11.09 - 18:58
    Profile
  • Order of the Butterfly
    Order of the Butterfly
    Divinity
    Posts: 498 from 2009/9/8
    Hi,
    I have now a second Pegasos2 G4@1000 with 2gb ram (last revision 2B5 and last Smart Firmware 2005 12 16).
    Now I have these situations:
    1) Linux Debian with 2gb ram and also SWAP OK.
    2) MOS 2.4 with 1.5 gb ram, but in reality I can use only 1.0 gb ram, why ?.
    3) OS4.1 with 2.0 gb ram, but in reality I can use only 1.5 gb ram and SWAP is disabled by default, why ? (If I use only 1gb ram, the SWAP is enabled by default)

    Thanks for the support
    Regards
  • »05.12.09 - 23:46
    Profile
  • Order of the Butterfly
    Order of the Butterfly
    Divinity
    Posts: 498 from 2009/9/8
    EDIT:

    I need to add some variable to boot.img to use full 1.5gb ram ? (I see 1.5 gb ram, but in reality I can use only 1.0 gb).

    Same question for OS 4.1 (where I see 2.0gb, but I can use in reality 1.5 gb and SWAP is default disabled).

    thanks
  • »05.12.09 - 23:50
    Profile
  • Fab
  • MorphOS Developer
    Fab
    Posts: 1331 from 2003/6/16
    Quote:


    I need to add some variable to boot.img to use full 1.5gb ram ? (I see 1.5 gb ram, but in reality I can use only 1.0 gb)



    That's quite unlikely. How did you test that?
  • »06.12.09 - 12:06
    Profile Visit Website
  • Order of the Butterfly
    Order of the Butterfly
    Divinity
    Posts: 498 from 2009/9/8
    Hi Fab,

    It's very simple, in boot logo I see 1537Mb, then in Ambient I see 1.45Gb/1.4 Gb OK.
    Then I copy in RAM: a file for exemple of 300Mb and then I make a duplicate (copy and paste) in RAM: of the same file.
    The result is when I have 0.5Gb ram free I can NOT make anything, Ram is NOT more usable.
    My conclusion is I can NOT use more then 1.0Gb (but I see 1.5gb ram).

    Any ideas ?

    p.s.
    thanks Fab for you work with OWB.

    thanks
    regards
  • »06.12.09 - 14:30
    Profile
  • Fab
  • MorphOS Developer
    Fab
    Posts: 1331 from 2003/6/16
    Quote:


    t's very simple, in boot logo I see 1537Mb, then in Ambient I see 1.45Gb/1.4 Gb OK.
    Then I copy in RAM: a file for exemple of 300Mb and then I make a duplicate (copy and paste) in RAM: of the same file.
    The result is when I have 0.5Gb ram free I can NOT make anything, Ram is NOT more usable.
    My conclusion is I can NOT use more then 1.0Gb (but I see 1.5gb ram).



    Well, it could be related to ram-handler itself. But when you have 0.5GB free RAM, can you still launch apps like say OWB or MAME (or anything that would eat significative amounts of memory)? If you can, then the memory is definitely available.
  • »06.12.09 - 15:27
    Profile Visit Website
  • Order of the Butterfly
    Order of the Butterfly
    Divinity
    Posts: 498 from 2009/9/8
    Quote:


    Fab wrote:
    Quote:


    t's very simple, in boot logo I see 1537Mb, then in Ambient I see 1.45Gb/1.4 Gb OK.
    Then I copy in RAM: a file for exemple of 300Mb and then I make a duplicate (copy and paste) in RAM: of the same file.
    The result is when I have 0.5Gb ram free I can NOT make anything, Ram is NOT more usable.
    My conclusion is I can NOT use more then 1.0Gb (but I see 1.5gb ram).



    Well, it could be related to ram-handler itself. But when you have 0.5GB free RAM, can you still launch apps like say OWB or MAME (or anything that would eat significative amounts of memory)? If you can, then the memory is definitely available.


    Hi Fab,

    In this case, then, I can make nothing (I can NOT run OWB..etc.. and I need to reboot the host).

    (I think It can useful this "problem" for MOS team to a better/right management of memory in the future relases of MOS).
  • »06.12.09 - 15:39
    Profile
  • MorphOS Developer
    Piru
    Posts: 587 from 2003/2/24
    From: finland, the l...
    To me this almost sounds as if the 2nd memory module has some issues. Peg2 can easily have trouble when you use two memory modules (it can be quite tricky to find combination of memory modules that work).

    I am fairly certain that the memory management in MorphOS itself is okay.

    If MorphOS sees 1.5GB of memory, it certainly is able to use it all.
  • »06.12.09 - 16:16
    Profile
  • Moderator
    Golem
    Posts: 766 from 2003/2/28
    From: Denmark
    Do you get any errors when running MemTest?
  • »06.12.09 - 16:24
    Profile Visit Website
  • Order of the Butterfly
    Order of the Butterfly
    Divinity
    Posts: 498 from 2009/9/8
    Quote:


    Piru wrote:
    To me this almost sounds as if the 2nd memory module has some issues. Peg2 can easily have trouble when you use two memory modules (it can be quite tricky to find combination of memory modules that work).

    I am fairly certain that the memory management in MorphOS itself is okay.

    If MorphOS sees 1.5GB of memory, it certainly is able to use it all.


    So Is It a problem of Pegasos2 2B5 with last firmware 2005 12 16 ?.
    With OS4.1 I see 2.0 gb but I can use perfectly only 1.5gb ram.
    With Linux Debian Lenny I can use perfectly all 2.0 gb ram, so It's strange I have problems only with MOS 2.4.
    Is there a tool to verify all in details in MOS 2.4 ?

    thanks
    regards
  • »06.12.09 - 16:25
    Profile
  • Order of the Butterfly
    Order of the Butterfly
    vulture
    Posts: 193 from 2008/2/4
    From: Greece
    I have the very same experience Divinity has (2b2 mobbo, latest fw). OS4.1 sees 1.8gb, swap is disabled (which makes sense as address space is limited to 2GB in total), Linux 2gb and MOS' ram disk can be filled up to 1GB and what's worse, even with Ram Disk empty, I get all kinds of crashes and freezes when launching programs, copying files etc.....It definitely doesn't seem like a HW issue since the other two OSes are working correctly.

    [ Edited by vulture on 2009/12/14 9:15 ]
  • »14.12.09 - 06:14
    Profile
  • Moderator
    Golem
    Posts: 766 from 2003/2/28
    From: Denmark
    So that is no errors reported from MemTest in MorphOS?
  • »14.12.09 - 09:07
    Profile Visit Website
  • Order of the Butterfly
    Order of the Butterfly
    vulture
    Posts: 193 from 2008/2/4
    From: Greece
    memtest ends with errors, I just can't recall the exact message.
  • »14.12.09 - 09:30
    Profile
  • Order of the Butterfly
    Order of the Butterfly
    Divinity
    Posts: 498 from 2009/9/8
    Hi,
    @all
    I use pegasos2 rev. 2B5 and I have NO problem with MOS, OS4.1 and Linux (the three OS are 100% OK).
    In MOS 2.4 I see 1.5gb and I can use only 1.0gb.
    In OS4.1 I see 2.0gb and I can use only 1.5gb (and SWAP is disabled)
    In Linux Debian Lenny I see 2.0gb and I can use all 2.0gb and SWAP is OK.
    Where Can I find "memtest" and how to use it ?

    Thanks a lot
    regards
  • »14.12.09 - 18:24
    Profile
  • Yokemate of Keyboards
    Yokemate of Keyboards
    Andreas_Wolf
    Posts: 12163 from 2003/5/22
    From: Germany
    > Where Can I find "memtest"

    C:

    > and how to use it ?

    Get the template by specifying '?' as argument.
  • »14.12.09 - 20:34
    Profile
  • Order of the Butterfly
    Order of the Butterfly
    Divinity
    Posts: 498 from 2009/9/8
    Quote:


    Andreas_Wolf wrote:
    > Where Can I find "memtest"

    C:

    > and how to use it ?

    Get the template by specifying '?' as argument.


    Hi,
    ok, thanks
    boot:> memtest
    Allocated memory at 0x2451C4C0 -> 0x7F8AA5BF, 1530454272 bytes
    Writing 0x00000000...

    well, I run It, and then I see Ram: from 1537Mb to 8.5Mb in about two seconds .... so ?

    Do I need to run it in other way, with any variables ? (VERBOSE/S,QUIET/S,DISABLE/S,EXTENSIVE/S,REVERSE/S,VMEM/S,PUBSCREEN,DELAY/N,LOOPS/N)



    [ Edited by Divinity on 2009/12/15 23:21 ]

    [ Edited by Divinity on 2009/12/15 23:22 ]

    [ Edited by Divinity on 2009/12/15 23:22 ]
  • »15.12.09 - 22:20
    Profile