nvidia-96-kernel-source fails to build on Karmic
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
nvidia-graphics-drivers-96 (Ubuntu) |
Fix Released
|
High
|
Alberto Milone | ||
Karmic |
Fix Released
|
High
|
Alberto Milone |
Bug Description
When building nvidia kernel module for older nvidia card support, dkms failes with:
nvidia (96.43.10): Installing module.
..........(bad exit status: 10)
Build failed. Installation skipped.
Upon further investigation, running the following shows why dkms fails:
> cd /usr/src/
> sudo make modules
NVIDIA: calling KBUILD...
.
. (skipping most of irrelevant build output)
.
make[3]: *** No rule to make target `kernel/bounds.c', needed by `kernel/bounds.s'. Stop.
make[2]: *** [prepare0] Error 2
NVIDIA: left KBUILD.
nvidia.ko failed to build!
make[1]: *** [module] Error 1
make: *** [module] Error 2
p.s. I tried using "ubuntu-bug -p linux" and was informed that:
The problem cannot be reported:
This is not a genuine Ubuntu package
So I am filing it manually. Don't shoot the messenger.
[lspci]
00:00.0 Host bridge [0600]: Intel Corporation 82850 850 (Tehama) Chipset Host Bridge (MCH) [8086:2530] (rev 04)
Subsystem: Intel Corporation Device [8086:4d44]
01:00.0 VGA compatible controller [0300]: nVidia Corporation NV25 [GeForce4 Ti 4600] [10de:0250] (rev a2)
Subsystem: Micro-Star International Co., Ltd. Device [1462:8721]
Related branches
affects: | linux (Ubuntu) → nvidia-graphics-drivers-96 (Ubuntu) |
Changed in nvidia-graphics-drivers-96 (Ubuntu): | |
importance: | Undecided → High |
description: | updated |
tags: | added: karmic |
Changed in nvidia-graphics-drivers-96 (Ubuntu Karmic): | |
assignee: | nobody → Alberto Milone (albertomilone) |
status: | Confirmed → In Progress |
All nvidia kernel modules need patches to compile on 2.6.31.
All need a patch to remove proc->owner which doesn't exist anymore in kernels > 2.6.30.
Some need one for agp_memory, see for example bug #393924.
nvidia- 96-kernel- source needs these two patches: leigh123linux. fedorapeople. org/pub/ patches/ nvidia- 96.43.11. patch launchpadlibrar ian.net/ 28552081/ drm_agp_ memory- 2.6.31. patch
http://
http://
After applying those patches the module builds and works with the 2.6.31 kernel.