From owner-freebsd-stable@FreeBSD.ORG Wed Apr 23 13:58:56 2003 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1403837B401 for ; Wed, 23 Apr 2003 13:58:56 -0700 (PDT) Received: from pit.databus.com (p70-227.acedsl.com [66.114.70.227]) by mx1.FreeBSD.org (Postfix) with ESMTP id 13D5343FD7 for ; Wed, 23 Apr 2003 13:58:55 -0700 (PDT) (envelope-from barney@pit.databus.com) Received: from pit.databus.com (localhost [127.0.0.1]) by pit.databus.com (8.12.9/8.12.9) with ESMTP id h3NKwsGW011104; Wed, 23 Apr 2003 16:58:54 -0400 (EDT) (envelope-from barney@pit.databus.com) Received: (from barney@localhost) by pit.databus.com (8.12.9/8.12.9/Submit) id h3NKwroq011103; Wed, 23 Apr 2003 16:58:53 -0400 (EDT) Date: Wed, 23 Apr 2003 16:58:53 -0400 From: Barney Wolff To: Andrew Kenneth Milton Message-ID: <20030423205853.GA11044@pit.databus.com> References: <20030423193103.GA70531@totem.fix.no> <20030423193859.GG508@zeus.theinternet.com.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030423193859.GG508@zeus.theinternet.com.au> User-Agent: Mutt/1.4.1i X-Scanned-By: MIMEDefang 2.31 (www . roaringpenguin . com / mimedefang) cc: Anders Nordby cc: Julian Elischer cc: multimedia@freebsd.org cc: Eric Anholt cc: stable@freebsd.org cc: Derek Young Subject: Re: Problems with dri/drm using Radeon 7000 VE in -stable X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Apr 2003 20:58:56 -0000 I had DRM working perfectly on a 7500 with X4.3.0 and -stable, until it stopped. After wracking my brain for quite a while, and comparing things to -current, I discovered that something (undiscovered) had created /dev/dri/card0 with major/minor as 0/0. Deleting that caused DRM to again work perfectly. Major/minor should be 145/0, but you don't have to set that up yourself - it seems to be created automatically if card0 is not there. The symptom with the bogus card0 was that drmOpenDevice did not recognize the successful open (return code 6) of card0 and kept trying card1..14. Also, exiting X and startx'ing again resulted in a message in XFree86.0.log that it could not load radeon.ko - it apparently did not recognize that it was already loaded. Both of these problems went away after I deleted the bogus card0. -- Barney Wolff http://www.databus.com/bwresume.pdf I'm available by contract or FT, in the NYC metro area or via the 'Net.