[Ubuntu-x-swat] [Bug 993427] Re: fglrx 2:8.960-0ubuntu1: fglrx kernel module failed to build [error: ‘cpu_possible_map’ undeclared (first use in this function)]
** Changed in: fglrx-installer (Ubuntu) Assignee: Alberto Milone (albertomilone) = Luke Raadschelders (luke-raadschelders) ** Changed in: fglrx-installer (Ubuntu) Assignee: Luke Raadschelders (luke-raadschelders) = (unassigned) -- You received this bug notification because you are a member of Ubuntu-X, which is subscribed to fglrx-installer in Ubuntu. https://bugs.launchpad.net/bugs/993427 Title: fglrx 2:8.960-0ubuntu1: fglrx kernel module failed to build [error: ‘cpu_possible_map’ undeclared (first use in this function)] To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/fglrx-installer/+bug/993427/+subscriptions ___ Mailing list: https://launchpad.net/~ubuntu-x-swat Post to : ubuntu-x-swat@lists.launchpad.net Unsubscribe : https://launchpad.net/~ubuntu-x-swat More help : https://help.launchpad.net/ListHelp
[Ubuntu-x-swat] [Bug 993427] Re: fglrx 2:8.960-0ubuntu1: fglrx kernel module failed to build [error: ‘cpu_possible_map’ undeclared (first use in this function)]
@Holm: patches much appreciated. Last hunk (for_each_possible_cpu) from the firegl patch was meanwhile integrated upstream (version 12-8 downloaded today from ati site) and will not apply. Perhaps the xorg-edgers guys might be interested in putting those patches to the fglrx-installer packages? -- You received this bug notification because you are a member of Ubuntu-X, which is subscribed to fglrx-installer in Ubuntu. https://bugs.launchpad.net/bugs/993427 Title: fglrx 2:8.960-0ubuntu1: fglrx kernel module failed to build [error: ‘cpu_possible_map’ undeclared (first use in this function)] To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/fglrx-installer/+bug/993427/+subscriptions ___ Mailing list: https://launchpad.net/~ubuntu-x-swat Post to : ubuntu-x-swat@lists.launchpad.net Unsubscribe : https://launchpad.net/~ubuntu-x-swat More help : https://help.launchpad.net/ListHelp
[Ubuntu-x-swat] [Bug 993427] Re: fglrx 2:8.960-0ubuntu1: fglrx kernel module failed to build [error: ‘cpu_possible_map’ undeclared (first use in this function)]
For everybody who is interested in: for my Kernel 3.5.1 and the newest amd-driver-installer-12-6-x86.x86_64.run these patches work for me get amd-driver-installer-12-6-x86.x86_64.run get FGLRX-8-98-Kernel-3-5-1.zip ./amd-driver-installer-12-6-x86.x86_64.run --extract a patch a/common/lib/modules/fglrx/build_mod/firegl_public.c Patch-FGLRX-8-98-Kernel-3-5-1_4_FireGL.patch patch a/common/lib/modules/fglrx/build_mod/kcl_ioctl.c Patch-FGLRX-8-98-Kernel-3-5-1_4_KCL.patch cd a sh /usr/share/ati/amd-uninstall.sh --force ./ati-installer.sh 8.98 --install Have fun, Holm ** Attachment added: FGLRX-8-98-Kernel-3-5-1.zip https://bugs.launchpad.net/ubuntu/+source/fglrx-installer/+bug/993427/+attachment/3261980/+files/FGLRX-8-98-Kernel-3-5-1.zip -- You received this bug notification because you are a member of Ubuntu-X, which is subscribed to fglrx-installer in Ubuntu. https://bugs.launchpad.net/bugs/993427 Title: fglrx 2:8.960-0ubuntu1: fglrx kernel module failed to build [error: ‘cpu_possible_map’ undeclared (first use in this function)] To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/fglrx-installer/+bug/993427/+subscriptions ___ Mailing list: https://launchpad.net/~ubuntu-x-swat Post to : ubuntu-x-swat@lists.launchpad.net Unsubscribe : https://launchpad.net/~ubuntu-x-swat More help : https://help.launchpad.net/ListHelp
[Ubuntu-x-swat] [Bug 993427] Re: fglrx 2:8.960-0ubuntu1: fglrx kernel module failed to build [error: ‘cpu_possible_map’ undeclared (first use in this function)]
Guys, Im with same problem installing fglrx AMD driver in 3.4 kernel from ubuntu mainline. Can you explain me how to apply this patch? Thank you -- You received this bug notification because you are a member of Ubuntu-X, which is subscribed to fglrx-installer in Ubuntu. https://bugs.launchpad.net/bugs/993427 Title: fglrx 2:8.960-0ubuntu1: fglrx kernel module failed to build [error: ‘cpu_possible_map’ undeclared (first use in this function)] To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/fglrx-installer/+bug/993427/+subscriptions ___ Mailing list: https://launchpad.net/~ubuntu-x-swat Post to : ubuntu-x-swat@lists.launchpad.net Unsubscribe : https://launchpad.net/~ubuntu-x-swat More help : https://help.launchpad.net/ListHelp
[Ubuntu-x-swat] [Bug 993427] Re: fglrx 2:8.960-0ubuntu1: fglrx kernel module failed to build [error: ‘cpu_possible_map’ undeclared (first use in this function)]
@Shabang: Check out the thread on ubuntuforums: http://ubuntuforums.org/showpost.php?p=12090910postcount=26 There's also a new patch for kernel 3.5 which works for me (credited to Enrico Tagliavini). ** Patch added: 3.5-do_mmap.patch https://bugs.launchpad.net/ubuntu/+source/fglrx-installer/+bug/993427/+attachment/3218710/+files/3.5-do_mmap.patch -- You received this bug notification because you are a member of Ubuntu-X, which is subscribed to fglrx-installer in Ubuntu. https://bugs.launchpad.net/bugs/993427 Title: fglrx 2:8.960-0ubuntu1: fglrx kernel module failed to build [error: ‘cpu_possible_map’ undeclared (first use in this function)] To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/fglrx-installer/+bug/993427/+subscriptions ___ Mailing list: https://launchpad.net/~ubuntu-x-swat Post to : ubuntu-x-swat@lists.launchpad.net Unsubscribe : https://launchpad.net/~ubuntu-x-swat More help : https://help.launchpad.net/ListHelp
[Ubuntu-x-swat] [Bug 993427] Re: fglrx 2:8.960-0ubuntu1: fglrx kernel module failed to build [error: ‘cpu_possible_map’ undeclared (first use in this function)]
Still gives on x86 system: /var/lib/dkms/fglrx/8.960/build/2.6.x/firegl_public.c: In function ‘KCL_fpu_begin’: /var/lib/dkms/fglrx/8.960/build/2.6.x/firegl_public.c:5859:5: error: implicit declaration of function ‘__thread_has_fpu’ [-Werror=implicit-function-declaration] /var/lib/dkms/fglrx/8.960/build/2.6.x/firegl_public.c:5860:9: error: implicit declaration of function ‘__save_init_fpu’ [-Werror=implicit-function-declaration] That was fixed in the combined patch: @@ -187,6 +187,9 @@ #include linux/gfp.h #include linux/swap.h #include asm/i387.h +#if LINUX_VERSION_CODE = KERNEL_VERSION(3,4,0) +#include asm/fpu-internal.h +#endif #include firegl_public.h #include kcl_osconfig.h -- You received this bug notification because you are a member of Ubuntu-X, which is subscribed to fglrx-installer in Ubuntu. https://bugs.launchpad.net/bugs/993427 Title: fglrx 2:8.960-0ubuntu1: fglrx kernel module failed to build [error: ‘cpu_possible_map’ undeclared (first use in this function)] To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/fglrx-installer/+bug/993427/+subscriptions ___ Mailing list: https://launchpad.net/~ubuntu-x-swat Post to : ubuntu-x-swat@lists.launchpad.net Unsubscribe : https://launchpad.net/~ubuntu-x-swat More help : https://help.launchpad.net/ListHelp
[Ubuntu-x-swat] [Bug 993427] Re: fglrx 2:8.960-0ubuntu1: fglrx kernel module failed to build [error: ‘cpu_possible_map’ undeclared (first use in this function)]
fglrx-installer (2:8.960-0ubuntu2) quantal; urgency=low * replace-do_mmap-and-do_munmap-with-vm_mmap-and-vm_mu.patch, replace-for_each_cpu_mask-with-for_each_possible_cpu.patch: - Add support for Linux 3.5. -- Alberto Milone alberto.mil...@canonical.com Sun, 17 Jun 2012 17:20:49 +0200 ** Changed in: fglrx-installer (Ubuntu Quantal) Status: Triaged = Fix Released -- You received this bug notification because you are a member of Ubuntu-X, which is subscribed to fglrx-installer in Ubuntu. https://bugs.launchpad.net/bugs/993427 Title: fglrx 2:8.960-0ubuntu1: fglrx kernel module failed to build [error: ‘cpu_possible_map’ undeclared (first use in this function)] To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/fglrx-installer/+bug/993427/+subscriptions ___ Mailing list: https://launchpad.net/~ubuntu-x-swat Post to : ubuntu-x-swat@lists.launchpad.net Unsubscribe : https://launchpad.net/~ubuntu-x-swat More help : https://help.launchpad.net/ListHelp
[Ubuntu-x-swat] [Bug 993427] Re: fglrx 2:8.960-0ubuntu1: fglrx kernel module failed to build [error: ‘cpu_possible_map’ undeclared (first use in this function)]
Fix works for me on my AMD 64 bit system. Thanks. -- You received this bug notification because you are a member of Ubuntu-X, which is subscribed to fglrx-installer in Ubuntu. https://bugs.launchpad.net/bugs/993427 Title: fglrx 2:8.960-0ubuntu1: fglrx kernel module failed to build [error: ‘cpu_possible_map’ undeclared (first use in this function)] To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/fglrx-installer/+bug/993427/+subscriptions ___ Mailing list: https://launchpad.net/~ubuntu-x-swat Post to : ubuntu-x-swat@lists.launchpad.net Unsubscribe : https://launchpad.net/~ubuntu-x-swat More help : https://help.launchpad.net/ListHelp
[Ubuntu-x-swat] [Bug 993427] Re: fglrx 2:8.960-0ubuntu1: fglrx kernel module failed to build [error: ‘cpu_possible_map’ undeclared (first use in this function)]
I had no luck with the new patch. It still gave compiler warnings. So I combined the two patches to one and that worked for my situation. ** Patch added: Combined the original and the new pach. https://bugs.launchpad.net/ubuntu/+source/fglrx-installer/+bug/993427/+attachment/3176264/+files/combined.patch -- You received this bug notification because you are a member of Ubuntu-X, which is subscribed to fglrx-installer in Ubuntu. https://bugs.launchpad.net/bugs/993427 Title: fglrx 2:8.960-0ubuntu1: fglrx kernel module failed to build [error: ‘cpu_possible_map’ undeclared (first use in this function)] To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/fglrx-installer/+bug/993427/+subscriptions ___ Mailing list: https://launchpad.net/~ubuntu-x-swat Post to : ubuntu-x-swat@lists.launchpad.net Unsubscribe : https://launchpad.net/~ubuntu-x-swat More help : https://help.launchpad.net/ListHelp
[Ubuntu-x-swat] [Bug 993427] Re: fglrx 2:8.960-0ubuntu1: fglrx kernel module failed to build [error: ‘cpu_possible_map’ undeclared (first use in this function)]
New patch from http://ati.cchtml.com/show_bug.cgi?id=495 added by Zenitur (Testing on my system with AMD driver is in progress ;) ** Patch added: patch_to_fix_compiling_fglrx_12.4_with_linux_3.4.patch https://bugs.launchpad.net/ubuntu/+source/fglrx-installer/+bug/993427/+attachment/3166077/+files/patch_to_fix_compiling_fglrx_12.4_with_linux_3.4.patch -- You received this bug notification because you are a member of Ubuntu-X, which is subscribed to fglrx-installer in Ubuntu. https://bugs.launchpad.net/bugs/993427 Title: fglrx 2:8.960-0ubuntu1: fglrx kernel module failed to build [error: ‘cpu_possible_map’ undeclared (first use in this function)] To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/fglrx-installer/+bug/993427/+subscriptions ___ Mailing list: https://launchpad.net/~ubuntu-x-swat Post to : ubuntu-x-swat@lists.launchpad.net Unsubscribe : https://launchpad.net/~ubuntu-x-swat More help : https://help.launchpad.net/ListHelp
[Ubuntu-x-swat] [Bug 993427] Re: fglrx 2:8.960-0ubuntu1: fglrx kernel module failed to build [error: ‘cpu_possible_map’ undeclared (first use in this function)]
Using only the patch from #6 fglrx builds and X loads. glxinfo reports info as expected (as far as I can tell ;). Unity3D starts. -- You received this bug notification because you are a member of Ubuntu-X, which is subscribed to fglrx-installer in Ubuntu. https://bugs.launchpad.net/bugs/993427 Title: fglrx 2:8.960-0ubuntu1: fglrx kernel module failed to build [error: ‘cpu_possible_map’ undeclared (first use in this function)] To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/fglrx-installer/+bug/993427/+subscriptions ___ Mailing list: https://launchpad.net/~ubuntu-x-swat Post to : ubuntu-x-swat@lists.launchpad.net Unsubscribe : https://launchpad.net/~ubuntu-x-swat More help : https://help.launchpad.net/ListHelp
[Ubuntu-x-swat] [Bug 993427] Re: fglrx 2:8.960-0ubuntu1: fglrx kernel module failed to build [error: ‘cpu_possible_map’ undeclared (first use in this function)]
** Also affects: fglrx-installer (Ubuntu Quantal) Importance: High Assignee: Alberto Milone (albertomilone) Status: Triaged ** Tags added: rls-mgr-p-tracking -- You received this bug notification because you are a member of Ubuntu-X, which is subscribed to fglrx-installer in Ubuntu. https://bugs.launchpad.net/bugs/993427 Title: fglrx 2:8.960-0ubuntu1: fglrx kernel module failed to build [error: ‘cpu_possible_map’ undeclared (first use in this function)] To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/fglrx-installer/+bug/993427/+subscriptions ___ Mailing list: https://launchpad.net/~ubuntu-x-swat Post to : ubuntu-x-swat@lists.launchpad.net Unsubscribe : https://launchpad.net/~ubuntu-x-swat More help : https://help.launchpad.net/ListHelp
[Ubuntu-x-swat] [Bug 993427] Re: fglrx 2:8.960-0ubuntu1: fglrx kernel module failed to build [error: ‘cpu_possible_map’ undeclared (first use in this function)]
** Changed in: fglrx-installer (Ubuntu) Assignee: (unassigned) = Alberto Milone (albertomilone) -- You received this bug notification because you are a member of Ubuntu-X, which is subscribed to fglrx-installer in Ubuntu. https://bugs.launchpad.net/bugs/993427 Title: fglrx 2:8.960-0ubuntu1: fglrx kernel module failed to build [error: ‘cpu_possible_map’ undeclared (first use in this function)] To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/fglrx-installer/+bug/993427/+subscriptions ___ Mailing list: https://launchpad.net/~ubuntu-x-swat Post to : ubuntu-x-swat@lists.launchpad.net Unsubscribe : https://launchpad.net/~ubuntu-x-swat More help : https://help.launchpad.net/ListHelp
[Ubuntu-x-swat] [Bug 993427] Re: fglrx 2:8.960-0ubuntu1: fglrx kernel module failed to build [error: ‘cpu_possible_map’ undeclared (first use in this function)]
I can get the module to build with that 34.patch but then I get fglrx: Unknown symbol old_rsp (err 0) and I found someone else reporting that bug to amd http://ati.cchtml.com/show_bug.cgi?format=multipleid=495 ** Bug watch added: ATi Linux Platform Bugs #495 http://ati.cchtml.com/show_bug.cgi?id=495 -- You received this bug notification because you are a member of Ubuntu-X, which is subscribed to fglrx-installer in Ubuntu. https://bugs.launchpad.net/bugs/993427 Title: fglrx 2:8.960-0ubuntu1: fglrx kernel module failed to build [error: ‘cpu_possible_map’ undeclared (first use in this function)] To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/fglrx-installer/+bug/993427/+subscriptions ___ Mailing list: https://launchpad.net/~ubuntu-x-swat Post to : ubuntu-x-swat@lists.launchpad.net Unsubscribe : https://launchpad.net/~ubuntu-x-swat More help : https://help.launchpad.net/ListHelp
[Ubuntu-x-swat] [Bug 993427] Re: fglrx 2:8.960-0ubuntu1: fglrx kernel module failed to build [error: ‘cpu_possible_map’ undeclared (first use in this function)]
** Summary changed: - fglrx 2:8.960-0ubuntu1: fglrx kernel module failed to build + fglrx 2:8.960-0ubuntu1: fglrx kernel module failed to build [error: ‘cpu_possible_map’ undeclared (first use in this function)] -- You received this bug notification because you are a member of Ubuntu-X, which is subscribed to fglrx-installer in Ubuntu. https://bugs.launchpad.net/bugs/993427 Title: fglrx 2:8.960-0ubuntu1: fglrx kernel module failed to build [error: ‘cpu_possible_map’ undeclared (first use in this function)] To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/fglrx-installer/+bug/993427/+subscriptions ___ Mailing list: https://launchpad.net/~ubuntu-x-swat Post to : ubuntu-x-swat@lists.launchpad.net Unsubscribe : https://launchpad.net/~ubuntu-x-swat More help : https://help.launchpad.net/ListHelp