All of lore.kernel.org
 help / color / mirror / Atom feed
* Make menuconfig doesn't work anymore
@ 2012-07-10 21:16 Martin Herrman
  2012-07-10 23:01 ` VDR User
  0 siblings, 1 reply; 6+ messages in thread
From: Martin Herrman @ 2012-07-10 21:16 UTC (permalink / raw)
  To: linux-media

All,

I own a Cine CT v6 and compiled drivers for it succesfully using:
-  hg clone http://linuxtv.org/hg/~endriss/media_build_experimental
- cd media_build_experimental
- make download
- make untar
- make menuconfig (only select drivers I need)
- make install
- reboot

This worked succesfully on Ubuntu 11.10, Ubuntu 12.04 and on Gentoo
Linux. After another fresh install of Gentoo Linux (just a couple of
days after the previous one - now with custom compiled kernel), it
doesn't work anymore. The make menuconfig command fails:

htpc media_build_experimental # make menuconfig
make -C /usr/src/media_build_experimental/v4l menuconfig
make[1]: Entering directory `/usr/src/media_build_experimental/v4l'
No version yet, using 3.5.0-rc6
make[1]: Leaving directory `/usr/src/media_build_experimental/v4l'
make[1]: Entering directory `/usr/src/media_build_experimental/v4l'
make -C /lib/modules/3.5.0-rc6/build -f
/usr/src/media_build_experimental/v4l/Makefile.kernel config-targets=1
mixed-targets=0 dot-config=0 SRCDIR=/lib/modules/3.5.0-rc6/source
v4l-mconf
make[2]: Entering directory `/usr/src/linux-3.5-rc6'
  HOSTCC  scripts/basic/fixdep
make -f /lib/modules/3.5.0-rc6/source/scripts/Makefile.build
obj=scripts/kconfig hostprogs-y=mconf scripts/kconfig/mconf
  HOSTCC  scripts/kconfig/lxdialog/checklist.o
  HOSTCC  scripts/kconfig/lxdialog/inputbox.o
  HOSTCC  scripts/kconfig/lxdialog/menubox.o
  HOSTCC  scripts/kconfig/lxdialog/textbox.o
  HOSTCC  scripts/kconfig/lxdialog/util.o
  HOSTCC  scripts/kconfig/lxdialog/yesno.o
  HOSTCC  scripts/kconfig/mconf.o
  SHIPPED scripts/kconfig/zconf.tab.c
  SHIPPED scripts/kconfig/zconf.lex.c
  SHIPPED scripts/kconfig/zconf.hash.c
  HOSTCC  scripts/kconfig/zconf.tab.o
  HOSTLD  scripts/kconfig/mconf
make[2]: Leaving directory `/usr/src/linux-3.5-rc6'
make[2]: Entering directory `/usr/src/media_build_experimental/linux'
Applying patches for kernel 3.5.0-rc6
patch -s -f -N -p1 -i ../backports/api_version.patch
1 out of 1 hunk FAILED -- saving rejects to file
drivers/media/video/v4l2-ioctl.c.rej
make[2]: *** [apply_patches] Error 1
make[2]: Leaving directory `/usr/src/media_build_experimental/linux'
make[1]: *** [Kconfig] Error 2
make[1]: Leaving directory `/usr/src/media_build_experimental/v4l'
make: *** [menuconfig] Error 2

Make menuconfig *does* work when configuring a new kernel. I have also
tried with kernel 3.2.22 and 3.4, but no succes either.

Any ideas what is going wrong?

Thanks in advance!

Martin

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Make menuconfig doesn't work anymore
  2012-07-10 21:16 Make menuconfig doesn't work anymore Martin Herrman
@ 2012-07-10 23:01 ` VDR User
  2012-07-11 21:30   ` Martin Herrman
  0 siblings, 1 reply; 6+ messages in thread
From: VDR User @ 2012-07-10 23:01 UTC (permalink / raw)
  To: Martin Herrman; +Cc: linux-media

On Tue, Jul 10, 2012 at 2:16 PM, Martin Herrman
<martin.herrman@gmail.com> wrote:
> make[2]: Entering directory `/usr/src/media_build_experimental/linux'
> Applying patches for kernel 3.5.0-rc6
> patch -s -f -N -p1 -i ../backports/api_version.patch
> 1 out of 1 hunk FAILED -- saving rejects to file
> drivers/media/video/v4l2-ioctl.c.rej
> make[2]: *** [apply_patches] Error 1
> make[2]: Leaving directory `/usr/src/media_build_experimental/linux'
> make[1]: *** [Kconfig] Error 2
> make[1]: Leaving directory `/usr/src/media_build_experimental/v4l'
> make: *** [menuconfig] Error 2
>
> Make menuconfig *does* work when configuring a new kernel. I have also
> tried with kernel 3.2.22 and 3.4, but no succes either.

Actually I got the exact same error when compiling a new 3.4.4 kernel.

> Any ideas what is going wrong?

I assume the api_version.patch is bad or needs to be updated. I simple
just commented out the "add api_version.patch" line in
backports/backports.txt and crossed my fingers the drivers I use still
worked -- which they did so all is well here (afaik). But, yeah it
does need a proper fix and I only recommend my cheap workaround with a
YMMV warning.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Make menuconfig doesn't work anymore
  2012-07-10 23:01 ` VDR User
@ 2012-07-11 21:30   ` Martin Herrman
  2012-07-12  0:27     ` VDR User
  0 siblings, 1 reply; 6+ messages in thread
From: Martin Herrman @ 2012-07-11 21:30 UTC (permalink / raw)
  To: linux-media

2012/7/11 VDR User <user.vdr@gmail.com>:

> Actually I got the exact same error when compiling a new 3.4.4 kernel.

It always feels good to know that you're not alone ;-)

> I assume the api_version.patch is bad or needs to be updated. I simple
> just commented out the "add api_version.patch" line in
> backports/backports.txt and crossed my fingers the drivers I use still
> worked -- which they did so all is well here (afaik). But, yeah it
> does need a proper fix and I only recommend my cheap workaround with a
> YMMV warning.

thanks, this solved the first part of the problem. I can now do a make
menuconfig, but the frontend modules I need cannot be selected,
although the file
/usr/src/media_build_experimental/linux/drivers/media/dvb/frontends/tda18212dd.c
etc. do exist.

I have also looked into the staging drivers and enabled drivers not
supported by this kernel, but stil no luck.

Did you have this problem as well?

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Make menuconfig doesn't work anymore
  2012-07-11 21:30   ` Martin Herrman
@ 2012-07-12  0:27     ` VDR User
  2012-07-12  7:41       ` Martin Herrman
  0 siblings, 1 reply; 6+ messages in thread
From: VDR User @ 2012-07-12  0:27 UTC (permalink / raw)
  To: Martin Herrman; +Cc: linux-media

On Wed, Jul 11, 2012 at 2:30 PM, Martin Herrman
<martin.herrman@gmail.com> wrote:
>> Actually I got the exact same error when compiling a new 3.4.4 kernel.
>
> It always feels good to know that you're not alone ;-)

Yes, it's a good thing usually!

>> I assume the api_version.patch is bad or needs to be updated. I simple
>> just commented out the "add api_version.patch" line in
>> backports/backports.txt and crossed my fingers the drivers I use still
>> worked -- which they did so all is well here (afaik). But, yeah it
>> does need a proper fix and I only recommend my cheap workaround with a
>> YMMV warning.
>
> thanks, this solved the first part of the problem. I can now do a make
> menuconfig, but the frontend modules I need cannot be selected,
> although the file
> /usr/src/media_build_experimental/linux/drivers/media/dvb/frontends/tda18212dd.c
> etc. do exist.
>
> I have also looked into the staging drivers and enabled drivers not
> supported by this kernel, but stil no luck.
>
> Did you have this problem as well?

No, the drivers I need were already there but I just checked my
menuconfig and I see:
Multimedia support -> Customize TV tuners -> NXP TDA18212 silicon tuner

Is that what you're looking for? If so, all you need, I think, is "DVB
for Linux" and "Customize analog and hybrid tuner modules to build" to
get the "Customize TV tuners" option.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Make menuconfig doesn't work anymore
  2012-07-12  0:27     ` VDR User
@ 2012-07-12  7:41       ` Martin Herrman
  2012-07-15  7:29         ` Martin Herrman
  0 siblings, 1 reply; 6+ messages in thread
From: Martin Herrman @ 2012-07-12  7:41 UTC (permalink / raw)
  To: linux-media

2012/7/12 VDR User <user.vdr@gmail.com>:

> No, the drivers I need were already there but I just checked my
> menuconfig and I see:
> Multimedia support -> Customize TV tuners -> NXP TDA18212 silicon tuner
>
> Is that what you're looking for? If so, all you need, I think, is "DVB
> for Linux" and "Customize analog and hybrid tuner modules to build" to
> get the "Customize TV tuners" option.

Thanks for the input, but that's not the driver I need. I need the
ddbridge compatible (?) driver, NXP TDA18212 DD

[*] DVB/ATSC adapters
                    <M> Digital Devices bridge support
                    [*] Customse the frontend modules to build
                    Customize DVB Frontends →
                        STV 0367 (DD)
                        NXP TDA18212 silicon tuner (DD)

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Make menuconfig doesn't work anymore
  2012-07-12  7:41       ` Martin Herrman
@ 2012-07-15  7:29         ` Martin Herrman
  0 siblings, 0 replies; 6+ messages in thread
From: Martin Herrman @ 2012-07-15  7:29 UTC (permalink / raw)
  To: linux-media

2012/7/12 Martin Herrman <martin.herrman@gmail.com>:
> 2012/7/12 VDR User <user.vdr@gmail.com>:
>
>> No, the drivers I need were already there but I just checked my
>> menuconfig and I see:
>> Multimedia support -> Customize TV tuners -> NXP TDA18212 silicon tuner
>>
>> Is that what you're looking for? If so, all you need, I think, is "DVB
>> for Linux" and "Customize analog and hybrid tuner modules to build" to
>> get the "Customize TV tuners" option.
>
> Thanks for the input, but that's not the driver I need. I need the
> ddbridge compatible (?) driver, NXP TDA18212 DD
>
> [*] DVB/ATSC adapters
>                     <M> Digital Devices bridge support
>                     [*] Customse the frontend modules to build
>                     Customize DVB Frontends →
>                         STV 0367 (DD)
>                         NXP TDA18212 silicon tuner (DD)

Problem solved: although I cannot select the drivers, they are build
during 'make'. Done a make install and reboot and card is detected :-)

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2012-07-15  7:29 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-07-10 21:16 Make menuconfig doesn't work anymore Martin Herrman
2012-07-10 23:01 ` VDR User
2012-07-11 21:30   ` Martin Herrman
2012-07-12  0:27     ` VDR User
2012-07-12  7:41       ` Martin Herrman
2012-07-15  7:29         ` Martin Herrman

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.