From owner-freebsd-stable@FreeBSD.ORG Mon Jun 23 20:50:42 2008 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 65D731065671 for ; Mon, 23 Jun 2008 20:50:42 +0000 (UTC) (envelope-from cliftonr@lava.net) Received: from outgoing01.lava.net (cake.lava.net [IPv6:2001:1888:0:1:230:48ff:fe5b:3b50]) by mx1.freebsd.org (Postfix) with ESMTP id 16D8D8FC19 for ; Mon, 23 Jun 2008 20:50:42 +0000 (UTC) (envelope-from cliftonr@lava.net) Received: from malasada.lava.net (malasada.lava.net [64.65.64.17]) by outgoing01.lava.net (Postfix) with ESMTP id 8B85ED02AF; Mon, 23 Jun 2008 10:50:41 -1000 (HST) Received: by malasada.lava.net (Postfix, from userid 102) id C5DE8153882; Mon, 23 Jun 2008 10:50:40 -1000 (HST) Date: Mon, 23 Jun 2008 10:50:40 -1000 From: Clifton Royston To: Jeff Blank Message-ID: <20080623205039.GC10644@lava.net> Mail-Followup-To: Jeff Blank , freebsd-stable@freebsd.org References: <20080617154342.GB49490@mr-happy.com> <20080623175335.GB58577@mr-happy.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20080623175335.GB58577@mr-happy.com> User-Agent: Mutt/1.4.2.2i Cc: freebsd-stable@freebsd.org Subject: Re: bus_dmamem_alloc failed to align memory properly X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Jun 2008 20:50:42 -0000 On Mon, Jun 23, 2008 at 01:53:35PM -0400, Jeff Blank wrote: > On Tue, Jun 17, 2008 at 11:43:42AM -0400, Jeff Blank wrote: > > I've installed a PCI (not PCIE) video card in a FreeBSD 7-STABLE > > (20080616 ~19:00 UTC) amd64 system, and when Xorg starts, the kernel > > logs the message in the subject. Context: > > > > Jun 17 11:27:30 bender kernel: drm0: on vgapci0 > > Jun 17 11:27:30 bender kernel: info: [drm] Initialized radeon 1.25.0 20060524 > > Jun 17 11:27:33 bender kernel: info: [drm] Setting GART location based on new memory map > > Jun 17 11:27:33 bender kernel: bus_dmamem_alloc failed to align memory properly. > > Jun 17 11:27:33 bender kernel: info: [drm] Loading R200 Microcode > > Jun 17 11:27:33 bender kernel: info: [drm] writeback test succeeded in 2 usecs > > Jun 17 11:27:33 bender kernel: drm0: [ITHREAD] > > > > Is this anything to worry about? Part of the reason I ask is that the > > machine locked up hard (had to cut power) the first time I hit > > ctrl-alt-bs to kill Xorg, though I can't reproduce that reliably (or, > > really, at all just yet). > > Still hoping for an answer, as the PC locked up hard a few more times, > always when trying to exit the X server (normal logout/all clients > terminated, ctl-alt-bs, init 6). The PC is a Dell Optiplex 740. Its > onboard video is NVidia NVS 210S nVidia GForce 6150, but that is > disabled when an add-in video card is present (wasn't present in the > 'pciconf -lv' I posted last week). > > What can I do to determine whether the X11 problem is > "bus_dmamem_alloc failed to align memory properly" or something > else with the card? I can not be completely sure, but believe this may be a cross-OS problem with Xorg support of this specific ATI card family. I have had a nearly identical problem with X lockups on a Debian server using the ATI Radeon 9200 Pro (PCI) which uses the same RV280 processor and the same X driver, with similar startup messages: $ dmesg | grep drm [drm] Initialized drm 1.0.1 20051102 [drm] Initialized radeon 1.25.0 20060524 on minor 0 [drm] Setting GART location based on new memory map [drm] Loading R200 Microcode [drm] writeback test succeeded in 2 usecs Next time it appears to freeze, see if you can ssh into it; my experience on the Debian box was that this continued to work even though the console was completely unresponsive following the freeze. If you don't want to spend a lot of time on this, I'd try a different video card; I have a strong suspicion that your problems are not FreeBSD related and would go away with that change. -- Clifton -- Clifton Royston -- cliftonr@iandicomputing.com / cliftonr@lava.net President - I and I Computing * http://www.iandicomputing.com/ Custom programming, network design, systems and network consulting services