Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 12 Apr 2024 14:03:05 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 278329] x11/nvidia-driver-470: When built with LINUX=off, the modeset driver loads Linux compatibility kernel modules
Message-ID:  <bug-278329-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D278329

            Bug ID: 278329
           Summary: x11/nvidia-driver-470: When built with LINUX=3Doff, the
                    modeset driver loads Linux compatibility kernel
                    modules
           Product: Ports & Packages
           Version: Latest
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: danfe@FreeBSD.org
          Reporter: ross@exitzero.uk
          Assignee: danfe@FreeBSD.org
             Flags: maintainer-feedback?(danfe@FreeBSD.org)

I built the legacy NVidia driver, x11/nvidia-driver-470, using the option
LINUX=3Doff to exclude Linux compatibility support.

When loading the modeset driver with:
kldload nvidia-modeset

the following kernel modules are loaded (obtained from listing loaded kernel
modules with kldstat before and after):
nvidia-modeset.ko
nvidia.ko
linux.ko
linux-common.ko

I would not expect the Linux compatibility modules to be loaded; this is wh=
at I
was actively looking to avoid.

I see in the Makefile for x11/nvidia-driver line 293 there is a replacement=
 in
one of the source header files if the LINUX option is not set but have not
investigated further at this point.

Many thanks for looking at this bug.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



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