forums.xandros.com Forum Index forums.xandros.com
Xandros User Forums
 
 FAQFAQ   SearchSearch   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

reconfigure kernel, after applying patch

 
Post new topic   Reply to topic    forums.xandros.com Forum Index -> Linux Devel 101
View previous topic :: View next topic  
Author Message
electronics45
Xandrosianding
Xandrosianding


Joined: 15 Apr 2004
Posts: 774
Location: Sydney, Australia

PostPosted: Thu Sep 29, 2005 6:23 am    Post subject: reconfigure kernel, after applying patch Reply with quote

Hi,
I've just finished patching the Xandros kernel, and now I'm supposed to reconfigure the kernel. Does anyone know how? Do I have to recompile the kernel afterwards?

Thanks for your help.
_________________
- Missing in action, as of 16-07-06
Farewell Xandros, and everyone in the fourms. It was a fun ride.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Chaotic Thought
Xandrosianding
Xandrosianding


Joined: 08 Jul 2005
Posts: 881
Location: Arlington TX

PostPosted: Thu Sep 29, 2005 12:44 pm    Post subject: Reply with quote

You might want to take a step back, and make sure the kernel compiles without patching. The thing is--sometimes patching the kernel causes the compile to fail. So if you have time (or want to potentially save time, depending on how you look at it), unpack the clean kernel sources and then compile it. If it works (or when it works), then you can move on to step 2 (patching the kernel, and making sure that works). Now... to your question:

Configuring the kernel is done before compiling it. Here are the usual steps to building the kernel:
  1. Unpack kernel sources.
  2. Configure kernel using make menuconfig or similar.
  3. Build kernel using make.
  4. Install the kernel by doing make modules_install and copying the kernel from ./arch/i386/boot/bzImage and ./System.map to your system's kernel images directory, and then updating your boot loader configuration (lilo).

I gave some detailed instructions in another post. Hopefully it is a good walkthrough. By the way, I instruct to use make oldconfig in this howto, but you may replace that step with make menuconfig if you want to configure the kernel manually.

How to Build a Kernel on Xandros
http://forums.xandros.com/viewtopic.php?p=96589#96589
Back to top
View user's profile Send private message
electronics45
Xandrosianding
Xandrosianding


Joined: 15 Apr 2004
Posts: 774
Location: Sydney, Australia

PostPosted: Thu Sep 29, 2005 7:19 pm    Post subject: Reply with quote

Thanks a lot for your help. Since I had already configured the kernel source, It was bit tricky following your more detailed guide, but I've got it all sorted out now.

thanks again. Very Happy
_________________
- Missing in action, as of 16-07-06
Farewell Xandros, and everyone in the fourms. It was a fun ride.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Chaotic Thought
Xandrosianding
Xandrosianding


Joined: 08 Jul 2005
Posts: 881
Location: Arlington TX

PostPosted: Thu Sep 29, 2005 8:06 pm    Post subject: Reply with quote

If you've already configured the kernel, just skip the make menconfig or make oldconfig part. All it really does is create the .config file that's in the toplevel source directory.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forums.xandros.com Forum Index -> Linux Devel 101 All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group