From owner-freebsd-questions@FreeBSD.ORG Wed Jun 11 18:26:35 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 77BB637B401 for ; Wed, 11 Jun 2003 18:26:35 -0700 (PDT) Received: from smtp.nki.no (smtp.nki.no [194.19.35.74]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0C9F043F3F for ; Wed, 11 Jun 2003 18:26:34 -0700 (PDT) (envelope-from brakje@nith.no) Received: from webmail.nith.no (deathstar.nith.no [10.10.4.104]) by smtp.nki.no (8.11.6/8.11.6) with ESMTP id h5C1QWZ30068 for ; Thu, 12 Jun 2003 03:26:32 +0200 Received: by webmail.nith.no (Postfix, from userid 99) id E83754EBF9; Thu, 12 Jun 2003 03:26:31 +0200 (CEST) Received: from 217.8.158.143 ( [217.8.158.143]) as user brakje@mail.nith.no by webmail.nith.no with HTTP; Thu, 12 Jun 2003 03:26:31 +0200 Message-ID: <1055381191.3ee7d6c7b9e81@webmail.nith.no> Date: Thu, 12 Jun 2003 03:26:31 +0200 From: brakje@nith.no To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit User-Agent: Internet Messaging Program (IMP) 3.1 X-MailScanner: Found to be clean Subject: 5.1 and nvidia drivers X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Jun 2003 01:26:35 -0000 hi! I have just installed 5.1 on my laptop and everything was going smooth. but when i was trying to install the nvidia drivers for my GF2 go i got stuck. They worked perfectly in 5.0, but now i get some errors while doing "make setup". In 5.1, modules are put in /boot/modules/ instead of /modules as they where in 5.0. The release notes for 5.1 say modules designed for 4.x are likely to panic when loaded into a 5.1 kernel. I think this might be the reason behind the error. if so, is it possible to use this driver? I need this driver to enable agp support and to use my s-video output. As far as i know the drivers in XFree86 for my video adapter does not support this. # make setup ===> module cc -O -pipe -mcpu=pentiumpro -I/usr/download/NVIDIA_FreeBSD-1.0-3203/module/../src -D__KERNEL__ -DNV_MAJOR_VERSION=1 -DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=3203 -DNV_UNIX -DNV_BSD -DNVCPU_X86 -D_KERNEL -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -std=c99 -DKLD_MODULE -nostdinc -I- -I/usr/download/NVIDIA_FreeBSD-1.0-3203/module/../src -I. -I@ -I@/dev -I@/../include -fno-common -mno-align-long-strings -mpreferred-stack-boundary=2 -ffreestanding -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -std=c99 -c /usr/download/NVIDIA_FreeBSD-1.0-3203/module/../src/nvidia_dev.c /usr/download/NVIDIA_FreeBSD-1.0-3203/src/nvidia_dev.c:23: warning: initialization makes integer from pointer without a cast /usr/download/NVIDIA_FreeBSD-1.0-3203/src/nvidia_dev.c:24: warning: initialization makes integer from pointer without a cast /usr/download/NVIDIA_FreeBSD-1.0-3203/src/nvidia_dev.c:25: warning: initialization from incompatible pointer type /usr/download/NVIDIA_FreeBSD-1.0-3203/src/nvidia_dev.c:26: warning: initialization from incompatible pointer type /usr/download/NVIDIA_FreeBSD-1.0-3203/src/nvidia_dev.c:27: warning: initialization from incompatible pointer type /usr/download/NVIDIA_FreeBSD-1.0-3203/src/nvidia_dev.c:28: warning: initialization from incompatible pointer type /usr/download/NVIDIA_FreeBSD-1.0-3203/src/nvidia_dev.c:29: warning: initialization from incompatible pointer type /usr/download/NVIDIA_FreeBSD-1.0-3203/src/nvidia_dev.c:30: warning: initialization from incompatible pointer type /usr/download/NVIDIA_FreeBSD-1.0-3203/src/nvidia_dev.c:31: warning: initialization from incompatible pointer type /usr/download/NVIDIA_FreeBSD-1.0-3203/src/nvidia_dev.c:32: warning: initialization makes pointer from integer without a cast /usr/download/NVIDIA_FreeBSD-1.0-3203/src/nvidia_dev.c:33: warning: initialization from incompatible pointer type /usr/download/NVIDIA_FreeBSD-1.0-3203/src/nvidia_dev.c:35: warning: initialization makes pointer from integer without a cast /usr/download/NVIDIA_FreeBSD-1.0-3203/src/nvidia_dev.c:39: warning: excess elements in struct initializer /usr/download/NVIDIA_FreeBSD-1.0-3203/src/nvidia_dev.c:39: warning: (near initialization for `nvidia_dev_cdevsw') /usr/download/NVIDIA_FreeBSD-1.0-3203/src/nvidia_dev.c:140: conflicting types for `nvidia_dev_mmap' /usr/download/NVIDIA_FreeBSD-1.0-3203/src/nvidia_dev.c:20: previous declaration of `nvidia_dev_mmap' *** Error code 1 Stop in /usr/download/NVIDIA_FreeBSD-1.0-3203/module. *** Error code 1 Stop in /usr/download/NVIDIA_FreeBSD-1.0-3203. kjetil