Summary: | x11-drivers/nvidia-drivers-96.43.20 does not compile with sys-kernel/gentoo-sources-3.3.8 on x86 because of missing asm/unistd_32.h | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Petr Pisar <petr.pisar> |
Component: | [OLD] Core system | Assignee: | Doug Goldstein (RETIRED) <cardoe> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | aidecoe, jer, spock, x86, xarthisius, yosoy |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=303395ac3bf3e2cb488435537d416bc840438fcb | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | 438246 | ||
Bug Blocks: | |||
Attachments: |
Patch for nvidia-drivers-96.43.20.
New ebuild to take advantage of patch. Patch to ebuild. successful-build.log |
Description
Petr Pisar
2012-07-19 09:55:35 UTC
I had the same issue after installing 3.3.8. I created the attached patches based on <http://weltall.heliohost.org/wordpress/2012/01/20/linux-kernel-3-3-rc1-and-nvidia-drivers/>. These are the steps I followed to get this working on my system. (1) Put 'nvidia-drivers-96.43.20-kernel-3.3.8-bug-427202.patch' in '/usr/portage/x11-drivers/nvidia-drivers/files'. (2) Put 'nvidia-drivers-96.43.20-r1.ebuild' in '/usr/portage/x11-drivers/nvidia-drivers'. ('nvidia-drivers-96.43.20.ebuild.patch' shows my changes from 'nvidia-drivers-96.43.20.ebuild'.) (3) Run 'ebuild /usr/portage/x11-drivers/nvidia-drivers/nvidia-drivers-96.43.20-r1.ebuild manifest'. (4) Remerge nvidia-drivers. Created attachment 318920 [details, diff]
Patch for nvidia-drivers-96.43.20.
Created attachment 318922 [details]
New ebuild to take advantage of patch.
Created attachment 318924 [details, diff]
Patch to ebuild.
The patch works for me. Created attachment 319882 [details]
successful-build.log
I've tested -r1 ebuild with the patch both with 3.2.21-gentoo and 3.3.8-gentoo on x86.
I recently switched from nouveau to nvidia while running the 3.3.8-gentoo kernel and encountered the same problem which was fixed by the patch given here Not sure whether I should open a new bug? I installed testing branch(kernel-3.5.0) on a Dell Inspiron 8000 with Geforce2 MX graphics. Having found nouveau would not work I tried nvidia-96.43.20 and applied this patch, however it still failed and I had to apply the workaround found here https://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-drivers/+bug/993506 All works well now, but there should be a better way I imagine? Unfortunately the x86 arch stabilization is slacking and once the newer version is stable this problem would be solved. Should be fixed since the newer version is stable. |