Re: cx8802.ko module not being built with current HG tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,
    I don't have yet the buggy config, but the steps I was following
when I encounter the problem were the following:
        · hg clone http://linuxtv.org/hg/v4l-dvb
        · cd v4l-dvb
        · make menuconfig
          (I mostly uncheck here most of the modules, as I really was
needing only to compile the support for Nova-T 500 and an HVR-3000. I
just leave "as is" (checked as M by default) all the SAA7134 and
derived options).
        · make && make install

Best regards,
  Eduard

PS: I suspect that "make allmodconfig" (which I didn't even  know it
existed...) makes a difference here, because it will mark CX88_MPEG as
'M', if I understand it well. I wasn't using it, so maybe this
explains why the option was hiddenly marked as 'Y' instead of 'M'.





2009/2/10 Mauro Carvalho Chehab <mchehab@xxxxxxxxxxxxx>:
> On Thu, 5 Feb 2009 16:59:16 +0100
> Eduard Huguet <eduardhc@xxxxxxxxx> wrote:
>
>> Hi,
>>   Maybe I'm wrong, but I think there is something wrong in current
>> Kconfig file for cx88 drivers. I've been struggling for some hours
>> trying to find why, after compiling a fresh copy of the LinuxTV HG
>> drivers, I wasn't unable to modprobe cx88-dvb module, which I need for
>> HVR-3000.
>>
>> The module was not being load because kernel was failing to find
>> cx8802_get_driver, etc... entry points, which are exported by
>> cx88-mpeg.c.
>>
>> The strange part is that, according to the cx88/Kconfig file this file
>> should be automatically added as dependency if either CX88_DVB or
>> CX88_BLACKBIRD were selected,
>> but for some strange reason it wasn't.
>>
>> After a 'make menuconfig' in HG tree the kernel configuration
>> contained these lines (this was using the default config, without
>> adding / removing anything):
>> CONFIG_VIDEO_CX88=m
>> CONFIG_VIDEO_CX88_ALSA=m
>> CONFIG_VIDEO_CX88_BLACKBIRD=m
>> CONFIG_VIDEO_CX88_DVB=m
>> CONFIG_VIDEO_CX88_MPEG=y
>> CONFIG_VIDEO_CX88_VP3054=m
>>
>> Notice that they are all marked as 'm' excepting
>> CONFIG_VIDEO_CX88_MPEG, which is marked as 'y'. I don't know if it's
>> relevant or not, but the fact is that the module was not being
>> compiled at all. The option was not visible inside menuconfig, by the
>> way.
>>
>> I've done some changes inside Kconfig to make it visible in
>> menuconfig, and by doing this I've been able to set it to 'm' and
>> rebuild, which has just worked apparently.
>>
>> This Kconfig file was edited in revisions 10190 & 10191, precisely for
>> reasons related to cx8802 dependencies, so I'm not sure the solution
>> taken there was the right one.
>>
>> Best regards,
>>  Eduard Huguet
>
> Eduard,
>
> I suspect that this is some bug on the out-of-tree build. In order to test it,
> I've tried to reproduce what I think you did.
>
> So, I ran the following procedures over the devel branch on my -git tree:
>
> make allmodconfig (to select everything as 'm')
> I manually unselect all drivers at the tree, keeping only CX88 and submodules.
> All CX88 submodules as "M".
>
> I've repeated the procedure, this time starting with make allyesconfig.
>
> On both cases, I got those configs:
>
> CONFIG_VIDEO_CX88=m
> CONFIG_VIDEO_CX88_ALSA=m
> CONFIG_VIDEO_CX88_BLACKBIRD=m
> CONFIG_VIDEO_CX88_DVB=m
> CONFIG_VIDEO_CX88_MPEG=m
> CONFIG_VIDEO_CX88_VP3054=m
>
> My -git tree were updated up to this changeset:
>
> commit 67e70baf043cfdcdaf5972bc94be82632071536b
> Author: Devin Heitmueller <dheitmueller@xxxxxxxxxxx>
> Date:   Mon Jan 26 03:07:59 2009 -0300
>
>    V4L/DVB (10411): s5h1409: Perform s5h1409 soft reset after tuning
>
>
> I tried also reproduce the bug you've mentioned at the v4l-dvb tree, but
> unfortunately, I couldn't (the .config file is attached). I got exactly the
> same result as compiling in-kernel.
>
> Could you please send us your buggy .config?
>
> Cheers,
> Mauro
>
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux