[Bug 1431278] Re: nvidia-304-updates 304.125-0ubuntu0.1: nvidia-304-updates kernel module failed to build [error: implicit declaration of function ‘read_cr4’]
Great! It's working. Ubuntu 15.04 x64 340.76 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1431278 Title: nvidia-304-updates 304.125-0ubuntu0.1: nvidia-304-updates kernel module failed to build [error: implicit declaration of function ‘read_cr4’] To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-drivers-304-updates/+bug/1431278/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1431278] Re: nvidia-304-updates 304.125-0ubuntu0.1: nvidia-304-updates kernel module failed to build [error: implicit declaration of function ‘read_cr4’]
Thanks Impulse, your solution works perfect. :-) Xubuntu 14.10, kernel 4.0 (generic, x64), nvidia driver 340.76. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1431278 Title: nvidia-304-updates 304.125-0ubuntu0.1: nvidia-304-updates kernel module failed to build [error: implicit declaration of function ‘read_cr4’] To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-drivers-304-updates/+bug/1431278/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1431278] Re: nvidia-304-updates 304.125-0ubuntu0.1: nvidia-304-updates kernel module failed to build [error: implicit declaration of function ‘read_cr4’]
DeadMetaler: sudo leafpad /usr/src/nvidia-340-340.76/nv-pat.c about 35 line change read_cr4 to __read_cr4 and write_cr4 to __write_cr4 or copy-past: --- static inline void nv_disable_caches(unsigned long *cr4) { unsigned long cr0 = read_cr0(); write_cr0(((cr0 (0xdfff)) | 0x4000)); wbinvd(); *cr4 = __read_cr4(); if (*cr4 0x80) __write_cr4(*cr4 ~0x80); __flush_tlb(); } static inline void nv_enable_caches(unsigned long cr4) { unsigned long cr0 = read_cr0(); wbinvd(); __flush_tlb(); write_cr0((cr0 0x9fff)); if (cr4 0x80) __write_cr4(cr4); } --- Then: sudo dkms autoinstall -k 4.0.0-04-generic -m nvidia-340 -v 340.76 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1431278 Title: nvidia-304-updates 304.125-0ubuntu0.1: nvidia-304-updates kernel module failed to build [error: implicit declaration of function ‘read_cr4’] To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-drivers-304-updates/+bug/1431278/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1431278] Re: nvidia-304-updates 304.125-0ubuntu0.1: nvidia-304-updates kernel module failed to build [error: implicit declaration of function ‘read_cr4’]
How to apply patch? Step by step... -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1431278 Title: nvidia-304-updates 304.125-0ubuntu0.1: nvidia-304-updates kernel module failed to build [error: implicit declaration of function ‘read_cr4’] To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-drivers-304-updates/+bug/1431278/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1431278] Re: nvidia-304-updates 304.125-0ubuntu0.1: nvidia-304-updates kernel module failed to build [error: implicit declaration of function ‘read_cr4’]
** Changed in: nvidia-graphics-drivers-340 (Ubuntu) Importance: Undecided = High -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1431278 Title: nvidia-304-updates 304.125-0ubuntu0.1: nvidia-304-updates kernel module failed to build [error: implicit declaration of function ‘read_cr4’] To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-drivers-304-updates/+bug/1431278/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1431278] Re: nvidia-304-updates 304.125-0ubuntu0.1: nvidia-304-updates kernel module failed to build [error: implicit declaration of function ‘read_cr4’]
** Also affects: nvidia-graphics-drivers-340 (Ubuntu) Importance: Undecided Status: New ** Changed in: nvidia-graphics-drivers-340 (Ubuntu) Status: New = Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1431278 Title: nvidia-304-updates 304.125-0ubuntu0.1: nvidia-304-updates kernel module failed to build [error: implicit declaration of function ‘read_cr4’] To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-drivers-304-updates/+bug/1431278/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1431278] Re: nvidia-304-updates 304.125-0ubuntu0.1: nvidia-304-updates kernel module failed to build [error: implicit declaration of function ‘read_cr4’]
** Changed in: nvidia-graphics-drivers-304-updates (Ubuntu) Importance: Undecided = High ** Changed in: nvidia-graphics-drivers-346-updates (Ubuntu) Importance: Undecided = High -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1431278 Title: nvidia-304-updates 304.125-0ubuntu0.1: nvidia-304-updates kernel module failed to build [error: implicit declaration of function ‘read_cr4’] To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-drivers-304-updates/+bug/1431278/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1431278] Re: nvidia-304-updates 304.125-0ubuntu0.1: nvidia-304-updates kernel module failed to build [error: implicit declaration of function ‘read_cr4’]
** Also affects: nvidia-graphics-drivers-346-updates (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1431278 Title: nvidia-304-updates 304.125-0ubuntu0.1: nvidia-304-updates kernel module failed to build [error: implicit declaration of function ‘read_cr4’] To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-drivers-304-updates/+bug/1431278/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1431278] Re: nvidia-304-updates 304.125-0ubuntu0.1: nvidia-304-updates kernel module failed to build [error: implicit declaration of function ‘read_cr4’]
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: nvidia-graphics-drivers-304-updates (Ubuntu) Status: New = Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1431278 Title: nvidia-304-updates 304.125-0ubuntu0.1: nvidia-304-updates kernel module failed to build [error: implicit declaration of function ‘read_cr4’] To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-drivers-304-updates/+bug/1431278/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1431278] Re: nvidia-304-updates 304.125-0ubuntu0.1: nvidia-304-updates kernel module failed to build [error: implicit declaration of function ‘read_cr4’]
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: nvidia-graphics-drivers-346-updates (Ubuntu) Status: New = Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1431278 Title: nvidia-304-updates 304.125-0ubuntu0.1: nvidia-304-updates kernel module failed to build [error: implicit declaration of function ‘read_cr4’] To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-drivers-304-updates/+bug/1431278/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1431278] Re: nvidia-304-updates 304.125-0ubuntu0.1: nvidia-304-updates kernel module failed to build [error: implicit declaration of function ‘read_cr4’]
I applied the patch shown on the devtalk.nvidia.com thread and that does fix the problem; I'm using the Nvidia binary driver with kernel 4.0rc3 now. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1431278 Title: nvidia-304-updates 304.125-0ubuntu0.1: nvidia-304-updates kernel module failed to build [error: implicit declaration of function ‘read_cr4’] To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-drivers-304-updates/+bug/1431278/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1431278] Re: nvidia-304-updates 304.125-0ubuntu0.1: nvidia-304-updates kernel module failed to build [error: implicit declaration of function ‘read_cr4’]
** Summary changed: - nvidia-304-updates 304.125-0ubuntu0.1: nvidia-304-updates kernel module failed to build + nvidia-304-updates 304.125-0ubuntu0.1: nvidia-304-updates kernel module failed to build [error: implicit declaration of function ‘read_cr4’] -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1431278 Title: nvidia-304-updates 304.125-0ubuntu0.1: nvidia-304-updates kernel module failed to build [error: implicit declaration of function ‘read_cr4’] To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-drivers-304-updates/+bug/1431278/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs