From: Michael Krufky <mkrufky@m1k.net>
To: Adrian Bunk <bunk@stusta.de>
Cc: Gene Heskett <gene.heskett@verizon.net>,
linux-kernel@vger.kernel.org,
Johannes Stezenbach <js@linuxtv.org>,
Sam Ravnborg <sam@ravnborg.org>
Subject: Re: Linux 2.6.15-rc2
Date: Wed, 23 Nov 2005 14:17:45 -0500 [thread overview]
Message-ID: <4384C059.3070003@m1k.net> (raw)
In-Reply-To: <20051123174237.GO3963@stusta.de>
Adrian Bunk wrote:
>On Tue, Nov 22, 2005 at 11:36:48PM -0500, Gene Heskett wrote:
>
>
>>...
>>Well, I just went thru it again, and turned off everything but the
>>cx8800 and ORv51132 stuffs, and now I get this at the and of the
>>'makeit' script I use here:
>>
>>WARNING:
>>/lib/modules/2.6.15-rc2/kernel/drivers/media/video/cx88/cx88-dvb.ko
>>needs unknown symbol mt352_attach
>>WARNING:
>>/lib/modules/2.6.15-rc2/kernel/drivers/media/video/cx88/cx88-dvb.ko
>>needs unknown symbol nxt200x_attach
>>WARNING:
>>/lib/modules/2.6.15-rc2/kernel/drivers/media/video/cx88/cx88-dvb.ko
>>needs unknown symbol mt352_write
>>WARNING:
>>/lib/modules/2.6.15-rc2/kernel/drivers/media/video/cx88/cx88-dvb.ko
>>needs unknown symbol lgdt330x_attach
>>WARNING:
>>/lib/modules/2.6.15-rc2/kernel/drivers/media/video/cx88/cx88-dvb.ko
>>needs unknown symbol cx22702_attach
>>...
>>
>>
>Nice catch and thanks for your report.
>
>The bug is obvious. A possible patch is below (and at least
>drivers/media/video/saa7134/Makefile contains the same bug),
>but I'd really prfer getting rid of the -DHAVE_* stuff in the
>Makefiles and using Kconfig variables instead.
>
>
We need to keep the -DHAVE_FOO stuff there, in order to satisfy the
following requirements:
1) To allow the option of only selecting those frontends required by
specific dvb hardware, without forcing all modules to be loaded... This
feature is optional, and I implemented it in response to the demand from
some hybrid v4l/dvb device users, (and myself) Why force a driver to
load every frontend module if it isnt required by the hardware? --
apparantly the implementation was less than perfect. I had originally
intended for this to live in -mm for a bit, but when the merge window
came around, Mauro had sent it upstream before I had the chance to
create alternate patches for linus' tree.
2) (more importantly) To allow v4l-kernel cvs to retain backwards
compatability with older kernels..
I had originally tried to rename these to use the Kconfig variables, but
LKML people asked for it to be changed back.
Please do not remove this feature -- if it is broken, then we should try
to fix it, rather than remove it. If the specific frontend selection
isn't working, then I guess we can revert back to the old behavior where
every frontend is forced, but I would rather not.
>Would such a patch be accepted?
>
>>Cheers, Gene
>>
>>
>cu
>Adrian
>
>
If it fixes Gene's problem (a quick glance at his emails suggests that
it does) then:
Acked-by: Michael Krufky <mkrufky@linuxtv.org>
although Sam Ravnborg's suggestion looks better to me. Unfortunately, I
will be unable to test this out on my system until After Thanksgiving
(on Friday) ...
>BTW: Please don't strip the Cc whenreplying to linux-kernel.
>
>
>--- linux-2.6.15-rc2/drivers/media/video/cx88/Makefile.old 2005-11-23 18:34:07.000000000 +0100
>+++ linux-2.6.15-rc2/drivers/media/video/cx88/Makefile 2005-11-23 18:34:18.000000000 +0100
>@@ -9,21 +9,21 @@
> EXTRA_CFLAGS += -I$(src)/..
> EXTRA_CFLAGS += -I$(srctree)/drivers/media/dvb/dvb-core
> EXTRA_CFLAGS += -I$(srctree)/drivers/media/dvb/frontends
>-ifneq ($(CONFIG_VIDEO_BUF_DVB),n)
>+ifneq ($(CONFIG_VIDEO_BUF_DVB),)
> EXTRA_CFLAGS += -DHAVE_VIDEO_BUF_DVB=1
> endif
>-ifneq ($(CONFIG_DVB_CX22702),n)
>+ifneq ($(CONFIG_DVB_CX22702),)
> EXTRA_CFLAGS += -DHAVE_CX22702=1
> endif
>-ifneq ($(CONFIG_DVB_OR51132),n)
>+ifneq ($(CONFIG_DVB_OR51132),)
> EXTRA_CFLAGS += -DHAVE_OR51132=1
> endif
>-ifneq ($(CONFIG_DVB_LGDT330X),n)
>+ifneq ($(CONFIG_DVB_LGDT330X),)
> EXTRA_CFLAGS += -DHAVE_LGDT330X=1
> endif
>-ifneq ($(CONFIG_DVB_MT352),n)
>+ifneq ($(CONFIG_DVB_MT352),)
> EXTRA_CFLAGS += -DHAVE_MT352=1
> endif
>-ifneq ($(CONFIG_DVB_NXT200X),n)
>+ifneq ($(CONFIG_DVB_NXT200X),)
> EXTRA_CFLAGS += -DHAVE_NXT200X=1
> endif
>-
>To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
>the body of a message to majordomo@vger.kernel.org
>More majordomo info at http://vger.kernel.org/majordomo-info.html
>Please read the FAQ at http://www.tux.org/lkml/
>
>
--
Michael Krufky
next prev parent reply other threads:[~2005-11-23 19:18 UTC|newest]
Thread overview: 70+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-11-20 3:40 Linux 2.6.15-rc2 Linus Torvalds
2005-11-20 5:18 ` Gene Heskett
2005-11-20 17:02 ` Gene Heskett
2005-11-20 17:37 ` Gene Heskett
2005-11-20 19:17 ` Gene Heskett
2005-11-20 22:36 ` Kasper Sandberg
2005-11-20 23:58 ` Gene Heskett
2005-11-21 21:17 ` Kasper Sandberg
2005-11-21 23:52 ` Gene Heskett
2005-11-23 9:04 ` Kasper Sandberg
2005-11-21 0:15 ` Johannes Stezenbach
2005-11-21 1:07 ` Gene Heskett
2005-11-21 1:32 ` Johannes Stezenbach
2005-11-21 1:49 ` Gene Heskett
2005-11-23 1:56 ` Michael Krufky
2005-11-23 4:36 ` Gene Heskett
2005-11-23 17:42 ` Adrian Bunk
2005-11-23 18:19 ` Gene Heskett
2005-11-23 18:26 ` Sam Ravnborg
2005-11-23 18:38 ` Adrian Bunk
2005-11-26 20:30 ` [PATCH] fix broken hybrid v4l-dvb frontend selection Michael Krufky
2005-11-23 18:31 ` Linux 2.6.15-rc2 Gene Heskett
2005-11-23 19:17 ` Michael Krufky [this message]
2005-11-23 19:36 ` Gene Heskett
2005-11-23 19:54 ` Michael Krufky
2005-11-23 20:14 ` Gene Heskett
2005-11-23 20:28 ` Michael Krufky
2005-11-23 21:26 ` Hugh Dickins
2005-11-23 22:36 ` Gene Heskett
2005-11-23 23:40 ` Hugh Dickins
2005-11-23 23:53 ` Gene Heskett
2005-11-24 0:37 ` Gene Heskett
2005-11-24 7:45 ` Hugh Dickins
2005-11-24 15:15 ` Gene Heskett
2005-11-24 17:02 ` Michael Krufky
2005-11-24 19:07 ` [PATCH] hybrid v4l/dvb advanced frontend selection fix Michael Krufky
2005-11-24 4:40 ` Linux 2.6.15-rc2 Paul Jackson
2005-11-23 20:38 ` Adrian Bunk
2005-11-23 20:49 ` Michael Krufky
2005-11-23 21:04 ` Adrian Bunk
2005-11-20 13:20 ` Michael Geithe
2005-11-20 14:52 ` cinergyT2 oops (was Re: Linux 2.6.15-rc2) Alexey Dobriyan
2005-11-20 15:04 ` Michael Geithe
2005-11-20 16:13 ` Linux 2.6.15-rc2 Dmitry Torokhov
2005-11-20 19:13 ` Michael Geithe
2005-11-22 4:30 ` Jeffrey Hundstad
2005-11-22 23:00 ` Andrew Morton
2005-11-23 0:50 ` Linus Torvalds
2005-11-23 1:05 ` Andrew Morton
2005-11-23 1:32 ` Andi Kleen
2005-11-23 1:43 ` Linus Torvalds
2005-11-23 2:16 ` David S. Miller
2005-11-23 1:39 ` Linus Torvalds
2005-11-23 2:08 ` Andrew Morton
2005-11-23 3:41 ` Jeffrey Hundstad
2005-11-23 3:48 ` Linus Torvalds
2005-11-23 16:48 ` Jeffrey Hundstad
2005-11-23 5:01 ` Zan Lynx
2005-11-23 1:14 ` Zan Lynx
2005-11-23 4:42 ` Gene Heskett
2005-11-24 12:37 ` Ed Tomlinson
2005-11-24 13:07 ` Andreas Ericsson
2005-11-24 18:44 ` Linus Torvalds
2005-11-24 19:42 ` Junio C Hamano
2005-11-24 19:57 ` Linus Torvalds
2005-11-24 21:02 ` Junio C Hamano
2005-11-24 18:37 ` Linus Torvalds
2005-11-24 19:52 ` Nick Hengeveld
2005-11-25 2:50 ` Ed Tomlinson
2005-11-25 8:42 ` Andreas Ericsson
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=4384C059.3070003@m1k.net \
--to=mkrufky@m1k.net \
--cc=bunk@stusta.de \
--cc=gene.heskett@verizon.net \
--cc=js@linuxtv.org \
--cc=linux-kernel@vger.kernel.org \
--cc=sam@ravnborg.org \
/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.