nV News Forums

 
 

nV News Forums (http://www.nvnews.net/vbulletin/index.php)
-   NVIDIA FreeBSD (http://www.nvnews.net/vbulletin/forumdisplay.php?f=47)
-   -   Is it possible to install nvidia 7676 on FreebSD 6.0? (http://www.nvnews.net/vbulletin/showthread.php?t=66585)

cabriofahrer 03-18-06 03:49 AM

Is it possible to install nvidia 7676 on FreebSD 6.0?
 
In order to find a solution to a special problem, I would like to install 7676, but I use FreebSD 6.0 now, so is that possible? Is there anything special I have to do? And how do I uninstall 8178 first?

sparcdr 05-02-06 02:16 PM

Re: Is it possible to install nvidia 7676 on FreebSD 6.0?
 
Install the compat5x port. pkg_add -r compat5x or if you're using packages-7-current, make sure you export PACKAGESITE="ftp://ftp4.us.freebsd.org/pub/ports/i386/packages-7-current/All/" and pkg_add -r compat5x-i386-version (Complete packagename as prescribed by the FTP mirror via ls/dir)

install freebsd src via cvsup (current or stable), then run make in the NVIDIA-1.0-7676 directory which was created when you untarred the .tar.gz file in your home directory.

ncpnc 05-19-06 08:52 AM

Re: Is it possible to install nvidia 7676 on FreebSD 6.0?
 
Unfortunately this solution don't work for me. I've TNT2 card, so it's unsupported by 8xxx driver, and FreeBSD 6.1-stable, that's the reason I'm trying to use 7676. I have installed compat_5x package, and edited rc.conf by adding

compat5x_enable="YES"

I also have last sources (RELENG_6) in /sys directory.

Compiling result:
In file included from nvidia_ctl.c:14:
./nv-freebsd.h:25:2: #error This driver does not support FreeBSD 6.x/-CURRENT!
./nv-freebsd.h:49:31: machine/bus_memio.h: No such file or directory

help :)?

lanjoe9 05-28-06 09:32 PM

Re: Is it possible to install nvidia 7676 on FreebSD 6.0?
 
Yup :)

Try the patch in the linked page, or do the following

Remove these lines:

Lines 24 thru 26
Code:

#if __FreeBSD_version > 600000
#error This driver does not support FreeBSD 6.x/-CURRENT!
#endif

Line 46:
Code:

#include <machine/bus_memio.h>
Enable ACPI power management by setting #undef to #define in line 189:
change
Code:

#undef NV_SUPPORT_ACPI_PM
to
Code:

#define NV_SUPPORT_ACPI_PM
Now just compile and be happy. And hopefully the nvidia driver will work again

bigGav 07-20-06 11:51 AM

Re: Is it possible to install nvidia 7676 on FreebSD 6.0?
 
thank you lanjoe9 :)

this worked perfectly for me
-FreeBSD 6.1
-NVIDIA-FreeBSD-x86-1.0-7174
-fx5500

collision 09-27-06 08:10 PM

Re: Is it possible to install nvidia 7676 on FreebSD 6.0?
 
I tried these steps and I got an error while patchin.

Hunk #1 succeeded at 21
Hunk #2 failed at 43
Hunk #3 succeeded at 179

And then when I go to make install I get this:

./nv-freebsd.h:49:31: machine/bus_memio.h: No such file or directory

Stop in /root/NVIDIA-FreeBSD-x86-1.0-7174/src

My card is a pci-express GeForce 7600 GS under FreeBSD 6.1-RELEASE

LukeHack 09-28-06 10:38 PM

Re: Is it possible to install nvidia 7676 on FreebSD 6.0?
 
Quote:

Originally Posted by collision
I tried these steps and I got an error while patchin.

Hunk #1 succeeded at 21
Hunk #2 failed at 43
Hunk #3 succeeded at 179

And then when I go to make install I get this:

./nv-freebsd.h:49:31: machine/bus_memio.h: No such file or directory

Stop in /root/NVIDIA-FreeBSD-x86-1.0-7174/src

My card is a pci-express GeForce 7600 GS under FreeBSD 6.1-RELEASE

you probably did write bad way the 3 lines above...
try to apply the patch linked by lanjoe9


All times are GMT -5. The time now is 12:33 AM.

Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Copyright 1998 - 2014, nV News.