Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Using Fedora
FedoraForum Search

Forgot Password? Join Us!

Using Fedora General support for current versions. Ask questions about Fedora and it's software that do not belong in any other forum.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 3rd August 2012, 11:44 PM
uptikool Offline
Registered User
 
Join Date: Jun 2012
Location: illinois
Posts: 13
linuxfirefox
nvidia install

Using the nvidia 259.49 driver and during installation it says unable to build kernel module

checked var log and got this output

nvidia-installer log file '/var/log/nvidia-installer.log'
creation time: Fri Aug 3 15:16:04 2012
installer version: 295.49

PATH: /sbin:/bin:/usr/sbin:/usr/bin

nvidia-installer command line:
./nvidia-installer

Using: nvidia-installer ncurses user interface
-> License accepted.
-> Installing NVIDIA driver version 295.49.
-> Performing CC sanity check with CC="cc".
-> Performing CC version check with CC="cc".
-> Kernel source path: '/lib/modules/3.5.0-2.fc17.x86_64/source'
-> Kernel output path: '/lib/modules/3.5.0-2.fc17.x86_64/build'
-> Performing rivafb check.
-> Performing nvidiafb check.
-> Performing Xen check.
-> Cleaning kernel module build directory.
executing: 'cd ./kernel; make clean'...
-> Building kernel module:
executing: 'cd ./kernel; make module SYSSRC=/lib/modules/3.5.0-2.fc17.x86_64/source SYSOUT=/lib/modules/3.5.0-2.fc17.x86_64/build'...
NVIDIA: calling KBUILD...
make -C /lib/modules/3.5.0-2.fc17.x86_64/build \
KBUILD_SRC=/usr/src/kernels/3.5.0-2.fc17.x86_64 \
KBUILD_EXTMOD="/tmp/selfgz1901/NVIDIA-Linux-x86_64-295.49/kernel" -f /usr/src/kernels/3.5.0-2.fc17.x86_64/Makefile \
modules
test -e include/generated/autoconf.h -a -e include/config/auto.conf || ( \
echo; \
echo " ERROR: Kernel configuration is invalid."; \
echo " include/generated/autoconf.h or include/config/auto.conf are missing.";\
echo " Run 'make oldconfig && make prepare' on kernel src to fix it."; \
echo; \
/bin/false)
mkdir -p /tmp/selfgz1901/NVIDIA-Linux-x86_64-295.49/kernel/.tmp_versions ; rm -f /tmp/selfgz1901/NVIDIA-Linux-x86_64-295.49/kernel/.tmp_versions/*
make -f /usr/src/kernels/3.5.0-2.fc17.x86_64/scripts/Makefile.build obj=/tmp/selfgz1901/NVIDIA-Linux-x86_64-295.49/kernel
cc -Wp,-MD,/tmp/selfgz1901/NVIDIA-Linux-x86_64-295.49/kernel/.nv.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-redhat-linux/4.7.0/include -I/usr/src/kernels/3.5.0-2.fc17.x86_64/arch/x86/include -Iarch/x86/include/generated -Iinclude -I/usr/src/kernels/3.5.0-2.fc17.x86_64/include -include /usr/src/kernels/3.5.0-2.fc17.x86_64/include/linux/kconfig.h -I/tmp/selfgz1901/NVIDIA-Linux-x86_64-295.49/kernel -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -fno-delete-null-pointer-checks -O2 -m64 -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -fstack-protector -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_AVX=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -Wframe-larger-than=2048 -Wno-unused-but-set-variable -fno-omit-frame-pointer -fno-optimize-sibling-calls -g -pg -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -DCC_HAVE_ASM_GOTO -I/tmp/selfgz1901/NVIDIA-Linux-x86_64-295
.49/kernel -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"295.49\" -Wno-unused-function -Wuninitialized -mno-red-zone -mcmodel=kernel -UDEBUG -U_DEBUG -DNDEBUG -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /tmp/selfgz1901/NVIDIA-Linux-x86_64-295.49/kernel/nv.o /tmp/selfgz1901/NVIDIA-Linux-x86_64-295.49/kernel/nv.c
In file included from include/linux/kernel.h:19:0,
from include/linux/sched.h:55,
from include/linux/utsname.h:35,
from /tmp/selfgz1901/NVIDIA-Linux-x86_64-295.49/kernel/nv-linux.h:38,
from /tmp/selfgz1901/NVIDIA-Linux-x86_64-295.49/kernel/nv.c:13:
include/linux/bitops.h: In function ‘hweight_long’:
include/linux/bitops.h:66:41: warning: signed and unsigned type in conditional expression [-Wsign-compare]
In file included from /usr/src/kernels/3.5.0-2.fc17.x86_64/arch/x86/include/asm/uaccess.h:586:0,
from include/linux/poll.h:14,
from /tmp/selfgz1901/NVIDIA-Linux-x86_64-295.49/kernel/nv-linux.h:97,
from /tmp/selfgz1901/NVIDIA-Linux-x86_64-295.49/kernel/nv.c:13:
/usr/src/kernels/3.5.0-2.fc17.x86_64/arch/x86/include/asm/uaccess_64.h: In function ‘copy_from_user’:
/usr/src/kernels/3.5.0-2.fc17.x86_64/arch/x86/include/asm/uaccess_64.h:53:6: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
In file included from /tmp/selfgz1901/NVIDIA-Linux-x86_64-295.49/kernel/nv.c:13:0:
/tmp/selfgz1901/NVIDIA-Linux-x86_64-295.49/kernel/nv-linux.h: At top level:
/tmp/selfgz1901/NVIDIA-Linux-x86_64-295.49/kernel/nv-linux.h:114:75: fatal error: asm/system.h: No such file or directory
compilation terminated.
make[4]: *** [/tmp/selfgz1901/NVIDIA-Linux-x86_64-295.49/kernel/nv.o] Error 1
make[3]: *** [_module_/tmp/selfgz1901/NVIDIA-Linux-x86_64-295.49/kernel] Error 2
make[2]: *** [sub-make] 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.
Reply With Quote
  #2  
Old 4th August 2012, 02:44 AM
Yellowman
Guest
 
Posts: n/a
linuxfirefox
Re: nvidia install

Use a newer nvidia driver or patch the old one.
Reply With Quote
  #3  
Old 4th August 2012, 04:58 AM
uptikool Offline
Registered User
 
Join Date: Jun 2012
Location: illinois
Posts: 13
linuxfirefox
Re: nvidia install

thankyou yellowman i tried the newer 304.30 driver and install went fine but now during the boot sequence it says

started display manager [ok]
and then nothing it just sits there

in order for me to access the gui i need to go to the tty and remove the xorg.conf that the install made and i starts x in fall back mode

any help is appreciated
Reply With Quote
  #4  
Old 4th August 2012, 08:45 AM
Yellowman
Guest
 
Posts: n/a
linuxfirefox
Re: nvidia install

Try the nvidia packages from rpmfusion

http://forums.fedoraforum.org/showthread.php?t=280750

304.30 suffers from blue tinting on all SDL games, post #26 gives instructions for downgrading to 295.59

http://forums.fedoraforum.org/showpo...7&postcount=26
Reply With Quote
  #5  
Old 4th August 2012, 04:33 PM
uptikool Offline
Registered User
 
Join Date: Jun 2012
Location: illinois
Posts: 13
linuxfirefox
Re: nvidia install

hey yellowman

I tried what you did

it got stuck at the same place i checked the var log xorg.3 and this is what it showed me

[ 120.209] (II) NVIDIA dlloader X Driver 295.53 Fri May 11 23:29:56 PDT 2012
[ 120.209] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[ 120.209] (--) using VT number 2

[ 120.211] (EE) No devices detected.
[ 120.211]
Fatal server error:
[ 120.211] no screens found
[ 120.211]
Please consult the Fedora Project support
at http://wiki.x.org
for help.
[ 120.211] Please also check the log file at "/var/log/Xorg.3.log" for additional information.
[ 120.211]
Reply With Quote
  #6  
Old 4th August 2012, 05:04 PM
Yellowman
Guest
 
Posts: n/a
linuxfirefox
Re: nvidia install

Post
Code:
grep -i bios /var/log//Xorg.0.log
Code:
lspci -nn |grep -i vga
Reply With Quote
  #7  
Old 4th August 2012, 05:27 PM
uptikool Offline
Registered User
 
Join Date: Jun 2012
Location: illinois
Posts: 13
linuxfirefox
Re: nvidia install

uptikool@fenrir ~] grep -i bios /var/log//Xorg.0.log
[ 121.968] (--) PCI:*(0:0:2:0) 8086:0116:17aa:3981 rev 9, Mem @ 0xf1400000/4194304, 0xe0000000/268435456, I/O @ 0x00003000/64, BIOS @ 0x????????/131072
[ 121.968] (--) PCI: (0:1:0:0) 10de:0deb:17aa:3981 rev 161, Mem @ 0xf0000000/16777216, 0xc0000000/268435456, 0xd0000000/33554432, I/O @ 0x00002000/128, BIOS @ 0x????????/524288

uptikool@fenrir ~] lspci -nn |grep -i vga
00:02.0 VGA compatible controller [0300]: Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller [8086:0116] (rev 09)
01:00.0 VGA compatible controller [0300]: nVidia Corporation Device [10de:0deb] (rev a1)
Reply With Quote
  #8  
Old 4th August 2012, 05:40 PM
Yellowman
Guest
 
Posts: n/a
linuxfirefox
Re: nvidia install

Quote:
Originally Posted by uptikool View Post
uptikool@fenrir ~] grep -i bios /var/log//Xorg.0.log
[ 121.968] (--) PCI:*(0:0:2:0) 8086:0116:17aa:3981 rev 9, Mem @ 0xf1400000/4194304, 0xe0000000/268435456, I/O @ 0x00003000/64, BIOS @ 0x????????/131072
[ 121.968] (--) PCI: (0:1:0:0) 10de:0deb:17aa:3981 rev 161, Mem @ 0xf0000000/16777216, 0xc0000000/268435456, 0xd0000000/33554432, I/O @ 0x00002000/128, BIOS @ 0x????????/524288

uptikool@fenrir ~] lspci -nn |grep -i vga
00:02.0 VGA compatible controller [0300]: Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller [8086:0116] (rev 09)
01:00.0 VGA compatible controller [0300]: nVidia Corporation Device [10de:0deb] (rev a1)
Your intel graphics card has claimed the video bios and has blocked the nvidia hardware.
Reply With Quote
  #9  
Old 4th August 2012, 05:48 PM
uptikool Offline
Registered User
 
Join Date: Jun 2012
Location: illinois
Posts: 13
linuxfirefox
Re: nvidia install

is there any way to remedy this
Reply With Quote
  #10  
Old 4th August 2012, 06:26 PM
Yellowman
Guest
 
Posts: n/a
linuxfirefox
Re: nvidia install

Quote:
Originally Posted by uptikool View Post
is there any way to remedy this
Disable it in the mobo bios, if that's not possible you will need to google "bumblebee nvidia"
Reply With Quote
  #11  
Old 7th August 2012, 03:37 PM
uptikool Offline
Registered User
 
Join Date: Jun 2012
Location: illinois
Posts: 13
linuxfirefox
Re: nvidia install

Hi Yellowman

I was looking into how to install bumblebee on my laptop a lenovo y570 and found this

https://github.com/Bumblebee-Project...ee/hack-lenovo

its says i need to apply a kernel hack and that kind of scares me could you possibly break it down for me in layman't terms and if it is worth it or not

thanks
Reply With Quote
Reply

Tags
install, nvidia

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Okay to install nVidia GeForce drivers for a PC with nVidia Optimus on F16? CreamCorn Hardware & Laptops 7 9th January 2012 04:34 AM
nvidia geforce 8300 wrong dpi after nvidia driver install agne987 Hardware & Laptops 0 30th June 2010 06:56 PM
No GUI after clean install from both F11 Live/Install DVDs. Nvidia SLI configuration faapilot Installation and Live Media 3 11th September 2009 04:27 AM
Cannot install NVIDIA drivers NVIDIA-Linux-x86-1.0-8178-pkg1.run byhisdeeds Using Fedora 7 4th January 2006 11:52 PM
yum install nvidia-glx kernel-module-nvidia-`(uname -r)` DIDN'T WORK :( jmachine Using Fedora 16 14th July 2005 08:57 PM


Current GMT-time: 22:07 (Saturday, 25-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat