Comment 131 for bug 1268257

Revision history for this message
snurfle (snurfle) wrote : Re: [Bug 1268257] Re: nvidia-331-updates 331.38-0ubuntu3: nvidia-331-updates kernel module failed to build, with only error: "objdump: '... .tmp_nv.o': No such file"

*@joe linux... preach it, brother. This has been over a year; a blue
million duplicates, and still no definite solutions.*

*I spent last night determined to get this thing working. This LTS has a
good amount of video issues, as one bug report shows. This thread is over a
year old and is still being updated today. And please note - none of the
proposed solutions match the solutions recommended to me for resolving the
14.04 graphic issues I am suffering on a new fresh install of 14.04.1:*

manually remove and install nvidia kernel driver

sudo dpkg-reconfigure nvidia-331, sudo dpkg-reconfigure nvidia-331-uvm

apt-get install nvidia-331-uvm --reinstall

run the installation after exiting X (sudo service lightdm stop) also
seemed to solve the problem.

try logging in as a different user

try removing all the nvidia drivers and using the noveau driver.

sudo dconf reset -f /org/compiz/, sudo setsid unity

sudo dpkg-reconfigure xserver-xorg

sudo dpkg-reconfigure nvidia-331 The reconfigure incantation forces the
kernel package to be rebuilt. YMMV! If your machine still fails to reboot
with a working X server... that's your responsibility!

install and reboot into the most recent kernel the driver installed fine.

first be sure to get both 2 kernel headers & both 2 kernel images installed
then inside /usr/src/nvidia ... Change f_dentry to f_path.dentry in nv.c
and nv-frontend.c files. And change MODULE_LICENSE("NVIDIA"); to
MODULE_LICENSE("GPL"); in the same files. when the changes are made and
saved, then reinstall the 4 kernel files: you should no more see
compilation errors, and get a smooth boot with that kernel.

add Nvidia xorg PPA

Manually reinstall nvidia-331 and nvidia-331-uvm

download the latest driver from Nvidia, reboot, kill running X, run
NVIDIA-xxxxx.run start X

...

*And here are some of the results posted to those solutions:*

After rebooting my desktop was not accessable anymore.

in my case, gnome_panel was no longer running, I could just run it from a
terminal ... but it's still not right.

left my apt in a broken state, I can't add or remove any packages.

apt-get install nvidia-331-uvm --reinstall did NOT fix for me.

Reboot... nothing changed the drivel is falty.

via the gui or command line does not work for me

this appears to have been fixed last week by:
nvidia-graphics-drivers-331-updates (331.89-0ubuntu6) vivid. Although most
people are not using vivid. And utopic still has a known broken version.

the module said it failed building again with the latest Linux kernel
update in Ubuntu 14.04

Error! Bad return status for module build on kernel: 3.16.0-28-generic
(x86_64)

after the last update, whenever I boot I get a blank screen

Have to manually reinstall nvidia-331 and nvidia-331-uvm... after every
kernel upgrade.

I did the manual update but now screen resolution is very crude.

I tried it this time and it didn't work. How do I get screen resolutions
back?

Another kernel update, another crash here.

I have the same Problem with nvidia-340.65 and 3.16.0-29-generic, too.

*I'm going to go out on a limb here and say that, based on my experience so
far, and based also on the issues I have seen that impact so many other
users (from one of the maintainers: "I think we need more help though. I
count 52 new duplicates this past 24 hours.")... Ubuntu 14.04 LTS is most
definitely not able to properly support Nvidia hardware.*

On Wed, Jan 14, 2015 at 2:26 PM, Joe Linux <email address hidden>
wrote:

> Hello,
>
> Same "shit" since few months with again and again each new kernel update
> on my Ubuntu 14.04.1 64-b full install.
> I'm only using the official Ubuntu update channel.
> Fortunately this version is a LTS one, if not guess what.
> Who said Windoze ! Linux is not so far !
>
> Cheers
>
> --
> You received this bug notification because you are subscribed to a
> duplicate bug report (1405836).
> https://bugs.launchpad.net/bugs/1268257
>
> Title:
> nvidia-331-updates 331.38-0ubuntu3: nvidia-331-updates kernel module
> failed to build, with only error: "objdump: '... .tmp_nv.o': No such
> file"
>
> Status in nvidia-graphics-drivers-331 package in Ubuntu:
> Triaged
> Status in nvidia-graphics-drivers-331-updates package in Ubuntu:
> Triaged
>
> Bug description:
> Nvidia kernel module failed to build on kernel 3.13.0-2
> Yesterday when the new kernel was pushed, the dkms process failed.
>
> ProblemType: Package
> DistroRelease: Ubuntu 14.04
> Package: nvidia-331-updates 331.20-0ubuntu9
> ProcVersionSignature: Ubuntu 3.12.0-7.15-generic 3.12.4
> Uname: Linux 3.12.0-7-generic x86_64
> ApportVersion: 2.13.1-0ubuntu1
> Architecture: amd64
> DKMSKernelVersion: 3.13.0-2-generic
> Date: Sun Jan 12 01:28:35 2014
> InstallationDate: Installed on 2013-11-03 (69 days ago)
> InstallationMedia: Ubuntu 13.10 "Saucy Salamander" - Release amd64
> (20131016.1)
> PackageVersion: 331.20-0ubuntu9
> SourcePackage: nvidia-graphics-drivers-331-updates
> Title: nvidia-331-updates 331.20-0ubuntu9: nvidia-331-updates kernel
> module failed to build
> UpgradeStatus: Upgraded to trusty on 2013-12-29 (13 days ago)
>
> To manage notifications about this bug go to:
>
> https://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-drivers-331/+bug/1268257/+subscriptions
>