[PlanetCCRMA] compiling the planetCCRMA kernel

Rich E reakinator@gmail.com
Sun Oct 8 20:07:02 2006


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

The directions linked above, combined with Fernando's suggestion, allows me
to compile
http://ccrma.stanford.edu/planetccrma/mirror/all/linux/SRPMS/kernel-2.6.16-1.2080.16.rrt.src.rpm
with wacom support.

Is there a similar smp kernel source, or do I have to do some editing to the
kernel-spec file? When using this kernel on my P4 2.4 with hyperthreading,
it seems hyperthreading is disabled.

Regards,
Rich

On 8/30/06, Fernando Lopez-Lezcano <nando@ccrma.stanford.edu> wrote:
>
> On Tue, 2006-08-29 at 23:37 -0400, Rich E wrote:
> > Hello,
> >
> > It seems this topic has been discussed a couple times, but I still
> > cannot find any clear directions for recompiling PlanetCCRMA's kernel
> > from source.  This is necessary in my case because the PlanetCCRMA
> > kernel doesn't include the Wacom drivers from the Linux-Wacom project.
> > So (in Fedora) I have to throw in some source files from Linux-Wacom
> > and rebuild..
> >
> > They have some instructions for recompiling Fedora's kernel at
> > http://linuxwacom.sourceforge.net/index.php/howto/debwacomnosrc
> >
> > but this doesn't work for the PlanetCCRMA kernel. I get the sources,
> > rpm -ivh them and do:
> >
> >  rpmbuild -bp --target=i686 /usr/src/redhat/SPECS/kernel.spec
> >  Building target platforms: i686
> >  Building for target i686
> >  error: line 203: Dependency tokens must begin with alpha-numeric, '_'
> > or '/': Prereq: %{kernel_prereq}
>
> When building you have to define a macro according to the distro you
> want to build for (all in one line):
>
> rpmbuild -bp --define "fc5 1"
> --target=i686 /usr/src/redhat/SPECS/kernel.spec
>
> or "fc4 1" for fc4... (I use the same spec file for both distros)
>
> -- Fernando
>
>
> > It would be nice to have this process documented since, as Nando
> > mentions, there are still many patches that aren't included in the
> > PlanetCCRMA package.  I would like to be able to work from this
> > package since it is well developed, but it would be nice to be able to
> > customize things also..
>
>
>

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

The directions linked above, combined with Fernando's suggestion,
allows me to compile
<a href="http://ccrma.stanford.edu/planetccrma/mirror/all/linux/SRPMS/kernel-2.6.16-1.2080.16.rrt.src.rpm">http://ccrma.stanford.edu/planetccrma/mirror/all/linux/SRPMS/kernel-2.6.16-1.2080.16.rrt.src.rpm</a>
<br>
with wacom support. <br>
<br>
Is there a similar smp kernel source, or do I have to do some editing
to the kernel-spec file? When using this kernel on my P4 2.4 with
hyperthreading, it seems hyperthreading is disabled.<br>
<br>
Regards,<br>
Rich<br><br><div><span class="gmail_quote">On 8/30/06, <b class="gmail_sendername">Fernando Lopez-Lezcano</b> &lt;<a href="mailto:nando@ccrma.stanford.edu">nando@ccrma.stanford.edu</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
On Tue, 2006-08-29 at 23:37 -0400, Rich E wrote:<br>&gt; Hello,<br>&gt;<br>&gt; It seems this topic has been discussed a couple times, but I still<br>&gt; cannot find any clear directions for recompiling PlanetCCRMA's kernel
<br>&gt; from source.&nbsp;&nbsp;This is necessary in my case because the PlanetCCRMA<br>&gt; kernel doesn't include the Wacom drivers from the Linux-Wacom project.<br>&gt; So (in Fedora) I have to throw in some source files from Linux-Wacom
<br>&gt; and rebuild..<br>&gt;<br>&gt; They have some instructions for recompiling Fedora's kernel at<br>&gt; <a href="http://linuxwacom.sourceforge.net/index.php/howto/debwacomnosrc">http://linuxwacom.sourceforge.net/index.php/howto/debwacomnosrc
</a><br>&gt;<br>&gt; but this doesn't work for the PlanetCCRMA kernel. I get the sources,<br>&gt; rpm -ivh them and do:<br>&gt;<br>&gt;&nbsp;&nbsp;rpmbuild -bp --target=i686 /usr/src/redhat/SPECS/kernel.spec<br>&gt;&nbsp;&nbsp;Building target platforms: i686
<br>&gt;&nbsp;&nbsp;Building for target i686<br>&gt;&nbsp;&nbsp;error: line 203: Dependency tokens must begin with alpha-numeric, '_'<br>&gt; or '/': Prereq: %{kernel_prereq}<br><br>When building you have to define a macro according to the distro you
<br>want to build for (all in one line):<br><br>rpmbuild -bp --define &quot;fc5 1&quot;<br>--target=i686 /usr/src/redhat/SPECS/kernel.spec<br><br>or &quot;fc4 1&quot; for fc4... (I use the same spec file for both distros)
<br><br>-- Fernando<br><br><br>&gt; It would be nice to have this process documented since, as Nando<br>&gt; mentions, there are still many patches that aren't included in the<br>&gt; PlanetCCRMA package.&nbsp;&nbsp;I would like to be able to work from this
<br>&gt; package since it is well developed, but it would be nice to be able to<br>&gt; customize things also..<br><br><br></blockquote></div><br>

------=_Part_39255_32870534.1160363211871--