openSUSE Forums > Install/Boot/Login » Update/Compile my Kernel after changing param.h file

Go Back   openSUSE Forums > Install/Boot/Login
Forums FAQ Members List Search Today's Posts Mark Forums Read


Install/Boot/Login Questions about installation, login, boot issues, partitioning, file systems, software that runs at boot (GRUB, LILO, boot scripts)

Reply
Page 1 of 4 1 23 Last »
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 16-Sep-2009, 20:05
bobcal2000's Avatar
Puzzled Penguin
 
Join Date: Jun 2009
Location: NJ - USA
Posts: 46
bobcal2000 hasn't been rated much yet
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...
Reply With Quote
  #2 (permalink)  
Old 17-Sep-2009, 06:37
Parent Penguin
 
Join Date: Oct 2008
Location: North Wales, UK
Posts: 684
whych hasn't been rated much yet
Default Re: Update/Compile my Kernel after changing param.h file

Try looking at this: How To Compile A Kernel - The SuSE Way | HowtoForge - Linux Howtos and Tutorials
Reply With Quote
  #3 (permalink)  
Old 17-Sep-2009, 09:31
bobcal2000's Avatar
Puzzled Penguin
 
Join Date: Jun 2009
Location: NJ - USA
Posts: 46
bobcal2000 hasn't been rated much yet
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)
Reply With Quote
  #4 (permalink)  
Old 17-Sep-2009, 11:04
microchip8's Avatar
Shaman Penguin
 
Join Date: Jun 2008
Location: /dev/belgium
Posts: 2,179
microchip8 is a reputation jewel in the roughmicrochip8 is a reputation jewel in the roughmicrochip8 is a reputation jewel in the roughmicrochip8 is a reputation jewel in the roughmicrochip8 is a reputation jewel in the rough
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
__________________
My site: http://microchip.bplaced.net
My repo: http://download.opensuse.org/repositories/home:/microchip8
SUSE Unbound Forum: http://suseunbound.lefora.com


Do coders dream of sheep() ?
Reply With Quote
  #5 (permalink)  
Old 17-Sep-2009, 11:48
malcolmlewis's Avatar
Global Moderator
 
Join Date: Jun 2008
Location: Podunk
Posts: 4,637
malcolmlewis has great reputationmalcolmlewis has great reputationmalcolmlewis has great reputationmalcolmlewis has great reputationmalcolmlewis has great reputationmalcolmlewis has great reputation
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

Reply With Quote
  #6 (permalink)  
Old 17-Sep-2009, 17:44
bobcal2000's Avatar
Puzzled Penguin
 
Join Date: Jun 2009
Location: NJ - USA
Posts: 46
bobcal2000 hasn't been rated much yet
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.
Reply With Quote
  #7 (permalink)  
Old 17-Sep-2009, 17:46
bobcal2000's Avatar
Puzzled Penguin
 
Join Date: Jun 2009
Location: NJ - USA
Posts: 46
bobcal2000 hasn't been rated much yet
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?
Reply With Quote
  #8 (permalink)  
Old 17-Sep-2009, 17:55
bobcal2000's Avatar
Puzzled Penguin
 
Join Date: Jun 2009
Location: NJ - USA
Posts: 46
bobcal2000 hasn't been rated much yet
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.
Reply With Quote
  #9 (permalink)  
Old 17-Sep-2009, 18:12
Global Moderator
 
Join Date: Jul 2008
Location: Salt Lake City, Utah
Posts: 1,226
hendersj 's reputation will be famous soon enoughhendersj 's reputation will be famous soon enoughhendersj 's reputation will be famous soon enough
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
Reply With Quote
  #10 (permalink)  
Old 17-Sep-2009, 20:39
bobcal2000's Avatar
Puzzled Penguin
 
Join Date: Jun 2009
Location: NJ - USA
Posts: 46
bobcal2000 hasn't been rated much yet
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?
Reply With Quote
Reply
Page 1 of 4 1 23 Last »

Bookmarks

Tags
install, make, recompile kernel, update


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




 

Search Engine Friendly URLs by vBSEO 3.3.0 RC2