Return-path: Received: from bombadil.infradead.org ([18.85.46.34]:50320 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750887AbZBJMaE convert rfc822-to-8bit (ORCPT ); Tue, 10 Feb 2009 07:30:04 -0500 Date: Tue, 10 Feb 2009 10:29:36 -0200 From: Mauro Carvalho Chehab To: Mauro Carvalho Chehab Cc: Eduard Huguet , linux-media@vger.kernel.org Subject: Re: cx8802.ko module not being built with current HG tree Message-ID: <20090210102936.7782b1ec@pedra.chehab.org> In-Reply-To: <20090210100955.715770d0@pedra.chehab.org> References: <617be8890902050754p4b8828c9o14b43b6879633cd7@mail.gmail.com> <617be8890902050759x74c08498o355be1d34d7735fe@mail.gmail.com> <20090210093753.69b21572@pedra.chehab.org> <617be8890902100357s7a56776av3475db0cfd486b9@mail.gmail.com> <20090210100955.715770d0@pedra.chehab.org> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8BIT Sender: linux-media-owner@vger.kernel.org List-ID: On Tue, 10 Feb 2009 10:09:55 -0200 Mauro Carvalho Chehab wrote: > On Tue, 10 Feb 2009 12:57:47 +0100 > Eduard Huguet wrote: > > > Hi, > > Just tried it right now, with these simple steps: > > > > · hg clone http://linuxtv.org/hg/v4l-dvb > > · cd v4l-dvb > > · make menuconfig & exit from it without touching anything > > > > I attach the resulting v4l/.config file generated. As you can see, > > CX88_MPEG is being marked as 'Y' instead that 'M': > > > > $ grep CX88 v4l/.config > > 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 > > Weird. I 've applied your changeset and copied it at v4l/.config. Then, a make > menuconfig and exit, just to be sure that kernel build would touch on it. > Everything worked fine. > > > I'm compiling against Ubuntu kernel 2.6.22, which I know it's pretty > > old. Can this make any difference? > > I'm using here kernel 2.6.28.2. Maybe this is some bug on the Ubuntu's kernel > kbuild, since make *config options at the out-of-tree kernel is a wrapper to > the kernel kbuild. > > Could you please try the same procedure with a newer kernel? There's no need to > install the kernel on your machine. All you need to do is something like: > > wget > tar -xvfoj > cd linux Hmm.. you'll need to provide some .config to the downloaded kernel. You may do it my running "make allyesconfig" or "make allmodconfig". Another approach would be to run "make oldconfig", but, in the latter case, you would need to answer to several questions (it is probably ok to just press enter to all questions). > make init > > cd ~/v4l-dvb > make release DIR= > make menuconfig > > The "make release" will allow you to use the Kbuild of the newer kernel. > > > > > Best regards, > > Eduard > > > > PS: by the way, this works fine when using revision 10189, just > > before CX88 dependencies got altered. > > The problem is that the old Kconfig were causing breakages upstream. > > Cheers, > Mauro Cheers, Mauro