All of lore.kernel.org
 help / color / mirror / Atom feed
From: Josu Lazkano <josu.lazkano@gmail.com>
To: Torfinn Ingolfsen <tingox@gmail.com>
Cc: linux-media@vger.kernel.org
Subject: Re: dvb lock patch
Date: Sat, 21 Apr 2012 14:18:29 +0200	[thread overview]
Message-ID: <CAL9G6WVeXD99FOVNLJ+CVjPEiKrH9dNijM6Rb-G2uz8v_v_j-Q@mail.gmail.com> (raw)
In-Reply-To: <CAJ_iqtbVzU9zg_ERvhrbVr1vdgXXhyxJYdAmT0F1h_2ixP-==Q@mail.gmail.com>

2012/4/20 Torfinn Ingolfsen <tingox@gmail.com>:
> 2012/4/18 Josu Lazkano <josu.lazkano@gmail.com>:
>> El día 18 de abril de 2012 21:19, Mauro Carvalho Chehab
>> <mchehab@redhat.com> escribió:
>>> Em 18-04-2012 15:58, Ezequiel García escreveu:
>>>> Josu,
>>>>
>>>> On Tue, Apr 17, 2012 at 10:30 AM, Josu Lazkano <josu.lazkano@gmail.com> wrote:
>>>>> 2012/3/24 Mauro Carvalho Chehab <mchehab@redhat.com>:
>>>> [snip]
>>>>>>
>>>>>> That doesn't sound right to me, and can actually cause race issues.
>>>>>>
>>>>>> Regards,
>>>>>> Mauro.
>>>>>
>>>>> Thanks for the patch Mauro.
>>>>>
>>>>
>>>> I think Mauro is *not* giving you a patch, rather the opposite:
>>>> pointing out that the patch can
>>>> cause problems!
>>>
>>> Yes. The driver will be unreliable with a patch like that, due to
>>> race conditions.
>>>
>>>> Regards,
>>>> Ezequiel.
>>>
>>> Regards,
>>> Mauro.
>>
>> Thanks anyway.
>>
>> I am looking for a solution to use virtual adapters on MythTV to use
>> my satellite provider card on two machines.
>> With 2.6.32 kernel is working great, but there is no way to work with
>> 3.x kernel.
>>
>> Is anyone using sasc-ng with latest kernel?
>>
>
> Would kernel 3.0.0.15 do?
> If so, descriptions on how I did it here:
> http://sites.google.com/site/tingox/digitaltv_sascng
> http://sites.google.com/site/tingox/asrock_e350m1_xubuntu
>
> Note: these are my work notes, not a how-to!
>
> As you can see, I'm using this patch:
> http://kipdola.be/subdomain/linux-2.6.38-dvb-mutex.patch
>
> It seems to work for me (had it running with Kaffeine on encrypted
> channesl for two weeks in a row)
>
> HTH
> --
> Regards,
> Torfinn Ingolfsen
> --
> To unsubscribe from this list: send the line "unsubscribe linux-media" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html

Thanks Torfinn!

I get it working with modules compilation, that great!

apt-get install linux-source-3.2
cd /usr/src/
tar -xjvf linux-source-3.2.tar.bz2
cd linux-source-3.2/
wget http://kipdola.be/subdomain/linux-2.6.38-dvb-mutex.patch
patch -p1 linux-2.6.38-dvb-mutex.patch (I must do it manually, maybe
for the kernel version)
cp /boot/config-3.2.0-2-686-pae .config
cp ../linux-headers-3.2.0-2-686-pae/Module.symvers .
make oldconfig
make prepare
make scripts
make modules SUBDIRS=drivers/media/dvb/
cp drivers/media/dvb/dvb-core/dvb-core.ko
/lib/modules/3.2.0-2-686-pae/kernel/drivers/media/dvb/dvb-core/
(reboot)

I am not software developer and I have no idea what means "race
conditions", is this sasc-ng or linux driver "problem"?

It will be great to fix it and not patch the driver anymore, but I am
happy with this solution (module compilation).

Thanks and best regards.

-- 
Josu Lazkano

  reply	other threads:[~2012-04-21 12:18 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-04 20:49 dvb lock patch Josu Lazkano
     [not found] ` <4f6ca10f.e503b40a.4448.ffffc0feSMTPIN_ADDED@mx.google.com>
2012-03-23 16:15   ` Josu Lazkano
2012-03-24 14:32 ` Mauro Carvalho Chehab
2012-04-17 13:30   ` Josu Lazkano
2012-04-18 18:58     ` Ezequiel García
2012-04-18 19:19       ` Mauro Carvalho Chehab
2012-04-18 20:13         ` Josu Lazkano
2012-04-19 22:39           ` Torfinn Ingolfsen
2012-04-21 12:18             ` Josu Lazkano [this message]
2012-04-23 11:01               ` Torfinn Ingolfsen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAL9G6WVeXD99FOVNLJ+CVjPEiKrH9dNijM6Rb-G2uz8v_v_j-Q@mail.gmail.com \
    --to=josu.lazkano@gmail.com \
    --cc=linux-media@vger.kernel.org \
    --cc=tingox@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.