View previous topic :: View next topic |
Author |
Message |
Arthur n00b
Joined: 13 Jun 2002 Posts: 31
|
Posted: Sun Apr 13, 2003 2:49 pm Post subject: switching to gaming-sources |
|
|
so I download gaming-sources kernel, compile that and switch over to it on my next boot.
But when I try to emerge alsa-driver and nvidia-kernel it does it for the old kernel, not the one I'm using. so I have no alsa and nvidia drivers for this kernel. I did search and found someone with this problem but no replies to it.
I tried copying the NVdriver from /lib/modules/2.4.20-gentoo-r2/video/NVdriver to /lib/modules/2.4.20-gaming-r1/video and things get messed up. this is what I get now. I am a noob so I don't know what to do with these error messages.
bash-2.05b# emerge nvidia-kernel
Calculating dependencies ...done!
>>> emerge (1 of 1) media-video/nvidia-kernel-1.0.3123-r2 to /
>>> md5 NVIDIA_kernel-1.0-3123.tar.gz
>>> Unpacking source...
>>> Unpacking NVIDIA_kernel-1.0-3123.tar.gz to /var/tmp/portage/nvidia-kernel-1.0.3123-r2/work
* Applying page_alloc.c patch... [ ok ]
>>> Source unpacked.
*
* 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.3123-r2 failed.
!!! Function check_KV, Line 175, Exitcode 0
!!! (no error message)
any help will be appreciated
-Arthur |
|
Back to top |
|
|
meyerm Veteran
Joined: 27 Jun 2002 Posts: 1311 Location: Munich / Germany
|
Posted: Sun Apr 13, 2003 2:52 pm Post subject: |
|
|
My only idea for the moment would be that your /usr/src/linux symlink is not pointing to the correct source tree. |
|
Back to top |
|
|
_Nomad_ Guru
Joined: 11 Apr 2003 Posts: 571
|
Posted: Sun Apr 13, 2003 2:55 pm Post subject: |
|
|
first of all... you should symlink your /usr/src/linux directory by doing:
Code: | #ln -s /usr/src/linux-gamin-blabla /usr/src/linux |
Then I'd recommend getting the nvidia drivers from nvidia's website...
Hope everything works out... |
|
Back to top |
|
|
pjp Administrator
Joined: 16 Apr 2002 Posts: 20093
|
Posted: Sun Apr 13, 2003 4:19 pm Post subject: |
|
|
Moved from Desktop Environments. _________________ Quis separabit? Quo animo? |
|
Back to top |
|
|
Arthur n00b
Joined: 13 Jun 2002 Posts: 31
|
Posted: Sun Apr 13, 2003 6:13 pm Post subject: |
|
|
Nomad, you're the best!
should I worry about this
bash-2.05b# modprobe nvidia
Warning: loading /lib/modules/2.4.20-gaming-r1/kernel/drivers/video/nvidia.o will taint the kernel: non-GPL license - NVIDIA
See http://www.tux.org/lkml/#export-tainted for information about tainted modules
Module nvidia loaded, with warnings
now I have to work on emerge alsa-driver since that was doing the same thing.
-Arthur |
|
Back to top |
|
|
Arthur n00b
Joined: 13 Jun 2002 Posts: 31
|
Posted: Sun Apr 13, 2003 6:43 pm Post subject: alsa-driver |
|
|
so the solution nomad gave me is more of a workaround than anything.
now I have the same problem with emerge alsa-driver. it thinks I'm still using 2.4.20-gentoo-r2 instead of 2.4.20-gaming-r1.
I did the ln -s /usr/src/linux/linux-2.4.20-gaming-r1 /usr/src/linux but that doesn't help.
I even tried doing an emerge unmerge gentoo-sources but didn't do anything either.
what else is there to try?
thanks
-Arthur |
|
Back to top |
|
|
Arthur n00b
Joined: 13 Jun 2002 Posts: 31
|
Posted: Sun Apr 13, 2003 8:06 pm Post subject: |
|
|
everything is working now, but know why after a restart.
startx didn't work right away did a modprobe NVdriver then it did,
ran the driver installer from nvidia.com again then did a modprobe nvidia then that worked again
alsa also works now.
thanks everyone
_Arthur |
|
Back to top |
|
|
lurid Guru
Joined: 12 Mar 2003 Posts: 595 Location: Florida
|
Posted: Sun Apr 13, 2003 10:39 pm Post subject: |
|
|
Any time you install a new kernel you have to rebuild nvidia, alsa, lm_sensors and vmware modules (and anything else that you insert into the kernel that isn't a part of the kernel package). |
|
Back to top |
|
|
floam Veteran
Joined: 27 Oct 2002 Posts: 1067 Location: Vancouver, WA USA
|
Posted: Mon Apr 14, 2003 12:51 am Post subject: |
|
|
why are you installing such old nvidia drivers? 4349 has been out over a week now |
|
Back to top |
|
|
Arthur n00b
Joined: 13 Jun 2002 Posts: 31
|
Posted: Mon Apr 14, 2003 1:16 am Post subject: |
|
|
I now have the latest from the nvidia site. I originally had the old ones from following the desktop CG. using portage. |
|
Back to top |
|
|
ralniv n00b
Joined: 17 Apr 2002 Posts: 37 Location: California, USA
|
Posted: Mon Apr 14, 2003 7:32 pm Post subject: |
|
|
Arthur wrote: |
bash-2.05b# modprobe nvidia
Warning: loading /lib/modules/2.4.20-gaming-r1/kernel/drivers/video/nvidia.o will taint the kernel: non-GPL license - NVIDIA
See http://www.tux.org/lkml/#export-tainted for information about tainted modules
Module nvidia loaded, with warnings
-Arthur |
That is just a warning that the license for the nvidia kernel driver is not GPL and thus your kernel will not be GPL anymore.
To make the nvidia kernel module load when you boot you could always add it to /etc/modules.autoload
Code: | # Add the names of modules that you'd like to load when the system
# starts into this file, one per line. Comments begin with # and
# are ignored. Read man modules.autoload for additional details.
# For example:
# 3c59x
NVdriver |
Then reboot.
Floam wrote: | why are you installing such old nvidia drivers? 4349 has been out over a week now |
I personally reverted back to the "current" nvidia driver because 4349 proved to be less stable. For the first time in ages, KDE actually locked up while running an OpenGL app. 3123 runs the same app just fine and has 95% of the performance. |
|
Back to top |
|
|
floam Veteran
Joined: 27 Oct 2002 Posts: 1067 Location: Vancouver, WA USA
|
Posted: Sat Apr 19, 2003 5:14 am Post subject: |
|
|
EVERY TIME you get a new kernel, you need to delete the symlink and make a new one, always. |
|
Back to top |
|
|
|