ramtrap sometimes takes 10min

We are now using QNX ver 4.25L (well, sin ver reports that Proc32 is version
4.25L). We are using ramtrap in our sysinit files (because some of our
customers use Compaq computers), but the time it takes varies from as few as
10 seconds to as long as 10 minutes on the same machine. Has anyone seen
this, and what can be done about it?

We are calling ramtrap like this:
ramtrap -q add

The date of the ramtrap binary file is Oct 11, 1996.

David de Leon
Command Alkon Corp.

Hi David,

Just wondering, what happens if you don’t run ramtrap? Does QNX see all
of the memory? or is this something that has been done on the Compaq systems
as per tradition?

Thanks

Erick.


David de Leon <ddeleon@alkon.com> wrote:

We are now using QNX ver 4.25L (well, sin ver reports that Proc32 is version
4.25L). We are using ramtrap in our sysinit files (because some of our
customers use Compaq computers), but the time it takes varies from as few as
10 seconds to as long as 10 minutes on the same machine. Has anyone seen
this, and what can be done about it?

We are calling ramtrap like this:
ramtrap -q add

The date of the ramtrap binary file is Oct 11, 1996.

David de Leon
Command Alkon Corp.

ramtrap is a utility used to auto-detect RAM which was not reported by the
BIOS. In QNX 4.22, I believe it was a “freebie” that could be downloaded
from QUICS. It wasn’t listed in the older QNX utility manuals, but it is in
the QNX 4.25 Operating System Utility manuals, so I guess it is now a QNX
supported utility?

Per the latest manual (in the section about ramtrap): “Many Compaq computers
require use of ramtrap to locate memory above 16 megabytes”.

David de Leon
Command Alkon Corp.

Hi David,

David de Leon <ddeleon@alkon.com> wrote:

ramtrap is a utility used to auto-detect RAM which was not reported by the
BIOS. In QNX 4.22, I believe it was a “freebie” that could be downloaded
from QUICS. It wasn’t listed in the older QNX utility manuals, but it is in
the QNX 4.25 Operating System Utility manuals, so I guess it is now a QNX
supported utility?

From my understanding it is.

Per the latest manual (in the section about ramtrap): “Many Compaq computers
require use of ramtrap to locate memory above 16 megabytes”.

I did see that, but what happens if you don’t run it? Compaq computers come in
may flavours and it has been a while since I saw one that needed to use ramtrap :slight_smile:

E.


David de Leon
Command Alkon Corp.

David de Leon <ddeleon@alkon.com> wrote:

We are now using QNX ver 4.25L (well, sin ver reports that Proc32 is version
4.25L). We are using ramtrap in our sysinit files (because some of our
customers use Compaq computers), but the time it takes varies from as few as
10 seconds to as long as 10 minutes on the same machine. Has anyone seen
this, and what can be done about it?

We are calling ramtrap like this:
ramtrap -q add

The date of the ramtrap binary file is Oct 11, 1996.

It is now recommended that you use the boot option:

-M start,len add memory at start for len to memory map.

rather than ramtrap. The usual suggestion is to use “ramtrap query”
to determine what memory needs to be added, “ramtrap add” to make sure
it works ok, then modify the boot option so that Proc knows about the
extra RAM right from the get-go, rather than learning about it later.

-David

QNX Training Services
dagibbs@qnx.com