Here's what I did:

Remove 3 lines from /usr/src/nvidia-current-195.36.24/nv.c (see attached
diff), run `sudo dkms build -m nvidia-current -v 195.36.24`. If that
works, run `sudo dkms install -m nvidia-current -v 195.36.24`.

Now, if you're still in an X session, log out, switch to a virtual
console, log in and run `sudo service gdm stop` (or whatever dm you
happen to be running, if at all). Unload the old module if it's still
loaded (`sudo rmmod nvidia`) and load the new one with `sudo modprobe
nvidia-current`. Now run `exec sudo service gdm start`, `startx` or
whatever floats your boat. If this is too difficult, a plain restart
should suffice, too. If the package manager had errors, you can run
`sudo apt-get -f install` or `sudo dpkg --configure --pending` and it'll
run dkms for you as well. Just don't restart X until the new module is
loaded and you'll be fine.

This is using package nvidia-current version 195.36.24-0ubuntu1~10.04.
I'll try to make a debdiff shortly.

** Patch added: "e.g. root@ubuntu:/usr/src# patch -p0 < 
~/Downloads/nvidia-current.diff"
   
https://bugs.edge.launchpad.net/ubuntu/+source/nvidia-graphics-drivers/+bug/653910/+attachment/1829452/+files/nvidia-current.diff

-- 
You received this bug notification because you are a member of Ubuntu-X,
which is subscribed to nvidia-graphics-drivers in ubuntu.
https://bugs.launchpad.net/bugs/653910

Title:
  package nvidia-current 195.36.24-0ubuntu1~10.04 failed to
  install/upgrade:  error: unknown field ‘ioctl’ specified in
  initializer

_______________________________________________
Mailing list: https://launchpad.net/~ubuntu-x-swat
Post to     : ubuntu-x-swat@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntu-x-swat
More help   : https://help.launchpad.net/ListHelp

Reply via email to