[comp.sys.sun] /dev/mem 0n a Sun3/80

kordash@linus.mitre.org (John L. Kordash) (03/10/90)

Does anyone know why a wc on /dev/mem on a 3/80 does not show all the
memory that the machine may have?  In our case the 3/80 had 12M. wc did
accuratly return the byte size of /dev/mem on our other machines.

david@eng.sun.com (Mind Control Division) (03/11/90)

In article <5647@brazos.Rice.edu> kordash@linus.mitre.org (John L.
Kordash) writes:
>X-Sun-Spots-Digest: Volume 9, Issue 80, message 4
>
>Does anyone know why a wc on /dev/mem on a 3/80 does not show all the
>memory that the machine may have?  In our case the 3/80 had 12M. wc did
>accuratly return the byte size of /dev/mem on our other machines.

The 3/80 and 4/60 have non-contiguous physical memory banks.  This is
necessary to allow use of either 1M or 4M SIMMs.  To find out how much
memory is installed in your system, grep for the "mem =" line in
/var/adm/messages.

David DiGiacomo, Sun Microsystems, Mt. View, CA  sun!david david@eng.sun.com