Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 Feb 2004 22:49:28 -0500 (EST)
From:      David Gilbert <dgilbert@daveg.ca>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/63294: nvidia-driver port needs updating for -CURRENT
Message-ID:  <20040224034928.4B10D1D1FA6@canoe.dclg.ca>
Resent-Message-ID: <200402240400.i1O40ajU025103@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         63294
>Category:       ports
>Synopsis:       nvidia-driver port needs updating for -CURRENT
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Feb 23 20:00:36 PST 2004
>Closed-Date:
>Last-Modified:
>Originator:     David Gilbert
>Release:        FreeBSD 5.2-CURRENT i386
>Organization:
DaveG.ca
>Environment:
System: FreeBSD canoe.dclg.ca 5.2-CURRENT FreeBSD 5.2-CURRENT #1: Mon Feb 23 19:57:40 EST 2004 dgilbert@canoe.dclg.ca:/usr/obj/usr/src/sys/CANOE i386


-CURRENT after 20040222 comment in UPDATING
>Description:
since the cdevsw has changed, nvidia's two cdevsw's have to change, too
>How-To-Repeat:
Try to install/load/run nvidia-driver's .ko in -CURRENT
>Fix:

This is pretty basic.  Meant only for people with this problem.
Someone with more knowledge needs to find the right ifdef to put
around these lines.

Basically, everything seems to work if you

--- /usr/home/dgilbert/nvidia_dev.c     Mon Feb 23 17:16:17 2004
+++ ./nvidia_dev.c      Wed May 28 12:51:52 2003
@@ -46,8 +46,7 @@
     .d_mmap =      nvidia_dev_mmap,
     .d_name =      "nvidia",
     .d_maj =       CDEV_MAJOR,
-    .d_flags =     D_MEM|D_TRACKCLOSE|D_NEEDGIANT,
-    .d_version =   D_VERSION
+    .d_flags =     D_MEM|D_TRACKCLOSE
 #endif
 };

--- /usr/home/dgilbert/nvidia_ctl.c     Mon Feb 23 17:23:44 2004
+++ ./nvidia_ctl.c      Wed May 28 12:51:52 2003
@@ -44,8 +44,7 @@
     .d_poll =      nvidia_ctl_poll,
     .d_name =      "nvidiactl",
     .d_maj =       CDEV_MAJOR,
-    .d_flags =     D_TRACKCLOSE|D_NEEDGIANT,
-    .d_version =   D_VERSION
+    .d_flags =     D_TRACKCLOSE
 #endif
 };


>Release-Note:
>Audit-Trail:
>Unformatted:



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