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

Re: module-assistant broken on recent powerpc kernels?



On Thu, 24 Feb 2005 15:41:49 +0100, Sven Luther <sven.luther@wanadoo.fr> wrote:
> On Sat, Feb 19, 2005 at 06:53:57PM +0200, Teemu Ikonen wrote:
> > I'm having difficulties compiling out-of-tree kernel modules with the 2.6.9
> > kernel. First of all, the kernel-headers-2.6.9-powerpc package which
> > corresponds to my kernel-image is apparently not in the archive. This kills
> > module-assistant in the prepare stage. I tried to find the correct headers
> > from kernel-headers-2.6.9, kernel-headers-powerpc and
> > kernel-build-2.6.9-powerpc packages, but there was always something missing.

> Did module-assistant ever work on powerpc (or work at all ?), i think the
> problem lies with it anyway, so you best investigate there.

At least it works on i386. 

It seems the problem is that module-assistant does not install the 
kernel-kbuild-2.6 package and even if it's installed manually, the
necessary symlinks from the headers to kbuild scripts are not made.
 
Another problem is that kernel-images do not have corresponding
kernel-headers packages, i.e. there's kernel-image-2.6.9-powerpc, but
only kernel-headers-2.6.9 (without the -powerpc extension), so that
module-assistant does not find the correct headers by itself.

Teemu



Reply to: