Make mrproper
Make modules_prepare

Is supposed generate headers from /proc/config.gz which is the .config file
for the running kernel.

Sometimes this gets the headers in sync with the kernel. Sometimes not.

Tedc

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On Behalf Of Russ Allbery
Sent: Tuesday, May 03, 2005 1:55 PM
To: [email protected]
Subject: Re: [OpenAFS] OpenAFS-client Module Fails (Debian-Sarge)!!!

Chaskiel M Grundman <[EMAIL PROTECTED]> writes:

> Uh, no. The right package to install to get the files for a pre-built 
> debian kernel is the corresponding kernel-headers package. It is not 
> always the case that the kernel-source and kernel-patch-debian 
> packages contain the exact kernel source that the kernel-image 
> packages contain. Especially on non-i386 arches, the kernel-image 
> package can contain additional patches.

I didn't think kernel-headers was enough to build OpenAFS.  Am I wrong on
that?  (I noticed a while back that the openafs-client documentation doesn't
really say a lot about this, and I can get that updated.)

> I would actually recommend the use of the module-assistant package for 
> building modules fore pre-built kernels.

> aptitude install module-assistant
> module-assistant update
> module-assistant prepare
> module-assistant auto-install openafs

> should build and install an appropriate openafs-modules package for 
> the running kernel.

Yeah, module-assistant rocks.  I should start using that myself; I just
discovered it a few days ago.

-- 
Russ Allbery ([EMAIL PROTECTED])             <http://www.eyrie.org/~eagle/>
_______________________________________________
OpenAFS-info mailing list
[email protected]
https://lists.openafs.org/mailman/listinfo/openafs-info

_______________________________________________
OpenAFS-info mailing list
[email protected]
https://lists.openafs.org/mailman/listinfo/openafs-info

Reply via email to