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

Re: replacing intel-agp.o



Hi Steve,

>1. downloaded the kernel source, including intel-agp.c, into a directory
>  /tmp/tmp/linux-image-2.6.18-3-686/linux-2.6-2.6.18.dfsg.1
Is this the correct version? My etch/amd64 kernel has version 2.6.18-4.

> Now I'm not sure what the minimal way is to compile intel-agp.o.  I don't
> want to overwrite any current system files (other than intel-agp.o).  I
> just want to make intel-agp.o, put it in place, test it with modprobe, and
> see what happens.

I extracted the agp sub folder from source an throw away the rest of the 
source code. Calling make builds all agp modules in this folder. Copy the 
module intel-agp.ko into /lib/modules/$(shell 
uname -r)/kernel/drivers/char/agp/
and add intel-agp to your /etc/modules list.

>
> So what are the minimal commands I need to just make intel-agp.o?  Do I
> need to put the whole source directory in some standard place, run make
> config, and all that?  I've compiled many times over the years but have
> never gotten into kernel source before and want to be careful.
>
Unfortunately I don't remember the steps exactly. What is the error message? A 
failure by patching? If you are interested I can send you my agp source 
folder.
But since there exists by now newer kernels for etch at www.backports.org I 
would install a current kernel (2.6.21, 2.6.22?) instead of patching the old 
2.6.18 one.


Regards,

Jörg





Reply to: