Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 27 Oct 2012 12:04:47 -0600
From:      Gary Aitken <freebsd@dreamchaser.org>
To:        freebsd-questions@freebsd.org
Subject:   Re: nvidia driver on amd64 (for asus nvidia gt 610)
Message-ID:  <508C223F.4000505@dreamchaser.org>
In-Reply-To: <508BE692.9000800@dreamchaser.org>
References:  <508BE692.9000800@dreamchaser.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On 10/27/12 07:50, Gary Aitken wrote:
> running 9.0 release
> 
> Being frustrated with my radeon hd-5550 video card which occasionally
> (once a week or so) goes into some kind of reset loop, filling up
> Xorg.0.log and crashing the system because /var is full...
> 
> I picked up an asus nvidia gt 610.
> Downloaded the nvidia driver and tried to build it.
> 
> make ominously reports:
>    ld: Relocatable linking with relocations from format elf32-i386-freebsd
>        (nv-kernel.o) to format elf64-x86-64-freebsd (nvidia.ko) is not supported.
> 
> Where is the elf32-i386-freebsd stuff coming from?
> I just unpacked the driver in a tmp directory and did a make install there.
> 
> I found the following which implied it is a make problem in 9.0:
> 
> http://lists.freebsd.org/pipermail/freebsd-toolchain/2011-August/000265.html
> 
> I'm guessing it can be made to work but I need to define appropriate make
> architecture variables, and I'm not sure how to do dat.
> Hints?
> 
> BTW, can anyone explain why Xorg.*.log doesn't get closed and a new file
> opened when it gets rather large and then rotate the way syslogs normally do?
> It seems to rotate only when the server is restarted, or at least that's all
> I've observed.

My apologies for the original double posting; 
saw a temporary reject in my maillog and thought it would turn into a real
one due to a past problem.

I found the following patch and applied it, 

  http://www.mail-archive.com/freebsd-toolchain@freebsd.org/msg00256.html

Also discovered I had downloaded the x86 version instead of the 64bit version.
"make CC=clang CXX=clang++ install" seemed to work; now on to testing it.

Sorry for the mixup.

Gary



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?508C223F.4000505>