Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754967AbaLVNy4 (ORCPT ); Mon, 22 Dec 2014 08:54:56 -0500 Received: from cpsmtpb-ews01.kpnxchange.com ([213.75.39.4]:53803 "EHLO cpsmtpb-ews01.kpnxchange.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754544AbaLVNyz (ORCPT ); Mon, 22 Dec 2014 08:54:55 -0500 Message-ID: <1419256493.30945.53.camel@x220> Subject: Re: 3.19.0-rc1 nouvea build failure on GeForce GT 610 only From: Paul Bolle To: Sid Boyce Cc: Mark Hounschell , linux-kernel@vger.kernel.org, nouveau@lists.freedesktop.org Date: Mon, 22 Dec 2014 14:54:53 +0100 In-Reply-To: <1419255471.30945.47.camel@x220> References: <54981647.8010409@blueyonder.co.uk> <1419255471.30945.47.camel@x220> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.10.4 (3.10.4-4.fc20) Mime-Version: 1.0 Content-Transfer-Encoding: 8bit X-OriginalArrivalTime: 22 Dec 2014 13:54:53.0366 (UTC) FILETIME=[DC910D60:01D01DEE] X-RcptDomain: vger.kernel.org Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 2014-12-22 at 14:37 +0100, Paul Bolle wrote: > On Mon, 2014-12-22 at 13:01 +0000, Sid Boyce wrote: > > CHK kernel/config_data.h > > CC [M] drivers/gpu/drm/nouveau/core/engine/dmaobj/nvd0.o > > drivers/gpu/drm/nouveau/core/engine/dmaobj/nvd0.c: In function > > ‘nvd0_dmaobj_bind’: > > drivers/gpu/drm/nouveau/core/engine/dmaobj/nvd0.c:54:8: error: > > ‘GM204_DISP_CORE_CHANNEL_DMA’ undeclared (first use in this function) > > case GM204_DISP_CORE_CHANNEL_DMA: > > ^ > > drivers/gpu/drm/nouveau/core/engine/dmaobj/nvd0.c:54:8: note: each > > undeclared identifier is reported only once for each function it appears in > > scripts/Makefile.build:257: recipe for target > > 'drivers/gpu/drm/nouveau/core/engine/dmaobj/nvd0.o' failed > > make[4]: *** [drivers/gpu/drm/nouveau/core/engine/dmaobj/nvd0.o] Error 1 > > scripts/Makefile.build:402: recipe for target 'drivers/gpu/drm/nouveau' > > failed > > make[3]: *** [drivers/gpu/drm/nouveau] Error 2 > > scripts/Makefile.build:402: recipe for target 'drivers/gpu/drm' failed > > make[2]: *** [drivers/gpu/drm] Error 2 > > scripts/Makefile.build:402: recipe for target 'drivers/gpu' failed > > make[1]: *** [drivers/gpu] Error 2 > > Makefile:938: recipe for target 'drivers' failed > > make: *** [drivers] Error 2 > > > > 01:00.0 VGA compatible controller: NVIDIA Corporation GF119 [GeForce GT > > 610] (rev a1) > > Why would that controller influence the build? > > > No problems on 2 other boxes with GeForce 8600 GT] (rev a1) > > I ran into this error twice, while building Fedora 21 kernel rpms for > v3.19-rc1 on my outdated ThinkPad X41 (which uses i915, for what it's > worth). The error made very little sense to me. Especially since it > didn't happen when building in the local git repository. > > So I basically, well, scrubbed the rpmbuild environment. And then the > the third attempt to build kernels rpm succeeded! I assumed a hardware > failure (see outdated above) and made a mental note to investigate that > one of these days. > > But your report makes me think it's not my hardware. Could there be some > _random_ failure with this driver in the build? Very odd... A theory based on Mark's message in https://lkml.org/lkml/2014/12/8/602 : My two failed builds somehow used previous version of class.h, that didn't yet have commit 1f89b4756fb8 ("drm/gm204/disp: initial support") applied. It's that commit which added the define for GM204_DISP_CORE_CHANNEL_DMA. Is that even possible? Perhaps rpmbuild has a surprising way to handle symlinks? All very puzzling... Paul Bolle -- 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/