From owner-freebsd-questions@FreeBSD.ORG Wed Apr 4 15:53:06 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 2BD5016A401 for ; Wed, 4 Apr 2007 15:53:06 +0000 (UTC) (envelope-from xfb52@dial.pipex.com) Received: from smtp-out4.blueyonder.co.uk (smtp-out4.blueyonder.co.uk [195.188.213.7]) by mx1.freebsd.org (Postfix) with ESMTP id E6C1913C448 for ; Wed, 4 Apr 2007 15:53:05 +0000 (UTC) (envelope-from xfb52@dial.pipex.com) Received: from [172.23.170.140] (helo=anti-virus02-07) by smtp-out4.blueyonder.co.uk with smtp (Exim 4.52) id 1HZ7nE-0008VE-QD; Wed, 04 Apr 2007 16:53:04 +0100 Received: from [62.31.10.181] (helo=[192.168.0.2]) by asmtp-out1.blueyonder.co.uk with esmtp (Exim 4.52) id 1HZ7nD-0000y7-Pf; Wed, 04 Apr 2007 16:53:03 +0100 Message-ID: <4613C9DE.2050303@dial.pipex.com> Date: Wed, 04 Apr 2007 16:53:02 +0100 From: Alex Zbyslaw User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-GB; rv:1.7.13) Gecko/20061205 X-Accept-Language: en MIME-Version: 1.0 To: "B. Cook" References: <4613BAEC.1070104@poughkeepsieschools.org> In-Reply-To: <4613BAEC.1070104@poughkeepsieschools.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: newbie amd64 force 32bit nvidia-driver port X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 04 Apr 2007 15:53:06 -0000 B. Cook wrote: > Hello all, > > I'm trying out amd64 on this Dell M90, and it seems to be going great.. > > *except* the nvidia-drivers port won't compile on amd64.. so I took > out the i386 entry in the Makefile and it gets to a part where its > linking and gets this: > > ===> Building for nvidia-driver-1.0.9746 > ===> src (all) > ld -d -warn-common -r -d -o nvidia.ko nv-kernel.o nvidia_ctl.o > nvidia_dev.o nvidia_linux.o nvidia_os.o nvidia_os_pci.o > nvidia_os_registry.o nvidia_pci.o nvidia_subr.o nvidia_sysctl.o > nvidia_i2c.o > ld: Relocatable linking with relocations from format > elf32-i386-freebsd (nv-kernel.o) to format elf64-x86-64 (nvidia.ko) is > not supported > *** Error code 1 > > > so how do I get the nvidia driver to work on this shiny new M90.. If I > can't get this to work.. the person I got the laptop from will be > putting rhel 5 on it.. :( > > I was thinking that I could force compile it for 32bit.. > I believe what you are trying to do is impossible. The nvidia driver does not work on amd64 arch of FreeBSD. There are many threads on the topic which google will find for you. The question really is, why are you installing the 64-bit version of FreeBSD? If this is a "desktop" laptop with less that 4Gb of RAM which isn't going to run some huge database, then by all accounts the gain from running amd64 rather than i386 is minimal. In addition to nvidia, I believe java won't work either (or didn't last time I checked). i386 works just fine on 64-bit athlons. This message is typed from one (not a laptop and thankfully not a Dell :-)). You could try the nv driver from xorg, which, if it works (and it didn't for me) will provide enough functionality to run X. --Alex