13d98 nVidia Drivers - The FreeBSD Forums
The FreeBSD Forums  

Go Back   The FreeBSD Forums > Desktop Usage > X.Org

X.Org X.Org on FreeBSD installation & configuration.

Reply
 
Thread Tools Display Modes
  #1  
Old September 1st, 2009, 02:53
Dissident85 Dissident85 is offline
Junior Member
 
Join Date: Aug 2009
Location: Sydney, Australia
Posts: 16
Thanks: 0
Thanked 0 Times in 0 Posts
Default nVidia Drivers

Hi all, I am trying to install the nVidia drivers onto my laptop but i keep getting this error
Code:
"/usr/share/mk/bsd.kmod.mk", line 12: "can't find kernel source tree"
I would think that i need to get the kernel source? Is that correct? If so how do i go about getting it?

Cheers.
Reply With Quote
  #2  
Old September 1st, 2009, 05:11
Voltar Voltar is offline
Member
 
Join Date: Dec 2008
Location: Bakersfield, California, US
Posts: 191
Thanks: 9
Thanked 23 Times in 17 Posts
Default

http://www.freebsd.org/doc/en/books/...upgrading.html

I personally use csup to fetch sources.
__________________
...
Reply With Quote
  #3  
Old September 1st, 2009, 06:14
Dissident85 Dissident85 is offline
Junior Member
 
Join Date: Aug 2009
Location: Sydney, Australia
Posts: 16
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by Voltar View Post
http://www.freebsd.org/doc/en/books/...upgrading.html

I personally use csup to fetch sources.
Thanks for that, but how exactly do it do that? I am having a little bit of trouble using it.

Also, I tried to use sysinstall to install the kernel source from a cd, via Configure -> Distributions -> src -> base

and then went on to try to install the nVidia drivers again but i got the same error.
Reply With Quote
  #4  
Old September 1st, 2009, 06:36
Dissident85 Dissident85 is offline
Junior Member
 
Join Date: Aug 2009
Location: Sydney, Australia
Posts: 16
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Code:
dissident# cat /root/supfile
*default tag=.
*default host=cvsup.au.FreeBSD.org
*default prefix=/usr
*default base=/var/db
*default release=cvs delete use-rel-suffix compress

src-base release=cvs
dissident# /usr/local/bin/cvsup /root/supfile
Connected to cvsup.au.FreeBSD.org
Updating collection src-base/cvs
Finished successfully
dissident# pwd
/usr/ports/x11/nvidia-driver
dissident# make install clean
===>  Building for nvidia-driver-185.18.29
===> src (all)
"/usr/share/mk/bsd.kmod.mk", line 12: "can't find kernel source tree"
*** Error code 1

Stop in /usr/ports/x11/nvidia-driver/work/NVIDIA-FreeBSD-x86-185.18.29.
*** Error code 1

Stop in /usr/ports/x11/nvidia-driver.
*** Error code 1

Stop in /usr/ports/x11/nvidia-driver.
dissident#
I dont know if i did it right, but there is the out put

PS: sorry to post again, but i cant edit posts...
Reply With Quote
  #5  
Old September 1st, 2009, 06:48
Voltar Voltar is offline
Member
 
Join Date: Dec 2008
Location: Bakersfield, California, US
Posts: 191
Thanks: 9
Thanked 23 Times in 17 Posts
Default

Quote:
Originally Posted by Dissident85 View Post
Code:
dissident# cat /root/supfile
*default tag=.
*default host=cvsup.au.FreeBSD.org
*default prefix=/usr
*default base=/var/db
*default release=cvs delete use-rel-suffix compress

src-base release=cvs
dissident# /usr/local/bin/cvsup /root/supfile
Connected to cvsup.au.FreeBSD.org
Updating collection src-base/cvs
Finished successfully
dissident# pwd
/usr/ports/x11/nvidia-driver
dissident# make install clean
===>  Building for nvidia-driver-185.18.29
===> src (all)
"/usr/share/mk/bsd.kmod.mk", line 12: "can't find kernel source tree"
*** Error code 1

Stop in /usr/ports/x11/nvidia-driver/work/NVIDIA-FreeBSD-x86-185.18.29.
*** Error code 1

Stop in /usr/ports/x11/nvidia-driver.
*** Error code 1

Stop in /usr/ports/x11/nvidia-driver.
dissident#
I dont know if i did it right, but there is the out put

PS: sorry to post again, but i cant edit posts...
What version of FreeBSD, and what arch?

Your supfile is currently fetching 8-CURRENT, just making sure that is what you're running.
__________________
...
Reply With Quote
  #6  
Old September 1st, 2009, 06:56
Dissident85 Dissident85 is offline
Junior Member
 
Join Date: Aug 2009
Location: Sydney, Australia
Posts: 16
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Code:
uname && uname -r && uname -m
FreeBSD
8.0-BETA3
i386
Reply With Quote
  #7  
Old September 1st, 2009, 10:48
DutchDaemon's Avatar
DutchDaemon DutchDaemon is offline
Administrator
 
Join Date: Nov 2008
Location: Rotterdam, the Netherlands
Posts: 9,851
Thanks: 30
Thanked 1,892 Times in 1,335 Posts
Default

Use RELENG_8 for the tag. You're now fetching 9-CURRENT, if I'm not mistaken.

Try:

Code:
*default host=cvsup.au.FreeBSD.org
*default base=/var/db
*default prefix=/usr
*default release=cvs tag=RELENG_8
*default delete use-rel-suffix
*default compress
src-all
__________________
FreeBSD Forums: Information for New Members | FreeBSD Forums Rules
FreeBSD Resources: The FreeBSD Handbook | Manuals | FAQ | Wiki
Before you post: How to ask questions the smart way
If you must know .. So, what does an Administrator/Moderator do?
---> Do not PM me with FreeBSD questions. I do not work here. <---
Reply With Quote
  #8  
Old September 1st, 2009, 10:50
DutchDaemon's Avatar
DutchDaemon DutchDaemon is offline
Administrator
 
Join Date: Nov 2008
Location: Rotterdam, the Netherlands
Posts: 9,851
Thanks: 30
Thanked 1,892 Times in 1,335 Posts
Default

Also make sure you have COMPAT_FREEBSD5 in the kernel and the compat5x port installed (the driver will pull it in). The NVIDIA drivers require FreeBSD 5 libs.
__________________
FreeBSD Forums: Information for New Members | FreeBSD Forums Rules
FreeBSD Resources: The FreeBSD Handbook | Manuals | FAQ | Wiki
Before you post: How to ask questions the smart way
If you must know .. So, what does an Administrator/Moderator do?
---> Do not PM me with FreeBSD questions. I do not work here. <---
Reply With Quote
  #9  
Old September 1st, 2009, 12:47
mdma mdma is offline
Junior Member
 
Join Date: Nov 2008
Location: malta
Posts: 59
Thanks: 16
Thanked 2 Times in 2 Posts
Default

if you don't have the sources, you most definitely haven't built world (the os) yourself, so get the source tree off the install cd. that way you have the same version of sources as your installed os.

if you csup, you might as well buildworld first.

as root
Code:
# mount /cdrom
# cd /cdrom/8.0-BETA3/src
# ./install all
Reply With Quote
  #10  
Old September 1st, 2009, 14:05
Dissident85 Dissident85 is offline
Junior Member
 
Join Date: Aug 2009
Location: Sydney, Australia
Posts: 16
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thank's i changed my supfile and it worked... only thing in now after running nvidia-config and it configures my xorg.conf file.

when i restart i get a black screen fallowed by this error
Code:
Fatal server error:
Caught signal 11.  Server aborting
I have a full print out of the Xorg.0.log file at pastebin. I thought it was a bit to big to post here.

but looking over the log file i cant find any errors?
Reply With Quote
  #11  
Old September 1st, 2009, 14:10
adamk adamk is offline
Senior Member
 
Join Date: Nov 2008
Posts: 1,605
Thanks: 6
Thanked 262 Times in 243 Posts
Default

You should be able to attach the file to a post here. The maximum file sizxe is 19.5 KB. If the log file does exceed that, you can use a service like http://pastebin.com/

Adam

EDIT: I'm an idiot. You already pastebin'ed it... Sorry.
Reply With Quote
Reply

Thread Tools
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
arcconf and aacraid-drivers? KernelPanic Installation and Maintenance of FreeBSD Ports or Packages 2 August 25th, 2009 18:58
Problem installing the nvidia drivers ramcharan X.Org 2 July 18th, 2009 07:46
How can i get drivers for my printer? moecraft Peripheral Hardware 3 July 13th, 2009 22:27
HOWTO: Install and configure NVIDIA drivers tangram Howtos & FAQs (Moderated) 20 July 6th, 2009 10:34
video drivers hirohitosan Installing & Upgrading 2 December 9th, 2008 15:16


All times are GMT +1. The time now is 15:44.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.
The mark FreeBSD is a registered trademark of The FreeBSD Foundation and is used by The FreeBSD Project with the permission of The FreeBSD Foundation.
Web protection and acceleration provided by CloudFlare
0