From owner-freebsd-questions@FreeBSD.ORG Tue Jan 13 05:10:41 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 27AFC16A4CF for ; Tue, 13 Jan 2004 05:10:41 -0800 (PST) Received: from sccmmhc02.asp.att.net (sccmmhc02.asp.att.net [204.127.203.184]) by mx1.FreeBSD.org (Postfix) with ESMTP id 91E8243D53 for ; Tue, 13 Jan 2004 05:10:35 -0800 (PST) (envelope-from david.fleck@mchsi.com) Received: from grond (12-216-14-105.client.mchsi.com[12.216.14.105]) by sccmmhc02.asp.att.net (sccmmhc02) with SMTP id <20040113131034mm2009qshme>; Tue, 13 Jan 2004 13:10:34 +0000 Date: Tue, 13 Jan 2004 07:10:33 -0600 (CST) From: David Fleck Sender: dcf@grond.sourballs.org To: FreeBSD Questions In-Reply-To: <20040111202325.W424@grond.sourballs.org> Message-ID: <20040113070701.J602@grond.sourballs.org> References: <20040111202325.W424@grond.sourballs.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: Re: agp error with Radeon 7500 disables DRI X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Jan 2004 13:10:41 -0000 To answer my own question, it turns out that (for my system, at least) the agp.ko module *must not be preloaded* with loader.conf. Commenting agp_load="YES" out of /boot/loader.conf fixed all three problems listed here. On Sun, 11 Jan 2004, David Fleck wrote: > 4.9-RELEASE-p1. > > At boot, the agp module appears to load OK: > > # dmesg | grep agp > Preloaded elf module "agp.ko" at 0xc03d336c. > agp0: mem 0xe0000000-0xe7ffffff at device > 0.0 on pci0 > agp0: allocating GATT for aperture of size 256M > > However, when starting X, the kernel spits out this message: > > /kernel: error: [drm:radeon_unlock] *ERROR* Process 265 using kernel > context 0 > > There is no such process when I look, of course... the relevant section > of the XFree86 log is: > > (II) RADEON(0): [drm] created "radeon" driver at busid "PCI:1:0:0" > (II) RADEON(0): [drm] added 8192 byte SAREA at 0xc22ce000 > (II) RADEON(0): [drm] mapped SAREA 0xc22ce000 to 0x28279000 > (II) RADEON(0): [drm] framebuffer handle = 0xd8000000 > (II) RADEON(0): [drm] added 1 reserved context for kernel > (WW) RADEON(0): [agp] AGP not available > (II) RADEON(0): [drm] removed 1 reserved context for kernel > (II) RADEON(0): [drm] unmapping 8192 bytes of SAREA 0xc22ce000 at > 0x28279000 > (II) RADEON(0): Memory manager initialized to (0,0) (1024,8191) > > I'm assuming there's some relationship between (a) the kernel warning > message, (b) the 'AGP not available' message, and (c) the fact that DRI > doesn't work anymore (it did before I upgraded from 4.6.2 to 4.9). Can > anyone think of where to look to figure this out? -- David Fleck david.fleck@mchsi.com