Port-amiga archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

loadbsd with non-contiguous memory support - confusing!



Hello!

I noticed some confusing behaviour with loadbsd 2.14. First my current config:

PROCESSOR:      CPU 68060/68060fpu
CUSTOM CHIPS:   ECS PAL Agnus (id=$0020), ECS Denise (id=$00FC)
VERS:   Kickstart version 40.70, Exec version 40.10, Disk version 40.42
RAM:    Node type $A, Attributes $505 (FAST), at $8000000-$9FFFFFF (32.0 meg)
        Node type $A, Attributes $505 (FAST), at $7000000-$7FFFFFF (16.0 meg)
        Node type $A, Attributes $703 (CHIP), at $1000-$1FFFFF (~2.0 meg)
BOARDS:
 Board (unidentified):   Prod=8512/25($2140/$19) (@$EA0000 128K)
 Board (unidentified):   Prod=2167/11($877/$B) (@$200000 2meg)
 Board (unidentified):   Prod=2167/12($877/$C) (@$E90000 64K)
 CBM Arcnet card:   Prod=514/9($202/$9) (@$EC0000 64K)
 Board (unidentified):   Prod=2167/201($877/$C9) (@$ED0000 64K)


After compiling a kernel with 

options         MACHINE_NONCONTIG # Non-contiguous memory support

enabled I used `loadbsd -t -p -Z -n 2 -Iff kernals/netbsd.CYBERDYNE`

to test if the non-contigious memory support works, but I always got:

Translated 08000020 sz 01ffffe0 to 08000020 sz 01ffffe0
Translated 07000020 sz 00ffffe0 to 07000020 sz 00ffffe0
Translated 00001020 sz 001fefe0 to 00001020 sz 001fefe0
mem segment 1: start=08000000 size=02000000 attribute=0505 pri=40
mem segment 2: start=07000000 size=01000000 attribute=0505 pri=30
mem segment 3: start=00000000 size=00200000 attribute=0703 pri=-10
kernel size: 958596
Using 32M FASTMEM at 0x8000000, 2M CHIPMEM
*** Loading from ffffffff to Chipmem ***


regardless what I used with -n. I wonder especially about the
"Using 32M FASTMEM" part - I expected 48M FASTMEM.

But after finally trying it out I got:

NetBSD 1.2_BETA (CYBERDYNE) #0: Fri Aug 23 17:16:16 GMT 1996
    root@di_frueauf:/usr/src/sys/arch/amiga/compile/CYBERDYNE
Amiga 3000 (68060 rev.1 CPU/MMU/FPU)
real  mem = 50331648 (6144 pages)
avail mem = 45957120 (5610 pages)
using 320 buffers containing 2621440 bytes of memory
memory segment 0 at 8000000 size 2000000
memory segment 1 at 7000000 size 1000000
memory segment 2 at 0 size 200000


So it seems it uses all my memory. Did I misunderstand anything or is loadbsd
simply wrong?

Thanx for any help in advance!

Greets
      Thorsten




Home | Main Index | Thread Index | Old Index