Problem
On a Compaq system, running SCO OpenServer software and the Compaq Wellness Driver, the following message repeatedly appears:
WARNING:crom:copyin_all_reg():sptalloc() failed Could not
allocate memoryThis error may be concurrent with system slowdown to the point of total unavailability.
Cause
sptalloc is unable to allocate more kernel memory for the Compaq Wellness Driver, crom.
Solution
The kernel tunable SPTMAP may be used to increase the kernel virtual address space. This can be done as root at the command line or through GUI:
1. Launch SCOadmin and choose "Hardware/Kernel Manager."
2. Choose "Tune Parameters."3. Under Performance tunables, choose "2. Processes and Paging."
4. Find SPTMAP and enter a new value. The default value is 200;
the minimum and maximum values are 100 and 500.5. Quit SCOadmin, relink and reboot.The warning has also been observed in systems that have been tuned for a large I/O buffer cache. Increasing the buffer cache with the kernel tunable NBUF can improve disk performance but leave too little memory for users and applications (like crom). NBUF, too, is tunable via the Hardware/Kernel Manager:
1. Launch SCOadmin and choose "Hardware/Kernel Manager."
2. Choose "Tune Parameters."3. Under Performance Tunables, choose "1. Buffers Management."
4. Find NBUF and enter new value. To reset to default, enter 0.
Or, if you want to experiment with different values, consult the
Performance Guide for advice on this tunable.5. Quit SCOadmin, relink and reboot.NOTES: The crom driver is used mainly by the Compaq Wellness Driver
to make calls into the ROM to read EISA information and to log
events (such as ECC correctable memory, fan and temperature
failures, and so on). Usually crom is called as the result
of a Compaq Insight Manager Agent polling a driver periodically. See also
SCO OpenServer Performance Guide