Unable to boot after nvidia upgrade
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
NVIDIA Drivers Ubuntu |
New
|
Undecided
|
Unassigned |
Bug Description
I changed my driver in "Additional Drivers" from Nvidia 304 to 319 (recommended one).
After that I was unable to boot, keyboard mouse and screen did not work.
I had
Oct 23 04:17:45 GREEN-U kernel: [ 327.289639] NVRM: API mismatch: the client has the version 319.32, but
Oct 23 04:17:45 GREEN-U kernel: [ 327.289639] NVRM: this kernel module has the version 304.88. Please
Oct 23 04:17:45 GREEN-U kernel: [ 327.289639] NVRM: make sure that this kernel module and all NVIDIA driver
Oct 23 04:17:45 GREEN-U kernel: [ 327.289639] NVRM: components have the same version.
in syslog.
similar issues listed here:
http://
http://
in the end fixed by restoring /etc from backup, removing nvidia-319* packages and updating grub
my Ubuntu version 12.04 (installed 12.04.3 with 3.8 kernel)
after some tests I found that packages:
nvidia-current
nvidia-304
nvidia-settings
nvidia-settings-304
work for all kernels 3.2.0-* and 3.8.0-*,
while packages:
nvidia- current- updates experimental- 304 settings- updates settings- experimental- 304 settings- 304-updates experimental- 310 settings- experimental- 310 settings- 319-updates
nvidia-
nvidia-304-updates
nvidia-
nvidia-
nvidia-
nvidia-319
nvidia-
nvidia-319-updates
nvidia-settings-319
nvidia-
nvidia-
work for Kernel 3.8.0-* only.
Ubuntu jockey still Recommend 319 version also when kernel 3.2.0-* only are present.
So a bug here.
Furthermore the commands:
$ sudo apt-get purge nvidia-current
$ sudo apt-get install nvidia-current
or
$ sudo dpkg-reconfigure nvidia-current
install the driver for only one version of kernel for each minor version.
So, in my case that I have the following kernels installed:
3.8.0-32-generic generic- pae generic- pae generic- pae generic- pae generic- pae generic- pae
3.2.0-55-
3.2.0-55-generic
3.2.0-54-
3.2.0-54-generic
3.2.0-53-
3.2.0-53-generic
3.2.0-52-
3.2.0-52-generic
3.2.0-51-
3.2.0-51-generic
3.2.0-49-
3.2.0-49-generic
I got the driver only for:
3.8.0-32-generic generic- pae
3.2.0-55-
while booting with the other kernels, the driver results not installed.
Seems to me that somewhere in the package there is a wrong indication to build and install for some kernel only.
Anywhere, issuing the following commands fix the situation:
$ sudo dkms install nvidia-304/304.88 -k 3.8.0-32-generic generic- pae generic- pae generic- pae generic- pae generic- pae generic- pae
$ sudo dkms install nvidia-304/304.88 -k 3.2.0-55-generic
$ sudo dkms install nvidia-304/304.88 -k 3.2.0-55-
$ sudo dkms install nvidia-304/304.88 -k 3.2.0-54-generic
$ sudo dkms install nvidia-304/304.88 -k 3.2.0-54-
$ sudo dkms install nvidia-304/304.88 -k 3.2.0-53-generic
$ sudo dkms install nvidia-304/304.88 -k 3.2.0-53-
$ sudo dkms install nvidia-304/304.88 -k 3.2.0-52-generic
$ sudo dkms install nvidia-304/304.88 -k 3.2.0-52-
$ sudo dkms install nvidia-304/304.88 -k 3.2.0-51-generic
$ sudo dkms install nvidia-304/304.88 -k 3.2.0-51-
$ sudo dkms install nvidia-304/304.88 -k 3.2.0-49-generic
$ sudo dkms install nvidia-304/304.88 -k 3.2.0-49-
until the next apt-get install nvidia-current or reconfigure