You are not logged in.

#1 2004-07-03 07:46:38

tmadhavan
Member
From: Wales :D
Registered: 2004-03-26
Posts: 441

Installing Nvidia drivers (6106)

Hi all.

After having some probs installing the last lot of 5336 drivers, now I can't get the 6106 ones working.

With the 5336 drivers, at first they were fine. I dl'ed my source code, and installed them exactly as per the Wiki entry. Then, I updated my kernel to 2.6.7 and could no longer install the drivers. So, I searched around a bit and eventually found an Arch package to install the drivers.

Now, because there's a new driver, I can't install it without an Arch package! I shouldn't need one though really, should I?

I've got the full kernel source. Got

/usr/src/linux -> 2.6.7

But when I try to install, I get an error saying that the Nvidia module (or is it kernel?) cannot be built?!

Has anyone else installed these drivers yet?

Thanks.
T

Offline

#2 2004-07-03 08:05:36

tpowa
Developer
From: Lauingen , Germany
Registered: 2004-04-05
Posts: 2,260

Re: Installing Nvidia drivers (6106)

you don't need the full source only if you use a custom kernel
if you use the kernel source
i think you have to copy the config files of your kernel to it

the stock kernels provide everything you need no kernel source needed anymore since 2.6.5

for build info have a look at:
/var/log/nvidia-installer.log

if you want to use pacman and use staging repo
try
pacman -S nvidia
more info about the package at:
http://bbs.archlinux.org/viewtopic.php?t=4004

Offline

#3 2004-07-03 08:08:06

tmadhavan
Member
From: Wales :D
Registered: 2004-03-26
Posts: 441

Re: Installing Nvidia drivers (6106)

Thanks for the quick reply.

I thought I'd seen somewhere that the full source was no longer needed. Maybe it's the config file copying I've left out or something, tho I'm sure I did all that.

I'll give it a try.

If the arch package is working for 6106 drivers, be much easier to just pacman it I suppose.

Thanks again,

T

Offline

#4 2004-07-03 08:15:48

tpowa
Developer
From: Lauingen , Germany
Registered: 2004-04-05
Posts: 2,260

Re: Installing Nvidia drivers (6106)

if you try the package
don't forget to run pacman in init 3 without X
than it calls the nvidia installer itself
it's only pacman wrapper for nvidia installer
so if you downloaded the installer from nvidia
you can use the PKGBUILDS:

Contributor : Tobias Powalowski <t.powa@gmx.de>


pkgname=nvidia
pkgver=1.0.6106
pkgbinary=NVIDIA-Linux-x86-1.0-6106
pkgrel=s1
pkgdesc="The Nvidia drivers for XFree86"
url="http://www.nvidia.com"
depends=('bash' 'gcc' 'binutils' 'glibc' 'make')
source=(ftp://download.nvidia.com/XFree86/Linux-x86/1.0-6106/$pkgbinary-pkg0.run)
install="nvidia.install"
build() { 
  cd $startdir/src/
  chmod +x $pkgbinary-pkg0.run
  mkdir -p $startdir/pkg/opt/nvidia
  mv * $startdir/pkg/opt/nvidia
}
md5sums=('fc033bfe3a96b287816ad81dddf51fb0')


nvidia.install:
post_install() {
cat << EOF

==> REQUIREMENT FOR NVIDIA DRIVER INSTALLATION:
    YOU NEED THE KERNEL-SOURCES OF YOUR CURRENT KERNEL
   
    THE STOCK KERNEL >=2.6.5 SOLVES THAT REQUIREMENT
   
    YOU MUST COMPILE THE MODULE WITH THE COMPILER THAT
    WAS USED FOR THE KERNEL!
   
==> Nvidia-Driver installed to /opt/nvidia
==> turn to console mode and run as root:
==> /opt/nvidia/./NVIDIA-Linux-x86-1.0-6106-pkg0.run
==> to finish installation.

==> If you are in console mode installer starts now!

EOF

/bin/true
/opt/nvidia/./NVIDIA-Linux-x86-1.0-6106-pkg0.run -a -q --no-network --ui=none -n
modprobe nvidia

cat << EOF

ARCH INSTRUCTIONS

==> After installation do the following steps:

==> edit /etc/X11/XF86Config or your X.org config file:
==> Disable in modules section
==> GLcore and DRI

==> Add to modules section
==> Load "glx"

==> change driver "nv" to
==> driver "nvidia"

==> Finally:
==> Add nvidia to /etc/rc.conf modules section

==> If you experience slow 3D Performance have a look at:
    /usr/lib/libGL.so.1 /usr/lib/libGL.so /usr/lib/GLcore.so.1
    perhaps they are wrong linked to mesa or something else

==> For more options and information have a look at the README file:
==> /usr/share/doc/NVIDIA_GLX-1.0/README

DRIVER CONFIG TOOL

==> A config tool for the nvidia-drivers is included called nvidia-settings
    it's only a add-on you don't have to use it
    you have to run it for each user
    For more information have a look at the following file
    /usr/share/doc/NVIDIA_GLX-1.0/nvidia-settings-user-guide.txt
IMPORTANT:
==> If you experience problems like crashing the X-Server running the tool
==> you have to delete your .nvidia-settings-rc file in your home dircetory

KERNEL UPDATE:

==> If you update your kernel you have to recompile the module!
==> A simple 'pacman -S nvidia' should do it
    or rerun the installer at /opt/nvidia/./NVIDIA-Linux-x86-1.0-6106-pkg0.run
EOF
}

post_upgrade() {
post_install $1
}

pre_remove() {
cat << EOF

==> Deinstallation starts now!

EOF

/bin/true
rmmod nvidia
/opt/nvidia/./NVIDIA-Linux-x86-1.0-6106-pkg0.run -a -q --no-network --ui=none --uninstall

cat << EOF
==> Don't forget to update your /etc/X11/XF86Config!
EOF
}

op=$1
shift

$op $*

Offline

#5 2004-07-03 10:34:46

tmadhavan
Member
From: Wales :D
Registered: 2004-03-26
Posts: 441

Re: Installing Nvidia drivers (6106)

Thanks a lot, used the package, installed fine, no problems now.

Don't spose you know how I check what version of the Nvidia driver I currently have installed? Presumably it's 6106 now, as the install was fine. How can I check?

Also, there's sposed to be an Nvidia panel kind of thing, I can't find it. Someone on some NV forum said

nvidia-settings

but that doesn't work.

Anyway, thanks again.
T.

Offline

#6 2004-07-03 10:55:14

lanrat
Member
From: Poland
Registered: 2003-10-28
Posts: 1,274

Re: Installing Nvidia drivers (6106)

Nvidia-settings is not really useful unless you are a gamer :-) I can run it without problems but I don't use nvidia package just original nvidia installer (no problems with update in stock kernel 2.6.7).
You can check your nvidia module version in /var/log/XFree86.0.log for example

(II) LoadModule: "nvidia"
(II) Loading /usr/X11R6/lib/modules/drivers/nvidia_drv.o
(II) Module nvidia: vendor="NVIDIA Corporation"
        compiled for 4.0.2, module version = 1.0.6106
        Module class: XFree86 Video Driver

and of course in nvidia-settings :-)

Offline

#7 2004-07-03 11:12:59

tmadhavan
Member
From: Wales :D
Registered: 2004-03-26
Posts: 441

Re: Installing Nvidia drivers (6106)

Well, for starters I am a gamer, hence the need for Nvidia drivers big_smile

nvidia-settings

just gives a command not found error, and

locate nvidia-settings

returns nothing. Is it Nvidia, rather than nvidia?

Second, I'm using stock 2.6.7 too, drivers just get screwed up, 'cannot build module'. I think maybe I didn't copy over the .config and /include/* files, which I did before I installed the pacman package. But then, how could I have installed the 5336 package? No idea what goes wrong there.

Lastly, I'll check the nvidia logfile when I get home, thanks for that big_smile

Offline

#8 2004-07-03 11:25:14

lanrat
Member
From: Poland
Registered: 2003-10-28
Posts: 1,274

Re: Installing Nvidia drivers (6106)

No is n not N

locate nvidia-settings
/usr/bin/nvidia-settings

I guess it's not included in the package right now and you will have to install it with nvidia-installer if you really want it.

nvidia-settings could be useful for you if you are a gamer but it's not a must (do you have any troubles with standard settings?). You can check what options it has here ftp://download.nvidia.com/XFree86/Linux … -guide.txt It's similar to additional options in nvidia windows drivers.

I had no problems with installation and standard 2.6.7 kernel - anything useful in your /var/log/nvidia-installer.log?

Offline

#9 2004-07-03 11:30:08

tmadhavan
Member
From: Wales :D
Registered: 2004-03-26
Posts: 441

Re: Installing Nvidia drivers (6106)

Shouldn't we be working? Weekend I spose tho...

Heh, anyway, I'm pretty sure nvidia-settings should be installed by default shouldn't it? Seems to be the case over on the nv forums. That's why I was wondering how to check what drivers are actually installed, to check I have the 6106 rather than 5336 still. Or do you mean it's not included in the Arch package, for some reason?

As for the kernel - when you say stock, you compiled from kernel.org?

Mine's stock as in Arch stock, haven't recompiled. No idea what's wrong. As long as the 6106's are installed though, I'm not too bothered about tweaks. Most of it can be done by hand in the config files anyway can't it? I'll check it all out as soon as I'm home.

Cheers,
T.

Offline

#10 2004-07-03 11:44:27

sarah31
Member
From: Middle of Canada
Registered: 2002-08-20
Posts: 2,975
Website

Re: Installing Nvidia drivers (6106)

the problem is likely that since the driver package is being placed in /opt and the $PATH is not being set you would likely have to type in the literal path to the binary. (you will have to explore the /opt/nvidia directory for the correct path i think)


AKA uknowme

I am not your friend

Offline

#11 2004-07-03 12:22:24

tpowa
Developer
From: Lauingen , Germany
Registered: 2004-04-05
Posts: 2,260

Re: Installing Nvidia drivers (6106)

my package uses the nvidia-installer
nvidia-settings is installed to /usr/bin
it is there and it should work
it is only not there if something went wrong
has nothing to do with the $path

Offline

#12 2004-07-03 12:27:32

tpowa
Developer
From: Lauingen , Germany
Registered: 2004-04-05
Posts: 2,260

Re: Installing Nvidia drivers (6106)

with stock kernel that means the standard arch kernel

Offline

#13 2004-07-03 13:09:16

tmadhavan
Member
From: Wales :D
Registered: 2004-03-26
Posts: 441

Re: Installing Nvidia drivers (6106)

Hmmm ok thanks tpowa.

If that's so, presumably there's something wrong with my installation?

I'll have to have a closer look when I get home. Really should set up some sort of remote connection on my home machine, heh.

Update later.
T

Offline

#14 2004-07-03 13:15:51

tpowa
Developer
From: Lauingen , Germany
Registered: 2004-04-05
Posts: 2,260

Re: Installing Nvidia drivers (6106)

about nvidia-settings:

i get the X-Server crash on 2 machines
it happens after using the tool
and recall it after that
after removing .nvidia-rc file it works again

only on 1 machine no problem with that

good luck using the tool

Offline

#15 2004-07-03 13:22:58

Kihaji
Member
Registered: 2004-04-04
Posts: 12

Re: Installing Nvidia drivers (6106)

Make sure your path includes /usr/bin, I'm guessing yours doesn't.

Offline

#16 2004-07-03 15:56:19

tmadhavan
Member
From: Wales :D
Registered: 2004-03-26
Posts: 441

Re: Installing Nvidia drivers (6106)

Regardless of whether my path includes /usr/bin or not, surely when I run

locate nvidia-settings

as root (after running updatedb, I might add) it should still be found, wherever it is?

If /usr/bin is not in my path, that only means that I cannot run nvidia-settings from my normal user console without explicitly stating the /usr/bin/blah path yeh?

It seems like it wasn't installed there for some reason. Should be home in an hour, I'll check it out and see what the situation is.

T.

Offline

#17 2004-07-03 17:07:07

tmadhavan
Member
From: Wales :D
Registered: 2004-03-26
Posts: 441

Re: Installing Nvidia drivers (6106)

Well, everything I've said is pretty much useless now, it turns out that the 6106 driver did not install correctly.

I checked the xfree log and it still loads the 5336 driver. Bugger.

OK, here's my nvidia-installer.log (I tried installing from the nvidia binary after copying my .config and /include/* files) :

nvidia-installer log file '/var/log/nvidia-installer.log'
creation time: Sat Jul  3 17:54:08 2004

option status:
  license pre-accepted    : false
  update                  : false
  force update            : false
  expert                  : false
  uninstall               : false
  driver info             : false
  no precompiled interface: false
  no ncurses color        : false
  query latest driver ver : false
  OpenGL header files     : false
  no questions            : false
  silent                  : false
  X install prefix        : /usr/X11R6
  OpenGL install prefix   : /usr
  Installer install prefix: /usr
  kernel source path      : (not specified)
  kernel install path     : (not specified)
  proc mount point        : /proc
  ui                      : (not specified)
  tmpdir                  : /tmp
  ftp site                : ftp://download.nvidia.com

Using: nvidia-installer ncurses user interface
-> License accepted.
-> There appears to already be a driver installed on your system (version: 1.0-
   5336).  As part of installing this driver (version: 1.0-6106), the existing 
   driver will be uninstalled.  Are you sure you want to continue? ('no' will a
   bort installation) (Answer: Yes)
-> No precompiled kernel interface was found to match your kernel; would you li
   ke the installer to attempt to download a kernel interface for your kernel f
   rom the NVIDIA ftp site (ftp://download.nvidia.com)? (Answer: No)
-> No precompiled kernel interface was found to match your kernel; this means
   that the installer will need to compile a new kernel interface.
-> Kernel source path: '/lib/modules/2.6.7/build'
-> Performing cc_version_check with CC="cc".
-> Performing rivafb check.
-> Performing rivafb module check.
-> Cleaning kernel module build directory.
   executing: 'cd ./usr/src/nv; make clean'...
   rm -f -f nv.o os-agp.o os-interface.o os-registry.o nv.o os-agp.o os-interfa
   ce.o os-registry.o nvidia.mod.o
   rm -f -f build-in.o nv-linux.o *.d .*.{cmd,flags}
   rm -f -f nvidia.{o,ko,mod.{o,c}} nv_compiler.h *~
-> Building kernel module:
   executing: 'cd ./usr/src/nv; make module SYSSRC=/lib/modules/2.6.7/build'...
   
   NVIDIA: calling KBUILD...
   mkdir -p /tmp/selfgz2350/NVIDIA-Linux-x86-1.0-6106-pkg1/usr/src/nv/.tmp_vers
   ions
   make -f scripts/Makefile.build obj=/tmp/selfgz2350/NVIDIA-Linux-x86-1.0-6106
   -pkg1/usr/src/nv
   echo #define NV_COMPILER "`cc -v 2>&1 | tail -n 1`" > /tmp/selfgz2350/NVI
   DIA-Linux-x86-1.0-6106-pkg1/usr/src/nv/nv_compiler.h
     cc -Wp,-MD,/tmp/selfgz2350/NVIDIA-Linux-x86-1.0-6106-pkg1/usr/src/nv/.nv.o
   .d -nostdinc -iwithprefix include -D__KERNEL__ -Iinclude  -Wall -Wstrict-pro
   totypes -Wno-trigraphs -fno-strict-aliasing -fno-common -pipe -msoft-float -
   mpreferred-stack-boundary=2 -fno-unit-at-a-time -march=i686 -Iinclude/asm-i3
   86/mach-default -O2 -fomit-frame-pointer -Wdeclaration-after-statement -I/tm
   p/selfgz2350/NVIDIA-Linux-x86-1.0-6106-pkg1/usr/src/nv -Wall -Wimplicit -Wre
   turn-type -Wswitch -Wformat -Wchar-subscripts -Wparentheses -Wpointer-arith 
   -Wno-multichar  -Werror -O -fno-common -MD   -Wno-cast-qual -Wno-error -D_LO
   OSE_KERNEL_NAMES -D__KERNEL__ -DMODULE  -DNTRM -D_GNU_SOURCE -D_LOOSE_KERNEL
   _NAMES -
   D__KERNEL__ -DMODULE  -DNV_MAJOR_VERSION=1 -DNV_MINOR_VERSION=0 -DNV_PATCHLE
   VEL=6106  -DNV_UNIX   -DNV_LINUX   -DNV_INT64_OK   -DNVCPU_X86       -DNV_CH
   ANGE_PAGE_ATTR_PRESENT -DNV_CLASS_SIMPLE_PRESENT  -DMODULE -DKBUILD_BASENAME
   =nv -DKBUILD_MODNAME=nvidia -c -o /tmp/selfgz2350/NVIDIA-Linux-x86-1.0-6106-
   pkg1/usr/src/nv/nv.o /tmp/selfgz2350/NVIDIA-Linux-x86-1.0-6106-pkg1/usr/src/
   nv/nv.c
   In file included from include/linux/list.h:7,
                    from include/linux/wait.h:14,
                    from include/asm/semaphore.h:41,
                    from include/linux/sched.h:18,
                    from include/linux/module.h:10,
                    from /tmp/selfgz2350/NVIDIA-Linux-x86-1.0-6106-pkg1/usr/src
   /nv/nv-linux.h:52,
                    from /tmp/selfgz2350/NVIDIA-Linux-x86-1.0-6106-pkg1/usr/src
   /nv/nv.c:14:
   include/linux/prefetch.h: In function `prefetch_range':
   include/linux/prefetch.h:62: warning: pointer of type `void *' used in arith
   metic
   /bin/sh: line 1: scripts/basic/fixdep: No such file or directory
   make[3]: *** [/tmp/selfgz2350/NVIDIA-Linux-x86-1.0-6106-pkg1/usr/src/nv/nv.o
   ] Error 1
   make[2]: *** [_module_/tmp/selfgz2350/NVIDIA-Linux-x86-1.0-6106-pkg1/usr/src
   /nv] Error 2
   NVIDIA: left KBUILD.
   nvidia.ko failed to build!
   make[1]: *** [module] Error 1
   make: *** [module] Error 2
-> Error.
ERROR: Unable to build the NVIDIA kernel module.
ERROR: Installation has failed.  Please see the file
       '/var/log/nvidia-installer.log' for details.  You may find suggestions
       on fixing installation problems in the README available on the Linux
       driver download page at www.nvidia.com.

I can't

pacman -A nvidia*6106*.pkg.tar.gz

as I did with tpowa's 5336 package, it says that the package is already istalled. I tried

pacman --upgrade nvidia*6106

and that appeared to work (that's what I did earlier, when I thought it installed), but evidently it didn't.

So, now I'm going to try removing nvidia5336, then adding nvidia6106 again from scratch. Dunno if there's any point...? But I don't know what else to do at the moment so I'll give it a crack. If it doesn't work I'll be using my dad's lovely Win98 machine to post again big_smile

(Hopefully) See you soon.
T.

Offline

#18 2004-07-03 17:47:34

lanrat
Member
From: Poland
Registered: 2003-10-28
Posts: 1,274

Re: Installing Nvidia drivers (6106)

I compared my nvidia-installer.log to yours and here it is:

   /bin/sh: line 1: scripts/basic/fixdep: No such file or directory

I don't have this error in my log. Then

locate fixdep
/usr/src/linux-2.6.7/scripts/basic/.fixdep.cmd
/usr/src/linux-2.6.7/scripts/basic/fixdep
/usr/src/linux-2.6.7/scripts/basic/fixdep.c

pacman -Qo /usr/src/linux-2.6.7/scripts/basic/fixdep
/usr/src/linux-2.6.7/scripts/basic/fixdep is owned by kernel26 2.6.7-1

Which means that your kernel installation is missing at least this script (and right now I'm using standard arch 2.6.7 kernel installed with pacman -S kernel26 - that's all. no recompilation)

Offline

#19 2004-07-03 17:55:21

iotc247
Member
From: Florida
Registered: 2004-05-31
Posts: 177
Website

Re: Installing Nvidia drivers (6106)

Try downloading the kernel from kernel.org and compile it.. Its better to do that anyways to make a faster boot.. Then download the nvidia installer.. And as root sh NVIDIA* or you can type the whole name.. The reason it loads the 5336 module is probably because the arch packages doesnt remove the old one.. Its not removing the old modules... So do that.. Should fix it..

Offline

#20 2004-07-04 07:52:06

tpowa
Developer
From: Lauingen , Germany
Registered: 2004-04-05
Posts: 2,260

Re: Installing Nvidia drivers (6106)

my suggestion for your problem:
if you have used my package run
pacman -R nvidia
then the module should be deinstalled
or run
NVIDIA-Linux-x86-1.0-6106-pkg0.run --uninstall
then go to /usr/src
i assume you use the arch kernel26 or scsi (2.6.7)
mv 2.6.7 to what you want to be on the safe side
(in my case there is no other directory only 2.6.7, also no /usr/src/linux!)
now that your /usr/src is "clean"
now check /lib/modules/2.6.7/kernel/drivers/video
remove the nvidia.ko if it exists
reinstall your kernel
by using pacman -S kernel26 or kernel26-scsi (be carefull with lilo to be able to boot again)
now reinstall nvidia drivers
by pacman -S nvidia or running NVIDIA-Linux-x86-1.0-6106-pkg0.run
now it should definitly work
if all went okay you can remove your "old" 2.6.7 in /usr/src

Offline

#21 2004-07-04 08:00:43

tpowa
Developer
From: Lauingen , Germany
Registered: 2004-04-05
Posts: 2,260

Re: Installing Nvidia drivers (6106)

the nvidia log should look like this:

nvidia-installer log file '/var/log/nvidia-installer.log'
creation time: Sat Jul  3 13:53:34 2004

option status:
  license pre-accepted    : true
  update                  : false
  force update            : false
  expert                  : false
  uninstall               : false
  driver info             : false
  no precompiled interface: true
  no ncurses color        : false
  query latest driver ver : false
  OpenGL header files     : false
  no questions            : true
  silent                  : false
  X install prefix        : /usr/X11R6
  OpenGL install prefix   : /usr
  Installer install prefix: /usr
  kernel source path      : (not specified)
  kernel install path     : (not specified)
  proc mount point        : /proc
  ui                      : none
  tmpdir                  : /tmp
  ftp site                : ftp://download.nvidia.com

Using built-in stream user interface
-> License accepted by command line option.
-> Not probing for precompiled kernel interfaces.
-> Kernel source path: '/lib/modules/2.6.7/build'
-> Performing cc_version_check with CC="cc".
-> Performing rivafb check.
-> Performing rivafb module check.
-> Cleaning kernel module build directory.
   executing: 'cd ./usr/src/nv; make clean'...
   rm -f -f nv.o os-agp.o os-interface.o os-registry.o nv.o os-agp.o os-interfa
   ce.o os-registry.o nvidia.mod.o
   rm -f -f build-in.o nv-linux.o *.d .*.{cmd,flags}
   rm -f -f nvidia.{o,ko,mod.{o,c}} nv_compiler.h *~
-> Building kernel module:
   executing: 'cd ./usr/src/nv; make module SYSSRC=/lib/modules/2.6.7/build'...
   
   NVIDIA: calling KBUILD...
   mkdir -p /tmp/selfgz3730/NVIDIA-Linux-x86-1.0-6106-pkg0/usr/src/nv/.tmp_vers
   ions
   make -f scripts/Makefile.build obj=/tmp/selfgz3730/NVIDIA-Linux-x86-1.0-6106
   -pkg0/usr/src/nv
   echo #define NV_COMPILER "`cc -v 2>&1 | tail -n 1`" > /tmp/selfgz3730/NVI
   DIA-Linux-x86-1.0-6106-pkg0/usr/src/nv/nv_compiler.h
     cc -Wp,-MD,/tmp/selfgz3730/NVIDIA-Linux-x86-1.0-6106-pkg0/usr/src/nv/.nv.o
   .d -nostdinc -iwithprefix include -D__KERNEL__ -Iinclude  -Wall -Wstrict-pro
   totypes -Wno-trigraphs -fno-strict-aliasing -fno-common -pipe -msoft-float -
   mpreferred-stack-boundary=2 -fno-unit-at-a-time -march=i686 -Iinclude/asm-i3
   86/mach-default -O2 -fomit-frame-pointer -Wdeclaration-after-statement -I/tm
   p/selfgz3730/NVIDIA-Linux-x86-1.0-6106-pkg0/usr/src/nv -Wall -Wimplicit -Wre
   turn-type -Wswitch -Wformat -Wchar-subscripts -Wparentheses -Wpointer-arith
   -Wno-multichar  -Werror -O -fno-common -MD   -Wno-cast-qual -Wno-error -D_LO
   OSE_KERNEL_NAMES -D__KERNEL__ -DMODULE  -DNTRM -D_GNU_SOURCE -D_LOOSE_KERNEL
   _NAMES -
   D__KERNEL__ -DMODULE  -DNV_MAJOR_VERSION=1 -DNV_MINOR_VERSION=0 -DNV_PATCHLE
   VEL=6106  -DNV_UNIX   -DNV_LINUX   -DNV_INT64_OK   -DNVCPU_X86       -DNV_CH
   ANGE_PAGE_ATTR_PRESENT -DNV_CLASS_SIMPLE_PRESENT  -DMODULE -DKBUILD_BASENAME
   =nv -DKBUILD_MODNAME=nvidia -c -o /tmp/selfgz3730/NVIDIA-Linux-x86-1.0-6106-
   pkg0/usr/src/nv/nv.o /tmp/selfgz3730/NVIDIA-Linux-x86-1.0-6106-pkg0/usr/src/
   nv/nv.c
   In file included from include/linux/list.h:7,
                    from include/linux/wait.h:14,
                    from include/asm/semaphore.h:41,
                    from include/linux/sched.h:18,
                    from include/linux/module.h:10,
                    from /tmp/selfgz3730/NVIDIA-Linux-x86-1.0-6106-pkg0/usr/src
   /nv/nv-linux.h:52,
                    from /tmp/selfgz3730/NVIDIA-Linux-x86-1.0-6106-pkg0/usr/src
   /nv/nv.c:14:
   include/linux/prefetch.h: In function `prefetch_range':
   include/linux/prefetch.h:62: Warnung: Zeiger auf Typen >>void *<< in Arithme
   tik verwendet
     cc -Wp,-MD,/tmp/selfgz3730/NVIDIA-Linux-x86-1.0-6106-pkg0/usr/src/nv/.os-a
   gp.o.d -nostdinc -iwithprefix include -D__KERNEL__ -Iinclude  -Wall -Wstrict
   -prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -pipe -msoft-flo
   at -mpreferred-stack-boundary=2 -fno-unit-at-a-time -march=i686 -Iinclude/as
   m-i386/mach-default -O2 -fomit-frame-pointer -Wdeclaration-after-statement -
   I/tmp/selfgz3730/NVIDIA-Linux-x86-1.0-6106-pkg0/usr/src/nv -Wall -Wimplicit
   -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wparentheses -Wpointer-ar
   ith  -Wno-multichar  -Werror -O -fno-common -MD   -Wno-cast-qual -Wno-error
   -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE  -DNTRM -D_GNU_SOURCE -D_LOOSE_K
   ERNEL_NAMES -D__KERNEL__ -DMODULE  -DNV_MAJOR_VERSION=1 -DNV_MINOR_VERSION=0
   -DNV_PATCHLEVEL=6106  -DNV_UNIX   -DNV_LINUX   -DNV_INT64_OK   -DNVCPU_X86 
       -DNV_CHANGE_PAGE_ATTR_PRESENT -DNV_CLASS_SIMPLE_PRESENT  -DMODULE -DKBUI
   LD_BASENAME=os_agp -DKBUILD_MODNAME=nvidia -c -o /tmp/selfgz3730/NVIDIA-Linu
   x-x86-1.0-6106-pkg0/usr/src/nv/os-agp.o /tmp/selfgz3730/NVIDIA-Linux-x86-1.0
   -6106-pkg0/usr/src/nv/os
   -agp.c
   In file included from include/linux/list.h:7,
                    from include/linux/wait.h:14,
                    from include/asm/semaphore.h:41,
                    from include/linux/sched.h:18,
                    from include/linux/module.h:10,
                    from /tmp/selfgz3730/NVIDIA-Linux-x86-1.0-6106-pkg0/usr/src
   /nv/nv-linux.h:52,
                    from /tmp/selfgz3730/NVIDIA-Linux-x86-1.0-6106-pkg0/usr/src
   /nv/os-agp.c:24:
   include/linux/prefetch.h: In function `prefetch_range':
   include/linux/prefetch.h:62: Warnung: Zeiger auf Typen >>void *<< in Arithme
   tik verwendet
     cc -Wp,-MD,/tmp/selfgz3730/NVIDIA-Linux-x86-1.0-6106-pkg0/usr/src/nv/.os-i
   nterface.o.d -nostdinc -iwithprefix include -D__KERNEL__ -Iinclude  -Wall -W
   strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -pipe -mso
   ft-float -mpreferred-stack-boundary=2 -fno-unit-at-a-time -march=i686 -Iincl
   ude/asm-i386/mach-default -O2 -fomit-frame-pointer -Wdeclaration-after-state
   ment -I/tmp/selfgz3730/NVIDIA-Linux-x86-1.0-6106-pkg0/usr/src/n
   v -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wparen
   theses -Wpointer-arith  -Wno-multichar  -Werror -O -fno-common -MD   -Wno-ca
   st-qual -Wno-error -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE  -DNTRM -D_GN
   U_SOURCE -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE  -DNV_MAJOR_VERSION=1 -
   DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=6106  -DNV_UNIX   -DNV_LINUX   -DNV_INT6
   4_OK   -DNVCPU_X86       -DNV_CHANGE_PAGE_ATTR_PRESENT -DNV_CLASS_SIMPLE_PRE
   SENT  -DMODULE -DKBUILD_BASENAME=os_interface -DKBUILD_MODNAME=nvidia -c -o
   /tmp/selfgz3730/NVIDIA-Linux-x86-1.0-6106-pkg0/usr/src/nv/os-interface.o /tm
   p/selfgz3730/NVIDIA-Linux-x86-1.0-6106-pkg0/usr/src/nv/os-interface.c
   In file included from include/linux/list.h:7,
                    from include/linux/wait.h:14,
                    from include/asm/semaphore.h:41,
                    from include/linux/sched.h:18,
                    from include/linux/module.h:10,
                    from /tmp/selfgz3730/NVIDIA-Linux-x86-1.0-6106-pkg0/usr/src
   /nv/nv-linux.h:52,
                    from /tmp/selfgz3730/NVIDIA-Linux-x86-1.0-6106-pkg0/usr/src
   /nv/os-interface.c:26:
   include/linux/prefetch.h: In function `prefetch_range':
   include/linux/prefetch.h:62: Warnung: Zeiger auf Typen >>void *<< in Arithme
   tik verwendet
     cc -Wp,-MD,/tmp/selfgz3730/NVIDIA-Linux-x86-1.0-6106-pkg0/usr/src/nv/.os-r
   egistry.o.d -nostdinc -iwithprefix include -D__KERNEL__ -Iinclude  -Wall -Ws
   trict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -pipe -msof
   t-float -mpreferred-stack-boundary=2 -fno-unit-at-a-time -march=i686 -Iinclu
   de/asm-i386/mach-default -O2 -fomit-frame-pointer -Wdeclaration-after-statem
   ent -I/tmp/selfgz3730/NVIDIA-Linux-x86-1.0-6106-pkg0/usr/src/nv -Wall -Wimpl
   icit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wparentheses -Wpoint
   er-arith  -Wno-multichar  -Werror -O -fno-common -MD   -Wno-cast-qual -Wno-e
   rror -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE  -DNTRM -D_GNU_SOURCE -D_LO
   OSE_KERNEL_NAMES -D__KERNEL__ -DMODULE  -DNV_MAJOR_VERSION=1 -DNV_MINOR_VERS
   ION=0 -DNV_PATCHLEVEL=6106  -D
   NV_UNIX   -DNV_LINUX   -DNV_INT64_OK   -DNVCPU_X86       -DNV_CHANGE_PAGE_AT
   TR_PRESENT -DNV_CLASS_SIMPLE_PRESENT  -DMODULE -DKBUILD_BASENAME=os_registry
   -DKBUILD_MODNAME=nvidia -c -o /tmp/selfgz3730/NVIDIA-Linux-x86-1.0-6106-pkg0
   /usr/src/nv/os-registry.o /tmp/selfgz3730/NVIDIA-Linux-x86-1.0-6106-pkg0/usr
   /src/nv/os-registry.c
   In file included from include/linux/list.h:7,
                    from include/linux/wait.h:14,
                    from include/asm/semaphore.h:41,
                    from include/linux/sched.h:18,
                    from include/linux/module.h:10,
                    from /tmp/selfgz3730/NVIDIA-Linux-x86-1.0-6106-pkg0/usr/src
   /nv/nv-linux.h:52,
                    from /tmp/selfgz3730/NVIDIA-Linux-x86-1.0-6106-pkg0/usr/src
   /nv/os-registry.c:14:
   include/linux/prefetch.h: In function `prefetch_range':
   include/linux/prefetch.h:62: Warnung: Zeiger auf Typen >>void *<< in Arithme
   tik verwendet
     ld -m elf_i386  -r -o /tmp/selfgz3730/NVIDIA-Linux-x86-1.0-6106-pkg0/usr/s
   rc/nv/nvidia.o /tmp/selfgz3730/NVIDIA-Linux-x86-1.0-6106-pkg0/usr/src/nv/nv-
   kernel.o /tmp/selfgz3730/NVIDIA-Linux-x86-1.0-6106-pkg0/usr/src/nv/nv.o /tmp
   /selfgz3730/NVIDIA-Linux-x86-1.0-6106-pkg0/usr/src/nv/os-agp.o /tmp/selfgz37
   30/NVIDIA-Linux-x86-1.0-6106-pkg0/usr/src/nv/os-interface.o /tmp/selfgz3730/
   NVIDIA-Linux-x86-1.0-6106-pkg0/usr/src/nv/os-registry.o
     Building modules, stage 2.
   make -rR -f /usr/src/linux-2.6.7/scripts/Makefile.modpost
     scripts/modpost -i /usr/src/linux-2.6.7/Module.symvers /tmp/selfgz3730/NVI
   DIA-Linux-x86-1.0-6106-pkg0/usr/src/nv/nvidia.o
     cc -Wp,-MD,/tmp/selfgz3730/NVIDIA-Linux-x86-1.0-6106-pkg0/usr/src/nv/.nvid
   ia.mod.o.d -nostdinc -iwithprefix include -D__KERNEL__ -Iinclude  -Wall -Wst
   rict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -pipe -msoft
   -float -mpreferred-stack-boundary=2 -fno-unit-at-a-time -march=i686 -Iinclud
   e/asm-i386/mach-default -O2 -fomit-frame-pointer -Wdeclaration-after-stateme
   nt    -DKBUILD_BASENAME=nvidia -DKBUILD_MODNAME=nvidia -DMODULE -c -o /tmp/s
   elfgz3730/NVIDIA-Linux-x86-1.0-6106-pkg
   0/usr/src/nv/nvidia.mod.o /tmp/selfgz3730/NVIDIA-Linux-x86-1.0-6106-pkg0/usr
   /src/nv/nvidia.mod.c
     ld -m elf_i386 -r -o /tmp/selfgz3730/NVIDIA-Linux-x86-1.0-6106-pkg0/usr/sr
   c/nv/nvidia.ko /tmp/selfgz3730/NVIDIA-Linux-x86-1.0-6106-pkg0/usr/src/nv/nvi
   dia.o /tmp/selfgz3730/NVIDIA-Linux-x86-1.0-6106-pkg0/usr/src/nv/nvidia.mod.o
   NVIDIA: left KBUILD.
-> done.
-> Kernel module compilation complete.
-> Installing classic TLS OpenGL libraries.
-> Installing 'NVIDIA Accelerated Graphics Driver for Linux-x86' (1.0-6106):
   executing: './usr/src/nv/makedevices.sh'...
   executing: '/sbin/ldconfig'...
   executing: '/sbin/depmod -aq'...
-> done.
-> Driver file installation is complete.
-> Running post-install sanity check:
-> done.
-> Sanity check passed.
-> Shared memory test passed.
-> Installation of the NVIDIA Accelerated Graphics Driver for Linux-x86
   (version: 1.0-6106) is now complete.  Please update your XF86Config or
   xorg.conf file as appropriate; see the file
   /usr/share/doc/NVIDIA_GLX-1.0/README for details.

Offline

#22 2004-07-04 11:51:29

tmadhavan
Member
From: Wales :D
Registered: 2004-03-26
Posts: 441

Re: Installing Nvidia drivers (6106)

OK looks like I will have to install my kernel over again, which is a bastard. Don't really want to recompile it, just plain lazy. Atm I'm stuck on my dad's Win98 machine, got no X at all on my Arch box atm.

I've done

pacman -R nvidia

and it seems to be uninstalled. I'll have a go at what tpowa said, cheers for that little How-To.

Btw, yeh I am using the kernel26 2.6.7 Arch kernel, don't know how it got buggered up. I'll try it all again from scratch though anyway.

Get back to you when I've tried it.

T.

Offline

#23 2004-07-04 11:53:32

tmadhavan
Member
From: Wales :D
Registered: 2004-03-26
Posts: 441

Re: Installing Nvidia drivers (6106)

One more thing:

What about my old kernel .config and /include/*? Do I need to copy all of those over as well after I install the fresh kernel?

Ta.

T

Offline

#24 2004-07-04 11:55:55

tpowa
Developer
From: Lauingen , Germany
Registered: 2004-04-05
Posts: 2,260

Re: Installing Nvidia drivers (6106)

no i don't think so
because the stock arch kernel supplies all what is needed
for the nvidia package
only if you use a custom kernel you have to copy the .config file
i never compiled a kernel in arch it works right out the box

Offline

#25 2004-07-04 11:57:54

tpowa
Developer
From: Lauingen , Germany
Registered: 2004-04-05
Posts: 2,260

Re: Installing Nvidia drivers (6106)

by the way
if you can't start X
why not use vesa or nv as driver? that should work too
to get X running again in case of emergency

Offline

Board footer

Powered by FluxBB