From nobody@FreeBSD.org  Tue Nov  8 17:55:17 2005
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 5506B16A420
	for <freebsd-gnats-submit@FreeBSD.org>; Tue,  8 Nov 2005 17:55:15 +0000 (GMT)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [216.136.204.117])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 0A63943D46
	for <freebsd-gnats-submit@FreeBSD.org>; Tue,  8 Nov 2005 17:55:15 +0000 (GMT)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.13.1/8.13.1) with ESMTP id jA8HtEud003542
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 8 Nov 2005 17:55:14 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.13.1/8.13.1/Submit) id jA8HtENW003541;
	Tue, 8 Nov 2005 17:55:14 GMT
	(envelope-from nobody)
Message-Id: <200511081755.jA8HtENW003541@www.freebsd.org>
Date: Tue, 8 Nov 2005 17:55:14 GMT
From: Joachim Ldke <magjo64@yahoo.de>
To: freebsd-gnats-submit@FreeBSD.org
Subject: error during compilation the kernel with "device tdfxdrm"
X-Send-Pr-Version: www-2.3

>Number:         88678
>Category:       i386
>Synopsis:       error during compilation the kernel with "device tdfxdrm"
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    anholt
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Nov 08 18:00:33 GMT 2005
>Closed-Date:    Fri Nov 25 19:45:45 GMT 2005
>Last-Modified:  Fri Nov 25 19:45:45 GMT 2005
>Originator:     Joachim Ldke
>Release:        FreeBSD 6.0-RELEASE
>Organization:
>Environment:
joachim@pythagoras$ uname -a
FreeBSD pythagoras.home 6.0-RELEASE FreeBSD 6.0-RELEASE #3: Sat Nov  5 18:41:47 CET 2005     root@pythagoras.home:/usr/obj/usr/src/sys/MYKERNEL  i386        
>Description:
Error-Message during the compilation of the Kernel with "device tdfxdrm"
#------------------------------------------------------------------------
linking kernel
tdfx_pci.o(.data+0xa0): undefined reference to `linux_ioctl_unregister_handler'
tdfx_pci.o(.data+0xbc): undefined reference to `linux_ioctl_register_handler'
*** Error code 1

Stop in /usr/obj/usr/src/sys/MYKERNEL.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.
#---------------------------------------------------------------------------



Kernelparameters:
#---------------------------------------------------------------------------
device          vga             # VGA video card driver
device          tdfx                    # Enable 3Dfx Voodoo support
options         TDFX_LINUX              # Enable Linuxulator support

# Direct Rendering modules for 3D acceleration.
device          drm             # DRM core module required by DRM drivers
device          tdfxdrm         # 3dfx Voodoo 3/4/5 and Banshee

device          splash          # Splash screen and screen saver support

device          agp             # support several AGP chipsets
#----------------------------------------------------------------------------
>How-To-Repeat:
Compile the kernel with this parameters:

Kernelparameters:
#---------------------------------------------------------------------------
device          vga             # VGA video card driver
device          tdfx                    # Enable 3Dfx Voodoo support
options         TDFX_LINUX              # Enable Linuxulator support

# Direct Rendering modules for 3D acceleration.
device          drm             # DRM core module required by DRM drivers
device          tdfxdrm         # 3dfx Voodoo 3/4/5 and Banshee

device          splash          # Splash screen and screen saver support

device          agp             # support several AGP chipsets
#----------------------------------------------------------------------------
>Fix:
              
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-i386->anholt 
Responsible-Changed-By: arved 
Responsible-Changed-When: Fri Nov 25 15:52:57 GMT 2005 
Responsible-Changed-Why:  
assign to drm maintainer 

http://www.freebsd.org/cgi/query-pr.cgi?pr=88678 
State-Changed-From-To: open->closed 
State-Changed-By: anholt 
State-Changed-When: Fri Nov 25 19:43:25 GMT 2005 
State-Changed-Why:  
If you're going to enable linux compatibility in the old voodoo driver (I 
have no idea why you'd be enabling it), you also need to include the 
linux emulation layer.  In other news, there's no reason to be including 
the DRM (unrelated to the voodoo driver, and probably conflicting with it) 
in your kernel when X will happily load it for you at startup. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=88678 
>Unformatted:
