International Language Environments Guide

ProcedureHow to Load a STREAMS Kernel Module

  1. As the root user, determine whether you are running a 64-bit Oracle Solaris or 32-bit Oracle Solaris system.

    system# isainfo -v
    • A 64—bit Oracle Solaris system returns the following information:

      64-bit sparcv9 applications
      32-bit sparc applications
    • A 32—bit Oracle Solaris system returns the following information:

      32-bit sparc applications
    • A 32—bit x86 system returns the following information:

      32-bit i386 applications
  2. Determine whether your system has already loaded the STREAMS module.

    system# modinfo | grep modulename
    

    If the STREAMS module, such as u8lat1, is already installed, the output looks as follows:

    system# modinfo | grep u8lat1
    89 ff798000  4b13  18   1  u8lat1 (UTF-8 <--> ISO 8859-1 module)
  3. If the module has not already been loaded, load it using the modload(1M) command.

    • On a 32—bit system, you would type:

      system# modload /usr/kernel/strmod/u8lat1
    • On a 64—bit system, you would type:

      system# modload /usr/kernel/strmod/sparcv9/u8lat1

      The appropriate u8lat1 STREAMS module is loaded in the kernel. You can now push it onto a stream.