Penguin

Differences between version 27 and predecessor to the previous major change of KernelNotes.

Other diffs: Previous Revision, Previous Author, or view the Annotated Edit History

Newer page: version 27 Last edited on Friday, July 7, 2006 6:15:33 am by AristotlePagaltzis Revert
Older page: version 26 Last edited on Sunday, May 28, 2006 12:40:15 pm by AristotlePagaltzis Revert
@@ -1,4 +1,26 @@
+!!! Updating the [Kernel] SourceCode without reconfiguring from scratch  
+  
+Download and unpack the latest [Kernel] TarBall (ie from [http://kernel.org/]). Copy the <tt>.config</tt> file from the previous [Kernel]'s directory to the fresh one. From the new directory, run <tt>make oldconfig</tt> to pick up the old configuration, then <tt>make menuconfig</tt> to change any options for the new [Kernel].  
+  
+To update the symlink:  
+  
+<pre>  
+ls -l /usr/src/linux  
+rm /usr/src/linux  
+cd /usr/src  
+ln -s linux-''version'' linux  
+</pre>  
+  
+DebianLinux users will want to read KernelPackageNotes for information on using make-kpkg(1) to build a [Kernel] [Deb]. If not, they can follow the same steps, using  
+  
+<pre>  
+apt-cache search kernel-source # to find out the latest version  
+apt-get kernel-source-''version''  
+</pre>  
+  
+to download the latest source.  
+  
 !!! Compiler Version 
  
 The [Kernel] can be sensitive to the version of [GCC] in use. F.ex. 2.4 and early 2.6 kernels did not work with [GCC] 3.x. They contained the following snippet in <tt>README</tt>: 
  
@@ -12,9 +34,9 @@
 OTOH kernels since about 2.6.15 require [GCC] 3.x. Read the file to find the versions of compilers and other tools you need. Make sure to check the <tt>README</tt> and <tt>Documentation/Changes</tt> files to find out which version you need. Of course you always read the compile instructions for software you download, right? :) 
  
 To compile a kernel with a specific compiler, you can say eg. <tt>make CC=gcc-2.95 bzImage</tt> to make the <tt>bzImage</tt> target using the <tt>gcc-2.95</tt> compiler. 
  
-!!! Linking fails with bootsplash compiled into your kernel 
+!!! Linking fails with <tt> bootsplash</tt> compiled into your kernel 
  
 Compiling aborts with the following message: 
  
  <verbatim>