From nobody@FreeBSD.org  Sun Dec 17 15:11:09 2000
Return-Path: <nobody@FreeBSD.org>
Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21])
	by hub.freebsd.org (Postfix) with ESMTP id 4299A37B402
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 17 Dec 2000 15:11:09 -0800 (PST)
Received: (from nobody@localhost)
	by freefall.freebsd.org (8.11.1/8.11.1) id eBHNB9860585;
	Sun, 17 Dec 2000 15:11:09 -0800 (PST)
	(envelope-from nobody)
Message-Id: <200012172311.eBHNB9860585@freefall.freebsd.org>
Date: Sun, 17 Dec 2000 15:11:09 -0800 (PST)
From: vkushnir@Alfacom.net
Sender: nobody@FreeBSD.org
To: freebsd-gnats-submit@FreeBSD.org
Subject: agp.ko module cannot be loaded
X-Send-Pr-Version: www-1.0

>Number:         23600
>Category:       kern
>Synopsis:       agp.ko module cannot be loaded
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Dec 17 15:20:00 PST 2000
>Closed-Date:    Sat Jun 9 17:35:55 PDT 2001
>Last-Modified:  Sat Jun 09 17:36:07 PDT 2001
>Originator:     Vladimir Kushnir
>Release:        FreeBSD-CURRENT
>Organization:
>Environment:
FreeBSD kushnir1.kiev.ua 5.0-CURRENT FreeBSD 5.0-CURRENT #0: Sun Dec 17 12:47:08 EET 2000     root@kushnir1.kiev.ua:/usr/obj/usr/src/sys/KUSHNIR  i386

>Description:
AGP when compiled as module does not load with 
"M_AGP symbol undefined"
message (both at boot time and later with kldload)
>How-To-Repeat:
Load /boot/kernel/agp.ko
>Fix:
Unstatisize MALLOC_DEFINE(...) in agp.c:

*** sys/pci/agp.c.ctm   Sun Dec 17 15:52:58 2000
--- sys/pci/agp.c       Sun Dec 17 15:53:14 2000
***************
*** 59,65 ****
  
  MODULE_VERSION(agp, 1);
  
! static MALLOC_DEFINE(M_AGP, "agp", "AGP data structures");
  
  #define CDEV_MAJOR    148
                                /* agp_drv.c */
--- 59,65 ----
  
  MODULE_VERSION(agp, 1);
  
! MALLOC_DEFINE(M_AGP, "agp", "AGP data structures");
  
  #define CDEV_MAJOR    148
                                /* agp_drv.c */

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: dd 
State-Changed-When: Sat Jun 9 17:35:55 PDT 2001 
State-Changed-Why:  
This has been fixed. 

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=23600 
>Unformatted:
