Re: [Alsa-devel] Re: 2.6.15-rt20, "bad page state",jackd (alsa 1.0.10 vs. recent kernels)

From: Fernando Lopez-Lezcano
Date: Mon Mar 13 2006 - 12:32:01 EST


On Mon, 2006-03-13 at 12:05 +0100, Takashi Iwai wrote:
> At Sun, 12 Mar 2006 22:53:41 -0500,
> Lee Revell wrote:
> > On Sun, 2006-03-12 at 19:39 -0800, Fernando Lopez-Lezcano wrote:
> > > On Sun, 2006-03-12 at 22:31 -0500, Lee Revell wrote:
> > >
> > > > Older ALSA with a newer kernel has never been supported. Why would you
> > > > want to replace the ALSA in the kernel with an old version?
> > >
> > > Because it is not an older version?
> > > "cat /proc/asound/version" for the 2.6.15 in kernel tree prints this:
> > > Advanced Linux Sound Architecture Driver Version 1.0.10rc3
> > > That should be older than 1.0.10 final.
> >
> > Ah, sorry. Then you're right, this patch must have slipped through the
> > cracks.
>
> Well, ALSA 1.0.10-final was already released in last November,
> i.e. before 2.6.15. When 2.6.15 was released, we had ALSA 1.0.11rc2.

I understand. Still, 2.6.15 has 1.0.10rc3 and current alsa "stable" does
not work out of the box with it (at least for some of the cards and in
my tests - hmmm, maybe this only happens when running with the -rt
patches?).

There's one additional tiny patch needed in alsa 1.0.10 if you want
snd-rtctimer to be detected by configure and subsequently built under
2.6.15+:

========
alsa-driver-1.0.10/configure~ 2005-11-16 09:41:17.000000000 -0500
+++ alsa-driver-1.0.10/configure 2006-03-06 20:48:03.152744160 -0500
@@ -8260,7 +8260,7 @@
echo "$as_me:$LINENO: checking for RTC callback support in kernel" >&5
echo $ECHO_N "checking for RTC callback support in kernel... $ECHO_C"
>&6
rtcsup=""
-if test "$kversion.$kpatchlevel" = "2.6" -a "$kpatchlevel" -ge 15; then
+if test "$kversion.$kpatchlevel" = "2.6" -a "$ksublevel" -ge 15; then
ac_save_CFLAGS="$CFLAGS"
ac_save_CC=$CC
CFLAGS="$KERNEL_CHECK_CFLAGS"
========

-- Fernando


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/