From owner-freebsd-current@FreeBSD.ORG Sun Jun 26 19:18:27 2005 Return-Path: X-Original-To: freebsd-current@freebsd.org 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 E572D16A41C for ; Sun, 26 Jun 2005 19:18:27 +0000 (GMT) (envelope-from eta@lclark.edu) Received: from leguin.anholt.net (69-30-77-85.dq1sn.easystreet.com [69.30.77.85]) by mx1.FreeBSD.org (Postfix) with ESMTP id 996AA43D1F for ; Sun, 26 Jun 2005 19:18:27 +0000 (GMT) (envelope-from eta@lclark.edu) Received: from leguin.anholt.net (localhost [127.0.0.1]) by leguin.anholt.net (8.13.4/8.13.1) with ESMTP id j5QJHloc012031; Sun, 26 Jun 2005 12:17:47 -0700 (PDT) (envelope-from eta@lclark.edu) Received: (from anholt@localhost) by leguin.anholt.net (8.13.4/8.13.1/Submit) id j5QJHfOG012030; Sun, 26 Jun 2005 12:17:41 -0700 (PDT) (envelope-from eta@lclark.edu) X-Authentication-Warning: leguin.anholt.net: anholt set sender to eta@lclark.edu using -f From: Eric Anholt To: "M. Warner Losh" In-Reply-To: <20050626.125729.127901479.imp@bsdimp.com> References: <1119650444.1173.105.camel@leguin> <20050624195906.A5702@cons.org> <1119809673.3817.3.camel@leguin> <20050626.125729.127901479.imp@bsdimp.com> Content-Type: text/plain Content-Transfer-Encoding: 7bit Date: Sun, 26 Jun 2005 12:17:40 -0700 Message-Id: <1119813460.3817.17.camel@leguin> Mime-Version: 1.0 X-Mailer: Evolution 2.2.3 FreeBSD GNOME Team Port Cc: cracauer@cons.org, freebsd-current@freebsd.org Subject: Re: 6.0-current panic: loading radeon module X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 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: Sun, 26 Jun 2005 19:18:28 -0000 On Sun, 2005-06-26 at 12:57 -0600, M. Warner Losh wrote: > In message: <1119809673.3817.3.camel@leguin> > Eric Anholt writes: > : On Fri, 2005-06-24 at 19:59 -0400, Martin Cracauer wrote: > : > > I'd forgotten about this thread. I've got a proposed fix for this at: > : > > http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/80718 > : > > : > I get the same panic and backtrace with that patch (on a 32 MB moobile > : > Radeon 7500). > : > > : > I will annotate the sourcecode now to verify (or not) the NULLs in the > : > arguments for the bus argument. > : > : Thanks for showing that that patch didn't work. I should have > : remembered why it wouldn't. The next step would be to try a workaround: > : Comment out the two calls to drm_initmap() in radeon_cp.c. > : > : We really need a nice call to grab the start/offset of a pci resource > : given the rid. We can avoid it now, but we might not be able to given > : where the DRM is headed. > > rman_get_start() doesn't do the trick? Or do you need to know what it > is before the bus_alloc_resource? If so, you can call > bus_get_resource(). What is it that you need to know? bus_alloc_resource tries to map the 128+ MB framebuffer and pmap_mapdev falls over. I'll take a look at bus_get_resource now. -- Eric Anholt eta@lclark.edu http://people.freebsd.org/~anholt/ anholt@FreeBSD.org