FS#45026 - [nvidia] [linux] nvidia module version mismatch

Attached to Project: Arch Linux
Opened by Dustin Falgout (lots0logs) - Wednesday, 20 May 2015, 10:47 GMT
Last edited by Doug Newgard (Scimmia) - Wednesday, 20 May 2015, 18:57 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description: X won't start after installing latest versions of the kernel and nvidia drivers (and then rebooting).

May 20 05:29:03 XPS kernel: ^[[1;39mNVRM: API mismatch: the client has the version 352.09, but
^[[1;39mNVRM: this kernel module has the version 349.16. Please
^[[1;39mNVRM: make sure that this kernel module and all NVIDIA driver
^[[1;39mNVRM: components have the same version.
May 20 05:29:03 XPS kernel: ^[[1;39mNVRM: nvidia_frontend_ioctl: minor 255, module->ioctl failed, error -22


Additional info:

* linux 4.0.4-1
* nvidia 352.09-1



Steps to reproduce:
This task depends upon

Closed by  Doug Newgard (Scimmia)
Wednesday, 20 May 2015, 18:57 GMT
Reason for closing:  Not a bug
Comment by Bogomil (smirky) - Wednesday, 20 May 2015, 12:36 GMT
If you update the nvidia package while the kernel is running, you should reload the module by either a reboot or exiting X, rmmod nvidia; modprobe nvidia.
Comment by Dustin Falgout (lots0logs) - Wednesday, 20 May 2015, 13:16 GMT
I stated that I rebooted after the update in the description.
Comment by Doug Newgard (Scimmia) - Wednesday, 20 May 2015, 14:55 GMT
Can you give us the output of pacman -Qs nvidia, pacman -Q linux, and uname -r?

Edit: Oh, and if you're loading the nvidia module in the initramfs, did you updated it after the nvidia update?
Comment by Dustin Falgout (lots0logs) - Wednesday, 20 May 2015, 16:35 GMT
Good call on the initramfs. That solved it! Thanks :) I don't suppose there's a way to ensure nvidia module gets installed first when the kernel is on the same update transaction?
Comment by Doug Newgard (Scimmia) - Wednesday, 20 May 2015, 18:57 GMT
I don't know of a way. This sounds like a job for pacman hooks when they finally get done, you'd be able to tell the system to automatically rebuild the initramfs after an nvidia update. Until then, you just have to remember.

Loading...