Go Back   nV News Forums > Linux Support Forums > NVIDIA FreeBSD

Newegg Daily Deals

Reply
 
Thread Tools
Old 06-16-07, 02:13 AM   #1
edhunterbg
Registered User
 
Join Date: Jun 2007
Posts: 28
Default 7-current. is it possible to compile?

I have problems with my 7900gs, and i am trying to install newest driver 100.14.09, but i get an error message:
This driver does not support FreeBSD 7.x/-CURRENT!

i tried the latest legacy driver 1.0-9639 i got the same error too.

I really have 7.0-current (sources and kernel updated about 15.6.2007). Is there any way to run this driver on 7.0.

10x in advance
edhunterbg is offline   Reply With Quote
Old 06-16-07, 04:13 AM   #2
zander
NVIDIA Corporation
 
zander's Avatar
 
Join Date: Aug 2002
Posts: 3,740
Default Re: 7-current. is it possible to compile?

Although FreeBSD 7.0-CURRENT is not supported, the driver is expected to build against and work with this version of FreeBSD if you comment out the #error in ../src/nv-freebsd.h.
zander is offline   Reply With Quote
Old 06-16-07, 05:13 AM   #3
edhunterbg
Registered User
 
Join Date: Jun 2007
Posts: 28
Default Re: 7-current. is it possible to compile?

Quote:
Originally Posted by zander
Although FreeBSD 7.0-CURRENT is not supported, the driver is expected to build against and work with this version of FreeBSD if you comment out the #error in ../src/nv-freebsd.h.
i think already tried this. still didnt go ... but later i'll post the error because now i am using windows. i'll reboot and see the exact problem, and post again.
edhunterbg is offline   Reply With Quote
Old 06-16-07, 05:52 AM   #4
edhunterbg
Registered User
 
Join Date: Jun 2007
Posts: 28
Default Re: 7-current. is it possible to compile?

here it is the last part of installing
...
...
===> lib/compat/libGLcore (install)
===> x11 (install)
===> x11/driver (install)
install: /usr/X11R6/lib/modules/drivers: No such file or directory
*** Error code 71

Stop in /usr/nvidiatemp/NVIDIA-FreeBSD-x86-100.14.09/x11/driver.
*** Error code 1

Stop in /usr/nvidiatemp/NVIDIA-FreeBSD-x86-100.14.09/x11.
*** Error code 1

Stop in /usr/nvidiatemp/NVIDIA-FreeBSD-x86-100.14.09.
root@geo:/usr/nvidiatemp/NVIDIA-FreeBSD-x86-100.14.09 on ttyv1


I am usign xorg 7.2, may be it is related to the error..

edit... it is ok now, changed some things in Makefiles
edhunterbg is offline   Reply With Quote
Old 06-16-07, 10:21 AM   #5
zander
NVIDIA Corporation
 
zander's Avatar
 
Join Date: Aug 2002
Posts: 3,740
Default Re: 7-current. is it possible to compile?

Right, the current Makefiles don't handle the new ports very well. This will be fixed in future NVIDIA FreeBSD graphics driver releases.
zander is offline   Reply With Quote
Old 06-16-07, 02:16 PM   #6
Ravna
Registered User
 
Join Date: Mar 2007
Posts: 13
Default Re: 7-current. is it possible to compile?

This might not be the proper solution, but I just changed the line :
#if __FreeBSD_version >= 700000
in ../src/nv-freebsd.h
to: #if __FreeBSD_version >= 800000
(a version that can't obviously be found at present)
and it compiled on a 7-Current - build a few hours ago - without a hitch.

My advice is to not upgrade by using any port-managment tools.
I deleted the whole /usr/X11R6 directory, and nuked any /var/db/pkg X-related entries.
(a dirty method - but we're talking pre-alpha, the whole thing might as well go titsup after the next buildworld)

But that's not the real reason for this post . . .

The reason I tried the new driver is that since June 12 07 I'm not able to shut down the X-server.
I can't even kill it with alt-ctrl-backspace.
The whole system freezes and reboots after a few seconds.
It doesn't matter which Nvidia driver is used - tried all of them - the result is the same.
The problem is reported more than once at the 7-current mailing list, so I dare say it's not my installation.
Maybe you'd get more useful information than mine by reading those posts.

This clearly isn't your fault, the drivers worked fine before 12.06.07.
It seems the FreeBSD committers messed something up.
I compared the pre-after 11.06.-sources for hours and couldn't find anything,
but then again . . . my C knowledge is even worse than my english
May I dare to ask you to have a look at the sources and tell them what's wrong ?
The xorg nv-driver is so slow, I'd rather use Linux. (shiver)
Ravna is offline   Reply With Quote
Old 06-16-07, 05:25 PM   #7
edhunterbg
Registered User
 
Join Date: Jun 2007
Posts: 28
Default Re: 7-current. is it possible to compile?

i have sources from yesterday and running 100.14.09 and everything is ok. before that i also got problems with x.
try to csup your sources, rebuild your kernel and install nvidia's 100.14.09.

Last edited by edhunterbg; 06-18-07 at 03:35 AM.
edhunterbg is offline   Reply With Quote
Old 06-17-07, 10:55 AM   #8
Ravna
Registered User
 
Join Date: Mar 2007
Posts: 13
Default Re: 7-current. is it possible to compile?

I rebuild world daily, my sources are always fresh.
The drivers work, but the box feezes when I try to shutdown X.
As said above, this is discussed on the current mailing list and not a single occurance.
Ravna is offline   Reply With Quote

Old 06-17-07, 04:31 PM   #9
zander
NVIDIA Corporation
 
zander's Avatar
 
Join Date: Aug 2002
Posts: 3,740
Default Re: 7-current. is it possible to compile?

@Ravna: I hadn't been aware of this problem before, thanks for the heads-up; unfortunately, there isn't much to go on in the email thread on freebsd-current (I think you were referring to the 'recent nvidia-driver trouble' thread), other than that it seems to be a panic at device teardown time.

Do you have a serial console setup that you could use to capture the panic? If not, does `cat /dev/nvidia0` (at the console, before starting X) reproduce the problem?
zander is offline   Reply With Quote
Old 06-18-07, 11:25 AM   #10
zander
NVIDIA Corporation
 
zander's Avatar
 
Join Date: Aug 2002
Posts: 3,740
Default Re: 7-current. is it possible to compile?

@Ravna: also, have you tried the 100.14.09 graphics driver release?
zander is offline   Reply With Quote
Old 06-18-07, 11:27 AM   #11
Ravna
Registered User
 
Join Date: Mar 2007
Posts: 13
Default Re: 7-current. is it possible to compile?

@Zander
At present I'm on 100.14.09
I did a buildworld with the lastest sources a few minutes ago,
and cat /dev/nvidia0 almost reproduces the problem
The box freezes, it only doesn't reboot anymore.
The output is :

Fatal trap 12: page fault while in Kernel mode
cpuid = 1 ; apic id = 01
fault virtual address = 0x26
fault code = supervisor read, page not found
instruction pointer = 0x20:0xc4b9c70c
stack pointer = 0x28:0xe744aa8c
frame pointer = 0x28:0xe744aaa0
code segment = base 0x0, limit 0xfffff,type 0x1b
= DPL 0, pres 1, def 32, gran 1
processor eflags = interrupt enabled, resume, IOPL=0

Then it tries to dump core and freezes cold - all you can do is pull the plug.

I browsed the forum and it seems whe had that before.
Ravna is offline   Reply With Quote
Old 06-18-07, 12:20 PM   #12
zander
NVIDIA Corporation
 
zander's Avatar
 
Join Date: Aug 2002
Posts: 3,740
Default Re: 7-current. is it possible to compile?

Could you get a backtrace using ddb?
zander is offline   Reply With Quote
Reply


Thread Tools

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
Current NVIDIA FreeBSD graphics driver releases zander NVIDIA FreeBSD 0 01-27-09 05:22 PM
Current NVIDIA Linux graphics driver releases AaronP NVIDIA Linux 0 11-06-08 04:39 PM
how to compile for a custum 2.4.18-14 chad5118 NVIDIA Linux 1 10-07-02 06:29 PM
Redhat 8.0, no rpm, can't compile. Ironphil NVIDIA Linux 6 10-02-02 03:13 PM
Nvidia drivers won't compile with Slackware 8.0 z28Power NVIDIA Linux 6 09-18-02 06:20 PM

All times are GMT -5. The time now is 06:00 AM.


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