Page 1 of 4 123 ... LastLast
Results 1 to 10 of 32

Thread: Update/Compile my Kernel after changing param.h file

  1. #1
    Join Date
    Jun 2009
    Location
    NJ - USA
    Posts
    45

    Default Update/Compile my Kernel after changing param.h file

    I'm running openSuse 11.1 with Kernel 2.6.27.29.01-default x86_64

    because of problem with VMware workstation 6.5.3 I needed to change the value of #define HZ to 1000 instead of 100 in file "/usr/src/linux-2.6/include/asm-x86/param.h". I did that.

    The problem is how do I recompile my kernel. Do I need to recompile it would be good to know. And after I recompile it is that variable changed?

    I have read several threads about updating/recompiling the kernel. I have changed to different directories and typed "make" and "make install.sh" and no luck.

    Someone PLEASE, give me exact instructions. I'm only 5 years old and need very simple instructions. Open a terminal window as SU. Go to ...directory..., type ...command1...command2...

  2. #2
    Join Date
    Oct 2008
    Location
    North Wales, UK
    Posts
    1,114

    Default Re: Update/Compile my Kernel after changing param.h file


  3. #3
    Join Date
    Jun 2009
    Location
    NJ - USA
    Posts
    45

    Default Re: Update/Compile my Kernel after changing param.h file

    Thanks!

    This is a little scary for a newbie like me. It's about a million steps!

    I just changed one line a config file!

    Is it required that I do all those steps? Can it be done in the GUI YaST?

    Newbie(whimp)

  4. #4
    Join Date
    Jun 2008
    Location
    /dev/belgium
    Posts
    1,946

    Default Re: Update/Compile my Kernel after changing param.h file

    did you ran VMWare *after* changing the value in param.h ? if it works correctly, then there's no need to recompile the kernel, which honestly is not an easy task for a 5-years old chap

  5. #5
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    32,333
    Blog Entries
    15

    Default Re: Update/Compile my Kernel after changing param.h file

    Quote Originally Posted by bobcal2000
    I'm running openSuse 11.1 with Kernel 2.6.27.29.01-default x86_64

    because of problem with VMware workstation 6.5.3 I needed to change the
    value of #define HZ to 1000 instead of 100 in file
    "/usr/src/linux-2.6/include/asm-x86/param.h". I did that.

    The problem is how do I recompile my kernel. Do I need to recompile it
    would be good to know. And after I recompile it is that variable
    changed?

    I have read several threads about updating/recompiling the kernel. I
    have changed to different directories and typed "make" and "make
    install.sh" and no luck.

    Someone PLEASE, give me exact instructions. I'm only 5 years old and
    need very simple instructions. Open a terminal window as SU. Go to
    ...directory..., type ...command1...command2...
    Hi
    Just rollback to 6.5.2 to get rid of the rtc error? Sometimes the
    latest isn't the greatest and wait for a fix.... I also see it on 7
    beta as well.

    --
    Cheers Malcolm (Linux Counter #276890)
    SUSE Linux Enterprise Desktop 11 (x86_64) Kernel 2.6.27.29-0.1-default
    up 1 day 15:09, 2 users, load average: 0.17, 0.29, 0.18
    GPU GeForce 8600 GTS Silent - CUDA Driver Version: 190.18


  6. #6
    Join Date
    Jun 2009
    Location
    NJ - USA
    Posts
    45

    Default Re: Update/Compile my Kernel after changing param.h file

    Thanks Malcolm but I had this error on 6.5.2 also. My Hz is set at 100, but the problem is I'm so new to Linux, I don't know how to recompile my kernel without the million step process, much of which I'm sure I don't need. I just don't know what I need and what I don't.

  7. #7
    Join Date
    Jun 2009
    Location
    NJ - USA
    Posts
    45

    Default Re: Update/Compile my Kernel after changing param.h file

    This is a little much to do just for making one change to one one configuration file. Do I need to do all these steps?

  8. #8
    Join Date
    Jun 2009
    Location
    NJ - USA
    Posts
    45

    Default Re: Update/Compile my Kernel after changing param.h file

    I rebooted the whole machine and it still does it. I just need to figure out the best way to recompile the kernel in a way I understand.

  9. #9
    Join Date
    Jul 2008
    Location
    Seattle, WA
    Posts
    17,317

    Default Re: Update/Compile my Kernel after changing param.h file

    On Thu, 17 Sep 2009 22:56:01 +0000, bobcal2000 wrote:

    > This is a little much to do just for making one change to one one
    > configuration file. Do I need to do all these steps?


    The change that you're making isn't just a change to a configuration file
    - it's actually a change to the kernel source code.

    Jim
    --
    Jim Henderson
    openSUSE Forums Moderator

  10. #10
    Join Date
    Jun 2009
    Location
    NJ - USA
    Posts
    45

    Default Re: Update/Compile my Kernel after changing param.h file

    Thanks,

    That answers my question about the change I made requires a recompile of the kernel.

    Now I need the answer to one more question before I backup all my data, hold my breath, and move from the newbie level to a dangerous novice.

    That document is from 2006 on 10.1, I have 11.1. Isn't there a newer document? Looking through those instructions it talks about downloading source files. Don't I have all the files on my computer already from the installation? I need to know for sure I need to do all those steps?

Page 1 of 4 123 ... LastLast

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •