Less than physical ram

hello to everybody,
i have this strange problem:
i’ve installed qnx on my notebook not branded with a pcmcia network card and
all is gone ok less than the fact running the command “pidin in” the system
can see less ram than installed physically in notebook.
Do you have any suggestion!
thank a lot for help!

piergentili@mantadev.it sed in <b3ochb$t5f$1@inn.qnx.com>:

all is gone ok less than the fact running the command “pidin in” the system
can see less ram than installed physically in notebook.

Standard Answer:
Part of the main memory is used for Integrated Video,
which the amount may be adjusted from BIOS setup.

(not specific to QNX, applies for any kind of OS/programs)


Very Uncommon Answer:
If you only see 16MB on a 512MB system, the installation
is seriously screwed. Reinstall in recommended standard manner.

kabe

all is gone ok less than the fact running the command “pidin in” the
system
can see less ram than installed physically in notebook.

I have the same problem. I installed QNX 6.1.0 on my notebook but
system sees only 15 MB.
There is a output from pidin command (from terminal in Photon).
#pidin i
CPU:X86 Processors:1 FreeMem:124Kb/15Mb BootTime:Mar 01 16:42:24 met
2003
Processor1: 586 Intel 586 F5M8S1 233Mhz FPU

QNX still sees 15 MB even after that I upgraded memory from 32 to 96MB. Why?
I also tried to install QNX 6.1/6.2 NC once again just after memory
upgrade -
but with the same result.

My system (124Kb of free memory in Photon) isn’t useful.
So, any hints and tricks are welcome.

Jacek

jacek.rudnicki@quantum.com.pl sed in <b3te4l$gh2$1@inn.qnx.com>:

CPU:X86 Processors:1 FreeMem:124Kb/15Mb BootTime:Mar 01 16:42:24 met
2003

QNX still sees 15 MB even after that I upgraded memory from 32 to 96MB. Why?

This could happen when the bootloader couldn’t detect
the installed RAM (struct startup_info_mem).

Can happen if you’re using some weird Boot Selector, but
contacting QSSL with precise description of the machine is recommended.
(“My 96MB Notebook” isn’t descriptive enough)

kabe

contacting QSSL with precise description of the machine is recommended.
(“My 96MB Notebook” isn’t descriptive enough)

On my disk exept QNX 6.1.0 I have also:

  • QNX 4.25 (Patch G release),
  • Windows 98 SE.

Windows sees property all my memory (96 MB) whereas both QNX systems show
only 16 MB :frowning:.

I hope that the following informations will help resolve this problem.

Notebook specification:

  1. Model: Compaq Armada 1573D
  2. Processor: Pentium MMX 233 MHz
  3. Memory:
  • System Board 32 MB
  • DIMM Slot 1 (EDO) 64 MB
  1. Graphics Controller: Chips and Tech. 68554 PCI (2 MB Memory Size)
  2. Audio Device: ESS 1878

Output from “pidin i” command:

CPU:X86 Processors:1 FreeMem:124Kb/15Mb BootTime:Mar 02 16:42:24 met 2003
Processor1: 586 Intel 586 F5M8S1 233Mhz FPU

and “pci -vvv” results:

PCI version = 2.10

Class = Bridge (Host/PCI)
Vendor ID = 1045h, OPTi Inc.
Device ID = c701h, 82C700 FireStar mobile chipset: host bridge
PCI index = 0h
Class Codes = 060000h
Revision ID = 32h
Bus number = 0
Device number = 0
Function num = 0
Status Reg = 280h
Command Reg = 7h
I/O space access enabled
Memory space access enabled
Bus Master enabled
Special Cycle operations ignored
Memory Write and Invalidate disabled
Palette Snooping disabled
Parity Checking disabled
Data/Address stepping disabled
SERR# driver disabled
Fast back-to-back transactions to different agents disabled
Header type = 0h Single-function
BIST = 0h Build-in-self-test not supported
Latency Timer = 0h
Cache Line Size= 0h
Subsystem Vendor ID = 3f4h
Subsystem ID = e11h
Max Lat = 0ns
Min Gnt = 0ns
PCI Int Pin = NC
Interrupt line = 0
Device Dependent Registers:
0x40: 00 00 02 20 61 00 00 20 00 00 00 00 00 00 00 00
0x50: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x60: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x70: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x90: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0xA0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0xB0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0xC0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0xD0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0xE0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0xF0: 00 00 00 00 00 00 00 00 f8 00 00 80 00 00 00 00


Class = Bridge (PCI/ISA)
Vendor ID = 1045h, OPTi Inc.
Device ID = c700h, 82C700 FireStar chipset, PCI-ISA bridge???
PCI index = 0h
Class Codes = 060100h
Revision ID = 31h
Bus number = 0
Device number = 1
Function num = 0
Status Reg = 280h
Command Reg = 7h
I/O space access enabled
Memory space access enabled
Bus Master enabled
Special Cycle operations ignored
Memory Write and Invalidate disabled
Palette Snooping disabled
Parity Checking disabled
Data/Address stepping disabled
SERR# driver disabled
Fast back-to-back transactions to different agents disabled
Header type = 0h Single-function
BIST = 0h Build-in-self-test not supported
Latency Timer = 0h
Cache Line Size= 0h
Subsystem Vendor ID = 3f4h
Subsystem ID = e11h
Max Lat = 0ns
Min Gnt = 0ns
PCI Int Pin = NC
Interrupt line = 0
Device Dependent Registers:
0x40: 00 00 00 00 00 00 06 80 bc 07 00 3f 00 00 00 70
0x50: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x60: 00 00 00 00 f1 01 00 00 ff 00 00 00 00 00 00 00
0x70: 25 a7 5b 95 05 41 00 00 00 00 00 00 00 00 00 00
0x80: 00 00 00 00 00 00 02 00 00 00 00 00 00 00 3a 00
0x90: 00 00 00 00 2c 20 21 00 01 00 00 00 00 00 00 00
0xA0: 00 00 00 00 00 00 00 00 c0 5d fc 01 00 00 01 00
0xB0: 03 04 05 06 07 09 0a 1b bb 00 27 00 04 00 00 00
0xC0: 10 32 50 76 00 00 00 00 00 00 00 00 00 00 00 00
0xD0: 00 00 00 00 00 00 00 00 00 00 7f 00 00 00 80 0f
0xE0: 00 00 00 00 00 00 00 00 00 00 f0 f0 f0 f0 00 00
0xF0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00


Class = Serial Bus (Universal Serial Bus)
Vendor ID = e11h, Compaq Computer Corp.
Device ID = a0f8h, USB Open Host Controller
PCI index = 0h
Class Codes = 0c0310h
Revision ID = 6h
Bus number = 0
Device number = 16
Function num = 0
Status Reg = 280h
Command Reg = 7h
I/O space access enabled
Memory space access enabled
Bus Master enabled
Special Cycle operations ignored
Memory Write and Invalidate disabled
Palette Snooping disabled
Parity Checking disabled
Data/Address stepping disabled
SERR# driver disabled
Fast back-to-back transactions to different agents disabled
Header type = 0h Single-function
BIST = 0h Build-in-self-test not supported
Latency Timer = 40h
Cache Line Size= 8h un-cacheable
PCI Mem Address = 41000000h 32bit length 4096 enabled
Subsystem Vendor ID = e11h
Subsystem ID = a0f8h
Max Lat = 80ns
Min Gnt = 0ns
PCI Int Pin = INT A
Interrupt line = 11
Device Dependent Registers:
0x40: 00 00 0f 00 00 00 00 00 00 00 00 00 00 00 00 00
0x50: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x60: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x70: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x90: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0xA0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0xB0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0xC0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0xD0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0xE0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0xF0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00


Class = Bridge (CardBus)
Vendor ID = 104ch, Texas Instruments
Device ID = ac15h, PCI1131 Dual Socket PCI CardBus Controller
PCI index = 0h
Class Codes = 060700h
Revision ID = 1h
Bus number = 0
Device number = 17
Function num = 0
Status Reg = 200h
Command Reg = 7h
I/O space access enabled
Memory space access enabled
Bus Master enabled
Special Cycle operations ignored
Memory Write and Invalidate disabled
Palette Snooping disabled
Parity Checking disabled
Data/Address stepping disabled
SERR# driver disabled
Fast back-to-back transactions to different agents disabled
Header type = 2h Multi-function
BIST = 0h Build-in-self-test not supported
Latency Timer = 42h
Cache Line Size= 8h un-cacheable
ExCA Base Address = 7fffe000h
Capabilities Pointer = ffh
Secondary Status = ffffh
Primary Bus Number = 0
Secondary Bus Number = 1
Subordinate Bus Number = 1
Secondary Latency Timer = 20h
Memory Base 0 = 0h
Memory Limit 0 = 0h
Memory Base 1 = 0h
Memory Limit 1 = 0h
I/O Base 0 = 0h
I/O Limit 0 = 0h
I/O Base 1 = 0h
I/O Limit 1 = 0h
PCI Int Pin = 1
PCI Int Pin = INT A
Interrupt line = no connection
Bridge Control = 4c0h
Subsystem Vendor ID = 0h
Subsystem ID = 0h
Legacy Mode Base Address = 3e0h
System Control = 41020h
Retry Status = 80h
Card Control = 1h
Device Control = 74h
Buffer Control = 0h
Socket DMA Register 0 = 0h
Socket DMA Register 1 = 0h
Device Dependent Registers:
0x40: 00 00 00 00 e1 03 00 00 00 00 00 00 00 00 00 00
0x50: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x60: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x70: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x80: 20 10 04 00 00 00 00 00 00 00 00 00 00 00 00 00
0x90: 80 01 74 00 00 00 00 00 00 00 00 00 00 00 00 00
0xA0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0xB0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0xC0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0xD0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0xE0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0xF0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00


Class = Bridge (CardBus)
Vendor ID = 104ch, Texas Instruments
Device ID = ac15h, PCI1131 Dual Socket PCI CardBus Controller
PCI index = 1h
Class Codes = 060700h
Revision ID = 1h
Bus number = 0
Device number = 17
Function num = 1
Status Reg = 200h
Command Reg = 7h
I/O space access enabled
Memory space access enabled
Bus Master enabled
Special Cycle operations ignored
Memory Write and Invalidate disabled
Palette Snooping disabled
Parity Checking disabled
Data/Address stepping disabled
SERR# driver disabled
Fast back-to-back transactions to different agents disabled
Header type = 2h Multi-function
BIST = 0h Build-in-self-test not supported
Latency Timer = 42h
Cache Line Size= 8h un-cacheable
ExCA Base Address = 7ffff000h
Capabilities Pointer = ffh
Secondary Status = ffffh
Primary Bus Number = 0
Secondary Bus Number = 2
Subordinate Bus Number = 2
Secondary Latency Timer = 20h
Memory Base 0 = 0h
Memory Limit 0 = 0h
Memory Base 1 = 0h
Memory Limit 1 = 0h
I/O Base 0 = 0h
I/O Limit 0 = 0h
I/O Base 1 = 0h
I/O Limit 1 = 0h
PCI Int Pin = 2
PCI Int Pin = INT B
Interrupt line = 11
Bridge Control = 4c0h
Subsystem Vendor ID = 0h
Subsystem ID = 0h
Legacy Mode Base Address = 3e0h
System Control = 41020h
Retry Status = 80h
Card Control = 0h
Device Control = 74h
Buffer Control = 0h
Socket DMA Register 0 = 0h
Socket DMA Register 1 = 0h
Device Dependent Registers:
0x40: 00 00 00 00 e1 03 00 00 00 00 00 00 00 00 00 00
0x50: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x60: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x70: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x80: 20 10 04 00 00 00 00 00 00 00 00 00 00 00 00 00
0x90: 80 00 74 00 00 00 00 00 00 00 00 00 00 00 00 00
0xA0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0xB0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0xC0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0xD0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0xE0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0xF0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00


Class = Display (VGA)
Vendor ID = 102ch, Chips And Technologies
Device ID = f4h, 68554 HiQVision Flat Panel/CRT GUI Controller
PCI index = 0h
Class Codes = 030000h
Revision ID = a2h
Bus number = 0
Device number = 18
Function num = 0
Status Reg = 280h
Command Reg = 83h
I/O space access enabled
Memory space access enabled
Bus Master disabled
Special Cycle operations ignored
Memory Write and Invalidate disabled
Palette Snooping disabled
Parity Checking disabled
Data/Address stepping disabled
SERR# driver enabled
Fast back-to-back transactions to different agents disabled
Header type = 0h Single-function
BIST = 0h Build-in-self-test not supported
Latency Timer = 0h
Cache Line Size= 0h
PCI Mem Address = 40000000h 32bit length 16777216 enabled
Max Lat = 0ns
Min Gnt = 0ns
PCI Int Pin = NC
Interrupt line = 0
Device Dependent Registers:
0x40: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x50: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x60: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x70: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x90: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0xA0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0xB0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0xC0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0xD0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0xE0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0xF0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00


Class = Mass Storage (IDE)
Vendor ID = 1045h, OPTi Inc.
Device ID = d568h, 82C825 PCI bus master IDE controller
PCI index = 0h
Class Codes = 010180h
Revision ID = 30h
Bus number = 0
Device number = 20
Function num = 0
Status Reg = 280h
Command Reg = 1h
I/O space access enabled
Memory space access disabled
Bus Master disabled
Special Cycle operations ignored
Memory Write and Invalidate disabled
Palette Snooping disabled
Parity Checking disabled
Data/Address stepping disabled
SERR# driver disabled
Fast back-to-back transactions to different agents disabled
Header type = 0h Single-function
BIST = 0h Build-in-self-test not supported
Latency Timer = 0h
Cache Line Size= 0h
PCI IO Address = 1000h length 16 enabled
Subsystem Vendor ID = 3f4h
Subsystem ID = e11h
Max Lat = 0ns
Min Gnt = 0ns
PCI Int Pin = NC
Interrupt line = 0
Device Dependent Registers:
0x40: 2b 00 16 0a 00 00 00 fa 00 00 00 00 00 00 00 00
0x50: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x60: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x70: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x90: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0xA0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0xB0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0xC0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0xD0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0xE0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0xF0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

Jacek Rudnicki <jacek.rudnicki@quantum.com.pl> wrote:

contacting QSSL with precise description of the machine is recommended.
(“My 96MB Notebook” isn’t descriptive enough)

On my disk exept QNX 6.1.0 I have also:

  • QNX 4.25 (Patch G release),
  • Windows 98 SE.

Windows sees property all my memory (96 MB) whereas both QNX systems show
only 16 MB > :frowning:> .

I hope that the following informations will help resolve this problem.

Notebook specification:

It would look like whatever we’re doing to find out how much RAM you
have (generally querying the BIOS), we’re getting a wrong answer.

In my experience, laptops/notebooks often do things in a funny way, and
I can remember Compaq also doing strange things.

When booted into QNX4, can you try running the ramtrap utility and seeing
what it reports? Hopefully it will find the extra memory. Then you can
tell the pre-OS loader code about it.

Under QNX4, this would be the -M option to boot (and would require
building a new OS image).

Under QNX6, this would be the -M option to startup-bios (and would require
building a new OS image).

-David

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

Thank you Dave for fast answer.
I will check it and inform you about result.

Jacek

It would look like whatever we’re doing to find out how much RAM you
have (generally querying the BIOS), we’re getting a wrong answer.

In my experience, laptops/notebooks often do things in a funny way, and
I can remember Compaq also doing strange things.

When booted into QNX4, can you try running the ramtrap utility and seeing
what it reports? Hopefully it will find the extra memory. Then you can
tell the pre-OS loader code about it.

Under QNX4, this would be the -M option to boot (and would require
building a new OS image).

Under QNX6, this would be the -M option to startup-bios (and would require
building a new OS image).

-David

When booted into QNX4, can you try running the ramtrap utility and seeing
what it reports? Hopefully it will find the extra memory. Then you can
tell the pre-OS loader code about it.
Under QNX4, this would be the -M option to boot (and would require
building a new OS image).

Under QNX6, this would be the -M option to startup-bios (and would require
building a new OS image).

-M option format is: -M start,size[,type]

where:
start - starting address,
size - size of additional memory block,
type - type of memory (optional only in QNX6)

If I want to get start and size values I simply run (under QNX4)
ramtrap utility:

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

Thank’s again Dave ramtrap works fine (I can use start/size values in both
systems) and all notebook memory is visible by system:

#pidin i
CPU:X86 Processors:1 FreeMem:69Mb/95Mb BootTime:Mar 09 23:42:32 met 2003
Processor1: 586 Intel 586 F5M8S1 233Mhz FPU

How can I get start and size values under QNX6?
Is there any equivalent to the ramtrap utility?

Regards,
Jacek

Jacek Rudnicki <jacek.rudnicki@quantum.com.pl> wrote:

How can I get start and size values under QNX6?
Is there any equivalent to the ramtrap utility?

I don’t know of a ramtrap equivalent under QNX6.

-David

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