From owner-freebsd-current@FreeBSD.ORG Wed Sep 10 10:20:10 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E475416A4BF; Wed, 10 Sep 2003 10:20:10 -0700 (PDT) Received: from alpha.siliconlandmark.com (alpha.siliconlandmark.com [209.69.98.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id E271643F93; Wed, 10 Sep 2003 10:20:09 -0700 (PDT) (envelope-from andy@siliconlandmark.com) Received: from alpha.siliconlandmark.com (localhost [127.0.0.1]) h8AHK7vf086788; Wed, 10 Sep 2003 13:20:07 -0400 (EDT) (envelope-from andy@siliconlandmark.com) Received: from localhost (andy@localhost)h8AHK7tS086785; Wed, 10 Sep 2003 13:20:07 -0400 (EDT) (envelope-from andy@siliconlandmark.com) X-Authentication-Warning: alpha.siliconlandmark.com: andy owned process doing -bs Date: Wed, 10 Sep 2003 13:20:07 -0400 (EDT) From: Andre Guibert de Bruet To: anholt@freebsd.org In-Reply-To: <20030910002811.X657@alpha.siliconlandmark.com> Message-ID: <20030910131450.I657@alpha.siliconlandmark.com> References: <20030910002811.X657@alpha.siliconlandmark.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-MailScanner-Information: Please contact the ISP for more information X-MailScanner: Found to be clean cc: current@freebsd.org Subject: Re: Radeon DRM issues under -current (As of 9/10) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Sep 2003 17:20:11 -0000 On Wed, 10 Sep 2003, Andre Guibert de Bruet wrote: > I'm trying to enable DRM on an ATI Radeon AIW 8500DV (Which gets detected > as a Radeon R200 BB-class board). I've added both "device radeondrm" and > "device agp" to my kernel config file and made sure that XFree86 has both > a "load dri" and a "load glx" directive. > > I'm seeing the following in my all.log: > Sep 10 00:22:36 bling kernel: error: [drm:radeon_cp_init] *ERROR* radeon_cp_init called without lock held > Sep 10 00:22:36 bling kernel: error: [drm:radeon_unlock] *ERROR* Process 1945 using kernel context 0 > > I've put a number of configs and logs up: > Kernel config is at: http://bling.properkernel.com/BLING > XF86Config is at: http://bling.properkernel.com/XF86Config > boot -v is at: http://bling.properkernel.com/boot-v > XFree86.0.log is at: http://bling.properkernel.com/XFree86.0.log > glxinfo -v is at: http://bling.properkernel.com/glxinfo Okay, so I missed a couple of messages in the archive. ForcePCIMode true causes DRM to work, but I can't help but think that it's by luck rather than design... I'll update the boot -v with a version from a kernel with DRM_DEBUG in just a little bit. Sep 10 13:13:05 bling kernel: info: [drm] Loading R200 Microcode Sep 10 13:13:05 bling kernel: drm0: [MPSAFE] Regards, > Andre Guibert de Bruet | Enterprise Software Consultant > > Silicon Landmark, LLC. | http://siliconlandmark.com/ >