Re: [gentoo-user] kernel 4.8.11 nvidia trouble [solved]

2016-12-12 Thread massi ppp
solved;

there was a problem with gcc; genkernel; and some other package. ( too old)

driver now compile successful.

On Dec 10, 2016 1:40 PM, "Fernando Rodriguez"  wrote:

> On Fri, Dec 02, 2016 at 01:00:58PM +0100, massi ppp wrote:
> > hello
> >
> > i' m try to install nvidia-drivers latest on gentoo 4.8.11 gcc compiler
> 5.4.
> >
> > i've compiled kernell with genkernell, the driver has compiled, but not
> > work because kernel conflict, i recompiled the same kernel following the
> > istruction on handbook, but when i try to emerge nvidia driver portage
> fail
> > to compile.
>
> Then post the error that you're getting and the output  of the
> pre-emerge checks.
>
> If you build your kernel with genkernel it *should* work. You probably
> just had to blacklist the free drivers to resolve the "kernel conflict".
> So maybe start over with a fresh genkernel and try that.
>
> >
> > i try also to find the problem to add or remove graphics and firmware
> > correlated features by menuconfig, and recompliling kernel.
> >
> > the result is:
> > the module nvidia.ko missing some value:
> >
> > lib/modules/4.8.11-gentoo/video.ko needs unknown symbol:
>
> That's expected if you didn't recompile the drivers. It means that one of
> the features you disabled was used by the driver module. Also make sure
> you remove the /lib/modules/4.8.11-gentoo directory before reinstalling
> your kernel modules as it looks like video.ko is not supposed to be
> there. Maybe you disabled that feature but the modules is still there
> from your previous build.
>
> --
> Fernando Rodriguez
>
>


Re: [gentoo-user] kernel 4.8.11 nvidia trouble

2016-12-10 Thread Fernando Rodriguez
On Fri, Dec 02, 2016 at 01:00:58PM +0100, massi ppp wrote:
> hello
> 
> i' m try to install nvidia-drivers latest on gentoo 4.8.11 gcc compiler 5.4.
> 
> i've compiled kernell with genkernell, the driver has compiled, but not
> work because kernel conflict, i recompiled the same kernel following the
> istruction on handbook, but when i try to emerge nvidia driver portage fail
> to compile.

Then post the error that you're getting and the output  of the
pre-emerge checks.

If you build your kernel with genkernel it *should* work. You probably
just had to blacklist the free drivers to resolve the "kernel conflict".
So maybe start over with a fresh genkernel and try that.

> 
> i try also to find the problem to add or remove graphics and firmware
> correlated features by menuconfig, and recompliling kernel.
> 
> the result is:
> the module nvidia.ko missing some value:
> 
> lib/modules/4.8.11-gentoo/video.ko needs unknown symbol:

That's expected if you didn't recompile the drivers. It means that one of
the features you disabled was used by the driver module. Also make sure
you remove the /lib/modules/4.8.11-gentoo directory before reinstalling
your kernel modules as it looks like video.ko is not supposed to be
there. Maybe you disabled that feature but the modules is still there
from your previous build.

-- 
Fernando Rodriguez



Re: [gentoo-user] kernel 4.8.11 nvidia trouble

2016-12-02 Thread J. Roeleveld
On Friday, December 02, 2016 01:00:58 PM massi ppp wrote:
> hello
> 
> i' m try to install nvidia-drivers latest on gentoo 4.8.11 gcc compiler 5.4.
> 
> i've compiled kernell with genkernell, the driver has compiled, but not
> work because kernel conflict, i recompiled the same kernel following the
> istruction on handbook, but when i try to emerge nvidia driver portage fail
> to compile.
> 
> i try also to find the problem to add or remove graphics and firmware
> correlated features by menuconfig, and recompliling kernel.
> 
> the result is:
> the module nvidia.ko missing some value:
> 
> lib/modules/4.8.11-gentoo/video.ko needs unknown symbol:

Try rebuilding the nvidia driver.
A good way of dealing with this and other modules is:

emerge -va1 @module-rebuild

--
Joost