Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
nvidia-kernel, "could not determine your kernel..."
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
stettler
Tux's lil' helper
Tux's lil' helper


Joined: 04 Mar 2004
Posts: 113
Location: Germany

PostPosted: Tue Oct 12, 2004 7:43 pm    Post subject: nvidia-kernel, "could not determine your kernel..." Reply with quote

Hello all,

I wanted to take a look at transparent windows and sucessfully emerged xorg 6.8, transset and xcompmgr. Shadows are working, but no transpareny. So I though upgrading nvidia-kernel might be a good idea.
But ermerging nvidia fail with
Code:
# emerge nvidia-glx nvidia-kernel
Calculating dependencies ...done!
>>> emerge (1 of 2) media-video/nvidia-kernel-1.0.6111-r2 to /
x86
>>> md5 src_uri ;-) NVIDIA-Linux-x86-1.0-6111-pkg1.run
x86
x86
>>> Unpacking source...
 *
 * Could not determine your kernel version.
 * Make sure that you have /usr/src/linux symlink.
 * And that said kernel has been configured.
 * You can also simply run the following command
 * in the kernel referenced by /usr/src/linux:
 *  make include/linux/version.h
 *

!!! ERROR: media-video/nvidia-kernel-1.0.6111-r2 failed.
!!! Function check_KV, Line 253, Exitcode 0
!!! (no error message)


For me everything seems ok:
Code:
# ls -l /usr/src/linux
lrwxrwxrwx  1 root root 12 Aug  3 02:12 /usr/src/linux -> linux-2.6.6/
# ls -l /usr/src/linux/.config
-rw-r--r--  1 root root 33820 Jul 19 23:52 /usr/src/linux/.config
# > ls -l /usr/src/linux/include/linux/version.h
-rw-r--r--  1 root root 125 Jun 27 13:35 /usr/src/linux/include/linux/version.h


What am I missing?
Thanks in advance!

stettler
_________________
Claiming that your operating system is the best in the world because more people use it, is like saying McDonalds makes the best food in the world.


Last edited by stettler on Thu Oct 14, 2004 12:24 am; edited 2 times in total
Back to top
View user's profile Send private message
madbiker
Guru
Guru


Joined: 12 Oct 2003
Posts: 439
Location: Victoria, BC, Canada

PostPosted: Tue Oct 12, 2004 8:01 pm    Post subject: Reply with quote

Are you sure you're using the 2.6.6 kernel? This happened to me when I was changing kernels and changed my symlink, but then forgot to recompile my kernel and reboot.
Back to top
View user's profile Send private message
stettler
Tux's lil' helper
Tux's lil' helper


Joined: 04 Mar 2004
Posts: 113
Location: Germany

PostPosted: Tue Oct 12, 2004 8:09 pm    Post subject: Reply with quote

Yes, I'm sure:
Code:
# uname -a
Linux kk2 2.6.6 #7 Mon Jul 19 23:53:10 CEST 2004 i686 AMD Athlon(tm)  AuthenticAMD GNU/Linux

_________________
Claiming that your operating system is the best in the world because more people use it, is like saying McDonalds makes the best food in the world.
Back to top
View user's profile Send private message
Archangel1
Veteran
Veteran


Joined: 21 Apr 2004
Posts: 1212
Location: Work

PostPosted: Tue Oct 12, 2004 8:25 pm    Post subject: Reply with quote

You haven't done a make mrproper in /usr/src/linux or anything like that?
And have you tried running that make include/linux/version.h and retrying?
Back to top
View user's profile Send private message
stettler
Tux's lil' helper
Tux's lil' helper


Joined: 04 Mar 2004
Posts: 113
Location: Germany

PostPosted: Tue Oct 12, 2004 8:31 pm    Post subject: Reply with quote

So far as I remember I haven't done a make mrproper (wouldn't that remove my /usr/src/linux/.config? It's there, see my first posting).

Code:
/usr/src/linux> make  include/linux/version.h
make: Nothing to be done for `include/linux/version.h'.

Hm, I don't understand the sense this make command...
_________________
Claiming that your operating system is the best in the world because more people use it, is like saying McDonalds makes the best food in the world.
Back to top
View user's profile Send private message
4of11
n00b
n00b


Joined: 21 May 2004
Posts: 6

PostPosted: Tue Oct 12, 2004 8:56 pm    Post subject: Same problem Reply with quote

I'm having the same problem. My nvidia module stopped working after I emerged gnome 2.8 (I still don't know why that had an effect). I've been trying to install other versions of the module, but I get this message. But, if I remake my kernel, I get a different message, along the lines of "source directory dirty. Run make mrproper in /usr/src/linux-2.6.5-gentoo-r1." If I do that, I get the version error again.

During the course of installing gnome 2.8, I unmerged linux-headers due to a block and merged linux26-headers. Could that cause problems?

Did you succeed in fixing your problem? If so, how?
Back to top
View user's profile Send private message
stettler
Tux's lil' helper
Tux's lil' helper


Joined: 04 Mar 2004
Posts: 113
Location: Germany

PostPosted: Tue Oct 12, 2004 10:05 pm    Post subject: Reply with quote

Switching from linux 2.6.6 to 2.6.8.1 solved the problem, emerging nvidia-kernel was no problem. On IRC I got an answer stating that you need at least linux 2.6.7.
Transparency is now working with 'normal' windows 'some time', xawtv with bttv module still has some bugs (black window depending on which window is focussed).

Interesting new look & feel, don't know what to think about it...

Best regards,
stettler
_________________
Claiming that your operating system is the best in the world because more people use it, is like saying McDonalds makes the best food in the world.
Back to top
View user's profile Send private message
stettler
Tux's lil' helper
Tux's lil' helper


Joined: 04 Mar 2004
Posts: 113
Location: Germany

PostPosted: Wed Oct 13, 2004 7:06 pm    Post subject: Reply with quote

To my original problem: Transparency is working with nvidia-kernel 1.0.5336-r4 (current stable version). I was simply too stupid to realize that transset brings only transparency for the next window you click...
_________________
Claiming that your operating system is the best in the world because more people use it, is like saying McDonalds makes the best food in the world.
Back to top
View user's profile Send private message
TheBohemian
n00b
n00b


Joined: 17 Feb 2004
Posts: 33

PostPosted: Wed Oct 13, 2004 7:16 pm    Post subject: Reply with quote

stettler wrote:
Switching from linux 2.6.6 to 2.6.8.1 solved the problem, emerging nvidia-kernel was no problem. On IRC I got an answer stating that you need at least linux 2.6.7.


I can confirm for x86 with a Geforce2 this works when switching to kernel of version 2.6.8 . However I have been using gentoo-dev-sources-2.6.7-r14 before and there compiling failed with a lot of undeclared symbols.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments 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