You are not logged in.

#1 2017-01-27 16:52:27

indianahorst
Member
Registered: 2008-08-23
Posts: 127

Kernel 4.9.6 with nvidia driver breaks my system

As already mentioned in the linux-ck thread (https://bbs.archlinux.org/viewtopic.php?id=111715), the kernel version 4.9 breaks the system boot in combination with nvidia driver.

After booting, the system hangs with an error message "driver nvidia is already registered".

This problem is known for weeks, so why do the Arch Linux kernel maintainers push the kernel and nvidia driver from TESTING to STABLE branch?!

Affected versions:
core/linux 4.9.6-1 (base)
extra/nvidia-304xx 304.134-4

Offline

#2 2017-01-27 17:10:14

WEREWOLFGHOST
Member
Registered: 2016-06-07
Posts: 13

Re: Kernel 4.9.6 with nvidia driver breaks my system

Maybe ur system is a little unique...

i just met a watchdog problem..

Offline

#3 2017-01-27 17:34:57

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,597
Website

Re: Kernel 4.9.6 with nvidia driver breaks my system

Build the nvidia-304xx driver applying the patch that the 340xx package uses to see if that is the problem.  I do not have the hardware to test this on.  Alternatively open a bug report against 304xx.


CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

#4 2017-01-27 17:44:11

WEREWOLFGHOST
Member
Registered: 2016-06-07
Posts: 13

Re: Kernel 4.9.6 with nvidia driver breaks my system

or you Can just disable your nvidia card in BIOS ?

Offline

#5 2017-01-27 17:46:33

loqs
Member
Registered: 2014-03-06
Posts: 17,372

Re: Kernel 4.9.6 with nvidia driver breaks my system

https://bugs.archlinux.org/task/52734 (opened today)
edit:
@indianahorst see also https://lists.archlinux.org/pipermail/a … 28538.html

Last edited by loqs (2017-01-27 17:51:46)

Offline

#6 2017-01-27 20:23:02

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,597
Website

Re: Kernel 4.9.6 with nvidia driver breaks my system

@loqs - Thank you for the references.  I updated nvidia-304xx-ck with this patch.
@indiana - Please try it and report back.


CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

#7 2017-01-27 22:51:17

slytux
Member
From: New York
Registered: 2010-09-25
Posts: 129

Re: Kernel 4.9.6 with nvidia driver breaks my system

I had the same issue and can confirm the patch is working for 4.9.6. I recompiled nvidia-304xx. All you need to do is modify the PKGBUILD to include a second patch file (I called it legacy.patch) and copied the debian patch into my custom patch file. Updated the source line, ran updpkgsums, makepkg -csi and reboot.

Last edited by slytux (2017-01-27 22:53:38)

Offline

#8 2017-01-28 10:19:32

indianahorst
Member
Registered: 2008-08-23
Posts: 127

Re: Kernel 4.9.6 with nvidia driver breaks my system

graysky wrote:

@loqs - Thank you for the references.  I updated nvidia-304xx-ck with this patch.
@indiana - Please try it and report back.

Graysky, I have now tried aur/nvidia-304xx-ck 304.134-4 in conjunction with  repo-ck/linux-ck 4.9.6-1 (ck-generic) and the bug seems fixed! No error while booting, no error messages in dmesg.

It would be glad if you would patch also repo-ck/nvidia-304xx-ck-kx 304.134-3. Thanks a lot!

Offline

#9 2017-01-29 16:23:10

akovia
Member
Registered: 2014-12-16
Posts: 14

Re: Kernel 4.9.6 with nvidia driver breaks my system

slytux wrote:

I had the same issue and can confirm the patch is working for 4.9.6. I recompiled nvidia-304xx. All you need to do is modify the PKGBUILD to include a second patch file (I called it legacy.patch) and copied the debian patch into my custom patch file. Updated the source line, ran updpkgsums, makepkg -csi and reboot.

I would like to try this but have never used a patch in a pkgbuild before. I would feel ok doing a single patch but don't see anything in the wiki about multiple patches, so I'm a bit leery of winging it. Could you explain your custom patch file, and/or share it?

I've already tried downgrading the kernel and nvidia drivers with no joy. Any wisdom would be much appreciated.

edit: I have the patch already, just not sure how to apply it along with the existing patch.

Last edited by akovia (2017-01-29 16:29:50)

Offline

#10 2017-01-29 16:48:41

loqs
Member
Registered: 2014-03-06
Posts: 17,372

Re: Kernel 4.9.6 with nvidia driver breaks my system

https://aur.archlinux.org/packages/nvidia-304xx-ck/ see the PKGBUILD that applies both needed patches.

Offline

#11 2017-01-29 18:36:19

akovia
Member
Registered: 2014-12-16
Posts: 14

Re: Kernel 4.9.6 with nvidia driver breaks my system

loqs wrote:

https://aur.archlinux.org/packages/nvidia-304xx-ck/ see the PKGBUILD that applies both needed patches.

Thank you for that.

Thought I was out of the woods, but now I'm getting a conflict when it's trying to install.

nvidia-304xx and nvidia-304xx-dkms are in conflict

Do I need to downgrade first?

Offline

#12 2017-01-29 18:49:13

loqs
Member
Registered: 2014-03-06
Posts: 17,372

Re: Kernel 4.9.6 with nvidia driver breaks my system

Pacman should prompt you to remove nvidia-304xx-dkms when you try to install nvidia-304xx just accept the prompt to remove it.
If you want to keep the dkms version make sure the patch was applied to that then upgrade the dkms version.

Offline

#13 2017-01-29 18:57:53

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,597
Website

Re: Kernel 4.9.6 with nvidia driver breaks my system

Remove the dkms package then install the non-dkms package.  Never understood wtf anyone would use dkms.


CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

Board footer

Powered by FluxBB