How to install STREAMS-modules

Hi,
I am a Newbie in writing STREAMS-modules.I have copied the compiled and linked module to /usr/kernel/strmod, but I am not able to push it because calling ioctl/I_PUSH results in an EINVAL error (running strchg also fails). A try to push standard modules like "ldterm" or "u8lat1" succeeded.
After renaming and deleting such a standard module I can still push it by it's old name (but not by the new one).
Perhaps I made a mistake in the procedure of coding, compiling and linking the module, but I can not explain the fact the deleted modules still exist, so I going to believe in metaphysics.
Please help me!
Hendrik Suess

Hi there,
As far as I got your situation, your problem is related to the
fact that you are running the 64-bit kernel (since your modload
searches for modules in /usr/kernel/strmod/sparcv9 directory).
AFAIK, gcc does not build 64-bit modules by default - you have
to force it to do so (if it is at all able to build them).
So the simplest way to check your module is to reboot your station
in 32-bit mode (<pre>boot unix/kernel</pre> from the boot prompt).
However, if you intend to use your module on 64-bit systems, you
should build 64-bit module. The Answerbook contains special chapter
about 64-bit modules/drivers and I've found lots of usefull hints
there.
General tip - GCC is great tool, but if you are developing kernel
modules/drivers - try to use native (Sun) compiler. Ok, it costs
several bucks, but after all it is used by Sun people that develop
the kernel, so it is [almost always] up-to-date and hence will save you lots of time and pain.
Hope, this helps,
Ilya.

Similar Messages

  • How to inform the kernel about newly installed STREAMS MODULE?

    I made a copy of timod and installed the copy to /kernel/strmod
    as a new module (newmod). I modified the t_open.c to make
    it to use the "newmod" instead of the timod. The result of the
    test is "Invalid Argument". It looks like the kernel doesn't
    recognize the module "newmod". I looked throught Sun
    Docs, I'm not able to find any instruction for how to
    make kernel to recognize my new STREAMS module name
    as the add_drv does for device drivers. Can anyone point
    me to the right docs and give me some instructions for informing
    the kernel about the newly installed STREAMS module?
    Thanks
    Yuen

    Forget my precedent post, here is what's on the configuration page of this module :
    ("[_]" are checkboxe)
    1/ [_] Check this option if your users' DNs look like cn=jdoe,ou=Group1,cn=example,cn=com and Group1 turns out to be the group you want.)
    Attribute of the DN which contains the group name:
    [Single line text field to enter attribute]
    (The name of the attribute which contains the group name. In the example above, it would be ou, as the DN contains the string ou=Group1 and Group1 happens to be the desired group name.
    2/ [_] Groups are specified by LDAP attributes
    Attribute names (one per line):
    [Multi-lines text field]
    (If the groups are stored in the user entries, along with the rest of their data, then enter here a list of attributes which may contain them.)
    3/ [_] Groups exist as LDAP entries where a multivalued attribute contains the members' CNs
    Nodes containing groups (one per line):
    [Multi-lines text field]
    (Enter here a list of nodes from where groups should be searched for. The module will look them up recursively from the given nodes.)
    Attribute holding group members:
    [Single line text field]
    (Name of the multivalued attribute which holds the CNs of group members, for example: memberUid)
    If someone could tell me which checkboxe I should select and what to put into fields it would be king as I really have no idea of what to enter and what to select.

  • How to install memory modules on a macbook pro 15"

    I run Windows 7 via parallels desktop on my macbook pro. How do I type special characters on a Word document using the mac keyboard?

    how to install memory modules on a macbook pro 15"
    Read the manual / user guide that came with your comptuer or download it from http://support.apple.com/manuals/
    I run Windows 7 via parallels desktop on my macbook pro. How do I type special characters on a Word document using the mac keyboard?
    Post your question on the Paralells forums:  http://forums.parallels.com

  • How to install Apache module mod_rewrite

    Kindly tell me, how to install Apache module mod_rewrite which is a standard module in the Oracle HTTP Server (OHS).. I have installed OAS(10.1.2) but mod_rewrite module is missing..
    Edited by: SrinivasanSeniorDBA on 26 Feb, 2010 2:42 PM

    Got it

  • How to install CPAN modules

    OS Ver: 10.8.5
    I'm just starting to mess around with Perl on my mac, and went to install WWW::Mecahnize, only to find that it would fail via CPAN. After a little digging, i found i needed Xcode command line utilities installed. After that, i found different suggestions of how to continue.
    What is the "best practice" to instal CPAN modules? Should i be root? Should i use a custom directory so as not to mess with the apple supported installation? Is there an article on this?

    chacham wrote:
    Thanx. CPAN via sudo, that just what i needed to know/hear.
    Does that mean that you don't need to know a better option?
    You can install modules into a private CPAN as a non-root user.
    https://wiki.hpcc.msu.edu/display/Bioinfo/Installing+Local+Perl+Modules+with+CPA N
    This will avoid lots of hassles.

  • How can a streams module read files?

    I have a streams module which runs over IP. When it gets loaded
    for the first time, a data file has to be read and data structures
    have to be initialised accordignly.
    But I'm not able to use open, read calls from inside the module (naturally!).
    Any pointers?
    Here is the sample code:
    int _init(void)
    /* open (), read () calls have be inserted here */
    return (mod_install(&sample_modlinkage));
    }

    See 'File I/O from within a driver' thread in this forum for a discussion...

  • How to install selected modules to save disk space?

    Rapidinstall installs all the modules of the Oracle Applications. But if we want to install only selected modules to save disk space (In R12 disk space requirment is 160+gb) how can we do it?
    Thanks and Regards
    M.A.Rahman

    If you really want to save space, install Vision 11.5.10.2, and upgrade the database to 10.1.0.5. Use the 10g tablespace rename feature to rename all APPS% tablespaces to some other name, can even just remove the APPS_TS from the tablespace names. Truncate applsys.fnd_ts_mig_cmds. The run OATM using uniform 64 KB segment size. The resulting database will be ~40GB, 30GB less than Vision from rapid install.
    Then upgrade to R12 via the procedure in Oracle Applications Upgrade Guide: Release 11i to Release 12 (zipped) B31566-01. The resulting footprint will be about 65 GB, almost 100GB smaller than R12 Vision from rapid install.

  • How to install output module

    I am trying to install the Output module with Adobe Bridge and I have followed the instructions on Adobe's site. However,
    the instructions say to install the files to path that is non-existent, to my current knowledge.
    For example: It's saying to install a folder into library/application support/adobe bridge/extensions.
    All I see is Applications/Adobe Bridge CC/plugins and some other folders. Plugins seems like the most related option, so I have already tried to install the folder/file there but still do not see the option to use the module in the Adobe Bridge CC software.
    It may helpful to know that this is a brand new computer so maybe the information may need to be slightly adjusted?
    Could use some help!
    Thanks!
    Robbie

    No, no, no robbies83etc, STAY THE HECK AWAY from your "Applications" folder!   READ CAREFULLY! Geez…
    The instructions direct you to the LIBRARY folder
    Install Adobe Output Module  <=== CLICK on this link to read the whole instructions page.
    When Bridge CC shipped, it didn't include the Adobe Output Module, which allows you to create PDF presentations and web galleries. The Adobe Output Module is now available for Bridge CC.
    NOTE: This plug-in is optional, and is not officially supported.
    What's covered
    Install the Adobe Output Module
    Handle warnings that appear
    Access the output module
    Possible issues
    Install the Adobe Output Module
    Make sure that you have the most recent version of Bridge CC installed. To check for updates, choose Help > Updates in Bridge. Follow the instructions to install any updates.
    Download the appropriate file below by right-clicking (Windows) or Ctrl+clicking (Mac OS) and choosing to save the file. Save the file in a location you can remember, such as your desktop.
    AOM_Mac_New.zip
    Mac OS (10.6-10.10) * Note: Preview in Browser does not work on Mac OS X 10.10.x (Yosemite) 
    Double-click the downloaded file to decompress it. Open the resulting AOM_Package_Mac, AOM_Package_Win64, or AOM_Package_Win32 folder. This folder contains:
    the Adobe Output Module folder
    the AdobeOutputModule.workspace file
    Copy the Adobe Output Module folder (not the AOM_Package_[OS] folder) into the Bridge CC Extensions folder in the appropriate location:
    Mac OS: /Library/Application Support/Adobe/Bridge CC Extensions  <=== NOTE that is the ROOT LEVEL LIBRARY
    Copy the AdobeOutputModule.workspace file into the Workspaces folder under the Bridge CC Extensions folder (same folder as referenced in step 2...
    etc. etc. …

  • How to install raid456 module on Pogoplug (POGO-B04)

    Hey dudes,
    I'm running ArchLinuxARM on my Pogoplug device and tried to setup a raid5-array using the four usb ports. Generally the mdadm setup works well... as log as I choose raid0 or raid1.... raid5 fails because the kernel module doesn't exist.
    How can I enable the raid456 module of this kernel build? modprobe doesn't know the module...
    I hope someone can help me...

    Arch Linux ARM is not supported here; it has its own forum.

  • How to install php module into web tier.

    Previously oracle http server included built-in php module so i could start php scripts under it but in the newest(web tire) version there is no built-in php module.
    But in the docs they say that it is possible but dont explain how to...
    So how to?)))

    Maybe this will help.
    http://www.oracle.com/technology/pub/articles/dev2arch/2007/02/php-java-bridge.html

  • How to install pgcrypto module for postgresql?

    I've been having a look at postgresql for OS X Lion Server and was planning to use it for setting up virtual mailboxes, rather than adding a real new user to the machine every time I need a new mail user. However, it appears that the pgcrypto module is not installed my default, so hashing passwords appropriately within postgresql is not possible.
    Does anyone know if it's possible to install the pgcrypto module without starting from source code and completely reinstalling postgresql?
    Or alternatively, I'd be happy if anyone could recommend a best-practice for virtual mail users without creating local user accounts on the server.
    Cheers,
    Andrew.

    Despite not finding much in Google or elsewhere, I managed to find the solution to this problem. Seems logical in hindsight, but it took me a lot of running around before I got there.
    Download the source code for postgresql from Apple: PostgreSQL-23
    Open Terminal
    cd ~/Downloads
    tar xvf PostgreSQL-23.tar
    Edit the Makefile and add pgcrypto to the ContribTools parameter. It should then read "ContribTools    = hstore intarray pg_upgrade pg_upgrade_support pgcrypto"
    make
    sudo make install-contrib
    sudo cp /tmp/PostgreSQL/Release/usr/lib/postgresql/pgcrypto.so /usr/lib/postgresql/
    sudo cp /tmp/PostgreSQL/Release/usr/share/postgresql/contrib/pgcrypto.sql /usr/share/postgresql/contrib/
    sudp cp /tmp/PostgreSQL/Release/usr/share/postgresql/contrib/uninstall_pgcrypto.sql /usr/share/postgresql/contrib/
    Don't know whether it was necessary, but I stopped and started postgres with serveradmin at this point. sudo serveradmin stop postgres; sudo serveradmin start postgres
    Then just update the databases where you need the crypt functionality. e.g. sudo -u _postgres psql -d template1 -f /usr/share/postgresql/contrib/pgcrypto.sql
    That's it. Now when I go into the appropriate database I get the expected return on:
    select crypt('thisisyourpassword', gen_salt('bf'));
                                crypt                            
    $2a$06$5gTpj2O6qyCvLs4iCcnBxuB/uxEdTMBI96fbHyyGOiP.A6t7nfKzC
    (1 row)
    Hope that helps anyone who is looking to store passwords in their postgresql database that is installed by default with Lion Server. I just didn't want to install postgresql from source (or any other precompiled package) and end up with two independent instances of postgresql running on the same server. Seems a bit messy (and unnecessary) to me.
    Cheers,
    Andrew.

  • How to install LiveCycle Forms ES2

    Hi,
    We are using adobe LiveCycle ES2 with SP2.
    after installing the LiveCycle ES2 and applying the  patch, we noticed
    that we forgot to check the LiveCycle Forms ES2 to be installed!, now we need this module
    my question is how to install this module and add it to our LiveCycle environment ??
    thanks
    Hussam

    You need to re-run the LiveCycle Configuration Manager (LCM) by  selecting LiveCycle Forms Module along with existing one. Perform all  the tasks you did for the initial installation.
    The patched files should be automatically picked from deploy folder while running LCM.
    Wasil

  • How to reconfigure the tcp/ip stack in Solar8 to include my STREAMS module?

    I am currently writing a NAT STREAMS module that I would like to place on the tcp/ip stack so it intercepts all incoming and outgoing packets going to or coming from the IP module. I want the stack to look like the following:
    Current Solaris Stack: hme0 -> ip -> tcp
    The new stack I want: hme0 -> MY_NAT -> ip -> tcp
    I would appreciate any help to my problem. Also, if anyone knows a resource where I could find any more information like this please let me know. I've look at docs.sun.com and searched the web but I still haven't found the answer.
    Thanks,
    Ben

    Check out the Solaris 8 (or 9) STREAMS programming manual on docs.sun.com.
    It covers in detail how from userspace or from kernelspace linking a STREAMS module into the chain of modules. I think the example it gives is with terminal drivers, but same idea.

  • How to De-install HRMS module in Oralce EBS 11.5.10.2

    Hi,
    Can some one please guide me, how to How to De-install HRMS module in Oralce EBS 11.5.10.2
    Thanks,

    Oracle Applications does not support deinstalling products once it is installed and licensed. So, there is no supported way to deintall HRMS.

  • How do I install the modules from Business Catalyst into Dreamweaver?

    They have changed things around compared to Dreamweaver 6. I have my website on the B.C. website, but don't know how to add the modules on Dreamweaver.

    Thanks for the reply. I already have the add on installed. I've had it installed and using it for a few months now. The issue is, unlike the previous version before DW CC, I was able to install the modules on my computer and open them up in D.W. and was able to add the modules to my pages through D.W.
    I'll look at the link again and see if that is what it's showing me what to do.

Maybe you are looking for