From owner-freebsd-stable@FreeBSD.ORG Wed Feb 10 15:46:08 2010 Return-Path: Delivered-To: stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 358E1106566C; Wed, 10 Feb 2010 15:46:08 +0000 (UTC) (envelope-from vmagerya@gmail.com) Received: from mail-fx0-f224.google.com (mail-fx0-f224.google.com [209.85.220.224]) by mx1.freebsd.org (Postfix) with ESMTP id 6283D8FC16; Wed, 10 Feb 2010 15:46:06 +0000 (UTC) Received: by fxm24 with SMTP id 24so143824fxm.3 for ; Wed, 10 Feb 2010 07:46:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:cc:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=CaxtEGvDFjwJjrB4M8+tRaR2P5jdW54JddSxY4vDi2Q=; b=yAT+QXc/3msX7oN0JLl4eWDE5ZOZRpoHqyA7vyHkUhfGtuJcU7qQbonRUnqXDyIAJN qrCN/QeuzR8FGkPuNWGgEiOdK1vgYFgfT5JciaW72SM4aGUiTV81p5pzzJAA22HK3sfV SAuHaYRjWu31JMxOX2l6yNpGhsIjrB/BiuVJg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; b=cmd+mYVQsK8P3smHB38UpJtXhHXZtZ3XQQcUO6F6SBgIaAA4CB7GBibSXmaiANOUsi 16tWrOOA0y9GCqL8bkAeBl4pmNplYi7nU4uIVOsmmALBJ8vPj91yil2W6l/2eOl0X5wI p4WAQ7Bx3hrlLZs9VU5BUzHxc8MR4vjWEkCNw= Received: by 10.87.61.4 with SMTP id o4mr3367802fgk.31.1265816766085; Wed, 10 Feb 2010 07:46:06 -0800 (PST) Received: from ?172.16.0.7? ([85.198.160.156]) by mx.google.com with ESMTPS id 14sm671080fxm.3.2010.02.10.07.46.04 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 10 Feb 2010 07:46:04 -0800 (PST) Message-ID: <4B72D4B9.6020109@gmail.com> Date: Wed, 10 Feb 2010 17:46:01 +0200 From: Vitaly Magerya User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.7) Gecko/20100111 Thunderbird/3.0.1 MIME-Version: 1.0 To: Robert Noland References: <6101e8c41002091524q25a7e026u585e575eb4f1589c@mail.gmail.com> <4B728A7A.60706@gmail.com> <1265814670.8609.58.camel@balrog.2hip.net> In-Reply-To: <1265814670.8609.58.camel@balrog.2hip.net> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: stable@freebsd.org, x11@FreeBSD.org, freebsd-x11@freebsd.org, Oliver Pinter Subject: Re: freebsd7 (and 8), radeon, xorg-server -> deadlock or so 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: Wed, 10 Feb 2010 15:46:08 -0000 Robert Noland wrote: >> I have a similar problem with ATI Mobility Radeon 9000 (r250) and >> FreeBSD 8.0-RELEASE-p2 i386 (dmesg is at [1]). The system hangs when I >> run Xorg with xorg.conf obtained by `Xorg -configure' and do either of >> these: >> >> * pkill Xorg >> * close xorg via ^C and start it again >> * close xorg via ^C and kldunload radeon >> >> I did not try using 'option "DRI" "OFF"' though, I will this evening. With DRI disabled, no hang occurs and I'm once again happy. >> Unfortunately I can't currently say if it works under different >> conditions, since after a number of hangs I switched to VESA. But if >> anyone is interested, I'll investigate further and will provide any >> additional information -- just name it. > > I have a strong suspicion that the issue is with bus_dma. If this is a > pci based card, then it is trying to allocate 32MB of contiguous > physical ram when the drm device is opened. This usually succeeds the > first time that the driver opens the device, but later, after memory has > become fragmented, this can become an issue. As I have mentioned, I > have code that reworks this whole process and I'll try and make a patch > available soon, but my I don't have a lot of time now, so it might be > the weekend before I can rebase the code and get a clean patch. No pressure from me. I'm already grateful that you single-handedly keep the whole DRI-on-FreeBSD thing going.