Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 86651 - nvidia-kernel 6629-r1 does not compile on amd64, 6629-r4 does. Request version bump for AMD64.
Summary: nvidia-kernel 6629-r1 does not compile on amd64, 6629-r4 does. Request versi...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: High critical
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-03-25 06:28 UTC by dave_spam
Modified: 2005-04-09 10:01 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description dave_spam 2005-03-25 06:28:01 UTC
The following occurs:

bash-2.05b# emerge nvidia-kernel
Calculating world dependencies ...done!
>>> emerge (1 of 5) media-video/nvidia-kernel-1.0.6629-r1 to /
>>> md5 src_uri ;-) NVIDIA-Linux-x86_64-1.0-6629-pkg2.run
 * Determining the location of the kernel source code
 * Found kernel source directory:
 *     /usr/src/linux
 * Found sources for kernel version:
 *     2.6.11-gentoo-r4
 * Checking for MTRR support...                                                                                                                                                                        [ ok ]
>>> Unpacking source...
Creating directory NVIDIA-Linux-x86_64-1.0-6629-pkg2
Verifying archive integrity... OK
Uncompressing NVIDIA Accelerated Graphics Driver for Linux-x86_64 1.0-6629.........................................................................
 * Applying nv-amd64-shutup-warnings.patch ...                                                                                                                                                         [ ok ]
 * Applying NVIDIA_kernel-1.0-6629-1155389.patch ...                                                                                                                                                   [ ok ]
 * Applying NVIDIA_kernel-1.0-6629-1162524.patch ...                                                                                                                                                   [ ok ]
 * Applying NVIDIA_kernel-1.0-6629-1165235.patch ...                                                                                                                                                   [ ok ]
 * Applying NVIDIA_kernel-1.0-6629-1171869.patch ...                                                                                                                                                   [ ok ]
 * Applying NVIDIA_kernel-1.0-6629-1175225.patch ...                                                                                                                                                   [ ok ]
 * Applying NVIDIA_kernel-1.0-6629-1182399.patch ...                                                                                                                                                   [ ok ]
 * Applying 2.6 kernel patches
 * Applying conftest_koutput_includes.patch ...                                                                                                                                                        [ ok ]
 * Applying nv-disable-preempt-on-smp_processor_id.patch ...                                                                                                                                           [ ok ]
 * Applying NVIDIA_kernel-1.0-6629-1161283.patch ...                                                                                                                                                   [ ok ]
 * Converting NVIDIA-Linux-x86_64-1.0-6629-pkg2/usr/src/nv/Makefile.kbuild to use M= instead of SUBDIRS=...                                                                                            [ ok ]
>>> Source unpacked.
 * Preparing nvidia module

NVIDIA: calling KBUILD...
make CC=cc  KBUILD_VERBOSE=1 -C /usr/src/linux M=/var/tmp/portage/nvidia-kernel-1.0.6629-r1/work/NVIDIA-Linux-x86_64-1.0-6629-pkg2/usr/src/nv modules
make[2]: warning: jobserver unavailable: using -j1.  Add `+' to parent make rule.
mkdir -p /var/tmp/portage/nvidia-kernel-1.0.6629-r1/work/NVIDIA-Linux-x86_64-1.0-6629-pkg2/usr/src/nv/.tmp_versions
make -f scripts/Makefile.build obj=/var/tmp/portage/nvidia-kernel-1.0.6629-r1/work/NVIDIA-Linux-x86_64-1.0-6629-pkg2/usr/src/nv
echo \#define NV_COMPILER \"`cc -v 2>&1 | tail -n 1`\" > /var/tmp/portage/nvidia-kernel-1.0.6629-r1/work/NVIDIA-Linux-x86_64-1.0-6629-pkg2/usr/src/nv/nv_compiler.h
  cc -Wp,-MD,/var/tmp/portage/nvidia-kernel-1.0.6629-r1/work/NVIDIA-Linux-x86_64-1.0-6629-pkg2/usr/src/nv/.nv.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3/include -D__KERNEL__ -Iinclude  -Wall -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -ffreestanding -O2     -fomit-frame-pointer  -mno-red-zone -mcmodel=kernel -pipe -fno-reorder-blocks    -Wno-sign-compare -fno-asynchronous-unwind-tables -funit-at-a-time -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -Wdeclaration-after-statement  -I/var/tmp/portage/nvidia-kernel-1.0.6629-r1/work/NVIDIA-Linux-x86_64-1.0-6629-pkg2/usr/src/nv -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wparentheses -Wno-multichar  -Werror -O -fno-common -mno-red-zone -MD   -Wno-cast-qual -Wno-error -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE  -mcmodel=kernel -DNTRM -D_GNU_SOURCE -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE  -DNV_MAJOR_VERSION=1 -DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=6629  -DNV_UNIX  -DNV_LINUX  -DNV_INT64_OK  -DNVCPU_X86_64-DNV_64_BITS    -UDEBUG -U_DEBUG -DNDEBUG -DNV_REMAP_PFN_RANGE_PRESENT -DNV_CHANGE_PAGE_ATTR_PRESENT -DNV_PCI_DISABLE_DEVICE_PRESENT -DNV_CLASS_SIMPLE_CREATE_PRESENT -DNV_PCI_GET_CLASS_PRESENT  -DMODULE -DKBUILD_BASENAME=nv -DKBUILD_MODNAME=nvidia -c -o /var/tmp/portage/nvidia-kernel-1.0.6629-r1/work/NVIDIA-Linux-x86_64-1.0-6629-pkg2/usr/src/nv/.tmp_nv.o /var/tmp/portage/nvidia-kernel-1.0.6629-r1/work/NVIDIA-Linux-x86_64-1.0-6629-pkg2/usr/src/nv/nv.c
/var/tmp/portage/nvidia-kernel-1.0.6629-r1/work/NVIDIA-Linux-x86_64-1.0-6629-pkg2/usr/src/nv/nv.c: In function `_get_phys_address':
/var/tmp/portage/nvidia-kernel-1.0.6629-r1/work/NVIDIA-Linux-x86_64-1.0-6629-pkg2/usr/src/nv/nv.c:2529: error: structure has no member named `pud'
/var/tmp/portage/nvidia-kernel-1.0.6629-r1/work/NVIDIA-Linux-x86_64-1.0-6629-pkg2/usr/src/nv/nv.c: In function `nv_agp_init':
/var/tmp/portage/nvidia-kernel-1.0.6629-r1/work/NVIDIA-Linux-x86_64-1.0-6629-pkg2/usr/src/nv/nv.c:3010: warning: `inter_module_put' is deprecated (declared at include/linux/module.h:578)
make[3]: *** [/var/tmp/portage/nvidia-kernel-1.0.6629-r1/work/NVIDIA-Linux-x86_64-1.0-6629-pkg2/usr/src/nv/nv.o] Error 1
make[2]: *** [_module_/var/tmp/portage/nvidia-kernel-1.0.6629-r1/work/NVIDIA-Linux-x86_64-1.0-6629-pkg2/usr/src/nv] Error 2
NVIDIA: left KBUILD.
nvidia.ko failed to build!
make[1]: *** [module] Error 1
make: *** [module] Error 2

!!! ERROR: media-video/nvidia-kernel-1.0.6629-r1 failed.
!!! Function linux-mod_src_compile, Line 417, Exitcode 2
!!! Unable to make                                  IGNORE_CC_MISMATCH=yes V=1 SYSSRC=/usr/src/linux SYSOUT=/usr/src/linux clean module.
!!! If you need support, post the topmost build error, NOT this status message.

Reproducible: Always
Steps to Reproduce:
1. emerge -u nvidia-kernel
Actual Results:  
compiling fails

Expected Results:  
compiling sucessful

nvidia-kernel-1.0.6629-r4 works fine. Suggest a version bump for AMD to 6629-r4.
Comment 1 Guido 2005-03-31 14:43:16 UTC
Had the exact same error after upgrading to gentoo-sources-2.6.11. The fix (upgrading to nvidia-kernel-6629-r4) is also proposed in the forums (http://forums.gentoo.org/viewtopic-p-2256501.html#2256501) and works for me too.

Please fix this ASAP, because the the latest stable gentoo-sources is now incompatible with the latest stable version of nvidia-kernel.
Comment 2 ivo welch 2005-04-01 12:14:23 UTC
we have now gone to kernel 2.6.11-r3 as a default, so we should now upgrade from the old nvidia kernel 6629 to the latest 7167 kernel.  I emerged it on my amd64 machine, and it works just fine, whereas 6629 dies.

/iaw
Comment 3 Jeremy Huddleston (RETIRED) gentoo-dev 2005-04-03 12:34:38 UTC
-r5 is the stable amd64 driver
Comment 4 Stefan Tittel 2005-04-04 07:36:53 UTC
-r5 is the latest stable nvidia-glx, but please notice that we're having issues with the kernel modules (nvidia-kernel) not the X drivers and the latest stable nvidia-kernel is 1.0.6629-r1.
Comment 5 Guido 2005-04-04 11:51:37 UTC
Original submitter: please reopen this bug, because nvidia-kernel and nvidia-glx are indeed entirely different packages. The problem is not solved!
Comment 6 dave_spam 2005-04-04 13:38:09 UTC
I have re-opened this bug as it has been verified by many others in this bug thread. The problem is not fixed and is very easy to fix. Make at least nvidia-kernel 6629-r4 stable for amd64. I do not know of a reason this can't occur because it currently does not compile at all (6629-r1), so having it marked stable is ridiculous. Note that this seems to be kernel 2.6.11 specific, I am running kernel 2.6.11-r4.
And as noted before this is: nvidia-kernel NOT nvidia-glx.

Comment 7 dave_spam 2005-04-09 10:01:13 UTC
version bumped as requested.