Technical article 107587

pppd refuses to start, and displays the error "/dev/ppp: not enough space".

OpenServer 5.0.0

Written · Last revised

Problem

pppd fails to load if STRMAXBLK is set to 4096, and this error message occurs:

/dev/ppp: not enough space

Cause

There is a known issue with pppd failing to start when STRMAXBLK
is set to 4096.  Some drivers for network cards require this
specific setting for STRMAXBLK, which conflicts with the standard
pppd requirements.
The STREAMS implementation in SCO OpenServer Release 5 has changed
from that of earlier releases, so that the memory within a single
data block is not guaranteed to reside in a single, physically-
contiguous block.  This creates problems for STREAMS drivers that
control devices with DMA transfer functions.
The new STRMAXBLK kernel parameter defines the maximum size of
STREAMS buffers.  The default value of the STRMAXBLK parameter is
524288, but it can be set to any value that is a power of two,
between 4096 and 524288 (4KB to 512KB).  Setting STRMAXBLK to 4096
has the effect of ensuring that all buffers allocated from STREAMS
will be located in a physically contiguous block, which enables
older LLI drivers to work properly with SCO protocol stacks and
other networking products.

All SCO-provided network drivers have been modified for compatibility with the new STREAMS architecture; non-SCO LLI drivers for DMA-based network adapters may not work correctly with the default SCO OpenServer Release 5 STRMAXBLK setting. Note that changing STRMAXBLK to 4096 does not ensure that LLI drivers can work with non-SCO protocols that map in private data blocks.

Solution

This problem has been addressed in Networking Supplement 1.0.0 for SCO OpenServer Release 5, which provides a new pppd executable, allows STRMAXBLK to be set to 4096 bytes, and includes many other networking fixes.

If you are using a DMA-based network adapter with a non-SCO- provided LLI driver, install the Networking Supplement, use the configure(ADM) command to set the value of STRMAXBLK to 4096 bytes, then relink the kernel and reboot the system.

Further information may be found in IT/tcpip 376, "What is the SCO Networking Supplement Release 1.0 for SCO OpenServer R5?"

For information on obtaining supplements from SCO, see other articles in this database.

From the Xinuos technical article database, record 107587. Reproduced with permission. The original is at www.sco.com/ta/107587, which is reachable but blocked from search engines. Xinuos marks this article against a retired product line. That refers to the product’s lifecycle, not to whether the advice still works — plenty of it still applies to running systems.

Next step

Need this fixed rather than explained?

Tell us the release, what the system runs and what it is doing. We will reply by email with what we would do next.

  • You deal with the people who do the work
  • No obligation, and no upgrade required before we will help
  • We tell you plainly if something is not worth doing

Send an enquiry

We reply by email. If a server is down, say so in the first line. You can also write to help@scoexpert.com.