Solaris 8 kernel rebuild

Hi,
Using solaris 8 source foundation cds, I am trying to build the solaris 8 os environment. But I found that there is very little documentations regarding to compiling the kernel source plus commands and libraries out there. I have a feeling like there should be some directives or parameters(machine dependent ones like cpu's type, platforms, etc, because there is no configuration processes for automatically probing these information) to the osnet_volume/usr/src/* for generating the whole images of solaris os environment. Unfortunately, I couldn't find a way to do this. No documentations! No discussions! No URLs! No clues!
Below is the things I've done so far, and I'm at the linking stage of core kernel image, which is unix, genunix.
- SRC, SPRO_ROOT, BUILD_TOOLS adjustments.
- stabs tools installation.
- UNIX_DIR change from sun4m to sun4u for my machine.
- usr/src/uts/common/Makefile.files : timers.o commented out.
Now I'm getting lot of undefined symbol reference errors linking the object files for building libgenunix.so file and unix.o file.
And this is the result by issuing just 'make' at the top direcoty of source tree, which is 'osnet_volume/usr/src'.
Anybody tried this and who was successful, please help me. Many thanks for your help.
Bye.

Mark:
Not sure of all the issues that you had raised. But if you are looking to force the kernel to load a particular module you can use the forceload option in /etc/system to force load a module.
Here is how to do this.
* forceload:
* Cause these modules to be loaded at boot time, (just before mounting
* the root filesystem) rather than at first reference. Note that
* forceload expects a filename which includes the directory.Also
* note that loading a module does not necessarily imply thatit will
* be installed.
* Example:
* forceload: drv/foo
--Angelo
Sun Developer Support.

Similar Messages

  • Oracle 10g on solaris 10 : kernel parameter warning

    I am installing oracle 10g on Solaris 10.
    I have a warning on kernel parameter missing (shminfo_shmmax for example) during the system check.
    I understood that with the 10 version of solaris these parameters are replaced by ressources control and I have checked them. They are correctly setted.
    Need I do something before continue the install to release the warning or can I bypass this issue and continue the install as I have no warning ?
    Thanks for your answers.
    Sorry for my english.

    You are right. Since Solaris 10 kernel parameters settings in /etc/system is obsolete and some parameters are deprecated.
    The steps how to configure required parameters you can find in my paper (step #1.): http://ivan.kartik.sk/oracle/install_ora10gR2_solaris.html
    I bypass this issue and continue the install as I have no warning You can safely bypass this issue during installation process but you should set these parameters after installation.

  • How to read Share Memeory values in Solaris 10 Kernel?

    How to read Share Memeory values in Solaris 10 Kernel?

    # ipcs
    IPC status from <running system> as of Tue Apr 8 15:39:50 BST 2008
    T ID KEY MODE OWNER GROUP
    Message Queues:
    Shared Memory:
    Semaphores:
    or review the output of
    # sysdef

  • Solaris 10 kernel Patch 127127-11

    we need to apply solaris 10 kernel Patch 127127-11 in our prod server as a prerequisite for oracle10g patch set 10.2.0.4 installation
    but i found a Doc 242366 (May Cause a system Panic from ip_wput_ioctl()).It is mentioned in doc that Binary relief is available through normal
    support channels.Is that Binary complete fix of this problem?If yes, then i need that binary please give me the link where i can download the binary,
    If not, then what is the solution of this problem.?
    Thanks

    These kinds of binary hotfixes/IDR's are only available through sun support to contract customers.
    If your concerned, I suggest you raise a support case.
    That being said, 127127-11 is kinda old. So I would be surprised if the bug hadnt been fixed by now.
    Its been replaced by either 137111 or 137137.
    Ive upgraded at least a dozen systems past that level and never seen a problem.
    So it can't be too common..

  • Open-vm-tools-modules and kernel rebuild

    Initially when I installed open-vm-tools-modules the wiki instructed me to rebuild the kernel to include the VMWare drivers.
    Today there was an upgrade to open-vm-tools-modules and I was wondering if a kernel rebuild is required every time this package is upgraded.

    I would just like to note that I  am having the same problem in VMware Fusion 4. But this is an update. I read what you said about having a problem doing pacman -S open-vm-tools-modules: when I enter the command it succeeds. But despite this, when I do sudo /etc/rc.d/open-vm-tools start it still fails, but it doesn't print anything about the vmblock. Doing strace produces some output that I really can't understand at all.
    You should see my post here https://bbs.archlinux.org/viewtopic.php … 0#p1048450

  • What is solaris 10 kernel  file name ?

    doing report on solaris 10 need the kernel file name

    ... and if you don't have access to a system that is running Solaris, use Google.
    Search on solaris man kernel .
    See 1,960,000 "hits" from such a search
    Gosh!
    How did civilization-as-we-know-it
    ever survive this far
    until Google arrived to save us ?!?

  • Solaris 11 kernel source

    I read somewhere on the Oracle Technology Network (oracle.com/technetwork) that one can
    actually get a copy of the solaris 11 kernel source, downloaded to one system, for perusal while
    developing applications and kernel modules.  The link did not provide details and I suspect that is
    only available to companies who are OPN, oracle partner network.  This link
      Resources for Oracle Solaris Developers and ISV's
    has a link to "Oracle Solaris Development Initiative - Access to Oracle Solaris, Oracle Solaris Cluster,and Oracle Solaris Studio patches & updates"
    but when I click on it, I get page not found (Error page 404).
    was I hallucinatinating when I read about access to the Solaris 11 kernel source?
    jim

    I fear you might have been reading out of date information from the OpenSolaris days.   Only a small handful of partners have access to the Solaris 11 kernel source - it's not generally available at this time.

  • Solaris 10 kernel params w/10.1.2.2.0 ?

    We migrated from 5.4 under Solaris 9, to a new box, Solaris 10 and 10.1.2.2.0. - We run calendar Standalone.
    Problem is we are hitting a limit at 127 concurrent users. eng.log shows a problem with no message queue resources available. But the kernel setting for this, is now obsolete.
    I do have a case open with Oracle, but it's taking forever... I'm trying adjusting project.max-sem-ids      project.max-shm-memory and project.max-shm-ids. process.max-sem-nsems doesn't exist..
    TIA...

    Moderator Action:
    This inquiry was initially posted to the Predictive Self Healing forum for some unfathomable reason.
    It has now been moved to the Oracle VM and Virtualization forum for closer topic alignment.
    Advice to original poster:
    If you couldn't read enough posts to figure out which forum was appropriate, how are you going to be able to read replies to your question? You should go back to wherever you found Virtualbox and Solaris and read the product documenteation. Installation instructions are already there.

  • Solaris 10 kernel patch upgrade

    Hi all,
    i am in a process of upgrading the kernel patch of a solaris 10 x64 machine, the present kernel patch is "5.10 Generic_144489-06 i86pc i386 i86pc" the updated kernel patch that i am going to upgrade to is patch "144501-19".
    could you please let me know if there is any special handling to undergo the upgrade or it is only sufficient to follow the 144501-19 README file?
    i know that i should put the system on the single user mode level and i have to have a valid OS backup before doing the patchadd, but if i am missing anything else please let me know
    thanks

    Hello,
    if you are having system filesystems (/ /usr /var ...) on software RAID1 devices, best practise is to split mirrors and have most recent actual copy of the system (or create current ZFS snapshot if using ZFS on root),patch it in single user mode or use Live Upgrade functionality and create alternate boot environment and patch the ABE on running system (you can find various info in Oracle Docs or get inspired by various blogs:http://nilesh-joshi.blogspot.com/2011/10/oracle-solaris-patching-using-live.html). I always patch kernel and other system components using PCA patching utility - have a look on project homepage http://www.par.univie.ac.at/solaris/pca/ it's really advanced and helpful tool. It can save you lot of time when solving dependecies and also downloading the patches.
    Good luck

  • Solaris 9 kernel patch

    Hello everyone,
    I'm new to Solaris, so excuse me if my questions seems stupid.
    I have e solaris 9 SunOS sirius 5.9 Generic_118558-11 sun4u sparc SUNW,Sun-Fire-V890and I want to increase the kernel patch level to the last one.
    Could you give me some hints where I can find and download the latest patch and the steps to install it.
    Thanks for your time.

    [http://sunsolve.sun.com/search/document.do?assetkey=1-21-122300-31-1]
    Instructions are in the readme file for the patch.

  • Solaris 8 Kernel and Modstubs

    I am trying to access the SHA1Init, SHA1Update, and SHA1Final routines
    that are located inside of os/sha1.c which is compiled into the SPARC
    module authsha1.
    The code I am using is linked into the GENUNIX module. When I try to link
    when using the authsha1 SHA1 functions it says that they are not defined.
    To fix this, I went into sparc/ml/modstubs.s and added a entry like this:
    #ifndef AUTHSHA1_MODULE
    MODULE(authsha1, strmod);
    WSTUB(authsha1, SHA1Init, nomod_zero);
    WSTUB(authsha1, SHA1Update, nomod_zero);
    WSTUB(authsha1, SHA1Final, nomod_zero);
    END_MODULE(authsha1);
    #endif
    Now my kernel links. However, when I got to run my code via calling
    a system call in the new kernel, my checksums are all zero. I have
    debugged this further and reliazed that my code was only calling the
    stubs generated by modstubs, and thus is the reason for all zeros.
    I then proceeded to check to see if the authsha1 module had been loaded,
    and it had not. I loaded /kernel/strmod/authsha1 and my routines started
    working magically because it overlayed the modstubs calls.
    My question is this, am I able to have the kernel automatically load that
    module instead of trying to call the modstubs functions (these should only
    be present to allow linking of the kernel)?
    I have tried to add a char dependson[] = "strmod/authsha1"; to my c file,
    but when I do this i get multiple defined symbols on bootup for the SHA1
    routines as well as the init, and info and _fini module routines for
    every module as it loads.
    I had thought that Solaris was designed to automatically load the
    appropriate module, if the routine your calling is located inside of that
    module and not currently available?
    The only thing that I can think of that is causing a problem, is that
    modstubs functions I added might be conflicting with the auto-loading of
    the authsha1 module since it already thinks they exist.
    Anyone have any suggestions?
    Thanks, Mark

    Mark:
    Not sure of all the issues that you had raised. But if you are looking to force the kernel to load a particular module you can use the forceload option in /etc/system to force load a module.
    Here is how to do this.
    * forceload:
    * Cause these modules to be loaded at boot time, (just before mounting
    * the root filesystem) rather than at first reference. Note that
    * forceload expects a filename which includes the directory.Also
    * note that loading a module does not necessarily imply thatit will
    * be installed.
    * Example:
    * forceload: drv/foo
    --Angelo
    Sun Developer Support.

  • Different Solaris OS kernel patches on RAC

    I have a very unstable RAC installation on Solaris. I continue to get ORA-0600 errors. The OS is at version 10 but I just learned today that the patch levels are different.
    Node 1: Kernel version: SunOS 5.10 Generic_118833-24
    node 2: Kernel version: SunOS 5.10 Generic_127127-11
    How big a deal is this and would it be contributing to my instability.
    thanks

    Hello,
    For sure the different level patches may contributing for errors. General cluster rules, leave all things more similar as possible (hardware, OS, patches).
    Do you know the metalink's ora-600 lookup tool?
    Regards,
    Rodrigo Mufalani

  • Solaris 10 Kernel memory usage

    We have a 32 GB RAM server running about 14 zones. There are multiple databases, application servers, web servers, and ftp servers running in the various zones.
    I understand that using ZFS will increase kernel memory usage, however I am a bit concerned at this point.
    root@servername:~/zonecfg #mdb -k
    Loading modules: [ unix krtld genunix specfs dtrace uppc pcplusmp ufs md mpt ip indmux ptm nfs ]
    ::memstat
    Page Summary Pages MB %Tot
    Kernel 4108442 16048 49%
    Anon 3769634 14725 45%
    Exec and libs 9098 35 0%
    Page cache 29612 115 0%
    Free (cachelist) 99437 388 1%
    Free (freelist) 369040 1441 4%
    Total 8385263 32754
    Physical 8176401 31939
    Out of 32GB of RAM, 16GB is being used by the kernel. Is there a way to find out how much of that kernel memory is due to ZFS?
    It just seems an excessively high amount of our memory is going to the kernel, even with ZFS being used on the server.

    root@servername:~ #mdb -k
    Loading modules: [ unix krtld genunix specfs dtrace uppc pcplusmp ufs md mpt ip hook neti sctp arp usba uhci fcp fctl qlc nca lofs zfs random fcip crypto logindmux ptm nfs ]
    ::memstat
    Page Summary Pages MB %Tot
    Kernel 4314678 16854 51%
    Anon 3538066 13820 42%
    Exec and libs 9249 36 0%
    Page cache 29347 114 0%
    Free (cachelist) 89647 350 1%
    Free (freelist) 404276 1579 5%
    Total 8385263 32754
    Physical 8176401 31939
    :quit
    root@servername:~ #kstat -m zfs
    module: zfs instance: 0
    name: arcstats class: misc
    c 12451650535
    c_max 33272295424
    c_min 1073313664
    crtime 175.759605187
    deleted 26773228
    demand_data_hits 89284658
    demand_data_misses 1995438
    demand_metadata_hits 1139759543
    demand_metadata_misses 5671445
    evict_skip 5105167
    hash_chain_max 15
    hash_chains 296214
    hash_collisions 75773190
    hash_elements 995458
    hash_elements_max 1576353
    hits 1552496231
    mfu_ghost_hits 4321964
    mfu_hits 1263340670
    misses 11984648
    mru_ghost_hits 474500
    mru_hits 57043004
    mutex_miss 106728
    p 9304845931
    prefetch_data_hits 10792085
    prefetch_data_misses 3571943
    prefetch_metadata_hits 312659945
    prefetch_metadata_misses 745822
    recycle_miss 2775287
    size 12451397120
    snaptime 2410363.20494097
    So it looks like our kernel is using 16GB and ZFS is using ~12GB for it's arc cache. Is a 4GB kernel for other stuff normal? It still seems like a lot of memory to me, but I don't know how all the zones affect the amount of memory the kernel needs.

  • Solaris 9 kernel memory usage

    Hi!
    I have Sun Fire 240 with 2Gb of RAM, running two Oracle database instances. Total SGA for these databases are 1.2Gb, PGA consumed at the time of performance degradation (see below) is about 200Mb. Several minutes after successfull startup, OS starts paging at a very high rate (vmstat 1 's pi/po is about several thousands).
    # mdb -k
    Loading modules: [ unix krtld genunix md ip usba nfs random ipc lofs ptm ]
    ::memstatPage Summary                Pages                MB  %Tot
    Kernel                      86992               679   35%
    Anon                       158841              1240   64%
    Exec and libs                1887                14    1%
    Page cache                     42                 0    0%
    Free (cachelist)             1631                12    1%
    Free (freelist)                90                 0    0%
    Total                      249483              1949For what purpose does kernel allocate 680Mb of memory? Are there any formula to calculate kernel memory requirements?

    Issue fixed. Kernel memory consumption caused by too much outgoing TCP connection. See http://forum.sun.com/thread.jspa?threadID=26311&tstart=0

  • Solaris 9 kernel message : stgd-app-prd rpc.cmsd: [ID 767094 daemon.error]

    Hello,
    I have a lot of those messages when I issue the dmesg on one of our production server :
    Feb 9 11:09:27 stgd-app-prd rpc.cmsd: [ID 767094 daemon.error] svc_reg(tcp) failed
    Feb 9 11:13:16 stgd-app-prd last message repeated 65 times
    Feb 9 11:13:16 stgd-app-prd last message repeated 38 times
    Feb 9 11:13:22 stgd-app-prd rpc.cmsd: [ID 767094 daemon.error] svc_reg(tcp) failed
    Feb 9 11:13:22 stgd-app-prd rpc.cmsd: [ID 767094 daemon.error] svc_reg(tcp) failed
    Feb 9 11:19:59 stgd-app-prd last message repeated 66 times
    Feb 9 11:19:59 stgd-app-prd last message repeated 66 times
    Feb 9 11:20:05 stgd-app-prd rpc.cmsd: [ID 767094 daemon.error] svc_reg(tcp) failed
    Feb 9 11:20:05 stgd-app-prd rpc.cmsd: [ID 767094 daemon.error] svc_reg(tcp) failed
    Feb 9 11:26:41 stgd-app-prd last message repeated 66 times
    Feb 9 11:26:41 stgd-app-prd last message repeated 66 times
    Feb 9 11:26:47 stgd-app-prd rpc.cmsd: [ID 767094 daemon.error] svc_reg(tcp) failed
    Feb 9 11:26:47 stgd-app-prd rpc.cmsd: [ID 767094 daemon.error] svc_reg(tcp) failed
    Feb 9 11:33:17 stgd-app-prd last message repeated 64 times
    Feb 9 11:33:17 stgd-app-prd last message repeated 64 times
    Feb 9 11:33:23 stgd-app-prd rpc.cmsd: [ID 767094 daemon.error] svc_reg(tcp) failed
    Feb 9 11:33:23 stgd-app-prd rpc.cmsd: [ID 767094 daemon.error] svc_reg(tcp) failed
    Feb 9 11:40:00 stgd-app-prd last message repeated 66 times
    Feb 9 11:40:00 stgd-app-prd last message repeated 66 times
    Feb 9 11:40:06 stgd-app-prd rpc.cmsd: [ID 767094 daemon.error] svc_reg(tcp) failed
    Feb 9 11:40:06 stgd-app-prd rpc.cmsd: [ID 767094 daemon.error] svc_reg(tcp) failed
    root@stgd-app-prd # uname -a
    SunOS stgd-app-prd 5.9 Generic_122300-25 sun4u sparc SUNW,Sun-Fire-V210
    root@stgd-app-prd #
    Anyone have an idea of what it is?

    hi,
    The rpc.cmsd is a calender/appointment scheduler service. It is enabled by default on Sun Solaris machines. It can be accessed through the "Calendar Manager" on the older Openwindows environment, or through the "Calender" program in the newer CDE environment.
    i think it is harmless. you dont worry about it. you can try it to exit CDE , then what result is it ?
    best regards

Maybe you are looking for