[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: FW: kernel source patching



"Chris A. Morgan" wrote:
> 
> Hi List
> 
> I'm struggling through the sea of documentation as a linux and Debian newbie.  Got Debian 3.0 installed (2.4.18-bf.2) on my Thinkpad 770 with only a few minor annoyances like no sound and some other strange functionalities.
> 
> I want to upgrade to 2.4.19 kernel and compile it myself to perhaps get more things working.  I installed the source code from Debian CD's for 2.4.18 and downloaded a 2.4.19 patch from kernel.org.  When I applied the patch, I got a zillion FAILED messages, apparently because Debians version of the source code has been heavily patched and modified already.  How can I get clean source code to patch??  Downloading the entire source code (over 30M) on my dialup is problematic.  Would it help to just compile 2.4.18 as I have it or would that give me what I already have again?  I'm a little frustrated from weeks of just trying to get Debian functional.
> 
> If you can help me, please reply directly since I am not subscribed to the list right now (200+ emails a day is beyond me).

Don't worry that it takes a while to learn. The biggest battle
is finding the useful places for information, which you can
get here.

This shows the 'conventional' way of kernel building:
  http://www.tldp.org/HOWTO/Kernel-HOWTO.html

The debian way is to turn the kernel source into a .deb
package using kpkg-make:
  /usr/share/doc/kernel-package/README.gz
  /usr/share/doc/kernel-package/README.headers
  /usr/share/doc/kernel-package/Rationale.gz
then you install the generated package using dpkg -i ...,
so that the installation system can keep track of it.
This will also run lilo. Check that the right things
have been done with lilo and make a rescue disk and
backups before rebooting.

Do you use midnight commander? You can read compressed .gz
text files without having to first unzip them.

You can get the latest unpatched kernels from http://www.kernel.org/



Reply to: