From owner-freebsd-current@FreeBSD.ORG Fri Nov 7 14:34:17 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 C4BD516A4CE for ; Fri, 7 Nov 2003 14:34:17 -0800 (PST) Received: from mail.speakeasy.net (mail7.speakeasy.net [216.254.0.207]) by mx1.FreeBSD.org (Postfix) with ESMTP id EA25943FBF for ; Fri, 7 Nov 2003 14:34:16 -0800 (PST) (envelope-from jhb@FreeBSD.org) Received: (qmail 11039 invoked from network); 7 Nov 2003 22:34:16 -0000 Received: from unknown (HELO server.baldwin.cx) ([216.27.160.63]) (envelope-sender )encrypted SMTP for ; 7 Nov 2003 22:34:16 -0000 Received: from laptop.baldwin.cx (gw1.twc.weather.com [216.133.140.1]) by server.baldwin.cx (8.12.9/8.12.9) with ESMTP id hA7MXqce096515; Fri, 7 Nov 2003 17:33:52 -0500 (EST) (envelope-from jhb@FreeBSD.org) Message-ID: X-Mailer: XFMail 1.5.4 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <1068241207.684.8.camel@leguin> Date: Fri, 07 Nov 2003 17:33:52 -0500 (EST) From: John Baldwin To: Eric Anholt X-Spam-Checker-Version: SpamAssassin 2.55 (1.174.2.19-2003-05-19-exp) cc: freebsd-current@freebsd.org cc: Ralf Folkerts Subject: Re: Radeon DRM-Problem 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: Fri, 07 Nov 2003 22:34:17 -0000 On 07-Nov-2003 Eric Anholt wrote: > On Fri, 2003-11-07 at 13:23, Ralf Folkerts wrote: >> Hi, >> >> I have a Problem with DRM (Radeon) on my "Current"-Box. >> >> I cvsuped and made my last buildworld/-kernel/installkernel/-world last week >> (Oct 31). >> >> FreeBSD penguin.home.folkerts-net.de 5.1-CURRENT FreeBSD 5.1-CURRENT #0: Fri >> Oct 31 20:04:27 CET 2003 >> toor@penguin.home.folkerts-net.de:/usr/obj/usr/src/sys/PENGUINKERNEL i386 >> >> >From this List I think this Problem should have been fixed a while ago?! >> >> When starting X I get >> >> agp0: binding memory at bad offset 0 >> error: [drm:pid704:radeon_cp_init] *ERROR* radeon_cp_init called without >> lock held >> error: [drm:pid704:radeon_unlock] *ERROR* Process 704 using kernel context 0 >> >> on the Console. When I then shutdown X and start it up again I don't get any >> display any >> longer (however, the machine still works and i.e. can be shutdown -r now, >> but w/o seing >> anything until the reboot). >> >> Pls note: Except for these Problems (Lock when restarting X and no DRM) X >> runs nice and w/o >> any other Problems! >> >> Does anyone have a hint? Did I shred my Config(s)? Or is this a real >> Problem? > > Linux users have also been experiencing those *ERROR* messages. I'm not > sure what's going on here. I don't think the hangs are related to the > error, since Linux people haven't been complaining about hangs. The agp > message, however, is something I haven't seen or heard about before. > What does dmesg| grep agp say? We get that message all the time if we have AGPSize set in XF86Config to a size bigger than the actual GART size set in the BIOS. For example, if the GART is set to 64 and AGPSize is set to 128. The fact that X can't read the GART size from /dev/agpart automatically is really annoying by the way. -- John Baldwin <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/