FS#49273 - [linux] nvidia-340xx-dkms error!

Attached to Project: Arch Linux
Opened by Maggie (MagiCarbon) - Monday, 09 May 2016, 05:24 GMT
Last edited by Doug Newgard (Scimmia) - Wednesday, 11 May 2016, 03:24 GMT
Task Type Bug Report
Category Packages: Core
Status Closed
Assigned To Tobias Powalowski (tpowa)
Architecture x86_64
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:
while upgraded to nvidia-340xx-dkms-340.96-11 i couldn't get into Desktop Env.

Additional info:
* nvidia-340xx-dkms-340.96-11

* uname -a
Linux SuperMe 4.5.2-1-ARCH #1 SMP PREEMPT Thu Apr 21 18:21:27 CEST 2016 x86_64 GNU/Linux


Steps to reproduce:
$ dkms install -m nvidia -v 340.96 -k 4.5.2-1-ARCH

Kernel preparation unnecessary for this kernel. Skipping...

Building module:
cleaning build area...
make KERNELRELEASE=4.5.2-1-ARCH module KERNEL_UNAME=4.5.2-1-ARCH; make -C uvm module KERNEL_UNAME=4.5.2-1-ARCH KBUILD_EXTMOD=/var/lib/dkms/nvidia/340.96/build/uvm...(bad exit status: 2)
Error! Bad return status for module build on kernel: 4.5.2-1-ARCH (x86_64)
Consult /var/lib/dkms/nvidia/340.96/build/make.log for more information.
This task depends upon

Closed by  Doug Newgard (Scimmia)
Wednesday, 11 May 2016, 03:24 GMT
Reason for closing:  Fixed
Comment by Doug Newgard (Scimmia) - Monday, 09 May 2016, 05:43 GMT
The problem here is that 4.5.2 was built with gcc 5.3, so you need to build the modules for it with 5.3. 4.5.3 in testing was built with gcc 6.1 and should work.
Comment by Maggie (MagiCarbon) - Monday, 09 May 2016, 07:51 GMT
okay, i've downgraded to gcc 5.3. seems everything working now.
Comment by Doug Newgard (Scimmia) - Tuesday, 10 May 2016, 12:34 GMT
4.5.3 is now in Core. Fixed?
Comment by Maggie (MagiCarbon) - Wednesday, 11 May 2016, 03:20 GMT
yep, fixed. thanks.

test procedure:
$ sudo dkms remove -m nvidia -v 340.96 -k 4.5.3-1-ARCH
$ sudo dkms install -m nvidia -v 340.96 -k 4.5.3-1-ARCH

Loading...