Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
nvidia drivers cant bear a preentiv kernel !?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
girafon
Tux's lil' helper
Tux's lil' helper


Joined: 22 Aug 2002
Posts: 140
Location: France

PostPosted: Sat Aug 31, 2002 2:20 pm    Post subject: nvidia drivers cant bear a preentiv kernel !? Reply with quote

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


Joined: 25 Jun 2002
Posts: 215
Location: South Florida

PostPosted: Sat Aug 31, 2002 2:52 pm    Post subject: Reply with quote

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
View user's profile Send private message
girafon
Tux's lil' helper
Tux's lil' helper


Joined: 22 Aug 2002
Posts: 140
Location: France

PostPosted: Sat Aug 31, 2002 5:05 pm    Post subject: Reply with quote

forget it.
i did it and it works.
maybe a mrproper forgotten
thanx.
Back to top
View user's profile Send private message
kybber
Apprentice
Apprentice


Joined: 25 Jun 2002
Posts: 228
Location: Trondheim, Norway

PostPosted: Mon Sep 02, 2002 12:38 pm    Post subject: Reply with quote

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


Joined: 07 May 2002
Posts: 438
Location: Portugal, Braga

PostPosted: Tue Sep 03, 2002 6:58 am    Post subject: Reply with quote

wtf is preemptive anyway?
Back to top
View user's profile Send private message
Houdini
Apprentice
Apprentice


Joined: 14 Jun 2002
Posts: 224
Location: New Mexico Tech, Socorro, NM

PostPosted: Tue Sep 03, 2002 7:18 am    Post subject: Reply with quote

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


Joined: 06 Oct 2002
Posts: 323

PostPosted: Tue Jan 07, 2003 9:19 am    Post subject: Reply with quote

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


Joined: 06 Oct 2002
Posts: 323

PostPosted: Tue Jan 07, 2003 9:56 am    Post subject: Reply with quote

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
View user's profile Send private message
djs
Tux's lil' helper
Tux's lil' helper


Joined: 13 Dec 2002
Posts: 96
Location: CA

PostPosted: Wed Jan 08, 2003 4:37 am    Post subject: includes Reply with quote

perhaps all that's needed is to add an #include to some file in the nvidia source and recompile.

/djs
Back to top
View user's profile Send private message
Reformist
Guru
Guru


Joined: 06 Oct 2002
Posts: 323

PostPosted: Wed Jan 08, 2003 7:23 am    Post subject: Reply with quote

Unfortunately that kernel option affects many of my other modules as well.
_________________
-Phil Crosby
Back to top
View user's profile Send private message
mickywicky
Tux's lil' helper
Tux's lil' helper


Joined: 05 Nov 2002
Posts: 86
Location: London, UK

PostPosted: Wed Jan 08, 2003 9:26 pm    Post subject: Reply with quote

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


Joined: 25 Jun 2002
Posts: 228
Location: Trondheim, Norway

PostPosted: Thu Jan 09, 2003 7:59 am    Post subject: Reply with quote

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
View user's profile Send private message
mickywicky
Tux's lil' helper
Tux's lil' helper


Joined: 05 Nov 2002
Posts: 86
Location: London, UK

PostPosted: Thu Jan 09, 2003 2:17 pm    Post subject: Reply with quote

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