[PlanetCCRMA] Re: PlanetCCRMA/NVidia

Matt Barber brbrofsvl@gmail.com
Thu May 31 12:47:02 2007


------=_Part_21910_13799095.1180640797775
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Hello,

Sure thing, glad it was helpful.

Matt


> --__--__--
>
> Message: 5
> Date: Thu, 31 May 2007 20:50:51 +0200
> From: Louis van Dompselaar <louis@dompselaar.org>
> To: planetccrma@ccrma.Stanford.EDU
> Subject: [PlanetCCRMA] PlanetCCRMA/NVidia
>
> This is a multi-part message in MIME format.
> --------------090503030300080602010107
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
> Content-Transfer-Encoding: 7bit
>
> I'd like to thank Matt again for the instructions below.  I only now came
> to
> trying them and finally got kmod-nvidia-legacy to work on ccrma/fc6!
>
>
> Matt Barber <mailto:brbrofsvl%40gmail.com>
> /Sun May 20 13:09:03 2007/
> ------------------------------------------------------------------------
>
> You have to hack the spec file, and there are only a couple of things that
> need to be changed for nvidia --
>
> substitute your current ccrma kernel name  ( output of  uname -r )  for
> the
> fedora kernel in kversion definition.  Mine looks like this:
>
> %{!?kversion: %define kversion 2.6.21-0143.rt1.3.fc6.ccrmart}
>
>
> in the kvariants definition line, remove all of the variants except
> %{?upvar}  --  since you're not building variants for a xen kernel
> (etc...).
>
> my line looks like this:
>
> %{!?kvariants: %define kvariants %{?upvar}}
>
> I usually delete all the corresponding preceding definitions as well,
> leaving only
>
> %define upvar ""
>
>
> write it, and then
>
> rpmbuild -ba --target i686 nvidia-kmod.spec
>
> (this will make both the module and a .src.rpm for you to use later if you
> wish)
>
>
>
> --------------090503030300080602010107
> Content-Type: text/html; charset=ISO-8859-1
> Content-Transfer-Encoding: 7bit
>
> <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
> <html>
> <head>
> </head>
> <body bgcolor="#ffffff" text="#000000">
> I'd like to thank Matt again for the instructions below.&nbsp; I only now
> came to<br>
> trying them and finally got kmod-nvidia-legacy to work on ccrma/fc6!<br>
> <br>
> <br>
> Matt Barber<a href="mailto:brbrofsvl%40gmail.com"
> title="[PlanetCCRMA] kmod-ntfs"></a><br>
> <i>Sun May 20 13:09:03 2007</i>
> <hr><!--beginarticle-->
> <pre>You have to hack the spec file, and there are only a couple of things
> that
> need to be changed for nvidia --
>
> substitute your current ccrma kernel name  ( output of  uname -r )  for
> the
> fedora kernel in kversion definition.  Mine looks like this:
>
> %{!?kversion: %define kversion 2.6.21-0143.rt1.3.fc6.ccrmart}
>
>
> in the kvariants definition line, remove all of the variants except
> %{?upvar}  --  since you're not building variants for a xen kernel
> (etc...).
>
> my line looks like this:
>
> %{!?kvariants: %define kvariants %{?upvar}}
>
> I usually delete all the corresponding preceding definitions as well,
> leaving only
>
> %define upvar ""
>
>
> write it, and then
>
> rpmbuild -ba --target i686 nvidia-kmod.spec
>
> (this will make both the module and a .src.rpm for you to use later if you
> wish)</pre>
> <br>
> </body>
> </html>
>
> --------------090503030300080602010107--
>
>
>
> --__--__--
>
> _______________________________________________
> PlanetCCRMA mailing list
> PlanetCCRMA@ccrma.stanford.edu
> http://ccrma-mail.stanford.edu/mailman/listinfo/planetccrma
>
>
> End of PlanetCCRMA Digest
>

------=_Part_21910_13799095.1180640797775
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Hello,<br><br>Sure thing, glad it was helpful.<br><br>Matt<br><br><div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>--__--__--<br><br>
Message: 5<br>Date: Thu, 31 May 2007 20:50:51 +0200<br>From: Louis van Dompselaar &lt;<a href="mailto:louis@dompselaar.org">louis@dompselaar.org</a>&gt;<br>To: <a href="mailto:planetccrma@ccrma.Stanford.EDU">planetccrma@ccrma.Stanford.EDU
</a><br>Subject: [PlanetCCRMA] PlanetCCRMA/NVidia<br><br>This is a multi-part message in MIME format.<br>--------------090503030300080602010107<br>Content-Type: text/plain; charset=ISO-8859-1; format=flowed<br>Content-Transfer-Encoding: 7bit
<br><br>I&#39;d like to thank Matt again for the instructions below.&nbsp;&nbsp;I only now came to<br>trying them and finally got kmod-nvidia-legacy to work on ccrma/fc6!<br><br><br>Matt Barber &lt;mailto:<a href="mailto:brbrofsvl%40gmail.com">
brbrofsvl%40gmail.com</a>&gt;<br>/Sun May 20 13:09:03 2007/<br>------------------------------------------------------------------------<br><br>You have to hack the spec file, and there are only a couple of things that<br>
need to be changed for nvidia --<br><br>substitute your current ccrma kernel name&nbsp;&nbsp;( output of&nbsp;&nbsp;uname -r )&nbsp;&nbsp;for the<br>fedora kernel in kversion definition.&nbsp;&nbsp;Mine looks like this:<br><br>%{!?kversion: %define kversion 2.6.21-0143.rt1.3.fc6.ccrmart
}<br><br><br>in the kvariants definition line, remove all of the variants except<br>%{?upvar}&nbsp;&nbsp;--&nbsp;&nbsp;since you&#39;re not building variants for a xen kernel (etc...).<br><br>my line looks like this:<br><br>%{!?kvariants: %define kvariants %{?upvar}}
<br><br>I usually delete all the corresponding preceding definitions as well,<br>leaving only<br><br>%define upvar &quot;&quot;<br><br><br>write it, and then<br><br>rpmbuild -ba --target i686 nvidia-kmod.spec<br><br>(this will make both the module and a .src.rpm for you to use later if you
<br>wish)<br><br><br><br>--------------090503030300080602010107<br>Content-Type: text/html; charset=ISO-8859-1<br>Content-Transfer-Encoding: 7bit<br><br>&lt;!DOCTYPE html PUBLIC &quot;-//W3C//DTD HTML 4.01 Transitional//EN&quot;&gt;
<br>&lt;html&gt;<br>&lt;head&gt;<br>&lt;/head&gt;<br>&lt;body bgcolor=&quot;#ffffff&quot; text=&quot;#000000&quot;&gt;<br>I&#39;d like to thank Matt again for the instructions below.&amp;nbsp; I only now<br>came to&lt;br&gt;
<br>trying them and finally got kmod-nvidia-legacy to work on ccrma/fc6!&lt;br&gt;<br>&lt;br&gt;<br>&lt;br&gt;<br>Matt Barber&lt;a href=&quot;mailto:<a href="mailto:brbrofsvl%40gmail.com">brbrofsvl%40gmail.com</a>&quot;<br>
 title=&quot;[PlanetCCRMA] kmod-ntfs&quot;&gt;&lt;/a&gt;&lt;br&gt;<br>&lt;i&gt;Sun May 20 13:09:03 2007&lt;/i&gt;<br>&lt;hr&gt;&lt;!--beginarticle--&gt;<br>&lt;pre&gt;You have to hack the spec file, and there are only a couple of things that
<br>need to be changed for nvidia --<br><br>substitute your current ccrma kernel name&nbsp;&nbsp;( output of&nbsp;&nbsp;uname -r )&nbsp;&nbsp;for the<br>fedora kernel in kversion definition.&nbsp;&nbsp;Mine looks like this:<br><br>%{!?kversion: %define kversion 
2.6.21-0143.rt1.3.fc6.ccrmart}<br><br><br>in the kvariants definition line, remove all of the variants except<br>%{?upvar}&nbsp;&nbsp;--&nbsp;&nbsp;since you&#39;re not building variants for a xen kernel (etc...).<br><br>my line looks like this:
<br><br>%{!?kvariants: %define kvariants %{?upvar}}<br><br>I usually delete all the corresponding preceding definitions as well,<br>leaving only<br><br>%define upvar &quot;&quot;<br><br><br>write it, and then<br><br>rpmbuild -ba --target i686 
nvidia-kmod.spec<br><br>(this will make both the module and a .src.rpm for you to use later if you<br>wish)&lt;/pre&gt;<br>&lt;br&gt;<br>&lt;/body&gt;<br>&lt;/html&gt;<br><br>--------------090503030300080602010107--<br><br>
<br><br>--__--__--<br><br>_______________________________________________<br>PlanetCCRMA mailing list<br><a href="mailto:PlanetCCRMA@ccrma.stanford.edu">PlanetCCRMA@ccrma.stanford.edu</a><br><a href="http://ccrma-mail.stanford.edu/mailman/listinfo/planetccrma">
http://ccrma-mail.stanford.edu/mailman/listinfo/planetccrma</a><br><br><br>End of PlanetCCRMA Digest<br></blockquote></div><br>

------=_Part_21910_13799095.1180640797775--