Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
nVidia failure after kernel upgrade
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
T-O7
Tux's lil' helper
Tux's lil' helper


Joined: 01 Sep 2004
Posts: 94
Location: Canada

PostPosted: Sat Oct 23, 2004 7:56 pm    Post subject: nVidia failure after kernel upgrade Reply with quote

Okay,
So I just upgraded my old 2.6.8-r3 kernel to the new 2.6.9-r1 one, and now my nvidia kernel is not loading at startup. I have already done emerge nvidia-kernel and added nvidia to /etc/modules.autoload.d/kernel-2.6 (and then modules-update), but nvidia still refuses to load. Instead, on the X server output, i get:
Code:
(EE) Failed to load module "speedo"
(EE) NVIDIA(0) Failed to initialize the NVIDIA kernel module!
(EE) *** Aborting ***

Anyone know what i forgot to do, or what i'm doing wrong? :cry:
Back to top
View user's profile Send private message
ninjabadger
Apprentice
Apprentice


Joined: 23 Apr 2003
Posts: 270
Location: Scotland

PostPosted: Sat Oct 23, 2004 9:14 pm    Post subject: Reply with quote

did you emerge nvidia-glx as well, iirc that and nvidia-kernel need to be the same version

do an emerge search and check
Back to top
View user's profile Send private message
T-O7
Tux's lil' helper
Tux's lil' helper


Joined: 01 Sep 2004
Posts: 94
Location: Canada

PostPosted: Sun Oct 24, 2004 3:53 pm    Post subject: Reply with quote

Yes, my nvidia-glx is up to date as well. I just re-emerged it anyway, but that didn't seem to do anything.
Back to top
View user's profile Send private message
gentoo-Ben
n00b
n00b


Joined: 24 Oct 2004
Posts: 12

PostPosted: Sun Oct 24, 2004 4:01 pm    Post subject: Reply with quote

I always have to re-emerge nvidia-kernel after installing a new kernel. The driver always works then.
Back to top
View user's profile Send private message
T-O7
Tux's lil' helper
Tux's lil' helper


Joined: 01 Sep 2004
Posts: 94
Location: Canada

PostPosted: Sun Oct 24, 2004 4:14 pm    Post subject: Reply with quote

Yes, the things i did in the first post were after I changed the kernel
Back to top
View user's profile Send private message
T-O7
Tux's lil' helper
Tux's lil' helper


Joined: 01 Sep 2004
Posts: 94
Location: Canada

PostPosted: Sun Oct 24, 2004 8:29 pm    Post subject: Reply with quote

Just on another note, when i try modprobe nvidia, i get the following message:
Code:
FATAL: Error inserting nvidia (/lib/modules/2.6.9-gentoo-r1/video/nvidia.ko)  Unknown symbol in module, or unknown parameter.  See dmesg


I'm still nowhere closer to a solution... :(
Back to top
View user's profile Send private message
barcodez
n00b
n00b


Joined: 04 May 2004
Posts: 69

PostPosted: Sun Oct 24, 2004 9:03 pm    Post subject: Reply with quote

I have the exact same problem too.
Back to top
View user's profile Send private message
barcodez
n00b
n00b


Joined: 04 May 2004
Posts: 69

PostPosted: Sun Oct 24, 2004 9:45 pm    Post subject: Reply with quote

OK, this can be fixed by upgrading the nvidia drivers

Add

Code:

media-video/nvidia-kernel ~x86
media-video/nvidia-glx ~x86


to /etc/portage/package.keywords

and then
emerge nvidia-kernel nvidia-glx

Should all work fine.
Back to top
View user's profile Send private message
Apreche
Guru
Guru


Joined: 18 Sep 2003
Posts: 506
Location: Beacon, NY

PostPosted: Sun Oct 24, 2004 9:47 pm    Post subject: Reply with quote

I am having this problem as well. I'm typing this from a framebuffer right now. It is very sad. 2.6.9 and nvidia do not seem to be happy together. I did the usual remerging of nvidia-kernel and nvidia-glx after a very standard kernel upgrade. modprobe nvidia cannot find nvidia despite modules-update. I would fix it, but I don't know how.
Back to top
View user's profile Send private message
hegga
Apprentice
Apprentice


Joined: 04 Jun 2003
Posts: 210
Location: Norway

PostPosted: Sun Oct 24, 2004 10:01 pm    Post subject: Reply with quote

When i installed the masked nvidia drivers in portage all
problems were solved for me. :)

btw: what is the best way of installing masked packages?
_________________
hegga
Back to top
View user's profile Send private message
T-O7
Tux's lil' helper
Tux's lil' helper


Joined: 01 Sep 2004
Posts: 94
Location: Canada

PostPosted: Sun Oct 24, 2004 10:59 pm    Post subject: Reply with quote

Yes! :D I added the two lines into a (new) file /etc/portage/package.keywords and it worked. Now, I also had to add another line to the file:
Code:
x11-base/opengl-update ~x86

and emerge opengl-update before I emerge nvidia-glx, because the nvidia-glx depended on it. But thanks a lot barcodez!
Back to top
View user's profile Send private message
Apreche
Guru
Guru


Joined: 18 Sep 2003
Posts: 506
Location: Beacon, NY

PostPosted: Mon Oct 25, 2004 3:38 pm    Post subject: Reply with quote

I had this problem, but I just fixed it. If you had the problem with the same cause that I did, then this is the solution. Allow me to explain.

In 2.6.9 there is a new kernel option for local version naming. The option is called Local version - append to kernel release aka CONFIG_LOCALVERSION. It takes a string parameter as opposed to Y/N/?. What it does is let you give different kernels different local version names. Prior to this change let us say that I built a kernel using 2.6.8-r1 gentoo-dev-sources. The command uname -r would say 2.6.8-gentoo-r1. Even if I had 2 or 3 differently configured kernels from the same sources uname -r would have the same output. With localversion you can change this. Let us say I set localversion to equal -safe. Then uname -r will print 2.6.9-gentoo-r1-safe. I can then build the sources again with the name -test, you get the idea.

I made the mistake when doing make oldconfig of putting in "n". I thought it was a Y/N/? field, but it was a string. So uname -r put out 2.6.9-gentoo-r1n. However, the ebuild for the nvidia-kernel put the modules in /lib/modules/2.6.9-gentoo-r1 while the kernel was looking in /lib/modules/2.6.9-gentoo-r1n. It is a problem in the ebuild and not any problem in the kernel, drivers or else. The ebuild needs to figure out where to put the modules based on the localversion instead of whatever it currently uses.

So at present, if you want to use the nvidia drivers you can either copy them manually from one /lib/modules/dir to the other. Or refrain from setting the CONFIG_LOCALVERSION option in your kernel to anything but an empty string. I stuck with the empty string since I usually just stick with one kernel at a time. And I have a feeling I'm going to be using 2.6.9 for a very long time to come.
Back to top
View user's profile Send private message
T-O7
Tux's lil' helper
Tux's lil' helper


Joined: 01 Sep 2004
Posts: 94
Location: Canada

PostPosted: Mon Dec 20, 2004 10:03 pm    Post subject: Reply with quote

Okay, after successfully upgrading my kernel above(several months ago), i am now trying to upgrade my kernel to 2.6.9-gentoo-r9, and after compiling the kernel etc, and re-emerging opengl-update, nvidia-kernel, and nvidia-glx, and then finally doing opengl-update nvidia, my nvidia kernel still refuses to work again!

As above, I still have the three lines of code in my /etc/portage/package.keywords file, but i'm not sure if that still applies now.

Does anyone know what I should do?
Back to top
View user's profile Send private message
bMd
Tux's lil' helper
Tux's lil' helper


Joined: 07 Jul 2004
Posts: 110

PostPosted: Mon Dec 20, 2004 10:17 pm    Post subject: Reply with quote

what version of nvidia-kernel you hav installed?
if nvidia-kernel-1.0.6629-r1, might want 2 check https://forums.gentoo.org/viewtopic.php?t=268416
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