[pkg-nvidia-devel] Bug#476504: Patch nvidia-kernel-source?

Benjamí Villoslada benjami at bitassa.cat
Sun May 4 17:14:49 UTC 2008


ou are not allowed to store it in your Windows computer.
MIME-Version: 1.0
Content-Type: text/plain;
  charset="utf-8"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline
Message-Id: <200805041914.49888.benjami at bitassa.cat>
Sender: =?UTF-8?Q?Benjam=C3=AD?= Villoslada <benjami at gmail.com>

Hi,

Can patch users that use Module Assistant?=20
(http://wiki.debian.org/NvidiaGraphicsDrivers > Use module-assistant)

My frustrated try:

1) Unpack nvidia-kernel-source tarball:

=2D------------------------------------
benjami at itaca:/usr/src$ sudo tar xvjf nvidia-kernel.tar.bz2

modules/
modules/nvidia-kernel/
modules/nvidia-kernel/debian/
[...]
=2D------------------------------------

2) Patch:

=2D------------------------------------
benjami at itaca:/usr/src$ cd modules/nvidia-kernel/nv/
benjami at itaca:/usr/src/modules/nvidia-kernel/nv$ sudo patch -p3 -s <=20
~/NVIDIA_kernel-169.12-2286310.diff.txt
=2D------------------------------------

(no response)

3) module-assistant with unpacking:

=2D------------------------------------
$ sudo m-a auto-install nvidia --not-unpack
=2D------------------------------------

4) Stops with this error:

=2D------------------------------------
$ tail -n=20
15 /var/cache/modass/nvidia-kernel-source.buildlog.2.6.25-1-686.1209920771

include/linux/highmem.h:137: warning: pointer of type =E2=80=98void *=E2=80=
=99 used in=20
arithmetic
  LD [M]  /usr/src/modules/nvidia-kernel/nv/nvidia.o
  Building modules, stage 2.
  MODPOST 1 modules
scripts/mod/modpost: invalid option -- S
make[4]: *** [__modpost] Error 1
make[3]: *** [modules] Error 2
make[3]: Leaving directory `/usr/src/linux-headers-2.6.25-1-686'
NVIDIA: left KBUILD.
nvidia.ko failed to build!
make[2]: *** [module] Error 1
make[2]: Leaving directory `/usr/src/modules/nvidia-kernel/nv'
make[1]: *** [build-stamp] Error 2
make[1]: Leaving directory `/usr/src/modules/nvidia-kernel'
make: *** [kdist_image] Error 2
=2D------------------------------------

Regards,


=2D-=20
Benjam=C3=AD
http://blog.bitassa.cat



=2E





More information about the Pkg-nvidia-devel mailing list