On Mon, 2011-05-16 at 21:09 +0200, Ramon Hofer wrote:
> Thank you again Andy
> 
> 
> On 05/15/2011 10:31 PM, Andy Walls wrote: 
> > On Sun, 2011-05-15 at 14:48 +0200, Ramon Hofer wrote:
> > > Hi list
> > > 
> > > I have a WinTV PVR 500 and the "ivtv0: DMA TIMEOUT" problem which I'm 
> > > trying to solve for several months now.
> > > After reading through wikis, forum and mailing posts but I'm still not 
> > > sure where the problem could be.
> > Here's the fix:
> > 
> > http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=d213ad08362909ab50fbd6568fcc9fd568268d29
> > 
> > I'm not sure what kernel version it went into, but it is certainly not
> > in kernel v2.6.32.
> 
> I don't want to do anything wrong so I'd like to ask if this is
> correct to patch kernel version 2.6.32-5-amd64:
> I found this Debian kernel handbook:
> http://kernel-handbook.alioth.debian.org/ch-common-tasks.html
> 
> # apt-get install linux-source-2.6.32
> $ cd ~/System
> $ tar jxf /usr/src/linux-source-2.6.32.tar.bz2
> 
> But when I try to apply the patch I get the following:
> $ patch -p1 < ivtv.patch
> patching file drivers/media/video/ivtv/ivtv-irq.c
> Hunk #1 FAILED at 628.
> 1 out of 1 hunk FAILED -- saving rejects to file
> drivers/media/video/ivtv/ivtv-irq.c.rej

Hi Ramon,

The entire patch failed to be applied.  The patch was made against a
kernel more recent than the 2.6.32 version you are using, and the file
ivtv-irq.c is too different.

You have a few choices:

1. Adapt the patch by hand applying the needed changes to the ivtv-irq.c
source code file in your old kernel version (2.6.32).  Then compile the
kernel and modules and install the ivtv driver module.

or

2. Upgrade to at least kernel version 2.6.37.4.  This seems to be the
earliest "stable" kernel to which the patch has been backported and
officially released.

http://www.kernel.org/pub/linux/kernel/v2.6/ChangeLog-2.6.37.4

You shouldn't need to patch the kernel or build the kernel, if debian
provides a 2.6.37.4 kernel image package for you.

or

3. Build the bleeding edge v4l-dvb drivers against your kernl and
install them. There are no guarantees on this working well for any
particular kernel version:

http://www.linuxtv.org/wiki/index.php/How_to_Obtain,_Build_and_Install_V4L-DVB_Device_Drivers


I will not recommend #3 for you, unless you are *very* comfortable with
building modules from source and dealing with build failures.


Regards,
Andy


_______________________________________________
ivtv-users mailing list
[email protected]
http://ivtvdriver.org/mailman/listinfo/ivtv-users

Reply via email to