[mythtv-users] kernel 2.6.11from atrpms and cx88-dvb

David Watkins watkinshome at gmail.com
Thu Jun 16 07:48:03 UTC 2005


> 
> Hi David,
> 
>      I got mine working on 2.6.11-1.14_FC3 but only by compiling the kernel
> with custom options.
>     Instructions I wrote for posterity as I did it below.  You will need to
> change kernel version and architecture targets obviously as appropriate.
> 
>      As far as sound goes it worked out of the box for me with both 2.6.11
> and 2.6.10 so I cant help you there.
> 
> Get hold of the Kernel Source:
> cd /usr/src
> uname -rm   (to view kernel version)
> ftp download.fedora.redhat.com
> cd /pub/fedora/linux/core/updates/3/SRPMS
> get kernel-2.6.11-1.14_FC3.src.rpm                     (or whatever matches
> the kernel)
> (note non-responsive whilst downloading)
> quit
> 
> Install build tools if necessary:
> apt-get install rpm-build
> apt-get install gcc      (takes a long time for some reason)
> apt-get install redhat-rpm-config
> apt-get install ncurses-devel
> 
> Unpack Kernel Source:
> rpm -ivh kernel-2.6.11-1.14_FC3.src.rpm
> cd /usr/src
> ln -s redhat/BUILD/kernel-2.6.11/linux-2.6.11/ linux
> ln -s redhat/BUILD/kernel-2.6.11/linux-2.6.11/ linux-2.6.11
> cd /usr/src/redhat/SPECS
> rpmbuild -bp --target=i686 kernel-2.6.spec
> 
> Patch and Build Kernel:
> cd /usr/src/linux
> make mrproper
> cp configs/kernel-2.6.11-i686-smp.config .config
> make oldconfig
> vi Makefile and change ExtraVersion to -dvb
> 
> Download  All-2.6.11.diff.gz  from  dl.bytesex.org/patches/2.6.11-2/
> patch -p1 .config All-2.6.11.diff.gz
> 
> make menuconfig
> Device Drivers -> Multimedia Devices -> DVB Devices -> Customise DVB
> Frontends
> Enable all DVB-T frontends
> Device Drivers -> Multimedia Devices -> Video of Linux
> Enable all modules
> make
> make modules_install
> make install
> vi /boot/grub/grub.conf (change default boot image, probably to 0 )
> reboot
> 
> Might need to comment out refs to dbv_blackbird in /lib/modules/2.6.11-dvb/
> modules.alias, modules.pcimap if cx88_blackbird loads rather than cx88_dvb
> 
> _______________________________________________


Thanks for the reply Dave.  If I have to go down the compile route
then your instructions look invaluable.  It's just sad that the atrpms
rpm package for 2.6.10 worked so well for me, but the 2.6.11 one
doesn't.

Never mind, I've always meant to learn how to compile a kernel!


More information about the mythtv-users mailing list