2.6.35.10-74 compilation (and build) problems

Jarod Wilson jarod at redhat.com
Tue Jan 11 20:24:13 UTC 2011


On Tue, Jan 11, 2011 at 07:16:33PM +0000, Mr Dash Four wrote:
> 
> >>The problem is that even with the patch valid kernel options are
> >>still getting excluded (DRM_NOVEAU group of options for example,
> >>but there are *many* more options which are missing) and I am
> >>unable to get this to work no matter what I tried!
> >
> >The config you sent did not have DRM_NOVEAU enabled but I used your config
> >running through the same procedures with success.
> >
> >[dzickus at ihatethathostname rpmbuild]$
> >[dzickus at ihatethathostname rpmbuild]$ cp ~/tmp/dashfour.config SOURCES/config-local
> >[dzickus at ihatethathostname rpmbuild]$ diff ~/tmp/dashfour.config SOURCES/config-local
> >[dzickus at ihatethathostname rpmbuild]$ rpmbuild -bp  SPECS/kernel.spec &> /dev/null && echo "pass" || echo "fail"
> >pass
> >[dzickus at ihatethathostname rpmbuild]$ pushd
> >~/rpmbuild/BUILD/kernel-2.6.35.fc14/linux-2.6.35.x86_64 ~/rpmbuild
> >[dzickus at ihatethathostname linux-2.6.35.x86_64]$ pwd
> >/home/dzickus/rpmbuild/BUILD/kernel-2.6.35.fc14/linux-2.6.35.x86_64
> >[dzickus at ihatethathostname linux-2.6.35.x86_64]$ diff ~/tmp/dashfour.config .config
> >3,4c3,4
> >< # Linux kernel version: 2.6.35.10-74.fc13.x86_64
> >< # Tue Jan  4 20:41:14 2011
> >---
> >># Linux kernel version: 2.6.35.10
> >># Tue Jan 11 13:00:49 2011
> >[dzickus at ihatethathostname linux-2.6.35.x86_64]$
> >
> >
> >Am I missing something?
> Before I answer that I am assuming that the patch for kernel.spec
> would allow me to use custom options (including those from previous
> revisions of the kernel) and these will be 'amalgamated' (in some
> sort of 'union') with the options of the current kernel which is
> being compiled, where preference will be given to the options
> specified in config-local, right? If so, I do not think that patch
> works!

Yes, it does. Take a look at drivers/staging/Kconfig and note the part
where it sources in drivers/gpu/drm/nouveau/Kconfig, and then take a look
at your config overrides, which have CONFIG_STAGING disabled. No staging,
no nouveau.

Technically, upstream probably ought to move the sourcing of the nouveau
Kconfig file over to drivers/gpu/drm/Kconfig now, but the patch works
entirely correctly here.

-- 
Jarod Wilson
jarod at redhat.com



More information about the kernel mailing list