View previous topic :: View next topic |
Author |
Message |
girafon Tux's lil' helper
Joined: 22 Aug 2002 Posts: 140 Location: France
|
Posted: Sat Aug 31, 2002 2:20 pm Post subject: nvidia drivers cant bear a preentiv kernel !? |
|
|
when i want my kernel to be pre-entiv, the emerge of nvidia driver says me that there are undifined references to pre-entiv.
any clue? |
|
Back to top |
|
|
reves Apprentice
Joined: 25 Jun 2002 Posts: 215 Location: South Florida
|
Posted: Sat Aug 31, 2002 2:52 pm Post subject: |
|
|
Could you post the entire error message? Is the error regarding the preemptive kernel. I had the nVidia drivers running with the Gentoo sources and preemption enabled and it runs with no problems. The exact error would be helpful _________________ Robert |
|
Back to top |
|
|
girafon Tux's lil' helper
Joined: 22 Aug 2002 Posts: 140 Location: France
|
Posted: Sat Aug 31, 2002 5:05 pm Post subject: |
|
|
forget it.
i did it and it works.
maybe a mrproper forgotten
thanx. |
|
Back to top |
|
|
kybber Apprentice
Joined: 25 Jun 2002 Posts: 228 Location: Trondheim, Norway
|
Posted: Mon Sep 02, 2002 12:38 pm Post subject: |
|
|
Hmm... I've been having some similar problems with the nvidia-driver. But after mproper'ing the kernel config and other cleanup I was able to compile it ok. However, when I reboot I get a failure to calculate dependencies at the point where modules are about to load. If I then remove preemtion from the kernel, the dependencies are correctly calculated again. I am currently using low-latency, but would be interested in getting preemtion working since it is quite possible that this laptop will be used for RT-specific tasks. So has anyone experienced my problem and found out what it's caused? I've tried to enable preemtion, recompile, make mrproper, redownload sources etc. several times, but it won't work. I'm using the gentoo-sources. |
|
Back to top |
|
|
Uranus Guru
Joined: 07 May 2002 Posts: 438 Location: Portugal, Braga
|
Posted: Tue Sep 03, 2002 6:58 am Post subject: |
|
|
wtf is preemptive anyway? |
|
Back to top |
|
|
Houdini Apprentice
Joined: 14 Jun 2002 Posts: 224 Location: New Mexico Tech, Socorro, NM
|
Posted: Tue Sep 03, 2002 7:18 am Post subject: |
|
|
The first thing google -> "preemptive kernel" comes up with answers the question:
Quote: | This patch enables a preemptible kernel, which reduces the latency of the kernel. It allows processes to be preempted even if in kernel mode.
The design used is to allow a task to be preempted anywhere within the kernel, using spinlocks as markers for non-preemptibility regions. The resulting system response is greatly increased, with measured average latencies under 1ms |
_________________ ^]:wq |
|
Back to top |
|
|
Reformist Guru
Joined: 06 Oct 2002 Posts: 323
|
Posted: Tue Jan 07, 2003 9:19 am Post subject: |
|
|
I've had huge problems with the preemptive kernel option, such that when I boot I cannot get nvidia's kernel drivers to load properly, nor alsa, and even vfat.o - they all give this error:
unresolved symbol preempt_schedule
Not sure what's up with that, seen this exact error and similar problems all over the board (and I mean all over). When I first saw this error I had no idea what was going on, and didn't even know I had the preemptive kernel option selected. After doing some researching, finding out what it was, and checking my menuconfig, there it was, selected. I'm rebuilding my kernel without it as we speak, will post how it goes (hopefully I can get back in X with sound again). _________________ -Phil Crosby |
|
Back to top |
|
|
Reformist Guru
Joined: 06 Oct 2002 Posts: 323
|
Posted: Tue Jan 07, 2003 9:56 am Post subject: |
|
|
Finally, the work! Yes!
I will wait for preemptive kernel anothe day =)
Althought I read that preemptive kernel is not needed/useful on workstations. _________________ -Phil Crosby |
|
Back to top |
|
|
djs Tux's lil' helper
Joined: 13 Dec 2002 Posts: 96 Location: CA
|
Posted: Wed Jan 08, 2003 4:37 am Post subject: includes |
|
|
perhaps all that's needed is to add an #include to some file in the nvidia source and recompile.
/djs |
|
Back to top |
|
|
Reformist Guru
Joined: 06 Oct 2002 Posts: 323
|
Posted: Wed Jan 08, 2003 7:23 am Post subject: |
|
|
Unfortunately that kernel option affects many of my other modules as well. _________________ -Phil Crosby |
|
Back to top |
|
|
mickywicky Tux's lil' helper
Joined: 05 Nov 2002 Posts: 86 Location: London, UK
|
Posted: Wed Jan 08, 2003 9:26 pm Post subject: |
|
|
My experience: preemtible kernels tend to panic, which the same kernel on the same system with low-latency instead doesn't. This is about the 2.4.x series, 2.6 should be better since the patch is now merged. Unless you really need it, low-latency is just as good and more stable (YMMV though).
Micky |
|
Back to top |
|
|
kybber Apprentice
Joined: 25 Jun 2002 Posts: 228 Location: Trondheim, Norway
|
Posted: Thu Jan 09, 2003 7:59 am Post subject: |
|
|
I am currently using a preemptible kernel (gentoo-sources 2.4.19-r10) with no problems at all (nvidia, alsa etc. all load perfectly). My nvidia-kernel is version 1.0.3123-r2. I think I had to make mrproper before it would work (or I downloaded the kernel again - can't remember exactly). |
|
Back to top |
|
|
mickywicky Tux's lil' helper
Joined: 05 Nov 2002 Posts: 86 Location: London, UK
|
Posted: Thu Jan 09, 2003 2:17 pm Post subject: |
|
|
guess you've been luckier
Seriously though, I've used the preempt kernel patch over several versions and distros of the kernel/linux but it did panic occasionally, which never ocurred without the patch or with low-latency. Maybe it's what I do to my poor little helpless kernel??
Can't wait for 2.6 since it is merged there! |
|
Back to top |
|
|
|