From owner-freebsd-bugs Sun Oct 27 11:50: 8 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4E4B337B401 for ; Sun, 27 Oct 2002 11:50:06 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 68E6C43E77 for ; Sun, 27 Oct 2002 11:50:04 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.6/8.12.6) with ESMTP id g9RJo4x3059124 for ; Sun, 27 Oct 2002 11:50:04 -0800 (PST) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.6/8.12.6/Submit) id g9RJo4oS059123; Sun, 27 Oct 2002 11:50:04 -0800 (PST) Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 43C9A37B401 for ; Sun, 27 Oct 2002 11:40:32 -0800 (PST) Received: from edgemaster.zombie.org (edgemaster.creighton.edu [147.134.112.68]) by mx1.FreeBSD.org (Postfix) with ESMTP id D512043E4A for ; Sun, 27 Oct 2002 11:40:31 -0800 (PST) (envelope-from smkelly@zombie.org) Received: by edgemaster.zombie.org (Postfix, from userid 1001) id 5A72B414D9; Sun, 27 Oct 2002 13:40:31 -0600 (CST) Message-Id: <20021027194031.5A72B414D9@edgemaster.zombie.org> Date: Sun, 27 Oct 2002 13:40:31 -0600 (CST) From: Sean Kelly Reply-To: Sean Kelly To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: kern/44540: could sleep with "drm memory" locked Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >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