Failed to compile latest rt kernel

Asmo Koskinen asmo.koskinen at arkki.info
Fri Jun 19 00:07:52 BST 2009


Susan Cragin kirjoitti:

> linux-image-2.6.29.5-rt21-custom-10.00.Custom_i386.deb
> 
> However, when I tried to install the package didn't work. It gave me the following error message:
> 
> dpkg: unable to read filedescriptor flags for <package status and progress file
> descriptor>: Bad file descriptor
> 
> Ideas?

studio at ubuntu-studio:~$ uname -a
Linux ubuntu-studio 2.6.29.5-rt21 #1 SMP PREEMPT RT Fri Jun 19 00:25:54 
EEST 2009 x86_64 GNU/Linux


Here are my steps. Hope this helps somehow.


sudo -s

cd /usr/src

wget 
http://www.kernel.org/pub/linux/kernel/projects/rt/patch-2.6.29.5-rt21.bz2

wget http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.29.5.tar.bz2

tar xjf linux-2.6.29.5.tar.bz2

rm linux

ln -s linux-2.6.29.5 linux

cd /usr/src/linux

bzip2 -dc /usr/src/patch-2.6.29.5-rt21.bz2 | patch -p1 --dry-run

bzip2 -dc /usr/src/patch-2.6.29.5-rt21.bz2 | patch -p1

cp /boot/config-`uname -r` .config

make menuconfig

make-kpkg clean

make-kpkg modules_clean

make-kpkg --revision 1 --initrd kernel_image kernel_headers modules_image

cd ..

ls

linux-headers-2.6.29.5-rt21_1_amd64.deb
linux-image-2.6.29.5-rt21_1_amd64.deb

dpkg *rt21*.deb


I started jackd+hydrogen, it was ok.

Best Regards Asmo Koskinen.



More information about the Ubuntu-Studio-users mailing list