nvidia-173 173.14.39-0ubuntu3: nvidia-173 kernel module failed to build

Bug #1325408 reported by Flashrom on 2014-06-01
30
This bug affects 6 people
Affects Status Importance Assigned to Milestone
nvidia-graphics-drivers-173 (Ubuntu)
Undecided
Unassigned

Bug Description

i have an msi AE2010 all in one pc, i dont see the task bar or panle in ubuntu on the top or left side, i install the nividi to fix the problem but i dont know is this right,

ProblemType: Package
DistroRelease: Ubuntu 14.10
Package: nvidia-173 173.14.39-0ubuntu3
ProcVersionSignature: Ubuntu 3.15.0-4.9-generic 3.15.0-rc7
Uname: Linux 3.15.0-4-generic x86_64
.tmp.unity.support.test.0:

ApportVersion: 2.14.3-0ubuntu1
Architecture: amd64
CompizPlugins: No value set for `/apps/compiz-1/general/screen0/options/active_plugins'
CompositorRunning: compiz
CompositorUnredirectDriverBlacklist: '(nouveau|Intel).*Mesa 8.0'
CompositorUnredirectFSW: true
DKMSKernelVersion: 3.15.0-4-generic
Date: Sun Jun 1 20:26:55 2014
DistUpgraded: 2014-05-17 10:00:21,253 DEBUG enabling apt cron job
DistroCodename: utopic
DistroVariant: ubuntu
DkmsStatus: nvidia-173, 173.14.39: added
DuplicateSignature: dkms:nvidia-173:173.14.39-0ubuntu3:/var/lib/dkms/nvidia-173/173.14.39/build/nvacpi.c:51:21: error: variable ‘nv_acpi_driver_template’ has initializer but incomplete type
GraphicsCard:
 Advanced Micro Devices, Inc. [AMD/ATI] RS780 [Radeon HD 3200] [1002:9610] (prog-if 00 [VGA controller])
   Subsystem: Micro-Star International Co., Ltd. [MSI] Device [1462:4590]
InstallationDate: Installed on 2012-11-14 (563 days ago)
InstallationMedia: Ubuntu 12.10 "Quantal Quetzal" - Release amd64 (20121017.5)
MachineType: MICRO-STAR INTERNATIONAL CO., LTD MS-6650
PackageVersion: 173.14.39-0ubuntu3
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.15.0-4-generic root=UUID=6b242581-6652-4194-b9c3-7cf42dd727ae ro quiet splash vt.handoff=7
SourcePackage: nvidia-graphics-drivers-173
Title: nvidia-173 173.14.39-0ubuntu3: nvidia-173 kernel module failed to build
UpgradeStatus: Upgraded to utopic on 2014-05-17 (15 days ago)
dmi.bios.date: 10/20/2009
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: 080015
dmi.board.asset.tag: To Be Filled By O.E.M.
dmi.board.name: MS-7459
dmi.board.vendor: MICRO-STAR INTERNATIONAL CO., LTD
dmi.board.version: 1.0
dmi.chassis.asset.tag: To Be Filled By O.E.M.
dmi.chassis.type: 3
dmi.chassis.vendor: MICRO-STAR INTERNATIONAL CO., LTD
dmi.chassis.version: 1.0
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvr080015:bd10/20/2009:svnMICRO-STARINTERNATIONALCO.,LTD:pnMS-6650:pvr1.0:rvnMICRO-STARINTERNATIONALCO.,LTD:rnMS-7459:rvr1.0:cvnMICRO-STARINTERNATIONALCO.,LTD:ct3:cvr1.0:
dmi.product.name: MS-6650
dmi.product.version: 1.0
dmi.sys.vendor: MICRO-STAR INTERNATIONAL CO., LTD
version.compiz: compiz 1:0.9.11+14.04.20140423-0ubuntu1
version.ia32-libs: ia32-libs N/A
version.libdrm2: libdrm2 2.4.54-1
version.libgl1-mesa-dri: libgl1-mesa-dri 10.1.3-0ubuntu1
version.libgl1-mesa-dri-experimental: libgl1-mesa-dri-experimental N/A
version.libgl1-mesa-glx: libgl1-mesa-glx 10.1.3-0ubuntu1
version.xserver-xorg-core: xserver-xorg-core 2:1.15.1-0ubuntu5
version.xserver-xorg-input-evdev: xserver-xorg-input-evdev 1:2.8.2-1ubuntu2
version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:7.3.0-1ubuntu4
version.xserver-xorg-video-intel: xserver-xorg-video-intel 2:2.99.910-0ubuntu1
version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 1:1.0.10-1ubuntu2
xserver.bootTime: Sun Jun 1 20:45:28 2014
xserver.configfile: default
xserver.errors:

xserver.logfile: /var/log/Xorg.0.log
xserver.version: 2:1.15.1-0ubuntu5
xserver.video_driver: radeon

Flashrom (m-schult) wrote :
Flashrom (m-schult) wrote :

i dont see the task bar, on the left side or ont the top the panel , i install the nvidia-graphics-drivers-173 to fix the problem but i dont konow is it right, i hane an msi all in one PC AE2010

tags: removed: need-duplicate-check
Daniel van Vugt (vanvugt) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. This particular bug has already been reported and is a duplicate of bug 1289440, so it is being marked as such. Please look at the other bug report to see if there is any missing information that you can provide, or to see if there is a workaround for the bug. Additionally, any further discussion regarding the bug should occur in the other report. Feel free to continue to report any other bugs you may find.

Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in nvidia-graphics-drivers-173 (Ubuntu):
status: New → Confirmed
Brian (brianmortondesign) wrote :

I have just experienced this bug. The linked duplicate bug is for a different version of the drivers (duplicate is 331, this is for 173).

I'm on a fresh install of 14.04.2 with a Macbook Pro 3,1 (late 2007). The reason I'm trying to install legacy nvidia drivers is I can't get the newer/current nvidia binaries to boot on this laptop (gpu is g84m).

Brian is right.
The version the duplicate flag was linked to affected the nvidia-331 and it is fixed there only.

Currently this bug is still present in the 173.14.39 package of the legacy nvidia drivers and is not fixed.

The compile process stops with these errors in the /var/lib/dkms/nvidia-173/173.14.39/build/make.log

include/acpi/acpi_drivers.h: At top level:
include/acpi/acpi_drivers.h:98:43: warning: ‘struct acpi_pci_root’ declared inside parameter list [enabled by default]
 struct pci_bus *pci_acpi_scan_root(struct acpi_pci_root *root);
                                           ^
include/acpi/acpi_drivers.h:98:43: warning: its scope is only this definition or declaration, which is probably not what you want [enabled by default]
/var/lib/dkms/nvidia-173/173.14.39/build/nvacpi.c:51:21: error: variable ‘nv_acpi_driver_template’ has initializer but incomplete type
 static const struct acpi_driver nv_acpi_driver_template = {
                     ^
/var/lib/dkms/nvidia-173/173.14.39/build/nvacpi.c:52:5: error: unknown field ‘name’ specified in initializer
     .name = "NVIDIA ACPI Video Driver",
     ^
/var/lib/dkms/nvidia-173/173.14.39/build/nvacpi.c:52:5: warning: excess elements in struct initializer [enabled by default]
/var/lib/dkms/nvidia-173/173.14.39/build/nvacpi.c:52:5: warning: (near initialization for ‘nv_acpi_driver_template’) [enabled by default]
/var/lib/dkms/nvidia-173/173.14.39/build/nvacpi.c:53:5: error: unknown field ‘class’ specified in initializer
     .class = "video",
     ^
/var/lib/dkms/nvidia-173/173.14.39/build/nvacpi.c:53:5: warning: excess elements in struct initializer [enabled by default]
/var/lib/dkms/nvidia-173/173.14.39/build/nvacpi.c:53:5: warning: (near initialization for ‘nv_acpi_driver_template’) [enabled by default]
/var/lib/dkms/nvidia-173/173.14.39/build/nvacpi.c:58:5: error: unknown field ‘ids’ specified in initializer
     .ids = ACPI_VIDEO_HID,
     ^
/var/lib/dkms/nvidia-173/173.14.39/build/nvacpi.c:58:5: warning: excess elements in struct initializer [enabled by default]
/var/lib/dkms/nvidia-173/173.14.39/build/nvacpi.c:58:5: warning: (near initialization for ‘nv_acpi_driver_template’) [enabled by default]
/var/lib/dkms/nvidia-173/173.14.39/build/nvacpi.c:61:5: error: unknown field ‘ops’ specified in initializer
     .ops = {
     ^
/var/lib/dkms/nvidia-173/173.14.39/build/nvacpi.c:61:5: error: extra brace group at end of initializer
/var/lib/dkms/nvidia-173/173.14.39/build/nvacpi.c:61:5: error: (near initialization for ‘nv_acpi_driver_template’)
/var/lib/dkms/nvidia-173/173.14.39/build/nvacpi.c:67:5: warning: excess elements in struct initializer [enabled by default]
     },
.....
make[3]: *** [/var/lib/dkms/nvidia-173/173.14.39/build/nvacpi.o] Fehler 1
make[2]: *** [_module_/var/lib/dkms/nvidia-173/173.14.39/build] Fehler 2
NVIDIA: left KBUILD.
nvidia.ko failed to build!
make[1]: *** [module] Fehler 1
make: *** [module] Fehler 2

There is already a patch available -thanks to Alberto - but it just seems not to be backpropagated into 14.04 for whatever reason.

http://bazaar.launchpad.net/~ubuntu-branches/ubuntu/utopic/nvidia-graphics-drivers-173/utopic-proposed/revision/65

Alberto is the man!

For the testers: I went to the /usr/src/nvidia-173-173.14.39 directory and edited the nv-linux.h file.

At around line 213 of that file I pasted the "#include <acpi/acpi_bus.h>" line of the patch below the "#define NV_LINUX_ACPI_EVENTS_SUPPORTED" like described in the patch of the link in #7:

#define NV_LINUX_ACPI_EVENTS_SUPPORTED 1
#include <acpi/acpi_bus.h>
#endif

Then as root a "dpkg-reconfigure nvidia-173" which produced the following output:

root@XXX:/usr/src/nvidia-173-173.14.39# dpkg-reconfigure nvidia-173
Removing all DKMS Modules
Done.
update-initramfs: deferring update (trigger activated)
Loading new nvidia-173-173.14.39 DKMS files...
Building only for 3.16.0-38-generic
Building for architecture x86_64
Building initial module for 3.16.0-38-generic
Done.

nvidia_173:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/3.16.0-38-generic/updates/dkms/

depmod.........

DKMS: install completed.
Trigger für initramfs-tools (0.103ubuntu4.2) werden verarbeitet ...
update-initramfs: Generating /boot/initrd.img-3.16.0-38-generic
cryptsetup: WARNING: failed to detect canonical device of /dev/sda1
cryptsetup: WARNING: could not determine root device from /etc/fstab
root@XXXX:/usr/src/nvidia-173-173.14.39#

And after a reboot the nvidia driver worked!

grep NVIDIA Xorg.0.log
[ 47.215] (II) Module glx: vendor="NVIDIA Corporation"
[ 47.215] (II) NVIDIA GLX Module 173.14.39 Wed Nov 27 14:44:39 PST 2013
[ 47.524] (II) Module nvidia: vendor="NVIDIA Corporation"
[ 47.585] (II) NVIDIA dlloader X Driver 173.14.39 Wed Nov 27 14:34:40 PST 2013
[ 47.585] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[ 47.803] (II) NVIDIA(0): Creating default Display subsection in Screen section
[ 47.803] (**) NVIDIA(0): Depth 24, (--) framebuffer bpp 32
[ 47.803] (==) NVIDIA(0): RGB weight 888
[ 47.803] (==) NVIDIA(0): Default visual is TrueColor
[ 47.803] (==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
[ 47.803] (**) NVIDIA(0): Option "NoLogo" "True"
[ 47.823] (**) NVIDIA(0): Enabling RENDER acceleration
[ 47.823] (II) NVIDIA(0): Support for GLX with the Damage and Composite X extensions is
[ 47.823] (II) NVIDIA(0): enabled.
[ 48.767] (WW) NVIDIA(GPU-0): Unable to read EDID for display device CRT-0
[ 48.767] (II) NVIDIA(0): NVIDIA GPU Quadro FX 1300 (NV35GL) at PCI:1:0:0 (GPU-0)
...

Note the ancient Quadro FX 1300 card :)

To post a comment you must log in.