Dkms fails to build nvidia module for kernel 3.0-01
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
nvidia-graphics-drivers (Ubuntu) |
Fix Released
|
High
|
Unassigned |
Bug Description
As the new kernel is greater than 2.6, the dkms.conf dont accept the 3 version, so nvidia users cant use the latest kernel.
But someone have found what is needed to be tweaked:
1. patch /usr/src/
according to http://
2. this file /usr/src/
OBSOLETE_BY=3.0.0
3. in the file /usr/src/
#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 4, 7)
# error This driver does not support 2.4 kernels older than 2.4.7!
#elif LINUX_VERSION_CODE < KERNEL_VERSION(2, 5, 0)
# define KERNEL_2_4
#elif LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 0)
# error This driver does not support 2.5 kernels!
#elif LINUX_VERSION_CODE < KERNEL_VERSION(2, 7, 0)
# define KERNEL_2_6
#else
# error BLAHBLAH
#endif
so you have to replace error BLAHBLAH with something like define KERNEL_2_6
so that we pretend it's a 2.6 kernel.
You should then run
sudo dkms build -m nvidia-current -v 275.09.04 -k 3.0-0-generic
sudo dkms install -m nvidia-current -v 275.09.04 -k 3.0-0-generic
ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: nvidia-current 270.41.06-0ubuntu1
ProcVersionSign
Uname: Linux 2.6.39-
NonfreeKernelMo
.proc.driver.
.proc.driver.
.proc.driver.
NVRM version: NVIDIA UNIX x86 Kernel Module 270.41.06 Mon Apr 18 14:54:25 PDT 2011
GCC version: gcc version 4.6.1 (Ubuntu/Linaro 4.6.0-11ubuntu2)
Architecture: i386
CompizPlugins: No value set for `/apps/
CompositorRunning: None
Date: Fri Jun 10 16:02:15 2011
DistUpgraded: Fresh install
DistroCodename: oneiric
DistroVariant: ubuntu
GraphicsCard:
nVidia Corporation G86 [GeForce 8500 GT] [10de:0421] (rev a1) (prog-if 00 [VGA controller])
Subsystem: ASUSTeK Computer Inc. Device [1043:824f]
JockeyStatus:
xorg:nvidia_173 - Pilote d'accélération graphique NVIDIA (Propriétaire, Désactivé, Non utilisé)
xorg:nvidia_
Lsusb:
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
MachineType: ASUSTEK COMPUTER INC P5W DH Deluxe
ProcEnviron:
LANGUAGE=
PATH=(custom, no user)
LANG=fr_FR.utf8
LC_MESSAGES=
SHELL=/bin/bash
ProcKernelCmdLine: BOOT_IMAGE=
Renderer: Unknown
SourcePackage: nvidia-
UpgradeStatus: No upgrade log present (probably fresh install)
XorgConf:
Section "Device"
Identifier "Default Device"
Option "NoLogo" "True"
EndSection
dmi.bios.date: 10/22/2009
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: 3001
dmi.board.
dmi.board.name: P5W DH Deluxe
dmi.board.vendor: ASUSTeK Computer INC.
dmi.board.version: Rev 1.xx
dmi.chassis.
dmi.chassis.type: 3
dmi.chassis.vendor: Chassis Manufacture
dmi.chassis.
dmi.modalias: dmi:bvnAmerican
dmi.product.name: P5W DH Deluxe
dmi.product.
dmi.sys.vendor: ASUSTEK COMPUTER INC
version.compiz: compiz 1:0.9.4+
version.libdrm2: libdrm2 2.4.25+
version.
version.
version.
version.
version.
version.
version.
version.
Changed in nvidia-graphics-drivers (Ubuntu): | |
status: | New → Triaged |
importance: | Undecided → High |
Xorg-edgers great PPA does have the newest beta nvidia-current 275.09.04 with hte kernel 3.0 patch.
Now the installation of the Oneiric kernel 3.0-01 rc2 works well.