On Thu, Feb 12, 2004 at 10:38:34AM +0100, David Baron wrote:
> I have a source tree for 2.4.22. I tried to build a kernel with ext3 built-in 
> but the build did not complete successfully.
> 

If you post the error maybe we can help you solve it.

> Anyway, I have working 2.4.22-xfs kernel so figured to make drm-mach64 with 
> the sources I have. The make-kpkg kicked about the revisions and changelog of 
> the failed kernel build and would bo no farther.
> 
> 1. Should I clean that kernel build to get rid of these changes?

Do a make-kpkg clean

> 2. With this or otherwize (since I am not building the whole kernel, just 
> using the sources and header files to build the drm-mach64 module, how to I 
> get this to work.

Debian installs the config for installed kernels in
/boot/config-<kernel-version> so the config for your installed kernel
should probably be /boot/config-2.4.22-xfs. Copy that to .config at the
top of your kernel source tree (you may want to backup the old one if
you will want to try and rebuild the ext3 version later). From the
kernel name I think you should also set the EXTRAVERSION variable at the
top of the Makefile at the top of the kernel source tree to -xfs (run
uname -r, if the name is 2.4.22-xfs you do).

Now do a make-kpkg kernel-image at the top of the kernel source
tree. You can press Ctrl-C once it starts compiling the c files to
objects, you just want the dependencies to be built (make dep may be
enough although I think the module also uses some of the debian
specific stuff).
Now in the same place do
make-kpkg --added-modules drm-mach64 modules-image. This should build
you mach64 package. Then do dpkg -i <deb name> to install it.

> 3. I assume one I have a drm-mach64.deb, this will do the rest. Manually 
> attemping to run the makepkg script fails.
> 

Hopefully if everything else is ok this should get things going.

> (If anyone has successfuly build this module for a 2.4.22 or compatable kernel 
> on an i686 platform, maybe just send it and what I can use to install it.)
> 
> 
> -- 
> To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
> 
>  
>  +++++++++++++++++++++++++++++++++++++++++++
>  This Mail Was Scanned By Mail-seCure System
>  at the Tel-Aviv University CC.
> 


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to