Hi.

I'm new to p:d and in the process of setting it up on my
i686-laptop.
I also had problems with the rt-kernel and nvidia-source.
Recently solved them by performing the following steps:

* dead symlink corrected (pointed to nonexisting asm-i386)
  # cd /usr/src/linux-headers-2.6.24.7-rt21-pure-686/include/
  # ln -sf asm-x86 asm

* symlinked missing headers (quick and dirty)
  # cd /usr/src/linux-headers-2.6.24.7-rt21-pure-686/include/
  # ln -s asm-x86/mach-default/* .

* patched nvidia-source (with 2 long commandlines)
  (taken from <http://forums.debian.net/viewtopic.php?t=17035&start=60>)

  # sed -i '/__SEMAPHORE_INITIALIZER/ 
s/__SEMAPHORE_INITIALIZER/__COMPAT_SEMAPHORE_INITIALIZER/' 
/usr/src/modules/nvidia-kernel/nv-linux.h

  # sed -i '/struct semaphore/ s/struct semaphore/struct compat_semaphore/' 
/usr/src/modules/nvidia-kernel/nv-linux.h

* built kernel-module without unpacking (otherwise patches to nv-linux.h
  would be overwritten)
  # m-a -t --not-unpack build nvidia

* and finally installed it
  # m-a -t install nvidia


-frank


krgn wrote:
> hey pat,
>
> we've been chatting in the p:d channel earlier... something is wrong
> with m-a and the header/source packages for this kernel. it can't find
> certain headers. I havn't found a cure for it yet. also, on my desktop
> install, where I don't have this problem with missing headers neither
> nvidia-kernel-source nor the legacy version compile successfully, this
> time with another error. when I try to download the driver for your card
> I can't find it in their list, which is what you indicated in the
> chat...hmmm.
>
> I'll dig deeper into the general problem. if want to you could try and
> find out which version of the driver packges from nvidia you should use
> and let me know, then I try and build them too.
>
> best,
>
> karsten
>
> On Mon, Nov 3, 2008 at 11:26 AM, <[EMAIL PROTECTED]
> <mailto:[EMAIL PROTECTED]>> wrote:
>
>     hi all,
>
>     i've installed debian lenny and then apt-get install puredyne. then,
>     installed the realtime kernel 2.6.24.7-rt21-pure-686.
>
>     i have a macbookpro, how can i use the nvidia driver? i tried:
>     modules-assistant auto-install nvidia-kernel - but it doesn't compile.
>
>     anyone using the realtime kernel with nvidia?
>     pat
>
>
>
>     ---
>     [email protected] <mailto:[email protected]>
>     irc.goto10.org <http://irc.goto10.org> #pure:dyne
>
>
>
>
> --
> ( c * k ) ^ g
>
>
> ------------------------------------------------------------------------
>
> ---
> [email protected]
> irc.goto10.org #pure:dyne





---
[email protected]
irc.goto10.org #pure:dyne

Reply via email to