Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
nvidia-drivers series 173.* and >=linux-3.17 [solved]
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
mv
Advocate
Advocate


Joined: 20 Apr 2005
Posts: 4311

PostPosted: Sun Nov 09, 2014 10:19 am    Post subject: nvidia-drivers series 173.* and >=linux-3.17 [solved] Reply with quote

Hello,

does anybody know a patch for the nvidia-drivers series 173.*with current kernels (>=3.17)?

Thanks in advance.

Edit: Removed question about 340.* series since this was a ccache problem (despite similar error messages).


Last edited by mv on Mon Nov 10, 2014 10:47 am; edited 2 times in total
Back to top
View user's profile Send private message
ulenrich
Veteran
Veteran


Joined: 10 Oct 2010
Posts: 1168

PostPosted: Sun Nov 09, 2014 3:01 pm    Post subject: Reply with quote

/Me also cannot run nvidia-drivers-340.58 on my system. And I don't have hardened.
_________________
fun2gen2
Back to top
View user's profile Send private message
albright
Advocate
Advocate


Joined: 16 Nov 2003
Posts: 2119
Location: Near Toronto

PostPosted: Sun Nov 09, 2014 4:41 pm    Post subject: Reply with quote

It is very strange, then, because I have no problem:

Quote:
$ uname -a
Linux olorin 3.17.2-gentoo #2 SMP PREEMPT Fri Oct 31 09:50:16 EDT 2014 x86_64 Intel(R) Core(TM) i7-2600 CPU @ 3.40GHz GenuineIntel GNU/Linux


but

Quote:
eix -I nvidia-driv
[I] x11-drivers/nvidia-drivers
Available versions: 96.43.23^msd 173.14.39^msd 304.123^msd 331.104^msd 334.21-r3^msd 337.25^msd 340.46^msd (~)340.58^msd [m]343.22-r2^msd {+X acpi custom-cflags gtk multilib pax_kernel (+)tools uvm KERNEL="FreeBSD linux"}
Installed versions: 340.58^msd(08:25:37 AM 11/06/2014)(X acpi multilib tools -pax_kernel -uvm KERNEL="linux -FreeBSD")


So this is just an extra "data point" ... I have no solutions
_________________
.... there is nothing - absolutely nothing - half so much worth
doing as simply messing about with Linux ...
(apologies to Kenneth Graeme)
Back to top
View user's profile Send private message
mv
Advocate
Advocate


Joined: 20 Apr 2005
Posts: 4311

PostPosted: Sun Nov 09, 2014 5:07 pm    Post subject: Reply with quote

Here are some of the compilation errors with nvidia-drivers-340.58:
Quote:
/var/tmp/portage/x11-drivers/nvidia-drivers-340.58/work/kernel/nv-linux.h:199:2: error: #error "This driver requires the ability to change memory types!"
/var/tmp/portage/x11-drivers/nvidia-drivers-340.58/work/kernel/nv-linux.h:314:2: error: #error "NV_ACPI_WALK_NAMESPACE_ARGUMENT_COUNT value unrecognized!"
/var/tmp/portage/x11-drivers/nvidia-drivers-340.58/work/kernel/nv-linux.h:746:2: error: #error "NV_KMEM_CACHE_CREATE() undefined (kmem_cache_create() unavailable)!"
/var/tmp/portage/x11-drivers/nvidia-drivers-340.58/work/kernel/nv-linux.h:804:2: error: #error "NV_VMAP() undefined (vmap() unavailable)!"
/var/tmp/portage/x11-drivers/nvidia-drivers-340.58/work/kernel/nv-linux.h:861:2: error: #error "NV_SMP_CALL_FUNCTION() undefined (smp_call_function() unavailable)!"
...

Due to the first error I suppose that hardened-sources is the problem.

EDIT: Nope, same errors with gentoo-sources. Apparently, nvidia-drivers does not like one of my kernel options...

Here are some of the compilation errors with nvidia-drivers-173.14.39:
Quote:
/var/tmp/portage/x11-drivers/nvidia-drivers-173.14.39/work/usr/src/nv/conftest.h:34:2: error: #error acpi_walk_namespace() conftest failed!
/var/tmp/portage/x11-drivers/nvidia-drivers-173.14.39/work/usr/src/nv/conftest.h:35:2: error: #error acpi_os_wait_events_complete() conftest failed!
/var/tmp/portage/x11-drivers/nvidia-drivers-173.14.39/work/usr/src/nv/nv-linux.h:224:2: error: #error "NV_ACPI_WALK_NAMESPACE_ARGUMENT_COUNT value unrecognized!"
/var/tmp/portage/x11-drivers/nvidia-drivers-173.14.39/work/usr/src/nv/nv-linux.h:685:2: error: #error "NV_KMEM_CACHE_CREATE() undefined (kmem_cache_create() unavailable)!"
/var/tmp/portage/x11-drivers/nvidia-drivers-173.14.39/work/usr/src/nv/nv-linux.h:1042:2: error: #error "NV_REMAP_PAGE_RANGE() undefined!"
[...]
/var/tmp/portage/x11-drivers/nvidia-drivers-173.14.39/work/usr/src/nv/os-agp.c:49:43: error: too few arguments to function 'agp_backend_acquire'

Partially rather similar, but there are also other errors, and there is not the error which hints to hardened-sources.
The vidia-drivers-173.14.39 issue appears more severe to me since nvidia has officially dropped support, and thus I cannot expect patches from nvidia.
I could perhaps adapt some patches, but I am not enough a kernel hacker to understand which changes in linux-3.17 are responsible for the problems.
Back to top
View user's profile Send private message
mv
Advocate
Advocate


Joined: 20 Apr 2005
Posts: 4311

PostPosted: Sun Nov 09, 2014 6:26 pm    Post subject: Reply with quote

Disabling ccache solves the problem for the 340.* series (Not too surprising, but I had only tried for 173.* without success)

Changing the topc. No solution for 173.* yet, not even with gentoo-sources...
Back to top
View user's profile Send private message
mv
Advocate
Advocate


Joined: 20 Apr 2005
Posts: 4311

PostPosted: Mon Nov 10, 2014 10:48 am    Post subject: Reply with quote

Marking as solved: I was able to do some patches manually.
The patches will probably appear in the mv overlay in the next days.
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