Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 27 Oct 2002 13:40:31 -0600 (CST)
From:      Sean Kelly <smkelly@zombie.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   kern/44540: could sleep with "drm memory" locked
Message-ID:  <20021027194031.5A72B414D9@edgemaster.zombie.org>

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

>Number:         44540
>Category:       kern
>Synopsis:       could sleep with "drm memory" locked
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Oct 27 11:50:00 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     Sean Kelly
>Release:        FreeBSD 5.0-CURRENT i386
>Organization:
>Environment:
System: FreeBSD edgemaster.zombie.org 5.0-CURRENT FreeBSD 5.0-CURRENT #0: Fri Oct 25 23:27:50 CDT 2002 root@edgemaster.zombie.org:/usr/obj/usr/src/sys/EDGEMASTER i386


	Matrox Mill. G400 Dual AGP w/ XFree86 4.2.1

>Description:
	I have a 5.0-CURRENT kernel built with static agp support. Upon starting
	xdm, the mga.ko module is automagically loaded. After the loading of
	mga.ko, if I exeucte a `sysctl -a`, I receive:
	Oct 27 13:34:30 edgemaster kernel: /usr/src/sys/kern/kern_sysctl.c:1000: could sleep with "drm memory" locked from @/dev/drm/drm_memory.h:217
	on the console.
	
>How-To-Repeat:
	1. Build kernel with 'device agp'
	2. Install Xfree86 4.2.1 from portsl
	3. Set up XF86Config like so:
	Section "Module"
	        Load  "dri"
	        Load  "glx"
	        Load  "ddc"
	        Load  "dbe"
	        Load  "extmod"
	EndSection
	4. Start X
	5. Execute `sysctl -a`
	6. Check console and/or syslog.

>Fix:
	Not sure. I haven't gotten a grasp on that part of kernel programming
	yet.
>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




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