Needed: memory information tool

Hi,

I’ve recently discovered that my QNX can only “see” 16Mb of the onboard
memory on my laptop. It’s the same issue that is detailed in the “Less
than Physical Ram” thread by Biondo in qdn.public.installation. I’m now
trying to find a utility for QNX6 that will provide me with the
information needed to discover my memory layout - similar to “ramtrap”
under QNX4.

Sample output from Ramtrap in the above mentioned thread :

#ramtrap
Will scan 1000000 (16777216) to 3e7fffff (1048575999).
Found 5000000 (83886080) bytes at 1000000 (16777216).

Is there a tool on QNX6 or any other OS (Linux, Windows, BSD etc.) that
will do this for me ?

Many thanks in advance for any assistance,

-Mark

Mark Round <mark@markround.com> wrote:

Hi,

I’ve recently discovered that my QNX can only “see” 16Mb of the onboard
memory on my laptop. It’s the same issue that is detailed in the “Less
than Physical Ram” thread by Biondo in qdn.public.installation. I’m now
trying to find a utility for QNX6 that will provide me with the
information needed to discover my memory layout - similar to “ramtrap”
under QNX4.

I don’t know of a QNX6 utility to do that scanning. Once you
have the information, though, you will want to pass it to
startup-bios with the -M command line option.

But…the basics of the scan in ramtrap are pretty simple…it
maps physical memory, writes to it, reads back, doing so using
a few different patterns – any place it finds the patterns,
it tells you.

So, writing your own scan program shouldn’t be too hard under QNX6 –
mmap_device_memory() will get you access to the phyiscal memory.
Map in the whole area to be scanned (beg/end addresses from
command line), then work your way through.

-David

QNX Training Services
http://www.qnx.com/support/training/
Please followup in this newsgroup if you have further questions.