LinuxQuestions.org
Support LQ: Use code LQCO20 and save 20% on CrossOver Office
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices

Reply
 
LinkBack Search this Thread
Old 08-05-2007, 05:50 AM   #1
frenchn00b
Senior Member
 
Registered: Jun 2007
Location: E.U., Mountains :-)
Distribution: Debian, Etch, the greatest
Posts: 2,545

Rep: Reputation: 49
Installing the nvidia 7300 ?


I am running the right script from nvidia:
Code:
sh NVIDIA-Linux-x86-100.14.09-pkg1.run
and get this error message: nvidia.ko failed to build!

Code:
  de/linux/autoconf.h  -I/tmp/selfgz3520/NVIDIA-Linux-x86-100.14.09-pkg1/usr/s
   rc/nv -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing
   -fno-common -Os -pipe -msoft-float -mregparm=3 -freg-struct-return -mpreferr
   ed-stack-boundary=2 -march=i686
    -ffreestanding -maccumulate-outgoing-args -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI
   _SIGNAL_FRAME=1 -I/usr/src/linux-2.6.21.2/include/asm-i386/mach-default -Iin
   clude/asm-i386/mach-default -fomit-frame-pointer -fno-stack-protector -Wdecl
   aration-after-statement -Wno-pointer-sign  -I/tmp/selfgz3520/NVIDIA-Linux-x8
   6-100.14.09-pkg1/usr/src/nv -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat
   -Wchar-subscripts -Wparentheses -Wpointer-arith -Wno-multichar -Werror -O -f
   no-common -msoft-float -MD -Wsign-compare -Wno-cast-qual -Wno-error -D_LOOSE
   _KERNEL_NAMES -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"100.14.09\"
   -UDEBUG -U_DEBUG -DNDEBUG -DNV_SIGNAL_STRUCT_RLIM -DNV_MULTIPLE_BRIDGE_AGPGA
   RT_PRESENT -DNV_PCI_GET_CLASS_PRESENT -DNV_SYSCTL_MAX_MAP_COUNT_PRESENT -DNV
   _PM_MESSAGE_T_PRESENT -DNV_PCI_CHOOSE_STATE_PRESENT -DNV_VM_INSERT_PAGE_PRES
   ENT -DNV_OLD_MM_KGDB_BREAKPOINT_PRESENT -DNV_REMAP_PFN_RANGE_PRESENT -DNV_CH
   ANGE_PAGE_ATTR_PRESENT -DNV_ACQUIRE_CONSOLE_SEM_PRESENT -DNV_VMAP_4_PRESENT
   -DMODULE -D"KBUILD_STR(s)=#s" -D"K
   BUILD_BASENAME=KBUILD_STR(nv_i2c)"  -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c
   -o /tmp/selfgz3520/NVIDIA-Linux-x86-100.14.09-pkg1/usr/src/nv/.tmp_nv-i2c.o
   /tmp/selfgz3520/NVIDIA-Linux-x86-100.14.09-pkg1/usr/src/nv/nv-i2c.c
   In file included from include/linux/list.h:8,
                    from include/linux/wait.h:22,
                    from include/asm/semaphore.h:41,
                    from include/linux/sched.h:59,
                    from include/linux/utsname.h:35,
                    from /tmp/selfgz3520/NVIDIA-Linux-x86-100.14.09-pkg1/usr/sr
   c/nv/nv-linux.h:19,
                    from /tmp/selfgz3520/NVIDIA-Linux-x86-100.14.09-pkg1/usr/sr
   c/nv/nv-i2c.c:8:
   include/linux/prefetch.h: In function ‘prefetch_range’:
   include/linux/prefetch.h:62: warning: pointer of type ‘void *’ used in a
   rithmetic
     cc -Wp,-MD,/tmp/selfgz3520/NVIDIA-Linux-x86-100.14.09-pkg1/usr/src/nv/.nva
   cpi.o.d  -nostdinc -isystem /usr/lib/gcc/i486-linux-gnu/4.1.2/include -D__KE
   RNEL__ -Iinclude -Iinclude2 -I/usr/src/linux-2.6.21.2/include -include inclu
   de/linux/autoconf.h  -I/tmp/selfgz3520/NVIDIA-Linux-x86-100.14.09-pkg1/usr/s
   rc/nv -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing
   -fno-common -Os -pipe -msoft-float -mregparm=3 -freg-struct-return -mpreferr
   ed-stack-boundary=2 -march=i686 -ffreestanding -maccumulate-outgoing-args -D
   CONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -I/usr/src/linux-2.6.21.2/inc
   lude/asm-i386/mach-default -Iinclude/asm-i386/mach-default -fomit-frame-poin
   ter -fno-stack-protector -Wdeclaration-after-statement -Wno-pointer-sign  -I
   /tmp/selfgz3520/NVIDIA-Linux-x86-100.14.09-pkg1/usr/src/nv -Wall -Wimplicit
   -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wparentheses -Wpointer-ar
   ith -Wno-multichar -Werror -O -fno-common -msoft-float -MD -Wsign-compare -W
   no-cast-qual -Wno-error -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE -DNVRM -
   DNV_VERSION_STRING=\"100.14.09\" -UDEBUG -U_DEBUG -DNDEBUG -DNV_SIGNAL_STRUC
   T_RLIM -DNV_MULTIPLE_BRIDGE_AGPGART_PRESENT -DNV_PCI_GET_CLASS_PRESENT -DNV_
   SYSCTL_MAX_MAP_COUNT_PRESENT -DNV_P
   M_MESSAGE_T_PRESENT -DNV_PCI_CHOOSE_STATE_PRESENT -DNV_VM_INSERT_PAGE_PRESEN
   T -DNV_OLD_MM_KGDB_BREAKPOINT_PRESENT -DNV_REMAP_PFN_RANGE_PRESENT -DNV_CHAN
   GE_PAGE_ATTR_PRESENT -DNV_ACQUIRE_CONSOLE_SEM_PRESENT -DNV_VMAP_4_PRESENT -D
   MODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nvacpi)"  -D"KBUIL
   D_MODNAME=KBUILD_STR(nvidia)" -c -o /tmp/selfgz3520/NVIDIA-Linux-x86-100.14.
   09-pkg1/usr/src/nv/.tmp_nvacpi.o /tmp/selfgz3520/NVIDIA-Linux-x86-100.14.09-
   pkg1/usr/src/nv/nvacpi.c
   In file included from include/linux/list.h:8,
                    from include/linux/wait.h:22,
                    from include/asm/semaphore.h:41,
                    from include/linux/sched.h:59,
                    from include/linux/utsname.h:35,
                    from /tmp/selfgz3520/NVIDIA-Linux-x86-100.14.09-pkg1/usr/sr
   c/nv/nv-linux.h:19,
                    from /tmp/selfgz3520/NVIDIA-Linux-x86-100.14.09-pkg1/usr/sr
   c/nv/nvacpi.c:15:
   include/linux/prefetch.h: In function ‘prefetch_range’:
   include/linux/prefetch.h:62: warning: pointer of type ‘void *’ used in a
   rithmetic
     ld -m elf_i386 -m elf_i386  -r -o /tmp/selfgz3520/NVIDIA-Linux-x86-100.14.
   09-pkg1/usr/src/nv/nvidia.o /tmp/selfgz3520/NVIDIA-Linux-x86-100.14.09-pkg1/
   usr/src/nv/nv-kernel.o /tmp/selfgz3520/NVIDIA-Linux-x86-100.14.09-pkg1/usr/s
   rc/nv/nv.o /tmp/selfgz3520/NVIDIA-Linux-x86-100.14.09-pkg1/usr/src/nv/nv-vm.
   o /tmp/selfgz3520/NVIDIA-Linux-x86-100.14.09-pkg1/usr/src/nv/os-agp.o /tmp/s
   elfgz3520/NVIDIA-Linux-x86-100.14.09-pkg1/usr/src/nv/os-interface.o /tmp/sel
   fgz3520/NVIDIA-Linux-x86-100.14.09-pkg1/usr/src/nv/os-registry.o /tmp/selfgz
   3520/NVIDIA-Linux-x86-100.14.09-pkg1/usr/src/nv/nv-i2c.o /tmp/selfgz3520/NVI
   DIA-Linux-x86-100.14.09-pkg1/usr/src/nv/nvacpi.o
     Building modules, stage 2.
   make -f /usr/src/linux-2.6.21.2/scripts/Makefile.modpost
     scripts/mod/modpost -m  -i /usr/src/linux-2.6.21.2/Module.symvers -I /tmp/
   selfgz3520/NVIDIA-Linux-x86-100.14.09-pkg1/usr/src/nv/Module.symvers -o /tmp
   /selfgz3520/NVIDIA-Linux-x86-100.14.09-pkg1/usr/src/nv/Module.symvers -w vml
   inux /tmp/selfgz3520/NVIDIA-Linux-x86-100.14.09-pkg1/usr/src/nv/nvidia.o
   FATAL: modpost: GPL-incompatible module nvidia.ko uses GPL-only symbol 'para
   virt_ops'
   make[4]: *** [__modpost] Error 1
   make[3]: *** [modules] Error 2
   make[2]: *** [modules] 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.
 
Old 08-05-2007, 07:14 AM   #2
raffytaffy
Member
 
Registered: Mar 2006
Distribution: Gentoo2006.1 , Ubuntu 6.10
Posts: 94

Rep: Reputation: 15
I think your problem lies in paravirtualization in your kernel. Try disabling that.
FIX:
'make menuconfig' in the linux source dir, disable the "Paravirtualization
support" option, and do 'make prepare'. Now run the NVidia installer
script and update xorg.conf

Last edited by raffytaffy; 08-05-2007 at 07:18 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Monitor resolution problem + nVidia 7300 LE graphics cars ayesha kalra Linux - Hardware 1 05-26-2007 10:01 PM
Swiching from Nvidia chipset to Nvidia 7300 GE PCIe echat Linux - Hardware 0 02-16-2007 11:12 AM
Trying to install on powerpc Mac 7300 flycast Debian 1 01-29-2007 10:23 PM
how do I optimize my geforce 7300 nvidia card? sleekmason Linux - General 2 12-02-2006 03:16 PM
Installed Easy Ubuntu but have problems w/ Nvidia PCI-E 7300 GS and No sound. Edizzle Ubuntu 2 07-12-2006 05:11 PM


All times are GMT -5. The time now is 04:20 AM.

Main Menu
 
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration