On Tue, Oct 11, 2005 at 07:16:44AM -0700, Yan Seiner wrote: > Christian T. Steigies wrote: > > >Did you install the kernel-source-2.2.25 and kernel-patch-2.2.25-m68k patch > >or where do you get your kernel source from? I did not check the > >tun-module. > >but I assume you need some kernel-source (or kernel-headers-2.2.25-m68k) to > >compile the module. > > > > > Per the tun-module docs, I need the kernel source tree, configured. I > did that previously. > > Now I have the patch.... > > Do I have to apply it manually?
Yes, do this in the kernel-source directory /usr/src/kernel-patches/m68k/2.2.25/apply/apply > Or should make-kpkg do this for me? make-kpkg only builds the image and module packages, it does not apply patches AFAIK. > More importantly, is there a debian kernel-building how-to somewhere > that explains how patches are applied, modules built, and so forth? > > Most seem to be basic guides for general kernel building. I know how to > do that.... I don't know debian's tools for kernel building and > management.... Download the source for kernel-image-2.2.25-mac and have a look at debian/rules. Sometimes that is easier than finding the documentation. With make-kpkg I basically only need two commands: "make-kpkg kernel-image" to build the kernel image, and "make-kpkg modules-image" to build the module images. All the other tricks you can learn from kernel-image source packages, or from the new linux-2.6 package, if you want it to be a little more challenging. For building my own kernel images, however, the two make-kpkg commands have always been sufficient. Christian -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]