From owner-freebsd-amd64@FreeBSD.ORG Sun Apr 6 20:18:33 2008 Return-Path: Delivered-To: freebsd-amd64@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F2149106566C for ; Sun, 6 Apr 2008 20:18:33 +0000 (UTC) (envelope-from seb.morand@gmail.com) Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.153]) by mx1.freebsd.org (Postfix) with ESMTP id 69CFF8FC19 for ; Sun, 6 Apr 2008 20:18:33 +0000 (UTC) (envelope-from seb.morand@gmail.com) Received: by fg-out-1718.google.com with SMTP id 16so1260768fgg.35 for ; Sun, 06 Apr 2008 13:18:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:disposition-notification-to:date:from:user-agent:mime-version:to:subject:references:in-reply-to:x-enigmail-version:content-type; bh=I00uaViZJRAV29x9IlwqCA0OFPAgxYlIMqXdYJmi/n0=; b=UXR0yBMD5+i4iBLpQAqZDMhiKBSYETi5AkBtmxey06VpWxHzRvzmYYkxBeQSB9lehkxj736ZvgqsCkKUURC3RHzWGiZqJYUu1BRPqLwR3kK9lQxzKg1p5/MkmQBHaoJ2XTwr6/njg2LA7JP4TfrLXTHadEbVCF5XcJ5qEhvdyKE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:disposition-notification-to:date:from:user-agent:mime-version:to:subject:references:in-reply-to:x-enigmail-version:content-type; b=UtiFRviK8Fa7Cf5y7qj24LujVVGLCGOXQenyLFGnmq1KkwYM33tCz6FGunrR1Z8DxA+xGOVZIpY9032vafVJ+oEHf6Br2njY2pk3jmT7QvBKyHPXgYyH0Wbsf89Rum6eyE+cUse1F9ZyYqKTwKU5EwQx72k0CLRKLqWJ1BfMKwM= Received: by 10.86.62.3 with SMTP id k3mr2854621fga.24.1207513106454; Sun, 06 Apr 2008 13:18:26 -0700 (PDT) Received: from mellba.mayaseb ( [196.207.219.36]) by mx.google.com with ESMTPS id d4sm6147461fga.2.2008.04.06.13.18.22 (version=SSLv3 cipher=RC4-MD5); Sun, 06 Apr 2008 13:18:25 -0700 (PDT) Message-ID: <47F93017.6070505@gmail.com> Date: Sun, 06 Apr 2008 20:18:31 +0000 From: =?windows-1252?Q?S=E9bastien_Morand?= User-Agent: Thunderbird 2.0.0.12 (X11/20080406) MIME-Version: 1.0 To: =?windows-1252?Q?S=E9bastien_Morand?= , freebsd-questions@freebsd.org, freebsd-amd64@freebsd.org References: <151985.79421.qm@web56801.mail.re3.yahoo.com> <200804020519.FAA12872@sopwith.solgatos.com> <16d3abd60804020732x1f617341j536ea52de2226a00@mail.gmail.com> <20080402165235.GA82705@slackbox.xs4all.nl> In-Reply-To: <20080402165235.GA82705@slackbox.xs4all.nl> X-Enigmail-Version: 0.95.6 Content-Type: multipart/mixed; boundary="------------010502020208050109030004" X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: Re: Nvidia using 32 bits install X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 06 Apr 2008 20:18:34 -0000 This is a multi-part message in MIME format. --------------010502020208050109030004 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: quoted-printable Hi everybody, I successfully install freebsd i386 on my AMD but I'm not able to install= the=20 nvidia driver. I fetch all the sources (using csup) and got the last ports tree. So here is my try: [20:08:25] root@mellba:/usr/ports/x11/nvidia-driver # make install =3D=3D=3D> Found saved configuration for nvidia-driver-169.12 =3D=3D=3D> Extracting for nvidia-driver-169.12 =3D> MD5 Checksum OK for NVIDIA-FreeBSD-x86-169.12.tar.gz. =3D> SHA256 Checksum OK for NVIDIA-FreeBSD-x86-169.12.tar.gz. =3D=3D=3D> Patching for nvidia-driver-169.12 =3D=3D=3D> Applying FreeBSD patches for nvidia-driver-169.12 =3D=3D=3D> nvidia-driver-169.12 depends on shared library: X11.6 - foun= d =3D=3D=3D> nvidia-driver-169.12 depends on shared library: m.3 - found =3D=3D=3D> nvidia-driver-169.12 depends on shared library: GL.1 - found= =3D=3D=3D> Configuring for nvidia-driver-169.12 =3D=3D=3D> Building for nvidia-driver-169.12 =3D=3D=3D> src (all) @ -> /mnt/programs/src/sys machine -> /mnt/programs/src/sys/i386/include awk -f @/tools/makeobjops.awk @/kern/device_if.m -h awk -f @/tools/makeobjops.awk @/kern/bus_if.m -h awk -f @/tools/makeobjops.awk @/dev/pci/pci_if.m -h awk -f @/tools/vnode_if.awk @/kern/vnode_if.src -p awk -f @/tools/vnode_if.awk @/kern/vnode_if.src -q awk -f @/tools/vnode_if.awk @/kern/vnode_if.src -h cc -O2 -fno-strict-aliasing -pipe -DNV_VERSION_STRING=3D\"169.12\" -D__KE= RNEL__=20 -DNVRM -UDEBUG -U_DEBUG -DNDEBUG -O -Werror -D_KERNEL -DKLD_MODULE -std=3D= c99=20 -nostdinc -I/src -I. -I@ -I@/contrib/altq -finline-limit=3D8000 --param = inline-unit-growth=3D100 --param large-function-growth=3D1000 -fno-common= =20 -mno-align-long-strings -mpreferred-stack-boundary=3D2 -mno-mmx -mno-3dn= ow=20 -mno-sse -mno-sse2 -mno-sse3 -ffreestanding -Wall -Wredundant-decls=20 -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arit= h=20 -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -c nv= idia_ctl.c In file included from nvidia_ctl.c:14: nv-freebsd.h:76:24: error: pci/agpvar.h: No such file or directory *** Error code 1 Stop in /mnt/programs/ports/x11/nvidia-driver/work/NVIDIA-FreeBSD-x86-169= =2E12/src. *** Error code 1 Stop in /mnt/programs/ports/x11/nvidia-driver/work/NVIDIA-FreeBSD-x86-169= =2E12. *** Error code 1 Stop in /mnt/programs/ports/x11/nvidia-driver. *** Error code 1 Stop in /mnt/programs/ports/x11/nvidia-driver. So a file is missing. I try this: # cd work/NVIDIA-FreeBSD-x86-169.12/src/ && mkdir pci && cd pci && ln -s = /usr/src/sys/dev/agp/agpvar.h && cd ../../../../ && make install The module compile and everything goes ok. But it doesn't work: kldload: can't load nvidia: No such file or directory If i put nvidia_load=3D=9FES" in loader.conf, it doesn't change anything.= Why the installation is not working without this manual trick? Here is what I get about my video card with pciconf -lv: # pciconf -lv | grep vga -A 4 vgapci0@pci0:1:0:0: class=3D0x030000 card=3D0x81f31043 chip=3D0x01df10de = rev=3D0xa1 hdr=3D0x00 vendor =3D 'Nvidia Corp' device =3D 'GeForce 7300 GS' class =3D display subclass =3D VGA S=E9bastien --------------010502020208050109030004--