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

Re: Help with patching kernel??

On Sunday 01 September 2002 01:44 am, Matthew Claridge wrote:
> Hi,
> Thanks to everyone who helped with the soundcard query - got that sorted
> now and no, I won't any of those nasty mp3s with it ;o)))
> Maybe I'm being a bit ambitious for day twp, but I'm having some trouble
> following the guides etc to rebuild my kernel with some patches. I need
> to add support for Win4Lin, which requires two patches be applied.
> I've got instructions and I've read the manuals and the user
> guide....but...things don't quite tally and I'm scared ;o) I've been
> told I can do it the standard way with the patch tools etc (like I do
> with redhat systems) but I want to get to grips with using dpkg and kpkg
> if I can....it looks a lot easier once you understand it...
> Anyway, the problems that are confusing me are:
> 1. There's no /usr/src/linux directory. But I think thats normal because
> I've got a /usr/src/kernel-source-2.4.18 directory with the kernel
> source tree underneath it....
> 2. There's no .config file that I can find with my current kernel
> configuration - I don't want to do this from scratch  if I can help it....

Look at /boot/config-xxxxx
> So I've got the source tree. I've got the source tree for the nVidia
> drivers and the two patches I need to apply. I've got instructions for
> applying the two patches I need. If I have the .config file, I think I
> can install those patches and then do:
> make xconfig
> make -kpkg clean
> make -kpkg kernel_image modules_image
> dpkg -i kernel_image modules_image
> to build and install the kernel???

pretty much but I don't remember having to stick anything about modules

if was just 
fakeroot make-kpkg -revision=custom.what-ever kernel_image

Look at the readme in /usr/share/doc/kernal-package I think it gave step by 

> But like I said, I'm confused.......(and scared!!! lol) As a newbie to
> Debian, should I just use the standard patch method until I'm more
> comfortable with the new stuff, or is it quite easy to get into it and
> do it the 'right' way??
> many thanks

Earl F Hampton

Reply to: