[pkg-nvidia-devel] Patch to enable 2.6.31 support.

Andreas Beckmann debian at abeckmann.de
Mon Aug 10 19:13:23 UTC 2009

Hi Lennart,

Lennart Sorensen wrote:
> Here is a patch that makes the current driver compile and work with
> 2.6.31 kernel (at least as of -rc2).  I had to modify it slightly from
> the one I found on the nv forums to actually be backwards compatible
> with 2.6.30 and prior.  Just imagine, we could support a new kernel
> before it even hits unstable for once.  I should check if the legacy
> packages can be fixed in a similar manner.

I just tried your patch on the new 185.18.31 release, but it fails to apply:

patching file os-agp.c
Hunk #1 FAILED at 293.
1 out of 1 hunk FAILED -- saving rejects to file os-agp.c.rej
patching file nv-i2c.c
Reversed (or previously applied) patch detected!  Assume -R? [n]
Apply anyway? [n]
Skipping patch.
2 out of 2 hunks ignored -- saving rejects to file nv-i2c.c.rej

Can you verify whether a patch is still neccessary for 185.18.31 to work
with 2.6.31~rc? Eventually the necessary changes are already integrated
in the new release and no patch will be needed at all.


More information about the Pkg-nvidia-devel mailing list