Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[solved]yet another nvidia-kernel woe
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
mark_alec
Bodhisattva
Bodhisattva


Joined: 11 Sep 2004
Posts: 6066
Location: Melbourne, Australia

PostPosted: Sat Apr 02, 2005 11:49 am    Post subject: [solved]yet another nvidia-kernel woe Reply with quote

While emerging nvidia-kernel 6629 for 2.6.11-r4 I get the error message.
Code:
/var/tmp/portage/nvidia-kernel-1.0.6629-r1/work/NVIDIA-Linux-x86-1.0-6629-pkg1/u
sr/src/nv/os-agp.c:173: error: request for member `enable' in something not a st
ructure or union
/var/tmp/portage/nvidia-kernel-1.0.6629-r1/work/NVIDIA-Linux-x86-1.0-6629-pkg1/u
sr/src/nv/os-agp.c:185: error: request for member `release' in something not a s
tructure or union
/var/tmp/portage/nvidia-kernel-1.0.6629-r1/work/NVIDIA-Linux-x86-1.0-6629-pkg1/u
sr/src/nv/os-agp.c:186: warning: `inter_module_put' is deprecated (declared at i
nclude/linux/module.h:578)
/var/tmp/portage/nvidia-kernel-1.0.6629-r1/work/NVIDIA-Linux-x86-1.0-6629-pkg1/u
sr/src/nv/os-agp.c: In function `KernTeardownAGP':
/var/tmp/portage/nvidia-kernel-1.0.6629-r1/work/NVIDIA-Linux-x86-1.0-6629-pkg1/u
sr/src/nv/os-agp.c:216: error: request for member `release' in something not a s
tructure or union
/var/tmp/portage/nvidia-kernel-1.0.6629-r1/work/NVIDIA-Linux-x86-1.0-6629-pkg1/u
sr/src/nv/os-agp.c:218: warning: `inter_module_put' is deprecated (declared at i
nclude/linux/module.h:578)
/var/tmp/portage/nvidia-kernel-1.0.6629-r1/work/NVIDIA-Linux-x86-1.0-6629-pkg1/u
sr/src/nv/os-agp.c: In function `KernAllocAGPPages':
/var/tmp/portage/nvidia-kernel-1.0.6629-r1/work/NVIDIA-Linux-x86-1.0-6629-pkg1/u
sr/src/nv/os-agp.c:265: error: request for member `allocate_memory' in something
 not a structure or union
/var/tmp/portage/nvidia-kernel-1.0.6629-r1/work/NVIDIA-Linux-x86-1.0-6629-pkg1/u
sr/src/nv/os-agp.c:273: error: request for member `bind_memory' in something not
 a structure or union
/var/tmp/portage/nvidia-kernel-1.0.6629-r1/work/NVIDIA-Linux-x86-1.0-6629-pkg1/u
sr/src/nv/os-agp.c:290: error: request for member `unbind_memory' in something n
ot a structure or union
/var/tmp/portage/nvidia-kernel-1.0.6629-r1/work/NVIDIA-Linux-x86-1.0-6629-pkg1/u
sr/src/nv/os-agp.c:305: error: request for member `free_memory' in something not
 a structure or union
/var/tmp/portage/nvidia-kernel-1.0.6629-r1/work/NVIDIA-Linux-x86-1.0-6629-pkg1/u
sr/src/nv/os-agp.c: In function `KernMapAGPPages':
/var/tmp/portage/nvidia-kernel-1.0.6629-r1/work/NVIDIA-Linux-x86-1.0-6629-pkg1/u
sr/src/nv/os-agp.c:345: error: request for member `unbind_memory' in something n
ot a structure or union
/var/tmp/portage/nvidia-kernel-1.0.6629-r1/work/NVIDIA-Linux-x86-1.0-6629-pkg1/u
sr/src/nv/os-agp.c: In function `KernFreeAGPPages':
/var/tmp/portage/nvidia-kernel-1.0.6629-r1/work/NVIDIA-Linux-x86-1.0-6629-pkg1/u
sr/src/nv/os-agp.c:444: error: request for member `unbind_memory' in something n
ot a structure or union
/var/tmp/portage/nvidia-kernel-1.0.6629-r1/work/NVIDIA-Linux-x86-1.0-6629-pkg1/u
sr/src/nv/os-agp.c:445: error: request for member `free_memory' in something not
 a structure or union
make[3]: *** [/var/tmp/portage/nvidia-kernel-1.0.6629-r1/work/NVIDIA-Linux-x86-1
.0-6629-pkg1/usr/src/nv/os-agp.o] Error 1
make[2]: *** [_module_/var/tmp/portage/nvidia-kernel-1.0.6629-r1/work/NVIDIA-Lin
ux-x86-1.0-6629-pkg1/usr/src/nv] Error 2
NVIDIA: left KBUILD.
nvidia.ko failed to build!
make[1]: *** [module] Error 1
make: *** [module] Error 2

I have never had this problem before. The nvidia kernel works fine with 2.6.9-gentoo-r13.


Last edited by mark_alec on Sat Apr 02, 2005 12:17 pm; edited 1 time in total
Back to top
View user's profile Send private message
roog
Tux's lil' helper
Tux's lil' helper


Joined: 01 Aug 2004
Posts: 100

PostPosted: Sat Apr 02, 2005 12:01 pm    Post subject: Reply with quote

You should add '=media-video/nvidia-kernel-1.0.6629-r4 ~ARCH' to /etc/portage/package.keywords. The r1 version doesn't compile with the 2.6.11-r4 kernel.
Back to top
View user's profile Send private message
mark_alec
Bodhisattva
Bodhisattva


Joined: 11 Sep 2004
Posts: 6066
Location: Melbourne, Australia

PostPosted: Sat Apr 02, 2005 12:17 pm    Post subject: Reply with quote

roog, thanks for the quick reply that solved it.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum