Skip to contentSkip to conversation

3.19.0-rc1 nouvea build failure on GeForce GT 610 only

DISCUSSION Sid Boyce 2 participants 4 messages Dec 22, 2014

lore
Share & tools
lore

Sid Boyce

author
#0 lore raw

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)

No problems on 2 other boxes with GeForce 8600 GT] (rev a1) Regards
Sid.

Signature · 9 lines
Sid Boyce ... Hamradio License G3VBV, Licensed Private Pilot
Emeritus IBM/Amdahl Mainframes and Sun/Fujitsu Servers Tech Support
Senior Staff Specialist, Cricket Coach
Microsoft Windows Free Zone - Linux used for all Computing Tasks

_______________________________________________
Nouveau mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau
#1 lore raw

Hi Sid,

Quoted 23 lines · Sid Boyce

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

Quoted 2 lines

01:00.0 VGA compatible controller: NVIDIA Corporation GF119 [GeForce GT 610] (rev a1)

Why would that controller influence the build?

Quoted 1 line

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...

Paul Bolle

#2 lore raw
Quoted 36 lines · Paul Bolle
Quoted 23 lines · Sid Boyce

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

Quoted 2 lines

01:00.0 VGA compatible controller: NVIDIA Corporation GF119 [GeForce GT 610] (rev a1)

Why would that controller influence the build?

Quoted 1 line

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.

Quoted 7 lines

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

author
#3 lore raw
Quoted 50 lines · Paul Bolle
Quoted 34 lines · Paul Bolle
Quoted 23 lines · Sid Boyce

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

Quoted 2 lines

01:00.0 VGA compatible controller: NVIDIA Corporation GF119 [GeForce GT 610] (rev a1)

Why would that controller influence the build?

Quoted 1 line

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.

Quoted 7 lines

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.

Quoted 7 lines

Is that even possible? Perhaps rpmbuild has a surprising way to handle symlinks? All very puzzling...

Paul Bolle

I did a git pull up to 3.19-rc1 separately on the 3 boxes and used the .config from 3.18.0 as the base of make oldconfig.

When the build failed I did "make mrproper" and used the .config from one of the other boxes, then from the other, all 3 .config gave the same error.

Successfully rebooted one of the boxes.
sabre:~ # uname -r
3.19.0-rc1-smp+

Regards ... Sid.

Signature · 5 lines
Sid Boyce ... Hamradio License G3VBV, Licensed Private Pilot Emeritus IBM/Amdahl Mainframes and Sun/Fujitsu Servers Tech Support Senior Staff Specialist, Cricket Coach Microsoft Windows Free Zone - Linux used for all Computing Tasks
_______________________________________________
Nouveau mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau