View previous topic :: View next topic |
Author |
Message |
e3k Guru
Joined: 01 Oct 2007 Posts: 513 Location: Inner Space
|
Posted: Thu Oct 25, 2012 3:28 pm Post subject: [solved]nvidiadrivers fail after downgrading kernel to 3.4.9 |
|
|
i tried to emerge nvidia-drivers but i am still getting:
Code: | # modprobe nvidia
FATAL: Error inserting nvidia (/lib/modules/3.4.9-gentoo/video/nvidia.ko): Invalid module format |
Code: | # emerge -pv nvidia-drivers
...
[ebuild R ] x11-drivers/nvidia-drivers-295.75 USE="acpi (multilib) tools" 0 kB |
from my experiences the latest video driver works only on the latest kernel.
is there a table at gentoo where would be written which drivers work for which kernel? _________________
Flux & Contemplation - Portrait of an Artist in Isolation
Last edited by e3k on Fri Oct 26, 2012 7:56 pm; edited 1 time in total |
|
Back to top |
|
|
Schnulli Guru
Joined: 25 Jun 2010 Posts: 320 Location: Bremen DE
|
Posted: Thu Oct 25, 2012 4:21 pm Post subject: |
|
|
Hi e3k,
we have as well some problems with the 3.4.9 Kernel, some drivers just dont work ..... give the nvidia 304(5) driver a try, in our case it worked, unmerge the old driver, reboot and merge the Rev 304 of nvidia. It should work ^^
But... there is a smell in the air that the Kernel 3.4.9 has some huge problems..... -WE- will downgrade to a 3.3x Kernel to have it again smoothy working |
|
Back to top |
|
|
dmpogo Advocate
Joined: 02 Sep 2004 Posts: 3267 Location: Canada
|
Posted: Thu Oct 25, 2012 10:26 pm Post subject: Re: nvidia drivers not working after downgrading kernel to 3 |
|
|
e3k wrote: | i tried to emerge nvidia-drivers but i am still getting:
Code: | # modprobe nvidia
FATAL: Error inserting nvidia (/lib/modules/3.4.9-gentoo/video/nvidia.ko): Invalid module format |
Code: | # emerge -pv nvidia-drivers
...
[ebuild R ] x11-drivers/nvidia-drivers-295.75 USE="acpi (multilib) tools" 0 kB |
from my experiences the latest video driver works only on the latest kernel.
is there a table at gentoo where would be written which drivers work for which kernel? |
Did you reemerge nvidia-drivers after you changed the kernel ? (and making sure that /usr/src/linux points to a new kernel) |
|
Back to top |
|
|
e3k Guru
Joined: 01 Oct 2007 Posts: 513 Location: Inner Space
|
Posted: Fri Oct 26, 2012 12:42 pm Post subject: Re: nvidia drivers not working after downgrading kernel to 3 |
|
|
dmpogo wrote: | e3k wrote: | i tried to emerge nvidia-drivers but i am still getting:
Code: | # modprobe nvidia
FATAL: Error inserting nvidia (/lib/modules/3.4.9-gentoo/video/nvidia.ko): Invalid module format |
Code: | # emerge -pv nvidia-drivers
...
[ebuild R ] x11-drivers/nvidia-drivers-295.75 USE="acpi (multilib) tools" 0 kB |
from my experiences the latest video driver works only on the latest kernel.
is there a table at gentoo where would be written which drivers work for which kernel? |
Did you reemerge nvidia-drivers after you changed the kernel ? (and making sure that /usr/src/linux points to a new kernel) |
yes i always reemerge nvdidia-drivers when i change the kernel. and yes i did eselect kernel set blabla to the older version. _________________
Flux & Contemplation - Portrait of an Artist in Isolation
|
|
Back to top |
|
|
gerard27 Advocate
Joined: 04 Jan 2004 Posts: 2377 Location: Netherlands
|
Posted: Fri Oct 26, 2012 5:13 pm Post subject: |
|
|
I downgraded from 3.5.7 to 3.4.9.
Just followed the normal procedure when changing kernels.
No nvidia (295.75) or other problems.
Gerard. _________________ To install Gentoo I use sysrescuecd.Based on Gentoo,has firefox to browse Gentoo docs and mc to browse (and edit) files.
The same disk can be used for 32 and 64 bit installs.
You can follow the Handbook verbatim.
http://www.sysresccd.org/Download |
|
Back to top |
|
|
e3k Guru
Joined: 01 Oct 2007 Posts: 513 Location: Inner Space
|
Posted: Fri Oct 26, 2012 6:45 pm Post subject: |
|
|
gerard82 wrote: | I downgraded from 3.5.7 to 3.4.9.
Just followed the normal procedure when changing kernels.
No nvidia (295.75) or other problems.
Gerard. |
could you post your standard procedures? (except reemerging the driver and relinking /usr/src/linux?) _________________
Flux & Contemplation - Portrait of an Artist in Isolation
|
|
Back to top |
|
|
gerard27 Advocate
Joined: 04 Jan 2004 Posts: 2377 Location: Netherlands
|
Posted: Fri Oct 26, 2012 7:25 pm Post subject: |
|
|
e3k,
Normal procedure is:
1.emerge gentoo-sources
2.copy .config from old kernel to new
3.set symlink
4.cd /usr/src/linux.
5.make oldconfig.
6.make && make modules_install.
7.cd && module-rebuild rebuild.
8.reboot.
That's how I've been doing it for ages.
Gerard. _________________ To install Gentoo I use sysrescuecd.Based on Gentoo,has firefox to browse Gentoo docs and mc to browse (and edit) files.
The same disk can be used for 32 and 64 bit installs.
You can follow the Handbook verbatim.
http://www.sysresccd.org/Download |
|
Back to top |
|
|
e3k Guru
Joined: 01 Oct 2007 Posts: 513 Location: Inner Space
|
Posted: Fri Oct 26, 2012 7:55 pm Post subject: |
|
|
gerard82 wrote: | e3k,
Normal procedure is:
1.emerge gentoo-sources
2.copy .config from old kernel to new
3.set symlink
4.cd /usr/src/linux.
5.make oldconfig.
6.make && make modules_install.
7.cd && module-rebuild rebuild.
8.reboot.
That's how I've been doing it for ages.
Gerard. |
i did now
cd /usr/src/linux
make oldconfig
emerge nvidia-drivers - error!
genkernel --menuconfig all
emerge nvidia-drivers - sucess!
modprobe nvidia - sucess!
/etc/init.d/xdm restart - error in Xorg.conf
reboot - works fine.
thank you. i just thought that switching the kernel would as simple as editing grub as i keep a few of my old kernels on /boot _________________
Flux & Contemplation - Portrait of an Artist in Isolation
|
|
Back to top |
|
|
gerard27 Advocate
Joined: 04 Jan 2004 Posts: 2377 Location: Netherlands
|
Posted: Fri Oct 26, 2012 9:33 pm Post subject: |
|
|
e3k
Learn how to compile your kernel,
I'm surprised that someone who joined in 2007 still uses genkernel.
Gerard. _________________ To install Gentoo I use sysrescuecd.Based on Gentoo,has firefox to browse Gentoo docs and mc to browse (and edit) files.
The same disk can be used for 32 and 64 bit installs.
You can follow the Handbook verbatim.
http://www.sysresccd.org/Download |
|
Back to top |
|
|
e3k Guru
Joined: 01 Oct 2007 Posts: 513 Location: Inner Space
|
|
Back to top |
|
|
gerard27 Advocate
Joined: 04 Jan 2004 Posts: 2377 Location: Netherlands
|
Posted: Sat Oct 27, 2012 11:50 am Post subject: |
|
|
Nothing wrong with genkernel.
But if you want microcodes for your processor or firmware (if needed) for an eth0 card and no unnecessary modules then compile it yourself.
Gerard. _________________ To install Gentoo I use sysrescuecd.Based on Gentoo,has firefox to browse Gentoo docs and mc to browse (and edit) files.
The same disk can be used for 32 and 64 bit installs.
You can follow the Handbook verbatim.
http://www.sysresccd.org/Download |
|
Back to top |
|
|
|