Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[solved]nvidiadrivers fail after downgrading kernel to 3.4.9
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
e3k
Guru
Guru


Joined: 01 Oct 2007
Posts: 513
Location: Inner Space

PostPosted: Thu Oct 25, 2012 3:28 pm    Post subject: [solved]nvidiadrivers fail after downgrading kernel to 3.4.9 Reply with quote

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
View user's profile Send private message
Schnulli
Guru
Guru


Joined: 25 Jun 2010
Posts: 320
Location: Bremen DE

PostPosted: Thu Oct 25, 2012 4:21 pm    Post subject: Reply with quote

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
View user's profile Send private message
dmpogo
Advocate
Advocate


Joined: 02 Sep 2004
Posts: 3266
Location: Canada

PostPosted: Thu Oct 25, 2012 10:26 pm    Post subject: Re: nvidia drivers not working after downgrading kernel to 3 Reply with quote

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
View user's profile Send private message
e3k
Guru
Guru


Joined: 01 Oct 2007
Posts: 513
Location: Inner Space

PostPosted: Fri Oct 26, 2012 12:42 pm    Post subject: Re: nvidia drivers not working after downgrading kernel to 3 Reply with quote

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
View user's profile Send private message
gerard27
Advocate
Advocate


Joined: 04 Jan 2004
Posts: 2377
Location: Netherlands

PostPosted: Fri Oct 26, 2012 5:13 pm    Post subject: Reply with quote

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
View user's profile Send private message
e3k
Guru
Guru


Joined: 01 Oct 2007
Posts: 513
Location: Inner Space

PostPosted: Fri Oct 26, 2012 6:45 pm    Post subject: Reply with quote

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
View user's profile Send private message
gerard27
Advocate
Advocate


Joined: 04 Jan 2004
Posts: 2377
Location: Netherlands

PostPosted: Fri Oct 26, 2012 7:25 pm    Post subject: Reply with quote

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
View user's profile Send private message
e3k
Guru
Guru


Joined: 01 Oct 2007
Posts: 513
Location: Inner Space

PostPosted: Fri Oct 26, 2012 7:55 pm    Post subject: Reply with quote

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
View user's profile Send private message
gerard27
Advocate
Advocate


Joined: 04 Jan 2004
Posts: 2377
Location: Netherlands

PostPosted: Fri Oct 26, 2012 9:33 pm    Post subject: Reply with quote

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
View user's profile Send private message
e3k
Guru
Guru


Joined: 01 Oct 2007
Posts: 513
Location: Inner Space

PostPosted: Sat Oct 27, 2012 9:50 am    Post subject: Reply with quote

gerard82 wrote:
e3k
I'm surprised that someone who joined in 2007 still uses genkernel.

what is wrong with genkernel?
_________________

Flux & Contemplation - Portrait of an Artist in Isolation

Back to top
View user's profile Send private message
gerard27
Advocate
Advocate


Joined: 04 Jan 2004
Posts: 2377
Location: Netherlands

PostPosted: Sat Oct 27, 2012 11:50 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia 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