Subject: noncontig RAM and segmentation fault
To: None <amiga@NetBSD.ORG>
From: Reinhard Schu <schu@rz.uni-sb.de>
List: amiga
Date: 06/14/1995 20:57:32
Hi all,
I eventually managed to activate noncontigous mem. However, I am not very happy
with it. Programs like ls, who, cp copy pp. randomly report
"segmentation fault - core dumped".
Since a segmentation fault occurs when a program tries to access non-allocated
memory, I guess the errors have s.st. to do with the usage of noncontig ram.
If I boot without the -n1 option (and with only 4 MB of RAM then) no
segmentation faults occur. My assumption is: Every time the system tries to
access the second fast mem block, a segmentation fault occurs.
I use a Commodore 2630 Card with 4 MB on board. The second fast mem segment
is located on a memory expander board connected to the 2630's local bus.
This message appears when booting with the -n1 option:
Amiga 500/2000 (m68030 CPU/MMU m68882 FPU)
real mem = 7864320 (960 pages)
avail mem = 6201344 (757 pages)
using 60 buffers containing 491520 bytes of memory
memory segment 0 at 00280000 size 00380000 <--- 2630 card
memory segment 1 at 02000000 size 00400000 <--- 2630 memory expansion card
memory segment 2 at 00000000 size 00200000 <--- chip mem
This message appears when booting without -n1:
real mem = 4194304 (512 pages)
avail mem = 2990080 (365 pages)
using 38 buffers containing 311296 bytes of memory
memory segment 0 at 00280000 size 00380000
memory segment 1 at 02000000 size 00400000
memory segment 2 at 00000000 size 00200000
Any hints?
Beste Gruesse,
Best Regards,
Reinhard Schu
----------------------------------------------------- UNIVERSITAS -
- UNIVERSITAET DES SAARLANDES --- ----------- |\ /| -
------------------------------------- --------- |||* *||| -
- Reinhard Schu --- ------- ||| V ||| -
- Lehrstuhl Prof. Ruessmann --- ----- ||| ||| -
- Tel.: +49-(0)681-302-3101 --- --- |/|___|\| -
- Fachschaft Jura --- - + + -
- Tel.: +49-(0)681-302-4121 --- SARAVIENSIS -
---------------------------------------------------------------------
E-Mail: schu@rz.uni-sb.de