View previous topic :: View next topic |
Author |
Message |
micha77 n00b

Joined: 22 Mar 2025 Posts: 1
|
Posted: Sat Mar 22, 2025 12:29 pm Post subject: Cannot install nvidia-drivers |
|
|
Hi, it's my first time setting up Gentoo, and everything went fine until I tried to install x11-drivers/nvidia-drivers. The installation halts, because Module.symvers file was not found
Code: |
'/usr/src/linux/Module.symvers' was not found implying that the
* linux-6.12.16-gentoo tree at that location has not been built.
*
* Please verify that this is the intended kernel version, then perform
* a full build[1] (i.e. make && make modules_install && make install).
|
The answer I found is to rebuild the kernel, but I have already built it during installation according to the handbook using distribution kernels. Is it really necessary?
Code: |
gentoohost / # uname -a
Linux gentoohost 6.12.16-gentoo-dist #1 SMP PREEMPT_DYNAMIC Sat Mar 22 03:02:40 CET 2025 x86_64 AMD Ryzen 9 5900X 12-Core Processor AuthenticAMD GNU/Linux
|
|
|
Back to top |
|
 |
Banana Moderator


Joined: 21 May 2004 Posts: 1955 Location: Germany
|
|
Back to top |
|
 |
mf2 n00b

Joined: 14 Jun 2007 Posts: 51
|
Posted: Thu Mar 27, 2025 7:27 am Post subject: |
|
|
Maybe /usr/src/linux does not point to the correct directory.
What is the output of
Code: |
eselect kernel list
readlink -f /usr/src/linux
| [/code] |
|
Back to top |
|
 |
|