From owner-freebsd-x11@FreeBSD.ORG Wed Feb 10 15:11:20 2010 Return-Path: Delivered-To: freebsd-x11@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 289AC106566B; Wed, 10 Feb 2010 15:11:20 +0000 (UTC) (envelope-from rnoland@FreeBSD.org) Received: from gizmo.2hip.net (gizmo.2hip.net [64.74.207.195]) by mx1.freebsd.org (Postfix) with ESMTP id C3A7A8FC15; Wed, 10 Feb 2010 15:11:19 +0000 (UTC) Received: from [192.168.1.4] (adsl-19-244-133.bna.bellsouth.net [68.19.244.133]) (authenticated bits=0) by gizmo.2hip.net (8.14.3/8.14.3) with ESMTP id o1AFBGKs004607 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO); Wed, 10 Feb 2010 10:11:17 -0500 (EST) (envelope-from rnoland@FreeBSD.org) From: Robert Noland To: Vitaly Magerya In-Reply-To: <4B728A7A.60706@gmail.com> References: <6101e8c41002091524q25a7e026u585e575eb4f1589c@mail.gmail.com> <4B728A7A.60706@gmail.com> Content-Type: text/plain Organization: FreeBSD Date: Wed, 10 Feb 2010 09:11:10 -0600 Message-Id: <1265814670.8609.58.camel@balrog.2hip.net> Mime-Version: 1.0 X-Mailer: Evolution 2.26.3 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-1.2 required=5.0 tests=AWL,BAYES_00, FH_DATE_PAST_20XX, RDNS_DYNAMIC, SPF_SOFTFAIL autolearn=no version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on gizmo.2hip.net 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-x11@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Feb 2010 15:11:20 -0000 On Wed, 2010-02-10 at 12:29 +0200, Vitaly Magerya wrote: > Oliver Pinter wrote: > > After updated the xorg* and dri* and dependency, the system going to > > deadlock at second start of xserver. I think it is not an uniqe issue, > > as others wrote them at freebsd-x11: > > http://lists.freebsd.org/pipermail/freebsd-x11/2010-February/009370.html > > 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. > > 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. robert. > [1] http://tx97.net/~magv/dmesg-t40.80-p2.txt > _______________________________________________ > freebsd-x11@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-x11 > To unsubscribe, send any mail to "freebsd-x11-unsubscribe@freebsd.org" -- Robert Noland FreeBSD