From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from nf-out-0910.google.com ([64.233.182.186]) by www.linuxtv.org with esmtp (Exim 4.63) (envelope-from ) id 1KNoM3-0000IW-En for linux-dvb@linuxtv.org; Tue, 29 Jul 2008 14:31:05 +0200 Received: by nf-out-0910.google.com with SMTP id g13so3237746nfb.11 for ; Tue, 29 Jul 2008 05:30:59 -0700 (PDT) Message-ID: <488F0D80.7010607@gmail.com> Date: Tue, 29 Jul 2008 15:30:56 +0300 From: =?ISO-8859-1?Q?Mika_B=E5tsman?= MIME-Version: 1.0 To: Marko Ristola References: <3b52bc790807101342o12f6f879n9c68704cd6b96e22@mail.gmail.com> <4879FA31.2080803@kolumbus.fi> <4A2CCDB3-57B0-4121-A94D-59F985FCDE2B@oberste-berghaus.de> <487BB17D.8080707@kolumbus.fi> <488CAE63.9070204@kolumbus.fi> In-Reply-To: <488CAE63.9070204@kolumbus.fi> Cc: linux-dvb@linuxtv.org Subject: Re: [linux-dvb] TerraTec Cinergy C DVB-C / Twinhan AD-CP400 (VP-2040) & mantis driver List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: multipart/mixed; boundary="===============0247329045==" Mime-version: 1.0 Sender: linux-dvb-bounces@linuxtv.org Errors-To: linux-dvb-bounces+mchehab=infradead.org@linuxtv.org List-ID: --===============0247329045== Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Hi,
I also tried your patch because I've had freezes since I got these cards. Unfortunately it didn't help me. Got a whooping 5min uptime before it all went wrong again. I have 2x Cinergy C + 2.6.24-19 + vdr 1.6.

I did:
hg clone http://jusst.de/hg/mantis
replaced mantis_dma.c with the one you attached, renamed MANTIS_GPIF_RDWRN -> MANTIS_GPIF_HIFRDWRN
make && make install && reboot

Am I missing something? It seemed to compile and install fine.

You said that the mantis_dma.c in jusst.de mantis head is not the latest version. Where can it be found then?

Regards,
Mika Båtsman

Marko Ristola wrote:

Hi,

Unfortunately I have been busy.

The patch you tried was against jusst.de Mantis Mercurial branch head.
Your version of mantis_dma.c is not the latest version and thus the patch didn't
apply cleanly.

Here is the version that I use currently. It doesn't compile straight against jusst.de/mantis head.
It might work for you because MANTIS_GPIF_RDWRN is not renamed as MANTIS_GPIF_HIFRDWRN.

If it doesn't compile please rename MANTIS_GPIF_RDWRN occurrences into MANTIS_GPIF_HIFRDWRN on that file.
Otherwise the file should work as it is.

Best regards,
Marko Ristola

Leif Oberste-Berghaus kirjoitti:
Hi Marko,

I tried to patch the driver but I'm getting an error message:

root@mediapc:/usr/local/src/test/mantis-0b04be0c088a# patch -p1 < mantis_dma.c.aligned_dma_trs.patch
patching file linux/drivers/media/dvb/mantis/mantis_dma.c
patch: **** malformed patch at line 22: int mantis_dma_exit(struct mantis_pci *mantis)

Any ideas?

Regards
Leif


Am 14.07.2008 um 22:05 schrieb Marko Ristola:

Hi Leif,

Here is a patch that implements the mentioned DMA transfer improvements.
I hope that these contain also the needed fix for you.
You can apply it into jusst.de/mantis Mercurial branch.
It modifies linux/drivers/media/dvb/mantis/mantis_dma.c only.
I have compiled the patch against 2.6.25.9-76.fc9.x86_64.

cd mantis
patch -p1 < mantis_dma.c.aligned_dma_trs.patch

Please tell us whether my patch helps you or not: if it helps, some of my patch might get into jusst.de as
a fix for your problem.

Best Regards,
Marko




_______________________________________________ linux-dvb mailing list linux-dvb@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

--===============0247329045== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ linux-dvb mailing list linux-dvb@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb --===============0247329045==--