Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 118252 - Kernel 2.6.15 and nvidia-kernel needs patch
Summary: Kernel 2.6.15 and nvidia-kernel needs patch
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High major
Assignee: X11 External Driver Maintainers
URL: http://www.nvnews.net/vbulletin/showt...
Whiteboard:
Keywords:
: 118601 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-01-07 23:08 UTC by Scott
Modified: 2006-01-12 06:26 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
this fixes the problem introduced by Sam Ravnborg's recent KBUILD changes see http://marc.theaimsgroup.com/?l=linu...9507221614&w=2 (NVIDIA_kernel-1.0-8178-1444349.diff.txt,397 bytes, patch)
2006-01-07 23:11 UTC, Scott
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Scott 2006-01-07 23:08:53 UTC
Kernel 2.6.15 and nvidia-kernel needs patch for conftest.sh.

Compiling will fail with:

In file included from /var/tmp/portage/nvidia-kernel-1.0.8178/work/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src/nv/os-agp.c:24:
/var/tmp/portage/nvidia-kernel-1.0.8178/work/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src/nv/nv-linux.h:711:2: warning: #warning "conftest.sh failed, assuming remap_page_range(4)!"
  cc -Wp,-MD,/var/tmp/portage/nvidia-kernel-1.0.8178/work/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src/nv/.os-interface.o.d  -nostdinc -isystem /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/include -D__KERNEL__ -Iinclude  -include include/linux/autoconf.h -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -ffreestanding -Os     -fomit-frame-pointer -pipe -msoft-float -mpreferred-stack-boundary=2  -march=athlon -mregparm=3 -Iinclude/asm-i386/mach-default   -I/var/tmp/portage/nvidia-kernel-1.0.8178/work/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src/nv -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wparentheses   -Wno-multichar  -Werror -O -fno-common -MD    -Wno-cast-qual -Wno-error -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE  -DNTRM -DNVRM -DDYNAMIC_SLI  -DNV_MAJOR_VERSION=1 -DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=8178  -UDEBUG -U_DEBUG -DNDEBUG -DNV_MULTIPLE_BRIDGE_AGPGART_PRESENT -DNV_PM_MESSAGE_T_PRESENT -DNV_CHANGE_PAGE_ATTR_PRESENT  -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(os_interface)"  -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /var/tmp/portage/nvidia-kernel-1.0.8178/work/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src/nv/os-interface.o /var/tmp/portage/nvidia-kernel-1.0.8178/work/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src/nv/os-interface.c
In file included from /var/tmp/portage/nvidia-kernel-1.0.8178/work/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src/nv/os-interface.c:26:
/var/tmp/portage/nvidia-kernel-1.0.8178/work/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src/nv/nv-linux.h:711:2: warning: #warning "conftest.sh failed, assuming remap_page_range(4)!"
/var/tmp/portage/nvidia-kernel-1.0.8178/work/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src/nv/os-interface.c: In function `os_set_mlock_capability':
/var/tmp/portage/nvidia-kernel-1.0.8178/work/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src/nv/os-interface.c:1375: error: structure has no member named `rlim'
make[3]: *** [/var/tmp/portage/nvidia-kernel-1.0.8178/work/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src/nv/os-interface.o] Error 1
make[2]: *** [_module_/var/tmp/portage/nvidia-kernel-1.0.8178/work/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src/nv] Error 2
Comment 1 Scott 2006-01-07 23:11:15 UTC
Created attachment 76499 [details, diff]
this fixes the problem introduced by Sam Ravnborg's recent KBUILD changes see http://marc.theaimsgroup.com/?l=linu...9507221614&w=2
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2006-01-10 20:47:33 UTC
*** Bug 118601 has been marked as a duplicate of this bug. ***
Comment 3 Kris Kersey (RETIRED) gentoo-dev 2006-01-12 06:26:05 UTC
nvidia-kernel-1.0.8178-r2 contains this patch as added by Zander in his latest cummulative patch.