You are not logged in.

#1 2013-03-08 10:38:27

schaduwfax
Member
Registered: 2013-03-02
Posts: 2

custom kernel manually compile nvidia module

I have a working custom kernel.Now when i compile the standard NVIDIA....run package the compilation begins.However when i first extract the nvidia package to a source dir and try from then on to compile i get an error message saying i haven't compiled a kernel or can't find the kernel headers.

Any hint about what i could do next?

Offline

#2 2013-03-10 05:02:49

slytux
Member
From: New York
Registered: 2010-09-25
Posts: 129

Re: custom kernel manually compile nvidia module

Do you have kernel headers for your custom kernel?  Check if your kernel build script has the following near the end:

 # Choose what to package
pkgname=("${pkgbase}" "${pkgbase}-headers")
for _p in ${pkgname[@]}; do
  eval "package_${_p}() {
    _package${_p#${pkgbase}}
  }"
done

Offline

#3 2013-03-10 05:11:19

slytux
Member
From: New York
Registered: 2010-09-25
Posts: 129

Re: custom kernel manually compile nvidia module

Then, modify the nvidia PKGBUILD and nvidia.install file by the changing the pkgname, replacing the instances of 'ARCH' to the name of your custom kernel, and commenting out the blacklist nouveau line.

Offline

#4 2013-03-10 11:40:35

schaduwfax
Member
Registered: 2013-03-02
Posts: 2

Re: custom kernel manually compile nvidia module

slytux wrote:

Do you have kernel headers for your custom kernel?  Check if your kernel build script has the following near the end:

 # Choose what to package
pkgname=("${pkgbase}" "${pkgbase}-headers")
for _p in ${pkgname[@]}; do
  eval "package_${_p}() {
    _package${_p#${pkgbase}}
  }"
done

I downloaded the 3.8.2 vanilla kernel and patched it with grsecurity. The kernel install was traditional make && make modules_install ....
Are header files required when you have a full source tree btw?

Offline

Board footer

Powered by FluxBB