How to recompile the kernel

I have a problem in recompiling the kernel. I am not able to see the steps to recompile the kernal . I am using Redhat Linux 7.1 and i have installed Oracle 8i and i have modified the kernal parameters . after modifying i must recompile the Kernel .
Can anyone give me steps to recompile the Kernel.

Red Hat has the required directions for kernel compiling here:
http://www.redhat.com/docs/manuals/linux/RHL-7.1-Manual/custom-guide/kernel-modularized.html

Similar Messages

  • How to recompile the Intel Solaris kernel

    HI,
    I installed Intel solaris on x86 system. As per the manual U should change parameters in /etc/system file to configure semaphores and kernel memory . After updating the /etc/system file ,restart is required to take parameters in effect. But even after reboot the system is not getting configured as per the /etc/system settings.
    Is there any other way to recompile the kernel?
    Please let me know on [email protected]
    Thanks in Advance,
    Sagar

    You never recompile the Solaris kernel. Exactly what are you putting in /etc/system? How are you determining whether or not the changes took effect? What release of Solaris?

  • How to recompile the entire schema's INVALID objects in one go?

    Hi,
    How to recompile the entire schema's invalid database objects (such as package, function, procedure, trigger etc) in one go?
    Please advise.
    Thank you.

    I often use this SQL.
    select 'Alter ' || OBJECT_TYPE || ' ' || OBJECT_NAME || ' compile;' as DDL
      from user_objects
    where STATUS = 'INVALID';I sometimes use this SQL.
    declare
        WK_InvalidCount     pls_Integer :=0;
        WK_PrevInvalidCount pls_Integer :=0;
    begin
        loop
            for rec_work in (select a.object_type,a.object_name from user_objects a ,user_object_size b
                             where  a.status='INVALID' and a.object_name=b.name order by b.code_size
                            ) loop
                dbms_ddl.alter_compile(rec_work.object_type,user,rec_work.object_name);
                DBMS_Output.Put_Line(rec_work.object_name || 'is recompiles');
            end loop;
            select count(*) into WK_InvalidCount from user_objects where status='INVALID';
            if WK_InvalidCount=0 then
                DBMS_Output.Put_Line('InvalidObject none');
                exit;
            elsif WK_InvalidCount != WK_PrevInvalidCount then
                WK_PrevInvalidCount := WK_InvalidCount;
            else
                DBMS_Output.Put_Line('InvalidObjects remain' || to_char(WK_InvalidCount));
                exit;
            end if;
        end loop;
    end;
    /

  • How to recompile the COBOL files?

    Hi All,
    Can any one provide documentation for how to recompile the COBOL files by using Net Express 5.1 in command prompt?
    Thanks in advance.
    Thanks & Regards,
    Siva Prasad B

    1. Set up two environment variables, PS_HOME and COBROOT, on the machine from which you'll compile COBOL. (This should be either your file server or a machine that has access to your file server.) You can do this from a DOS command prompt window.
    set PS_HOME=C:\hr840
    set COBROOT=c:\netexpress\base
    2. Open a DOS command prompt window if you do not have one open already, and change directories to
    <PS_HOME>\Setup.
    3. Execute CBLBLD.BAT as follows
    cblbld <compile drive> <compile directory>
    where <compile drive> is the drive where the compile takes place, <compile directory> is the temp
    directory where the compile takes place
    The CBLBLD.BAT file will create the compile directory for you if it does not already exist.
    Note. Make sure to include a space between the <compile drive> and <compile directory> parameters; they are treated as two different parameters within the CBLBLD.BAT batch program. Also ensure that you have write permission to <compile drive> and <compile directory> as the compile process will take place there.
    For example, the following command will take the COBOL source from <PS_HOME>\src\cbl and do the compile process under c:\temp\compile:
    cblbld c: \temp\compile
    Make note of the information that is displayed on the screen while the process is running; it provides the locations of important files that you will need to examine.

  • How do you recompile the kernel for oracle linux 6.3

    Hello,
    I have installed Oracle linux 6.3 default settings on x86_64 bit pc
    I have some questions:
    1. What public yum repositories contain the oracle linux 6.3 kernel source code ?
    2. Is the oracle linux 6.3 kernel source code on OracleLinux-R6-U3-src-dvd1.iso or OracleLinux-R6-U3-src-dvd2.iso , can I use this to recompile a new kernel ?
    3. Do you have the steps/commands needed to set options and compile a installable kernel[rpm] on oracle linux 6.3 x86_64.
    4. What gui tools are available in the desktop to manage settings e.g sound/volume or to install additional gui utilities.
    5. Is there some documentation help on using the oracle linux desktop ?. If so where is it located .
    Thankyou
    Glenn

    Glenn D. wrote:
    1. What public yum repositories contain the oracle linux 6.3 kernel source code ?None of them. The Oracle Linux kernel source code can be found here:
    https://oss.oracle.com/ol6/SRPMS/
    https://oss.oracle.com/ol6/SRPMS-updates/
    And our git repositories are here:
    https://oss.oracle.com/git/
    The default kernel in OL6.3 is here:
    https://oss.oracle.com/git/?p=linux-uek-2.6.39.git;a=summary
    2. Is the oracle linux 6.3 kernel source code on OracleLinux-R6-U3-src-dvd1.iso or OracleLinux-R6-U3-src-dvd2.iso , can I use this to recompile a new kernel ?Actually, I have no idea which DVD the source code is on.
    3. Do you have the steps/commands needed to set options and compile a installable kernel[rpm] on oracle linux 6.3 x86_64.No, you'd need to decide that for yourself. The kernel source is complex and can be very tricky to recompile.
    4. What gui tools are available in the desktop to manage settings e.g sound/volume or to install additional gui utilities.Wow, topic shift. GNOME Control Center manages settings and installing new utilities is done by Pirut.
    5. Is there some documentation help on using the oracle linux desktop ?. If so where is it located .Oracle Linux isn't intended to be used as a desktop. All the documentation is here:
    https://linux.oracle.com/documentation/
    http://docs.oracle.com/cd/E37670_01/index.html

  • [SOLVED]How to patch the kernel? And other questions

    Like the same user who started this thread I'm suffering from hibernation resuming troubles using kernel 2.6.38. In that thread was posted a soluttion that involves patching the kernel.
    The patch to apply is this:
    http://git.kernel.org/?p=linux/kernel/g … e3e9fc8684
    Waiting for the bug to be corrected and a new version supplied is not an option, because this laptop is my main computer and I heavly rely on hibernation.
    Here's my trouble now. I don't know if it is possible to patch without recompiling the whole kernel, or it has to be compiled with that patch applied. I have seen the archlinux's wiki guide about compiling the kernel, but found nothing about applying patches (maybe I didn't searched with enought depth).
    In case there is needed a full compilation, should I use the vanilla kernel, the Arch Linux one or any of the AUR ones (I said AUR because they're the first that came to my mind)? Should i expect a performance gain with this (apart from fixing the hibernation bug)?
    Maybe i'm just doing a bunch of dumb questions, and the only thing I need is to search deeply on the wiki. In that case, please tell me. If not, I rather get some answers around kernel patching and / or compiling questions.
    Edit: In addittion, it is possible that all this questions are just newbie ones, I don't know, but as I am willing to learn from this I will appreciate any info or documentation about it.
    Thank you.
    Last edited by ethail (2011-04-12 06:30:48)

    From the source tree (/usr/src/linux-whatever) execute
    patch -p1 < /path/to/fix.patch
    then recompile kernel from the source tree.
    Basically that consists of executing the following commands from the source tree:
    make menuconfig
    make
    make modules_install
    cp -v System.map /boot/System.map-CUSTOM
    cp -v arch/x86/boot/bzImage /boot/vmlinuz-CUSTOM
    mkinitcpio -k 2.6.38-CUSTOM -g /boot/kernel-CUSTOM.img
    and you need to add menu entry in /boot/grub/menu.lst
    -k 2.6.38-CUSTOM should corespond to /lib/modules/2.6.38-CUSTOM (replace 2.6.38-CUSTOM with the name of your module directory, name depends on the kernel version and suffix that you gave in menuconfig). Regarding kernel configuration in menuconfig - I can't help you, you could use arch stock kernel config (zcat /proc/config.gz > /usr/src/linux-whatever/.config)
    I do these kind of things this way - maybe someone else have a more elegant solution.

  • How to disable the kernel SCTP deamon in Solaris 10

    we have third party sctp implementation on sol8 n sol9. Now we are going to shift it to sol10. while it initiate the INIT message the kernel sctp of peer node send abort back to our node. So i need to disable kernel sctp of peer node.
    thanks in advance...
    twinceone

    Init levels no longer form a 1:1 mapping with how SMF will run things.
    The default milestone is 'all'. You can override this on the boot line. I'm not sure how you might change it within the filesystem.
    Darren

  • Recompiling the Kernel

    Hey guys, I have been playing around with compiling my own kernel on Arch. I have mainly been the method outlined on the Arch Wiki about customising the Kernel26 package, from ABS and using PKGBUILD. I can successfully get kernels to compile and use them problem free.
    However, I'm new to this and doing it just as a learning experience and for fun. My question is, when I come to configuring the new kernel, say by using "menuconfig" or "gconfig" for example, if I were to just leave it how it is and not change any of the selections... Would this just effectively give me the standard Arch kernel when compiled?
    Being new to this kernel building business I would be grateful if someone could point me toward tips on how to optimise my kernel... What I should looking for etc. Is there a way to set the settings to optimal for your system?
    Thanks in advance

    If you have a kernel that's working fine, boot it and try grabbing its configuration from /proc/config.gz .  The kernel in question has to have had a particular option enabled for this file to exist, but they often do (especially stock kernels).
    You'll want to ungzip that and copy it to the Linux source directory (as .config) to use it.
    As a side note, it's usually not worth building your own custom kernel unless you have special patches to apply, or intend to minimalize the entire configuration (and resulting modules).  The performance difference is often minor.
    Since you say you're just doing it for fun, well, enjoy.  You will probably at least learn the names and corresponding kernel modules of all the hardware in your system if you go down the minimal route

  • [SOLVED]How to load the kernel?

    Hi all
    First I should say that I found the same as my question in the internet bot there were no answer can solve my problem too.
    I just installed my Arch on my new laptop and I can say I am new.
    after all installations and reboot I have grub menu but when I want to boot I face with below error
    "error no such device" ad4103....."
    "loading linux core repo kernel"
    "error: no such partition"
    "loading initial ramdisk"
    "error: you need to load the kernel first"
    I have no access to command line but grub command line.
    How can I get rid of this error?
    Last edited by qaderzade (2014-12-12 18:57:28)

    uh...post your fstab as well as your bootloader configuration. I believe your initramfs is loaded from /boot - if you have that on a separate partition you need to make sure that a) it's specified correctly with the correct device name or UUID in fstab and that b) grub picked up the correct location of your initramfs and kernel when running grub-mkconfig (I'm assuming you did run grub-mkconfig before rebooting). Hopefully I'm not too off base here, but your problem lies somewhere in that area.

  • How to recompile the calendar in ebs R12

    Hi,
    Pl suggest how to recompile calendar again after getting warning.
    I have entered the calendar
    General Ledger : Setup > Financials > Calendars > Accounting
    once I saved after doing some entry it give me the warning.
    "rep-0004 warning unable to open user preference file"
    I did some change as per suggest on "http://appsdbastuff.blogspot.in/2011/12/r12rep-0004-warning-unable-to-open-user.html"
    Copy $ORACLE_HOME/tools/admin/prefs.ora to $HOME
    then I bounce the application.
    when I add the rest entries of calendar & save & close the form it does not compile it again.
    Pls tell how to recompile calendar . the view-request-find last 7 days is showing only the last warning msg.

    Did you try running 'Other - Calendar Validation Report' from your SRS screen?
    Regards,
    Srini

  • How Would You the Kernel's Running on 64-Bit Mode?

    Hi. Is there an indicator in Snow Leopard to know if it's running the kernel in 64-Bit Mode? How would you know the kernel's running in 64-bit? Thank you in advance.
    Gbu.

    Open System Profiler in the Utilities folder. Click on the Software entry in the sidebar list. You will see the following:
    Note the entry labeled, "64-bit Kernel and Extensions." If you are running the 64-bit kernel the entry will say, "Yes."

  • 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.

  • Recompiling the kernel for a single driver/patch

    Hi,
    I've just successfully compiled a kernel in order to use saaros's sentelic touchpad patch. My question is: do I really have to do that every time I want to update the kernel? eg, I can't build that one driver as a separate module? Also, is it possible to distribute the binary files and use them with a stock kernel? How likely is it that this code will make its way into the official source?
    Thanks, Jamie
    Last edited by JamieKitson (2012-02-25 17:39:40)

    Have a look at this if you haven't already.
    https://github.com/saaros/sentelic/issues/2
    I am not familiar with this patch but you may be able to build under /usr/src/linux. Of course install linux-headers etc first.
    Good luck!

  • How to find the Kernel panic's cause?

    I have a HP G7 server, OS is RHEL 6.0, and it often kernel panic.
    Who can tell me how to find the cause?
    I even try use kdump service to collect the cause, but you know, the kdump(kexec) have a bug, so collect fail.
    Last edited by sheng (2011-10-26 08:01:14)

    Maybe have a look at http://rhelforum.com/forum.php or http://www.fedoraforum.org/ ?

  • How to determine the kernel compilation time stamp ?

    Hi, all
    sorry of this is a miss post.
    I'm trying to find out the date (time stamp) using the
    "uname -a" command  , but I'm not sure this is the correct way , because the
    the output of the command returns the kernel release date and I'm not sure this is the
    correct time
    Any suggestions ?
    Victor

    I'm referring to the date the kernel was actually compiled .
    My question was if the output of the command "uname -a" contains the kernel compilation date, because
    the "man uname" and "info uname" says that the output contains kernel  release info.
    Or is there another way of determining the actual date(time) when the kernel was compiled.

Maybe you are looking for

  • Scenario is SOAP-XI-SAP(An exception is generated in the webservice layer)

    Hi Experts,   I have a interface like SOAP-XI-SAP.An error/exception is generated in the web service layer which is trying to send the SOAP request to XI. I am getting the error/exception in web service layer like"<b>An IOException was thrown while t

  • Searching in sxmb_moni for business data

    Hello, it is possible searching for business data in sxmb_moni for example a order-No. The reason is that a customer want know the time the order is executing or this happened without an error or trying to send the order again. Normally only with the

  • How can I get the html BODY marginwidth/leftmargin-rightmargin to work?

    I am developing some web pages where I want both a left and a right margin. I DO NOT want to play with CSS. There are html attributes MARGINWIDTH, LEFTMARGIN, and RIGHTMARGIN for the BODY element. The first works with IE, while the last two work with

  • How to extract invoice and credit memo total by BP refernce number

    I am very new to the system and need to extract a report that lists all invoices and credit memos from my company for a specific client based on date and/or client po number(BP reference number)  I want to view all the line items by sku for each invo

  • Fehler meldung bei der Installation von Windows 7 pro

    Guten abend.  Ich habe gestern mein Lenovo Thinkpad T420 neu aufgesetzt, und bekomme bei der Installation folgene fehlermeldung  von windows (Neustart des Computers unerwartet oder ein unerwarteter Fehler aufgetreten) Ich habe es gestern abend, noch