[ATrpms-devel] Modules for kernel 2.6.27.12-170.2.5.fc10
Paulo Cavalcanti
promac at gmail.com
Fri Jan 30 13:13:16 CET 2009
On Fri, Jan 30, 2009 at 9:34 AM, Axel Thimm <Axel.Thimm at atrpms.net> wrote:
> Hi,
>
> On Fri, Jan 30, 2009 at 08:54:43AM -0200, Paulo Cavalcanti wrote:
> > On Fri, Jan 30, 2009 at 6:23 AM, Axel Thimm <Axel.Thimm at atrpms.net>
> wrote:
> > > On Wed, Jan 28, 2009 at 11:19:55AM -0200, Paulo Cavalcanti wrote:
> > > > nvidia and video4linux built fine.
> > > >
> > > > alsa was the problem. I had to remove all this
> > > > stuff for compiling it:
>
> > I cleaned everything. I should have attached the spec file (I am doing
> now).
> >
> > This alsa package is very important, because our friends from Fedora
> > went back to 1.0.17 in this kernel.
> >
> > I will never understand this people...
>
> Indeed there is a changlog line that says
> * Wed Jan 21 2009 Chuck Ebbert <cebbert at redhat.com> 2.6.27.12-170.2.3
> - Revert ALSA to what is upstream in 2.6.27.
>
There is a script in alsa-utils that dumps, among other things,
alsa-lib and driver versions:
/usr/bin/alsa-info.sh --no-upload
Using the no-upload option writes a file in /tmp (otherwise it is uploaded
to alsa site).
>
> I'm sure there are reasons for doing so. The nice thing about kmdls is
> that you can optionally install them or not, so people with issues
> with alsa 1.0.19 can simply use the one in the kernel package.
>
I think the reason is that they went to 1.0.18 without testing enough,
and now they are afraid of doing the same mistake again.
But alsa-1.0.19 is just fine, and I do not like regressions.
>
> Anyway the specfile needed some tweaking for RHEL5 and RHEL4
> support. The %prep section looks like this now:
>
> %prep
> %setup -q
> %patch1 -p1 -b .log2
> %patch5 -p1 -b .strict_strtoul
> perl -pi -e's,(typedef _Bool bool;),/* $1 */,' include/adriver.h
> perl -pi -e's|KERNEL_VERSION\(2, 6, 19\)|KERNEL_VERSION(2, 6, 9)|'
> usb/usbcompat.h
> perl -pi -e's|KERNEL_VERSION\(2, 6, 21\)|KERNEL_VERSION(2, 6, 9)|'
> usb/usbcompat.h
>
> grep -rl '#include <linux/config.h>' . | xargs perl -pi -e's,#include
> <linux/config.h>,#include <linux/autoconf.h>,'
>
>
It is much cleaner now.
Thanks.
--
Paulo Roma Cavalcanti
LCG - UFRJ
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.atrpms.net/pipermail/atrpms-devel/attachments/20090130/e355f483/attachment-0001.html
More information about the atrpms-devel
mailing list