|
FreeBSD Ports and Packages Installation and upgrading of ports and packages on FreeBSD. |
|
Thread Tools | Display Modes |
|
|||
What's the output of ' find /usr/src/sys/ -name "agpvar.h" ' ?
|
|
|||
Quote:
|
|
|||
Tried deleting it and then this time selecting the agp support when the options screen appreared, still fails...
In file included from nvidia_ctl.c:14: nv-freebsd.h:80:24: error: pci/agpvar.h: No such file or directory *** Error code 1 Is this the time for me to start compiling kernel support or somesuch? (QLD is nice btw, used to live in Brisbane...) |
|
||||
What we wanted is for you to leave "freeBSD agp" _un_selected. The port will then build and install it's own agp gart.
The other thing we would like to know is, do you have the file "/usr/src/sys/pci/agpvar.h" that it appears to be looking for?
__________________
The only dumb question is a question not asked. The only dumb answer is an answer not given. |
|
|||
I tried with the AGP option because I previously hadn't selected it. I'll try like you say again, also I'll look for that src.
|
|
|||
I don't appear to have that agp header file:
Code:
max@~: ls /usr/src/sys/pci/ alpm.c if_pcnreg.h if_ste.c if_wbreg.h locate.pl amdpm.c if_rl.c if_stereg.h if_xl.c ncr.c amdsmb.c if_rlreg.h if_tl.c if_xlreg.h ncrreg.h if_mn.c if_sis.c if_tlreg.h intpm.c nfsmb.c if_pcn.c if_sisreg.h if_wb.c intpmreg.h viapm.c Where can I get a copy of the file to include? |
|
||||
Quote:
|
|
|||
No luck. I tried that, although it doesn't help because the file is still missing.
|
|
|||
Report this as port bug, and/or ask help from freebsd ports developers on freebsd ports mailing list.
|
|
|||
sorry to not reread all the threads, but are you SURE that
your /usr/src has the SAME source files upon which your current kernel was built? AFAIK that is required to build the port
__________________
FreeBSD 13-STABLE |
|
|||
Very good point, jb_daefo, 7.0 RELEASE have agpvar.h in sys/pci/ acording to following link: http://fxr.watson.org/fxr/source/pci/?v=FREEBSD70
|
|
|||
Code:
max@/usr/ports/x11/nvidia-driver: ls /sys/pci/ alpm.c if_pcnreg.h if_ste.c if_wbreg.h locate.pl amdpm.c if_rl.c if_stereg.h if_xl.c ncr.c amdsmb.c if_rlreg.h if_tl.c if_xlreg.h ncrreg.h if_mn.c if_sis.c if_tlreg.h intpm.c nfsmb.c if_pcn.c if_sisreg.h if_wb.c intpmreg.h viapm.c |
|
||||
Code:
# ls /sys/pci agp.c agp_nvidia.c amdsmb.c if_sis.c if_wb.c ncrreg.h agp_ali.c agp_sis.c if_mn.c if_sisreg.h if_wbreg.h nfsmb.c agp_amd.c agp_via.c if_pcn.c if_ste.c if_xl.c viapm.c agp_amd64.c agppriv.h if_pcnreg.h if_stereg.h if_xlreg.h xrpu.c agp_ati.c agpreg.h if_rl.c if_tl.c intpm.c agp_i810.c agpvar.h if_rlreg.h if_tlreg.h intpmreg.h agp_if.m alpm.c if_sf.c if_vr.c locate.pl agp_intel.c amdpm.c if_sfreg.h if_vrreg.h ncr.c # uname -a FreeBSD killasmurf.pc 7.0-RELEASE FreeBSD 7.0-RELEASE #20: Wed Jul 9 19:09:03 EEST 2008 killasmurf@killasmurf.pc:/usr/obj/usr/src/sys/killabsd i386 |
|
|||
Quote:
|
|
|||
I'm going to try running my cvsupfile again. I keep it in /root/ - the lines pertaining to src look like this:
Code:
*default host=cvsup3.uk.FreeBSD.org *default base=/var/db *default prefix=/usr *default release=cvs tag=. *default delete use-rel-suffix # If you seem to be limited by CPU rather than network or disk bandwidth, try # commenting out the following line. (Normally, today's CPUs are fast enough # that you want to run compression.) *default compress ## Main Source Tree. # # The easiest way to get the main source tree is to use the "src-all" # mega-collection. It includes all of the individual "src-*" collections. src-all |
|
|||
I don't think that might work as you want it to. For example,
in uname I have 7-STABLE and the source for that was obtained with a tag=RELENG_7. AFAIK if you use a =. tag that will either get source code you don't want, obliterate the source code you do have, or both. One must be precisely sure when obtaining kernel source. You can even, if you have the precise date and "type" of your kernel (uname -a), AFAIK obtain the source code that was present, for that tag, at that point in time (I've read of it but it is beyond my expertise)
__________________
FreeBSD 13-STABLE |
|
||||
tag = . will give you CURRENT, the current development tree, right now in heavy development as they do the final work to remove the GIANT kernel-wide lock. Much functionality is going to be stripped from the kernel, and slowly re-added until it is ready for 8.0. It's not a place for the feint-hearted, especially when this sort of heavy hacking is going on.
You do not want tag= . You should choose between tag=RELENG_7 (known as stable, it is the place where proven code changes go for final widespread testing) or RELENG_7_0, which 7.0-release + security fixes + important, stable bug fixes. Then you need to build and install that system. This should be as easy as: Code:
# cd /usr/src # make buildworld buildkernel installkernel installworld #reboot Then, with your system in sync with your source, you will be ready to install nvidia. You _do_ need to have the same system sources that your current kernel and world are built on.
__________________
The only dumb question is a question not asked. The only dumb answer is an answer not given. |
|
|||
okay, I updated using a src supfile (only) that used releng_7_0 and got the agp file. I'm now seeing this:
Code:
max@/usr/ports/x11/nvidia-driver: sudo make clean install clean Password: ===> Cleaning for nvidia-driver-100.14.19 ===> Found saved configuration for nvidia-driver-173.14.09 => NVIDIA-FreeBSD-x86-100.14.19.tar.gz doesn't seem to exist in /usr/ports/distfiles/. => Attempting to fetch from http://jp.download.nvidia.com/freebsd/100.14.19/. NVIDIA-FreeBSD-x86-100.14.19.tar.gz 100% of 10 MB 672 kBps 00m00s ===> Extracting for nvidia-driver-100.14.19 => MD5 Checksum OK for NVIDIA-FreeBSD-x86-100.14.19.tar.gz. => SHA256 Checksum OK for NVIDIA-FreeBSD-x86-100.14.19.tar.gz. ===> Patching for nvidia-driver-100.14.19 ===> Applying extra patch /usr/ports/x11/nvidia-driver/files/7667-patch-lib::Makefile ===> Applying extra patch /usr/ports/x11/nvidia-driver/files/100xx-patch-src::nvidia.os ===> Applying FreeBSD patches for nvidia-driver-100.14.19 Ignoring previously applied (or reversed) patch. 1 out of 1 hunks ignored--saving rejects to lib/Makefile.rej => Patch patch-lib::Makefile failed to apply cleanly. *** Error code 1 Stop in /usr/ports/x11/nvidia-driver. I understood releng_7_0 tag to be correct for release: http://www.freebsd.org/doc/en/books/.../cvs-tags.html Code:
FreeBSD ironteeth.home 7.0-RELEASE FreeBSD 7.0-RELEASE #0: Sun Feb 24 19:59:52 UTC 2008 root@logan.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 |
Tags |
nvidia |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Is nVidia driver stable? | rex | FreeBSD General | 14 | 31st October 2008 06:40 PM |
NVIDIA driver fails to load, freebsd 7.0 | mc_i2020 | FreeBSD General | 18 | 18th July 2008 01:12 PM |
Image artifacts with nvidia-driver | KernelPanic | FreeBSD Ports and Packages | 1 | 10th July 2008 09:56 PM |
problems with nvidia-driver-169.12 | greencross | FreeBSD General | 8 | 21st May 2008 01:41 PM |