Re: [LAU] suspending with realtime kernel

From: Robin Gareus <robin@email-addr-hidden>
Date: Sun Apr 19 2009 - 21:05:04 EEST

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Robert Persson wrote:
> Raffaele a écrit :
>> Did you try to compile kernel 2.6.29.1 with patch-2.6.29.1-rt7?

I had some hickups (X11 hanging) with -rt7. that did not [yet] occur
under -rt8. The changelog contains a note about fixing an
hrtimer deadlock. I'm not sure if that's correlated, but it looks like it.

>> As on every debian based distro it is very easy to compile a
>> customized kernel using kernel-package.
> Thanks Raffaele, and everyone, for your responses.
>
> I have built a 2.6.29.1-rt7 kernel. I had to do it the old-fashioned way
> because I found the instructions for kernel-package incomprehensible
> unfortunately, and I couldn't work out how to make an initrd, so it took
> a bit of guesswork to build in the right drivers to make it boot.

On debian based distro's - instead of doing a `make bzImage` just call
 `make-kpkg kernel_image` and you'll find a *deb in the parent folder
afterwards. My work-flow looks like this:

#manually untar/patch & configure
VERSION=2.6.29.1-rt8
cd /usr/src/linux-$VERSION/
CONCURRENCY_LEVEL=4 nice make-kpkg kernel_image
dpkg -i ../linux-image-${VERSION}*Custom*.deb
m-a -l $VERSION a-i sl-modem tp-smapi kqemu
update-initramfs -k $VERSION -c
update-grub
reboot

That makes it fairly easy to keep track and cleanly remove old kernels,
since they're .deb packages.

> But I
> do at least now have a kernel that works for normal operation, including
> suspend and resume.
enjoy,
robin

> I haven't tested it yet for realtime work, but I
> doubt there will be any hiccups that can't be easily fixed.
>
> So as I said, many thanks :)
> Robert

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAknrZ9AACgkQeVUk8U+VK0LAbgCeI1HRKaqV2FJG/oFMMFi4MDHy
F6oAnAl08hofr7Z5N6roVeOpLqQ5Y0Lv
=wkmn
-----END PGP SIGNATURE-----
_______________________________________________
Linux-audio-user mailing list
Linux-audio-user@lists.linuxaudio.org
http://lists.linuxaudio.org/mailman/listinfo/linux-audio-user
Received on Sun Apr 19 23:09:02 2009

This archive was generated by hypermail 2.1.8 : Sun Apr 19 2009 - 23:09:02 EEST